Open lakshmikant4u opened 7 years ago
Hi @lakshmikant4u
I think we never had valueDecimals
for indicators, could you tell me which version of Indicators.js you refer to?
At this moment, you can write your own tooltip.formatter
.
Hi @pawelfus
Thanks for your quick response, looks like library used is customised. Let me try "tooltip.formatter", it would have been great if it was configurable rather than keeping it 3.
I agree with you, let's keep this ticket open then.
Thanks!
How do I increase the SMA value decimal to 5?
Hi @joelmm1 - you need to write your own tooltip.formatter
.
Note: this plugin is deprecated and we suggest to use official Highcharts Technical Indicators.
In previous versions we have "series.options.tooltip.valueDecimals" which sets decimal value for indicators for tooltip i,e precision provided by user or 5 by default.
In current lib it is hardcoded to 3 "HC.numberFormat(val.y, 3)" Line no 335 of indicators.js, can anyone help us on this? Or is there any way to configure?