c3js / c3

:bar_chart: A D3-based reusable chart library
http://c3js.org
MIT License
9.33k stars 1.39k forks source link

D3 5.16.0: data.labels.format regression #2882

Open florentmontesano opened 1 year ago

florentmontesano commented 1 year ago

Found a regression in data.labels.format: The j parameter used to be the sub index of the data point but is now an array of SVGTextElement. Might be a regression due to the new d3.js version. Below the CodePen showing the issue.

Before (D3 3.5.16): https://codepen.io/florentmontesano/pen/PoxoBYG After (D3 5.16.0): https://codepen.io/florentmontesano/pen/jOQOKjG