putra_wlh wrote at 2012-08-07 12:52:
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.
objo wrote at 2012-08-09 00:23:
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'.
putra_wlh wrote at 2012-08-09 05:12:
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 .
objo wrote at 2012-08-09 08:50:
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.
putra_wlh wrote at 2012-08-09 11:31:
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 .
objo wrote at 2012-08-10 12:37:
The type of the property has now been changed.
Customer support service by UserEcho