Bound MarkerFill for LineSeries
This discussion was imported from CodePlex
Jerry007 wrote at 2013-11-14 14:24:
Hello
I'm newbie user of OxyPlot. It looks impressive, however I can not find how to do the following:
I have a LineSerie bound to list of POCO's. One of the property of the poco is "status" enum
...I'd like to bind the state to a particular MarkerFill (like red/gree/blue)...is there a way how to achieve this?
As a workaround I would have to create additional 3 ScatterSeries with just points per each status with constant MarkerFill....
I'm newbie user of OxyPlot. It looks impressive, however I can not find how to do the following:
I have a LineSerie bound to list of POCO's. One of the property of the poco is "status" enum
...I'd like to bind the state to a particular MarkerFill (like red/gree/blue)...is there a way how to achieve this?
As a workaround I would have to create additional 3 ScatterSeries with just points per each status with constant MarkerFill....
objo wrote at 2013-11-14 21:03:
Right, LineSeries does not support different fill color for each marker, and converters have not been implemented for the property bindings.
The workaround sounds like a good solution! Or you can populate the points of the scatter series yourself, not using binding.
The workaround sounds like a good solution! Or you can populate the points of the scatter series yourself, not using binding.
Customer support service by UserEcho