Line direction markers

Oystein Bjorke 6 years ago 0
This discussion was imported from CodePlex

Davide_sd wrote at 2014-01-13 12:43:

I've taken a look at the example browser, but apparently i didn't find a solution.
Let say i have a line composed of N points: i would like to show to the user the line direction: this is especially usefull to show the direction from the start point to the end point in closed curves.
Is there some kind of LineSeries i cas use?
If not, is it possible to use a color map into a LineSeries?

Thanks in advance!

objo wrote at 2014-01-14 20:14:

1: No, direction arrows are not supported in the standard LineSeries. You can make a custom series based on LineSeries and override the Render method to draw the arrows.
2: No, the LineSeries can only be rendered with a single color. Multi-colored lines can also be implemented as a custom series, but I think it will be difficult to get good performance with "pen-based" drawing APIs.