<chart:SfChart.PrimaryAxis>
<chart:CategoryAxis LabelFormat="dd MMM yyyy" EnableScrollBar="True"/>
</chart:SfChart.PrimaryAxis> |
Thank for your answer.
Query1: Ok - FastCandleBitmap looks very good - virtualized and enough speed.
Query2: Fixed bar width - I think it is not true. Fixed width is for example width 10 pixels. That is true with 1000 bars and ZoomFactor 0.1. When I use 10000 bars, this is result and it is not fixed width (and is not good):
Width of bar (for example 10 pixels) should be 10 pixels if bars count is 1000 and 10000 too.
Query3: Thanks - i know about EnableScrollBar property, but I think functionality, how to ensure visible non empty part of chart, but after move primary axis, how to automaticaly slide secondary axis and ensure visible chart bars, not empty area of chart:
1: see data:
2. Move primary axis - and chart do not show bars, they are at another position of secondary axis:
I update your sample project, add real (two) data in (json files).
I added slider for change ZoomFactor for primary and secondary axis.
If I bind ZoomFactor for primary axis, bind for secondary axis not work.
But the core is, that bar width should be fixed width if there are 1000 bars or 10000 bars, and chart should show data, not empty space if chart position is changed.
Than you very much.
Thank you for reply.
I worked with some application which show candlestick chart and none of them show chart something like this:
Meaning of candlestick chart is not just show data by any way, but show data with sense. Showing chart as can see above doesn't have sense.
Candlesticks in chart have to have meaningful width and height - independently of bars count. Chart control should calculate ZoomFactor automatically.
In your answer is not mention about bug - ZoomFactor for secondary axis not work, if change ZoomFactor for primary axis.
Do I understand your answer correctly - your Candlestick chart is unable to show real data by meaningful way?
In my previous answer I sent you application with real data, not random data. Please try change yout Candlestick chart control for real usage.
Thank you very much.
Hi Team, I want to do the same using flutter. I want to build a candle stick chart that show full chart but in screen only show 30 points and havee scrolling feature.
Thanks
Ayush
Hi Ayush,
Please follow up in the below forum for the query stated above: https://www.syncfusion.com/forums/181045/candle-stick-chart-with-scrolling-data.
We are closing this thread. Please let us know if you have any further queries on this. As always, we are happy to help.
Regards,
Preethi R
That thread is also create by me only. Please help me solve it.
Thanks