javascriptdygraphs

How to display large numbers in y-axis using dygraph


I'm passing a data to dygraph with a million value on y-axis but it is displayed with "e+" suffix. Is there a way to format y-axis display to "3000000" or "3M" instead?

enter image description here

Same with the value displayed in points

enter image description here


Solution

  • I solved my issue by adding labelsKMB: true on options