-
Notifications
You must be signed in to change notification settings - Fork 6
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
Examples: Add pie and donut charts #88
Examples: Add pie and donut charts #88
Conversation
✅ Deploy Preview for ods-charts ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Hi, I push 3 commits, 2 suggestion and one enhancement. Available to discuss about them :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel right with your changes, the display is great and as an alpha version it's fine to add some support to legend I think
#158 has been merged, please apply the same modifications here. |
Commited |
e6a43f7
to
3a74eeb
Compare
c43737c
to
780f2cb
Compare
Removed the work you did @jacques-lebourgeois since it'll be embedded in #242 and following PRs. I think it's ready for review. Note: I've added the Orange legend look for now, but it'll have to be removed if the #242 is merged before or if the #242 is merged after, think about reverting 780f2cb |
I just push a commit for suggestion if you agree |
a126321
to
fdd61ec
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job with this addition @louismaximepiton
Few tiny things to change before accepting.
Please check #300 to see if there are other changes to do here while rebasing the branch ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Let's wait for the light design review, and then we can merge/release 🚀
Here are some design review comments for the Pie chart and Donut chart.
|
Thanks for the design review @Franco-Riccitelli 🙏
The padding on the tooltips follows the standard from ODS. We did not initially notice the different specification hidden at https://design.orange.com/0c1af118d/p/714762-legends/t/page-714762-48288420-5. Should we adhere to this specification instead for all charts? If so, this adjustment can be addressed in a separate PR, as it impacts the global rendering for all charts.
We can implement this change in separate PRs since it affects the global rendering for all charts:
However, we need to determine the breakpoint at which the font size changes to 14px. Should this adjustment occur from tablet rendering to mobile (medium)?
According to the ODS Design guidelines, the legend should be vertical and positioned on the right-hand side of the donut/pie chart. This change is not included in the current PR because it depends on the merge of another PR (PR #244). You can preview the updates in this deployment. |
Thanks a lot for your feedback, @Franco-Riccitelli. |
bc5efab
to
f258adc
Compare
f258adc
to
6ee3008
Compare
👏 good news |
Note: Please transform
- [ ]
into- (NA)
in the description when things are not applicableRelated issues
NA
Description
Added an example showing a pie and a donut charts.
Questions still to be answered:
ods-donut-charts.png
.getThemeOptions
accordingly ? For example we don't haveaxis
on this kind of chart.Motivation & Context
These type of charts are considered as basic and are missing inside the doc.
Types of change
Test checklist
Please check that the following tests projects are still working:
docs/examples
test/angular-ngx-echarts
test/angular-tour-of-heroes
test/html
test/react
test/vue
test/examples/bar-line-chart
test/examples/single-line-chart
test/examples/timeseries-chart