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.


10 Replies

DG Durga Gopalakrishnan Syncfusion Team November 21, 2024 03:05 PM UTC

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.


Feedback : https://www.syncfusion.com/feedback/63306/stockchart-rangeselector-series-utilize-volume-instead-of-close-value


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.



PH Phil Holmes November 21, 2024 09:02 PM UTC

Great. Thanks. Look forward to the fix.



DG Durga Gopalakrishnan Syncfusion Team November 22, 2024 05:30 AM UTC

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.



DG Durga Gopalakrishnan Syncfusion Team December 3, 2024 02:22 PM UTC

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/


Feedback : https://www.syncfusion.com/feedback/63306/stockchart-rangeselector-series-utilize-volume-instead-of-close-value


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.



PH Phil Holmes December 4, 2024 02:48 AM UTC

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.



DG Durga Gopalakrishnan Syncfusion Team December 4, 2024 02:06 PM UTC

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.



PH Phil Holmes December 5, 2024 12:04 AM UTC

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.



DG Durga Gopalakrishnan Syncfusion Team December 6, 2024 01:22 PM UTC

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.




PH Phil Holmes December 8, 2024 11:43 PM UTC

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.



DG Durga Gopalakrishnan Syncfusion Team December 9, 2024 01:17 PM UTC

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.


Loader.
Up arrow icon