react-timeseries-charts icon indicating copy to clipboard operation
react-timeseries-charts copied to clipboard

minBarHeight and zero'd values don't render

Open webchaz opened this issue 6 years ago • 0 comments

❔Question

Using the BarChart, I haveminBarHeight set to 0 and data points that looks like this:

      ["2015-12-1", 80, 38, 44, 100, "id"],
      ["2015-12-2", 17, 20, 29, 100, "id"],
      ["2015-12-3", 2, 67, 60, 100, "id"],
      ["2015-12-4", 73, 77, 79, 100, "id"],
      ["2015-12-5", 0, 0, 0, 100, "id"],
      ["2015-12-6", 58, 57, 78, 100, "id"],
      ["2015-12-7", 72, 59, 52, 100, "id"],
      ["2015-12-8", 12, 34, 9, 100, "id"],
      ["2015-12-9", 82, 36, 58, 100, "id"]

For 2015-12-5 You'll notice that 3 of the columns are 0 and one is 100. In this case, nothing renders for that day. Should it be expected that the one data point that's 100 would render, whereas the others simply would not?

Thank you!

webchaz avatar Jan 31 '19 17:01 webchaz