I create MultiChart with two bar charts with different yAxis, one simple Bar chart overlapping by second stacked Bar chart. Stacked bars draw incorrectly after clicking the instrument selections. This action add extra empty value to chart data, so one extra is created.
after clicking tooltip:
As I corectly understan problem is in line:
if (dataBars2.length) { extraValue2BarStacked.push({x:0, y:0});}
I create MultiChart with two bar charts with different yAxis, one simple Bar chart overlapping by second stacked Bar chart. Stacked bars draw incorrectly after clicking the instrument selections. This action add extra empty value to chart data, so one extra is created.
after clicking tooltip:
As I corectly understan problem is in line: if (dataBars2.length) { extraValue2BarStacked.push({x:0, y:0});}
And the code in the answer to https://stackoverflow.com/questions/48395452/nvd3-js-multichart-with-area-stackedarea-series-drawn-below-the-x-axis-obscure/49315033#49315033 I think should resolve this problem. maybe this code should be contributed to nvd3?