Hi,
I am incrementing my candlestick count during a live feed test. The ChartView is bounded to an ObservableCollection<Candlestick> which is constantly being refreshed when an updated or brand new candlestick each period.
The first image (25_candlesticks) is a snapshot of the Chart View for the first 25 candlesticks displayed.
The next image (100_candlesticks) shows the Chart View after 100 candlesticks are displayed.
As you can see, the chart does not auto right scroll to show a preselected number of candlesticks in the current view, but instead, crams all the candlesticks into the same viewing area.
I do not want this. What is necessary is that I have this instead:
1) To have my very first candlestick appear on the left of the screen
2) as more candlesticks are added, the screen remains un-scrolled until about 3 quarters down the view screen.
3) at about 3/4 from the edge of the view screen, the chart auto-scrolls as new candlesticks are added, while maintaining the current X and Y axis scaling that I initially chose.
Could you please instruct me on how this can be done?
I would very much appreciate a WPF C# sample on this as a reference.
Thanks for any help.
I am incrementing my candlestick count during a live feed test. The ChartView is bounded to an ObservableCollection<Candlestick> which is constantly being refreshed when an updated or brand new candlestick each period.
The first image (25_candlesticks) is a snapshot of the Chart View for the first 25 candlesticks displayed.
The next image (100_candlesticks) shows the Chart View after 100 candlesticks are displayed.
As you can see, the chart does not auto right scroll to show a preselected number of candlesticks in the current view, but instead, crams all the candlesticks into the same viewing area.
I do not want this. What is necessary is that I have this instead:
1) To have my very first candlestick appear on the left of the screen
2) as more candlesticks are added, the screen remains un-scrolled until about 3 quarters down the view screen.
3) at about 3/4 from the edge of the view screen, the chart auto-scrolls as new candlesticks are added, while maintaining the current X and Y axis scaling that I initially chose.
Could you please instruct me on how this can be done?
I would very much appreciate a WPF C# sample on this as a reference.
Thanks for any help.