Add explicit StockChartIndicators in razor page

Hello
I started using Chart controls to display candlestick with some technical indicatos but result wasn't pleasant, then I found out the specific Stock Chart and it's way better in usability
The problem is that I cannot setup custom indicators like I was doing on chart control, because if I add something like this
           
the chart doesn't display at all, only removing the StockChartIndicators fixes it (of course without indicators)
The documentation about technical indicators of stockchart just talk about the combobox, but nothing seems to be done programmatically, is that true?
I find this quite limiting because I wanted to add different indicators with non-default parameters and it doesn't seems to be possible, do you confirm this?
thanks

P.S.
I tried to paste lot of time my html content in this forum but it gets removed, I can't find a "code" button or anything, really bad for a tech forum not being able to post proper formatted code :|
I had to paste a screenshot.

3 Replies 1 reply marked as answer

SM Srihari Muthukaruppan Syncfusion Team November 9, 2020 12:30 PM UTC

Hi Fabio, 
 
We have analysed your query. From that, we would like to let you know that we can include the indicator for stock chart using the dropdown list provided in the period selector. Else we suggest you to use chart with candle series and technical indicator as shown in below demo sample to achieve your requirement. Kindly revert us if you are facing any discomfort in the chart with technical indicators. 
 
 
Let us know if you have any concerns. 
 
Regards, 
Srihari M


FA Fabio Angela November 9, 2020 12:39 PM UTC

As I said I started to use Chart before Stock Chart, one of the problem about using the Chart instead of Stock Chart is that Chart control doesn't have range selection (the one on the bottom where you can select a region to zome in) built in, and the zoom feature doesn't work well for my use case.

Anyway I've opened another issue regarding real time updates https://www.syncfusion.com/forums/159514/update-values-in-realtime that's basically causes the chart to be unusable because it resets my current selected range/zoom, etc...
So based on the outcome of that issue I'll decide whether to use a chart control or not

Thanks


SM Srihari Muthukaruppan Syncfusion Team November 10, 2020 01:19 PM UTC

Hi Fabio, 
 
Thanks for the update. 
 
Regarding the chart doesn't have range selection. We could include the range selector above or below the chart as per our requirement. We have also attached the demo sample and screenshot for your reference. 
 
 
Screenshot: 
 
 
Let us know if you have any concerns. 
 
Regards, 
Srihari M 


Marked as answer
Loader.
Up arrow icon