c3js / c3js/c3

Log scale values seem extreme

Open
#2,780 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
9.3k
Forks
1.4k
Avg merge
6d 16h
Merged PRs (30d)
1

Description

Log-type charts have really bizarre y-axis min and max.

I've tried starting my line charts with log scale, changing it after the fact, and setting the minimum to 0 after setting the type to log, to no avail:

## Linear:

![linear](https://user-images.githubusercontent.com/401600/78459225-65854600-766c-11ea-89eb-acb07c04bdf9.png)

## Log:

![log](https://user-images.githubusercontent.com/401600/78459274-b6953a00-766c-11ea-97ec-1fa5f0341b84.png)

Source code can be found here: https://github.com/latencyzero/COVID/blob/logscale/vis.js#L675

* **C3 version**: 0.7.15
* **D3 version**: v5
* **Browser**: Safari
* **OS**: macOS

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.