-
Notifications
You must be signed in to change notification settings - Fork 122
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
Pie chart #84
Comments
Is there any update on this? |
@monfera is currently working on this. Robert do you want to add some examples of the current status. I first need to merge a quite big refactoring of the library (it can be probably done in two weeks max) and than we can introduce the first version of the pie chart. |
@shahzad31 we have most of the code; tests and improvements are being added as we speak |
Example looks great , thanks @monfera .. Are we close on this? |
@shahzad31 Thanks! The main |
@monfera per your advice we're implementing a basic donut in D3, and then when y'all ship this we will migrate to it. Our chart is literally the simplest use case for a pie chart, so it should be a very easy transition. |
@nickofthyme good reference, I think it also came up on the 1st call where the issue of small slices on sunbursts came up, one reason for the color sharing between rings here 😄 There's a stale branch I'll try to brush up and merge for folks to experiment with |
🎉 This issue has been resolved in version 16.2.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
hello @markov00 ... a year later ... how does one find out what version of kibana the fix is present in? the "resolved in version 16.2.0" doesn't jibe w/kibana's version number levels (6.8/7.1/etc) sorry to ask an old and annoying question... |
Best place to look is |
fingers crossed "long time" covers how "old" my kibana is ... not by choice ... also, thanks a million for the answer! |
@businessK8T are you looking for a particular issue/bug in kibana for the piecharts? if so can you link it here? |
at least on the surface this / a very similar pie-chart-missing-labels github "thing" (elastic/kibana#16746) matches the "performance variance" we're seeing ATM. h i'm looking through all the different package.json files b/c apparently there's more than one ;) |
@businessK8T this is the Kibana PR to follow for the Kibana migration to the new charting library: elastic/kibana#83929 |
Is your feature request related to a problem? Please describe.
It's required to draw piechart and donut chart, with one or multiple levels.
Describe the solution you'd like
Chart
structure but different specs for chartPieChartSeries
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Rendering a piechart is not so difficult, we can just use
d3-arcs
to compute the paths.The difficult part is the label positioning, place labels to avoid overlaps and overflows.
The pre-computing label dimensions will came in handy, but we need a good alghoritm to place them without overlapping them together.
We have to take in consideration also the style of the slices, specially when we will have many small slices.
Consider also label rotations as described here: https://www.amcharts.com/docs/v4/tutorials/labels-inside-pie-chart-slices/
Other interesting references:
Features:
Kibana Cross Issues
Checklist
Kibana Cross Issues
listkibana cross issue
tag is associated to the issue if any kibana cross issue is presentThe text was updated successfully, but these errors were encountered: