multiple series

Aug 7, 2012 at 11:52 AM
Edited Aug 7, 2012 at 11:56 AM

Hi Objo,
I want to create a graph like in the image .

When i see OxyPlot, thought this can help me to create the graph. Unfortunately, i don't know where i must to begin.
Need advice to create the graph. 

Thank You,

Aug 8, 2012 at 11:23 PM

this looks like annotations - try to add PolygonAnnotation, ArrowAnnotation, TextAnnotation and LineAnnotation to the Annotations collection in the plot model.

And the Blue/orange lines are series? Add LineSeries to the Series collection.

See the examples in the 'Example browser'.

Aug 9, 2012 at 4:12 AM
Edited Aug 9, 2012 at 4:29 AM

thank you for quick respon .

i was try to create using PolygonAnnotation . but i have problem with PolygonAnnotation.Points ..

Actualy i try to convert C# Script to PowerBuilder.Net 12.5 script but i am stuck at PolygonAnnotation.Points , i can't find add function .

There's other way to add value into PolygonAnnotation.Points , or how to create PolygonAnnotation by wpf xaml like LineAnnotation in example .

Aug 9, 2012 at 7:50 AM

Right, I should probably change the PolygonAnnotation.Points from IEnumerable to IList. Now you have to create a new collection, then assign the Points property to the collection.

Aug 9, 2012 at 10:31 AM

thank you for your response .

I will try to create a new collection. But i don't know it will worked or not .

Hopefully i can use a new update from oxyplot for this issue .

 

best regards,

putra novan

Aug 10, 2012 at 11:37 AM

The type of the property has now been changed.