Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

how to connect a scroll viewer's horizontal bar value and x axis of charts which are in content of scroll viewer?

$
0
0
I have a scroll viewer and it's content is  a grid(lets call it scrollViewer_grid). The scrollViewer_grid has a random number of children and they are charts (the scrollViewer_grid  is split with columns and in every column is one chart. All that charts are forming one big chart becouse i couldn't set all points in one chart, it is a vast number of points. Futher on i will call a chart in one single column ' a small chart'). A small chart will create when an user stop the thumb of horizontal bar and let mouse click up. Now before it happen i need to set information for an user to see where he want to stop thumb. I want that information be a value of x axis of the small charts irrelevant if they are already created or not(when one of small charts are created it will stay for rest of the applciation life time). A x axis of all small charts present time so user must now where he want to stop and see chart which is intresting for him. I am using a pop up when mouse is on the thumb, but i dont know how to calculate relation between scroll bar value and values on X axis and show that in the pop up. What is the best and easier way for this problem? I hope i was clear enough. Thanks

Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>