Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GroupedBar Chart Toolip Error #1021

Open
jaoaustero opened this issue Apr 17, 2023 · 4 comments
Open

GroupedBar Chart Toolip Error #1021

jaoaustero opened this issue Apr 17, 2023 · 4 comments
Labels
status:in_progress Issue that is being worked on right now status:needs_reproducing For bugs that need to be reproduced in order to get fixed type:bug An unexpected problem or unintended behavior

Comments

@jaoaustero
Copy link

jaoaustero commented Apr 17, 2023

By following your documentation and demos, I'm using the tooltip plugin in the groupedBar chart
the same implementation how I use it on the flat line or group line chart data. I already check the
closed issues seems I don't find the same I encounter. I'm using Vue 3.

Expected Behavior

It should show the same as the image below (1), when in groupedBar chart it doesn't show anything
but it throws an error

Current Behavior

Doesn't show anything, just throwing error when hoving on the grouped bars

Possible Solution

I don't have any idea

Steps to Reproduce

  1. Setup vue 3 js environment
  2. Install the d3-select and britechart
  3. Implement the groupedBar same on documentation or demos/grouped-bar.html

Screenshots (if appropriate)

  1. image
  2. image

Context

I don't believed there's conflict within the vue 3 js, I tried implementing it on very simple way without using
vue 3 reactivities. I just use the onMounted() just to trigger the function that will mount/draw the chart
and add the data

Your Environment

Vue ^3.1.0-0
D3-Selection ^3.0.0
Britecharts version ^2.18.2
Browser: Google Chrome Version 112.0.5615.121 (Official Build) (64-bit)
Operating System Windows 11 Pro Version 22H2
Codepen: N/A

@jaoaustero jaoaustero added the type:bug An unexpected problem or unintended behavior label Apr 17, 2023
@Golodhros
Copy link
Collaborator

Hi @jaoaustero, thanks for opening an issue!

Could you first, downgrade to 2.18.0 and check again? It seems there are some issues with that version.

If that's not the case, could you try to reproduce the conditions on a fork of this codepen: https://codepen.io/Britecharts/pen/OQgXLN?editors=1010

This will help a lot on debugging!

@Golodhros Golodhros added status:needs_reproducing For bugs that need to be reproduced in order to get fixed status:in_progress Issue that is being worked on right now labels Apr 17, 2023
@jaoaustero
Copy link
Author

@Golodhros Hi, Thanks I tried downgrading but it seems some API are missing? like numberFormat and colorMap? and the data mounting is different?

image

@Golodhros
Copy link
Collaborator

That's odd, from 18.0 to 18.2 only a fix to line chart was released.

Could you try to reproduce your original issue on the codepen?

@jaoaustero
Copy link
Author

Any updates

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:in_progress Issue that is being worked on right now status:needs_reproducing For bugs that need to be reproduced in order to get fixed type:bug An unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants