You must be logged in to post your query.
Home › Forums › Report Bugs › In Bar chart, smaller height abruptly hides all the series
Tagged: Bar, Column, height, hides
Same data in the bar chart, all series hidden for height = 180px and all series shown in = 200px. Refer – https://jsfiddle.net/AyanGhatak/wdxp4oeL/embedded/result,js
However in comparison of a column chart, The behaviour is not similar to how same number of series reacts to shrinking the width of the chart, i.e. for column chart with smaller width, things appears to be in a much better state.
@ayanghatak,
The minimum width of the dataPoint seems to become negligible when the height of the chart is 180px. Setting dataPointMinWidth to 1 seems to be working fine. Please take a look at this updated JSFiddle.
— Vishwas R Team CanvasJS
Thanks a lot @vishwas, worked for me like a charm. :)
Btw the default value specified in the doc page is by default to be 1, not sure if I understand, if the default Value is already 1, why do we need to implicitly define the same?
Should the defaultValue be updated to “auto” ?
Thanks for bringing it to our notice. We will check if there is any issue in the default value for smaller height of the chart and update accordingly.
You must be logged in to reply to this topic. Login/Register