hi,
I have a question concerning the painting of lines between nodes in a steplinechart. the values are
00:00 3501:00 4802:00 4303:00 3704:00 3405:00 3306:00 3707:00 4208:00 6109:00 59
and so on. the steplinechart paints the lines between the nodes in this way:
I'd like to have the lines painted in this way:
the difference is, that the line from 01:00 to 02:00 is at the top of the rectangle (value 48), but it should be at the bottom - value 43.
is there a way to configure the chart that way and even more interesting, is there a way to configure the painting behaviour per step line, because in case of a certain datasource's parameter, I'd like to change the behaviour from painting at the top to painting at the bottom.
hope you understand the problem,
thanks in advanceSteffen
can anyone answer this question please ..
thanks
I think your best bet here is to offset your data column by one row, such that the second data value aligns with the first time value, as so forth. This data transformation when bound to the chart, would produce the lower screenshot. And would represent the easiest path to getting this to function appropriately. Does this seem acceptable to you? Let me know if you have any questions about how you would achieve this.
Hope this helps!
-Graham
Hi,
is there any idea yet?
Sorry I haven't responded to this, it slipped though the cracks.
So, do I understand you correctly in that when you render the stepline as in the bottom rendering, you would either like the tooltip to only show on the first point of the vertical change, or for the tooltip to display the first value from the vertical change regardless of where you are on the vertical change with the mouse?
I'm not sure if this is possible, but if you can confirm this is what you are interested in, I can try to look into it for you.
Sorry for the delay,
Hi Graham,
I don't know any other way to describe the problem, but with the two ways of interprating the data in a time intervall. consider a time intervall from 09:00 to 10:00 (one value at 09:00 the next value at 10:00) with the following data occurrences:
int_1 "left handed": example value 4 occurred at 09:00. this value "stays" in interpretation till 10:00. the line in the chart should be painted at level 4 between time points 09:00 and 10:00. the tooltip at 09:00 should show value 4, the tooltip at 10:00 should be something else ..
this scenario doesn't work in the step line chart!
int_2 "right handed": example value 6 will occur at 10:00, the value at 09:00 was 3. the line in the chart should be painted in the time intervall at level 6. the tooltip at 09:00 should be value 3, the tooltip at 10:00 should be 6. the difference to the former case is the level of painting the line.
this scenario works in step line chart
the point is, that one could try "to shift" the data in the time intervall to fix the drawing problem of the line, but with the shifting will also shift the standard tooltip presentation, which is wrong for the case of interprating the data.
It seems the best solution for this case would be to make a feature request. I'm not sure how straightfoward it would be for you to try to modify the tooltip behavior to meet your left handed requirement.
You could try to do some hit testing and customize the tooltip value to point at the right data, but this might be outside the scope of what you will want to maintain. The chart, essentially, always things you are in the one mode, though you have shifted the data.
thanks a lot, we can close this thread at this point ..
Steffen