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.

Y-axis, type:'log' , series type :'bar', the first data value is 0, the bars on charts is not normal.

See original GitHub issue
option = {
    xAxis: {
        type: 'category',
        data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
    },
    yAxis: {
        type: 'log'
    },
    series: [{
        data: [0, 200, 150, 80, 70, 110, 130],
        type: 'bar'
    }]
};

image

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:2
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

7reactions
dashedcommented, Mar 4, 2020

@100pah any updates on this?

0reactions
hannatacommented, Oct 5, 2022

hello guyz, any update on this ? my data are dynamic and i cant replace the 0 with null or empty data because it’s a big difference in my case , (0 means no traffic and null means i fetched no data at this time), please if someone has a fix let me know

Read more comments on GitHub >

github_iconTop Results From Across the Web

A Complete Guide to Bar Charts | Tutorial by Chartio
Bar charts are a fundamental visualization for comparing values between groups of data. Use this guide to learn how to get the most...
Read more >
I'm using a logarithmic scale for the Y axis of a bar graph ...
The logarithm of 1.0 is 0. So when you plot a bar graph on a log axis, Prism plots the baseline at 0,...
Read more >
Customize X-axis and Y-axis properties - Power BI
This type of visual supports a single line chart value and multiple stackable column values. Screenshot of the Visualizations pane with the line ......
Read more >
Bar Chart - Knowledge Base - Domo
In a vertical bar chart, the most common type of bar chart, the categories are ... For information about value, category, and series...
Read more >
Visualization: Column Chart - Google Developers
X -axis values (continuous). Bar 1 values in this group ... Bar N values in this group. Data Type: string (discrete) ...
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