Home Forums Chart Support Group separator only for numbers greater than 9999 Reply To: Group separator only for numbers greater than 9999

#21085

Michael,

Sorry to inform you that its not possible to avoid using contentFormatter in this scenario. yValueFormatString is a property of dataSeries that accepts string whereas labelFormatter and contentFormatter are methods of axis and toolTip respectively.

However you can reduce the number of lines of code using ternary operator. Please take a look at this updated JSFiddle.


Vishwas R
Team CanvasJS