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

fix(react-charting): resolve bugs in declarative chart #33564

Merged

Conversation

krkshitij
Copy link
Contributor

@krkshitij krkshitij commented Jan 7, 2025

This PR addresses the following issues:

  • Lines are not visible alongside the bars.
  • The resolution of exported images is low.
  • Years displayed as x-axis ticks contain commas.

Previous Behavior

image1
image2
image3

New Behavior

screenshot-1737031630283
screenshot-1737031498408
screenshot-1737031219693

Related Issue(s)

@krkshitij krkshitij requested a review from a team as a code owner January 7, 2025 05:10
Copy link

github-actions bot commented Jan 7, 2025

📊 Bundle size report

✅ No changes found

Copy link

github-actions bot commented Jan 7, 2025

Pull request demo site: URL

AtishayMsft
AtishayMsft previously approved these changes Jan 7, 2025
@krkshitij krkshitij changed the base branch from master to user/atisjai/stronglyTypePlotly January 16, 2025 09:29
@krkshitij krkshitij requested a review from AtishayMsft January 16, 2025 12:23
@AtishayMsft AtishayMsft dismissed their stale review January 16, 2025 14:06

revoking review

@AtishayMsft
Copy link
Contributor

case 'bar':

I think better way is to derive a type that we support like 'bar+line' or 'bar+line+scatter' and use it in the switch case. The jsx can be consts like renderChartJsx to be reusable across cases?


Refers to: packages/charts/react-charting/src/components/DeclarativeChart/DeclarativeChart.tsx:214 in 7607280. [](commit_id = 7607280, deletion_comment = False)

@krkshitij krkshitij requested a review from AtishayMsft January 17, 2025 08:38
@krkshitij krkshitij merged commit 03455a4 into microsoft:user/atisjai/stronglyTypePlotly Jan 17, 2025
11 of 12 checks passed
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.

[Bug]: Date axis labels formatted to show only the year are being localized as if they were numbers
3 participants