Skip to content
This repository has been archived by the owner on Mar 7, 2018. It is now read-only.

Add y-axis log scale to the graph widget #513

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ke4roh
Copy link

@ke4roh ke4roh commented Feb 4, 2015

With this graph widget, it's now trivial to get a log-scale y-axis.

  • It automatically switches from linear to log if values are all on one side of zero and the minimum and maximum are at least 500x apart.
  • It can be switched manually by specifying data-yscale="log" or, instead of "log", "linear", or specify the base, e.g. log(2), log(e), or log(10).
  • Y-axis labels are even powers of the base.

This also upgrades d3 and rickshaw to the latest.

@terraboops
Copy link
Contributor

Are there any breaking changes in the upgrade of rickshaw? Does this commit integrate with #542?

@ke4roh
Copy link
Author

ke4roh commented May 21, 2015

I've been running it for 3 months and haven't noticed any changes (aside from it working) with the upgrade to Rickshaw. It will not play well with #542 because it references an even newer version of d3.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants