graphite-project / graphite-web

A highly scalable real-time graphing system
http://graphite.readthedocs.org/
Apache License 2.0
5.89k stars 1.26k forks source link

[Q] increase decimal places on y-axis #2689

Closed math322 closed 3 years ago

math322 commented 3 years ago

Is there a way to increase the decimal places of the y-axis labels?

I have appended a very useless looking graph ... abc

math322 commented 3 years ago

After changing glyph.py file i now see at least 4 digits.

     elif value < 1.0:
-      return "%.2f %s" % (float(value), prefix)
+      return "%.4f %s" % (float(value), prefix)

It would be nice to see it as a parameter in the web render api.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.