Billboard.js: Dynamically loading data mixes hover legend

Created on 6 May 2019  路  7Comments  路  Source: naver/billboard.js

Description

Dynamically loading data through chart.load({ columns }) displays correctly but hover legend becomes mixed up and will select records that are not being hovered over. I am using the area-spline chart. I have also ensured that the x-axis data is properly ordered for both sets. Unloading each column resolves the issue, but forces an "empty" flash.

I have seen issue https://github.com/naver/billboard.js/issues/771, but they are using a category chart.

Steps to check or reproduce

Using Billboard.js version 1.8.0

Here's a link to a CodePen: https://codepen.io/austince/pen/mYyBxX?editors=0010
The config code is way at the bottom. Click switch to see the chart become confused.

Thank you!

bug

All 7 comments

Hi @austince, thanks for reporting the issue.

Fixed the issue as you can see from the screenshot below.
Try with the nightly build.

data-load-rect

Awesome, thanks @netil, we'll try it out!

Is there any chance this will be able to be released in the near future?

@austince, the next coming release is planned by 14th, June.

Great, thanks for the link! Would you be open to considering integrating something like semantic release so that you could ship more frequently and take some burden off of you? I'd be happy to submit a PR to get it set up.

@austince, contributions are always welcomed!

released on 1.8.1

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mafar picture mafar  路  4Comments

michkami picture michkami  路  5Comments

imbyungjun picture imbyungjun  路  5Comments

stevenmusumeche picture stevenmusumeche  路  3Comments

davidhund picture davidhund  路  5Comments