Stock Charge Range Selector shows volume, not price when both are presented
This erroneous behaviour is actually shown in your demos. When one shows a standard candle, or OHLC stock chart with the volume secondary axis display, it is the Price data, not volume data that should be shown in the range selector. It appears there is no way to change this, and the default is incorrect.
1) The correct display is as shown in your demo here:
https://blazor.syncfusion.com/demos/stock-chart/stock-chart?theme=bootstrap5
2) The INCORRECT display is shown in your demo here:
https://blazor.syncfusion.com/demos/stock-chart/candlestick-volume?theme=fluent2
Please see any stock chart, ever, anywhere, which shows Price, Volume, and a selector as per demo 2 above. It is always the PRICE action that one wants in the panning selector.
Please advise.
Hi Phil,
Greetings from Syncfusion.
We have considered your reported scenario as bug and logged a defect report for the issue ”Stockchart rangeselector series utilize volume instead of close value ”. This fix will be available in our weekly patch release which is scheduled to be rolled out on 3rd December 2024. We appreciate your patience until then. You can keep track of the bug from the below feedback link.
If you have any more specification/precise replication procedure or a scenario to be tested, you can add it as a comment in the portal.
Disclaimer: “Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.”
Regards,
Durga Gopalakrishnan.
Great. Thanks. Look forward to the fix.
Phil,
Most welcome. We will include the fix as per the specified timeline and notify you once the patch release is rolled out. We truly appreciate your patience in the meantime.
Phil,
We are glad to announce that our v27.2.5 patch release is rolled out; we have added the fix for reported issue. You can use the latest Syncfusion.Blazor.Charts NuGet package.
Root Cause:
In Range Navigator, both the series for volume and close value were rendered for candle and column series but it's range were different and that's why the first series were hidden.
Fix:
Provided the conditional statement to prevent the range navigator series rendering for volume values in stock chart.
NuGet Package : https://www.nuget.org/packages/Syncfusion.Blazor.Charts/
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.
I'm sorry, but I can't see any fix here. You make a statement above about the fix, but there is no description of how one can implement this.
Please advise, because in my example, and your demo site, its still broken.
Phil,
We have prepared sample as per your requirement with latest NuGet package version 27.2.5. Please check with the below screenshot and sample.
Sample : https://www.syncfusion.com/downloads/support/directtrac/general/ze/CandleStick-355878815.zip
We refresh the online demo only during major releases. The next refresh is scheduled for our upcoming Volume 4 Release, expected to roll out in mid-December 2024. We appreciate your patience in the meantime and will notify you once the online demo has been updated.
Kindly revert us if you have any concerns.
Its taken a while, but as your fix didn't work for me, I've tried to work out what you've done. How did this get through your QA???? You guys normally do such great work.
You said the fix was: Provided the conditional statement to prevent the range navigator series rendering for volume values in stock chart.
I thought this would mean there was a new setting to exclude series from the range selector and I've been looking for this conditional in the sample you provided, and of course its not visible, because it seems you have hard-coded the "fix" here to the specific NAME of a user field. (= Volume!). But if the user is, for example showing "Value", or any other field, or a different language, this fix won't work, as in my case.
Here in Australia, we call this "a bit dodgy". :)
Perhaps this was released as a quick fix, and a proper fix is still coming that will work generically? As it stands it doesn't work for me as I use other data in the bottom series and unless I rename all those other data to Volume, the fix won't work.
Please, I hope so.
Phil,
Currently, the StockChart range selector series is rendered using the close value by default, and this process is built in. Now, there is no option to specify a custom field for the range selector series. So, we have considered your requirement as improvement and logged a feature request on “Support to customize stockchart rangeselector series”. Based on other logged tasks priority, we will include this improvement in any of our upcoming release. You can keep track of an improvement from the below feedback link.
Feedback : https://www.syncfusion.com/feedback/63747/support-to-customize-stockchart-rangeselector-series
If you have any more specification/precise replication procedure or a scenario to be tested, you can add it as a comment in the portal.
Firstly, not quite correct. Already, some StockChartSeries use [Close], some use [YName]. And the existing behaviour simply doesn't work, as demonstrated by your own demo, which cannot be fixed without a code-fix in the component.
And to be clear, you say: "there is no option to specify a custom field for the range selector series" but you have implemented that if that [YName] field is named volume, then don't render it!
But if we're going to call this code fix an enhancement, then OK. If I can suggest, the simplest, and very usable solution, instead of hard-coding close-fields name volume, would have been instead to implement boolean field of StockChartSeries, to either suppress or display in range selector. This should cover all normal requirements.
Phil,
We will consider this case while implementing this improvement. We will let you know once this improvement is implemented. Kindly revert us if you have any concerns.
- 10 Replies
- 2 Participants
-
PH Phil Holmes
- Nov 20, 2024 05:28 AM UTC
- Dec 9, 2024 01:17 PM UTC