简体   繁体   中英

A target curve in Spotfire

In Spotfire, I am trying to draw three horizontal curves from columns in a different data table than my plot. These lines are supposed to be target lines. I know I can do this either in a combination chart or in Lines & Curves in properties.

However, I prefer not to do it in a combination chart as I have to add colouring and I get many distinct series when I add colouring to three different target lines.

So I tried doing this by adding a horizontal line in "Add > Horizontal Line > Line From Data Table". However instead of drawing a curve what this does is draw multiple horizontal lines for the slightly fluctuating values in this column. I have also tried other options in Lines & Curves but none seem to work. And this happens although I have matchedthe data tables.

Does anyone have an idea how I can draw these target lines while avoiding the situation linked below?

The situation now:

The red, purple and black lines are supposed to be 3 seperate lines.

I think you are very close. Try the Properties > Lines and Curves and then Add > Line From Column Values. You will need to specify the x and y axis from the data table.

This will not always work on a bar chart, as the x may not line up with your category axis on the bar chart. Your x-axis for the line will need to be the same as the category axis.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM