Group: Forum Members
Last Active: 10 Years Ago
Posts: 0,
Visits: 42
|
Looking for a way to draw "reference" lines on a chart - in this case the reference line is a diagonal line showing the 1:1 representation of X:Y. In many ways this is like a const line except that the value is not constant along a single axis but rather a constant formula (i.e. X/Y = 1).
I have currently simply added a single NLineSeries to the chart but was looking for a more elegant way to do this without all the clutter of dealing with a series in the data that isn't really a series (i.e. all kinds of code in my custom tools to detect and filter out the const line series)
|
Group: Forum Members
Last Active: Yesterday @ 1:54 AM
Posts: 3,054,
Visits: 4,009
|
Hi, You can also use custom drawing to achieve this result - check out the All Examples\Custom Painting examples on how to attach a paint callback and perform coordinate transformations. Let us know if you meet any problems or have any questions.
Best Regards, Nevron Support Team
|