c3js / c3

:bar_chart: A D3-based reusable chart library
http://c3js.org
MIT License
9.35k stars 1.39k forks source link

[Experimental] Add support for y/y2 log scale #2678

Closed panthony closed 5 years ago

panthony commented 5 years ago

Hello there,

I'm reintroducing this PR that I did a while ago, this is kind of experimental and will probably have shortcomings with some combinaisons (stacked charts, etc..)

But it works for simple cases and may be enough for most of people.

May be enough to closes #1360

codecov-io commented 5 years ago

Codecov Report

Merging #2678 into master will increase coverage by 0.18%. The diff coverage is 95.38%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2678      +/-   ##
==========================================
+ Coverage   80.29%   80.47%   +0.18%     
==========================================
  Files          59       59              
  Lines        4537     4595      +58     
==========================================
+ Hits         3643     3698      +55     
- Misses        894      897       +3
Impacted Files Coverage Δ
src/config.js 95.83% <ø> (ø) :arrow_up:
src/api.axis.js 100% <100%> (ø) :arrow_up:
src/scale.js 97.27% <94.54%> (-2.73%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update bdf12d1...4e102b1. Read the comment docs.

codecov-io commented 5 years ago

Codecov Report

Merging #2678 into master will increase coverage by 0.17%. The diff coverage is 95.65%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2678      +/-   ##
==========================================
+ Coverage   81.01%   81.18%   +0.17%     
==========================================
  Files          59       59              
  Lines        4640     4699      +59     
==========================================
+ Hits         3759     3815      +56     
- Misses        881      884       +3
Impacted Files Coverage Δ
src/config.js 95.83% <ø> (ø) :arrow_up:
src/api.axis.js 100% <100%> (ø) :arrow_up:
src/domain.js 93.78% <100%> (+0.03%) :arrow_up:
src/scale.js 97.27% <94.54%> (-2.73%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 2bc2488...bdfbc2d. Read the comment docs.