Billboard.js: y2.min not working properly

Created on 18 May 2019  路  2Comments  路  Source: naver/billboard.js

Description

y2.min is set to 0 still the y2 axis shows -10 on it, even though the data _does not_ contain any negative values.

Steps to check or reproduce

https://codepen.io/jinayshah0506/pen/gJRPja

question

All 2 comments

Hi @jinayshah0506, try adjusting with axis.y2.padding option

y2: {
    show: true,
    min: 0, // On removing this attribute, deselect the data3 line by clicking on data4 legend and the negative value can be seen again.
    padding: {
        bottom: 0
    }
}

@netil Thanks for the help. It works!! :slightly_smiling_face:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

flipcode1973 picture flipcode1973  路  5Comments

AyshvaryaLaxmiK picture AyshvaryaLaxmiK  路  5Comments

gyuhyeon picture gyuhyeon  路  3Comments

planttheidea picture planttheidea  路  4Comments

serzhiio picture serzhiio  路  4Comments