Skip to content

New bubble chart Demo#1931

Open
kedij777 wants to merge 2 commits into
swimlane:masterfrom
kedij777:2d-bubble-chart
Open

New bubble chart Demo#1931
kedij777 wants to merge 2 commits into
swimlane:masterfrom
kedij777:2d-bubble-chart

Conversation

@kedij777

@kedij777 kedij777 commented Jan 7, 2024

Copy link
Copy Markdown

What kind of change does this PR introduce? (check one with "x")

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

What is the current behavior? (You can also link to an open issue here)
To achieve bubble chart with group name as Y-value, the current bubble chart requires a lot of redundant information for data input. E.g. export const bubble: BubbleChartMultiSeries = [ { name: 'Germany', series: [ { name: '2010', x: '2010', y: 'Germany', r: 80.4 }, { name: '2000', x: '2000', y: 'Germany', r: 78 }, { name: '1990', x: '1990', y: 'Germany', r: 79 } ] }, .
In order to fix the problem, I added this new 2D bubble chart, which only requires group name, x value, and r value as data input. E.g. { name: 'Germany', series: [ { x: '2010', r: 8.4 }, { x: '2000', r: 1278 }, { x: '1990', r: 579 } ] }

What is the new behavior?
IMG_3111

Does this PR introduce a breaking change? (check one with "x")

  • Yes
  • No

@kedij777 kedij777 changed the title New 2d bubble chart New bubble chart Demo Jan 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant