"Reference" lines (similar to Const Lines)?


Author
Message
Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K
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


Bill Croteau
Bill Croteau
Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)
Group: Forum Members
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)


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search