Hello
I am trying to implement "formatNumberScale" option in timeseries chart but is not working.
Still showing "k" for thousands.
Thanks
Promise.all([
fetch('https://s3.eu-central-1.amazonaws.com/fusion.store/ft/data/line-chart-with-time-axis-data.json'),
fetch('https://s3.eu-central-1.amazonaws.com/fusion.store/ft/schema/line-chart-with-time-axis-schema.json')
]).then(function(res) {
Promise.all([
res[0].json(),
res[1].json()
]).then(function(res) {
showChart(res[0], res[1]);
});
});
function showChart(dataFetch, schemaFetch) {
const dataStore = new FusionCharts.DataStore();
const dataSource = {
chart: {
"formatNumberScale": "0"
},
caption: {
text: "Sales Analysis"
},
subcaption: {
text: "Grocery"
},
yaxis: [
{
plot: {
value: "Grocery Sales Value"
},
format: {
prefix: "$"
},
title: "Sale Value"
}
]
};
dataSource.data = dataStore.createDataTable(dataFetch, schemaFetch);
new FusionCharts({
type: "timeseries",
renderAt: "chart-container",
width: "100%",
height: "500",
dataSource: dataSource
}).render();
}