•  
      request #29231 Troubles on a chart rendering when some values are the same
    Infos
    #29231
    Aurélien Tisné (atisne)
    2022-11-02 17:13
    2022-10-20 09:00
    30803
    Details
    Troubles on a chart rendering when some values are the same

    Percentages may be wrong and equal parts cannot be focused.

    Steps to reproduce:

    • On a tracker, create 4 artifacts
    • On a field of select type, set a value for two artifacts and an other value for the two others (so we have a 50/50 distribution)
    • Define a Chart of type Pie with its source data set on the field used in the previous step We can see two equal parts but one of the percentages is 0 and cannot be focused.
    Trackers
    13.12
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    New
    Empty
    Attachments
    Chart with 3 percentages and two identical
    References
    References list is empty

    Follow-ups

    User avatar

    Hi Manuel. Thanks for the answer. I can't find a configuration to see the whole figure. But I'm afraid I mixed two issues. Because there is also an issue with the interactive focus. I just add a new value to have now three different percentages. No more issue with the figures but still one with the focus. As you can see on the new attached image, the cursor is set on the yellow (Matériel) part and this is the blue (Logiciel) part that is emphasied. I noticed that with three or more different values, there is no issue. It seems restricted in the case of two equal percentages.


    User avatar

    Actually the percentage is not wrong but the label is truncated (which is the same at the end of the day...). It strokes 50% but the 5 is being cut. You might be able to get the full thing with a larger image.