Home forums Report Bugs format currency Reply To: format currency

#21949

gussmarcaro
Member

thank you.
This is the code

var chart = new CanvasJS.Chart(“chartContainer”,
{
data: [
{
type: “column”,
dataPoints: [
{ x: 10, y: 7100000000.69 },
{ x: 20, y: 55 },
{ x: 30, y: 50 },
{ x: 40, y: 65 },
{ x: 50, y: 95 },
{ x: 60, y: 68 },
{ x: 70, y: 28 },
{ x: 80, y: 34 },
{ x: 90, y: 14 }
]
}
],

AxisY:{
ValueFormatString: “#,## 0.00”
}

});

chart.render();