Home Forums Report Bugs format currency Reply To: format currency

#21932

Hello, thank you for replying.

Verify that they are not two decimal places.

Thank you.
Follow the code.

var chart = new CanvasJS.Chart(“chartContainer”,
{
data: [
{
type: “column”,
valueFormatSting: “#, ## 0.00”,
dataPoints: [
{ x: 10, y: 710000000.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 }
]
}
]
});

chart.render();