Visualisation Styles - Bar Chart Gridlines and Max Y-axis Value

Hi Community!

I need tips for 2 visualisation requests:
1) I want to keep a short dash extending from the y-axis values, without having the gridlines running through the entire chart. Is there a quick solution for this?
2) I wish the max y-axis value to be always above the max value of any bar value. In the viz settings a max y-axis value can be set, but that would disable auto-scaling. Is there a way to let it auto-adjust the top y-axis value to always cover the max bar value?

Thanks a lot!

ginandtobby_0-1746775843603.png

 

Solved Solved
0 8 224
1 ACCEPTED SOLUTION

Hi ginandtobby

tanakakentaro_0-1746781569690.png


1) Is this the image you are assuming?
If so, You can do this by clicking the Custom button at the bottom right in the Visualization section of the Explore screen and overriding the following code. (It takes a bit of work. If you don't know how to do it, I'll explain it to you.)

 

  ,yAxis: [{
    gridLineWidth: 0,
    tickLength: -5,
    tickWidth: 3,
    zIndex: 10
  }],

 

I can't immediately answer 2), so for now I'll just reply to 1).
Best regards,
Kentaro

View solution in original post

8 REPLIES 8
Top Labels in this Space
Top Solution Authors