How is databinding supported?
In other graph control I can set Datasource to a bindinglist and the x y z valuemeber. With a class based on IPointEditList this works in both directions: Moving a Point with mouse in edit mode alters also the data in the list.
databinding
Moderator: Queue Moderators
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: databinding
Moving a point with a mouse will need using a SeriesEventMarker. See this example:
In marker.PositionChanged event, update the marker's new XY value in the series data array.LightningChart Support Team, PT
Re: databinding
Thanks. But how work data binding? Then the changes in the data array are sent to a bindinglist or database table.
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: databinding
Hook up in the marker PositionChanged event, and use code to update your dataset. There's no built-in binding.
LightningChart Support Team, PT
Re: databinding
Ok. Then I also have to hook up the events in the Bindinglist to update the chart if the data are changed in a datagridview.