question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

add base 2 and base e scale.distr options

See original GitHub issue

scale.distr mapping:

  1. linear
  2. ordinal
  3. log10
  4. log2 (new)
  5. log (new)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:13 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
leeoniyacommented, Sep 16, 2020

i’ve decoupled axis.filter() from axis.values() in https://github.com/leeoniya/uPlot/commit/c898d24c56ec3e1c314b0721353d9a0bc6b41a07

this now works as expected: https://jsfiddle.net/zhpqkdo1/

0reactions
leeoniyacommented, Sep 17, 2020

i’ve pushed a bunch of commits that add scale.log, which can be either 10 (default) or 2:

https://leeoniya.github.io/uPlot/demos/log-scales2.html

Read more comments on GitHub >

github_iconTop Results From Across the Web

Log base 2 or e or 10? - BioTuring's Blog
This is when log scale comes in handy. For example, graphs using log base 10 can simplify the values of 1, 10, 100,...
Read more >
Auto Scaling groups with multiple instance types and ...
Learn how to create an Auto Scaling group with Spot and On-Demand Instances and allocation strategies. Allocation strategies determine which instance types ...
Read more >
8.4.2.1.2 The Scale Tab - OriginLab
8.4.2.1.2 The Scale Tab. AxesRef-Scale. This tab provides controls for axis scale, including the axis scale range, axis type, major and minor tick ......
Read more >
Exponential Functions with Base e
Start with the graph of y = ex, reflect it in the x-axis and shift it rightward 1 unit. Step 2: Since our...
Read more >
Log Base 2 Calculator
The log base 2 calculator quickly computes the value of the logarithm function with base two, i.e., log₂(x) for arbitrary (positive) x.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found