Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C covid19india-react
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 27
    • Issues 27
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 11
    • Merge requests 11
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • covid19india
  • covid19india-react
  • Issues
  • #1585
Closed
Open
Issue created Apr 26, 2020 by Administrator@rootContributor

Logarithmic scale can't have zero as y value.

Created by: nayakrahul

Describe the bug A logarithmic axis can only plot positive values. There simply is no way to put negative values or zero on a logarithmic axis. https://blog.datawrapper.de/weeklychart-logscale2/ There are few scenarios where the y-value is always 0 like in case of Sikkim where there are no cases till now. Thing is we can't plot zero in logarithmic scale. Refer to the screenshot to understand it more clearly. The y-axis value is at 1 which is incorrect. This is happening when we try to plot 0 on logarithmic axis.

To Reproduce Steps to reproduce the behavior:

  1. Go to state page of Sikkim
  2. Scroll down to timeseries graph
  3. Turn on logarithmic scale mode
  4. See that the graph shows 1 but it is actually 0.

Expected behavior when y-axis value is 0, we should not plot anything on graph because logarithmic axis can't plot zero and negative values.

Screenshots Screenshot (54)_LI

Assignee
Assign to
Time tracking