c3 icon indicating copy to clipboard operation
c3 copied to clipboard

Event rectangles drawn incorrectly for timeseries-type bar charts

Open what-is-a-crow opened this issue 12 years ago • 3 comments

The event rectangles are measured / drawn incorrectly for bar charts of type "timeseries." Hovering over the first half of the first group and the second half of the last bar group does nothing (expected that it would trigger the hover state including tooltip if configured).

Plunker repro: http://plnkr.co/edit/hF0MnDev6RIjo8ptelju?p=preview

This is an issue with v0.2.5 (seems to be correct in 0.1.29).

I'm going to take a look into this issue now.

what-is-a-crow avatar Oct 09 '14 14:10 what-is-a-crow

Update- I didn't know that we weren't on the most recent version, but v0.3.0 seems to have the same issue.

what-is-a-crow avatar Oct 09 '14 14:10 what-is-a-crow

Thank you for your reporting. I think you're right. There was an issue as you wrote, but now it's been fixed in the latest version. Strictly speaking, the width of event rect increased and it looks enough to work well. Then, could you try the latest code again? Thanks.

masayuki0812 avatar Oct 19 '14 06:10 masayuki0812

It has been released in v0.4.0, so please let me close.

masayuki0812 avatar Nov 16 '14 09:11 masayuki0812