What is the way from the native SDK to modify the y-axis formatting to contain USD symbol and set the decimals count?
To make modifications to the decimal point precision and to add a currency sign, you can use our Y-axis priceFormatter:
stxx.chart.yAxis.priceFormatter = function(stx, panel, price) {
const value = Number(price).toLocaleString("en-es", {
minimumFractionDigits: 3,
maximumFractionDigits: 3
});
console.log(`$${value}`);
return `$${value}`;
};Documentation can be found here: https://documentation.chartiq.com/CIQ.ChartEngine.YAxis.html#priceFormatter