Some time ago I posted the question about synchronous charts. I found the solution here, but I still have some problems.
- I need to zoom in and out on Y axis on StrokeChart to see my date. I don't know why, but the range doesn't change on next added point. Actually range is 0-1 on Y axis. It's strange, but I can live with that
- The second question is: how to configure zoom on chart area? I want it to zoom only Y axis when I scroll up/down.
- And last, but not least: How to make realtime tooltips on chart which is build using ObservableCollection? It can be done for EnumerableDataSource easy. you can check this and this. I tried to do thing described by user "Thecentury", but it doesn't work. I even added method
AddMapping
to ObservableCollection and rebuilt the library, but it still doesn't work. So I don't know what to do next.
I appreciate for any help and advice. Thank you
Regarding zooming I think I managed to solve the problem.
In MouseNavigation.cs add new properties
In the same class modify the method
by substituting
with
The use now is pretty straightforward given chartPlotter object just set properties zoomY or zoomX to false to prevent zooming along this axis.
I do not know is it the most optimal solution, but it works for me.