Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Axis lines and tick marks not appearing on chart #2979

Open
mshende opened this issue Nov 28, 2022 · 1 comment
Open

Axis lines and tick marks not appearing on chart #2979

mshende opened this issue Nov 28, 2022 · 1 comment
Labels

Comments

@mshende
Copy link

mshende commented Nov 28, 2022

Description

We are generating a bar chart, and in doing so are not able to see the axis lines or tick marks on the chart for the x- and y-axes.

Screen Shot 2022-11-28 at 11 43 36 AM

We are generating the chart using myChart = bb.generate() and then loading data in using myChart.load(). This is the snippet of code that controls the axes:

        x: {
          type: 'category',
          categories: [],
          show: true,
          tick: {
            outer: false,
            centered: false,
            rotate: 80,
            multiline: false,
          },
        },
        y: {
          padding: {top: 5, bottom: 0},
          min: 0,
          show: true,
          tick: {
            outer: false,
            format: function(d) {
                 return d.toFixed(1);
            },
          },
        },

Steps to check or reproduce

@netil netil added the question label Nov 29, 2022
@netil
Copy link
Member

netil commented Nov 29, 2022

Hi @mshende, can you provide full generation code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants