Home Forums Report Bugs In Bar chart, smaller height abruptly hides all the series

In Bar chart, smaller height abruptly hides all the series

Viewing 4 posts - 1 through 4 (of 4 total)
  • #26088

    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.

    • This topic was modified 4 years, 8 months ago by ayanghatak.
    #26095

    @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

    #26103

    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” ?

    • This reply was modified 4 years, 8 months ago by ayanghatak.
    #26126

    @ayanghatak,

    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.


    Vishwas R
    Team CanvasJS

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.