antvis / antvis/G2Plot

🤔 [QUESTION]

Open
#3,647 0 comments 0 reactions 0 assignees View on GitHub
Question
Dominant language
TypeScript
Stars
2.7k
Forks
591
PR merge metrics
No merged PRs in 30d

Description

To render the Bar plot from '@antv/g2plot' lib it is not working fine

problem

When I am using the single Bar plot then whatever the data I am passing is rendering correctly but on the same page I am using the same chart with similar different data then it is rendering but it is taking so much height and the bars are not visible when I am hovering on the page then it is showing tooltip,

Actually, I am using this Bar plot in the Reactjs project and I am making a dashboard of it In that dashboard I have to render the 4 bar charts, n that what I am doing I am doing that I have one JSON data in the array of objects in that each object I am iterating in that each object I am having two fields one filed is the title and another field is data in that data I have the array in that array I am having that data which I am rendering in the chart but for another chart it is not rendering and first one it is taking a lot of height

please send me the solution to it and that I am also using the events by clicking any bar I am getting the data for that particular bar

Contributor guide

Open the contributing guide

Research direction

Reproduce the dashboard in the React project using @antv/g2plot with four bar charts and the described JSON array of objects. Compare the chart data, sizing, and click-event setup between the working and invisible charts; done means every bar chart has visible bars at the intended height and still shows tooltips and clicked-bar data.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
data-visualization, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
18/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.