•  
      request #4119 Chart legend over the graph
    Infos
    #4119
    Manuel Vacelet (vaceletm)
    2021-05-29 16:09
    2013-06-27 09:04
    2790
    Details
    Chart legend over the graph
    As you can see on the attached picture of on the report on this very tracker (https://tuleap.net/plugins/tracker/?report=242), some time, the legend (wait for it) ari...ve on to of the chart (worst, on the left part, the most interesting).
    Trackers
    All
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    Closed
    2021-05-29
    Attachments
    References
    References list is empty

    Follow-ups

    User avatar

    Tracker graphs are no more rendered with this engine. Closing.


    • Status changed from Verified to Closed
    • Assigned to changed from Yoann Celton (jtekt) to None
    • Close date set to 2021-05-29
    User avatar
    Yoann Celton (jtekt)2013-07-01 13:48
    Here you go. This solves the issue for all kind of graphs, but it is still hard coded, so if you choose longer field, you have to increase this margin value.

    Atm there is no way to know the final length of the legend.
    Your move.

    • Status changed from Acknowledged to Under implementation
    • Attachments patchFixLegend added
    • Reported in version set to All
    User avatar
    Yoann Celton (jtekt)2013-06-27 09:19
    last edited by: Yoann Celton (jtekt) 2013-06-27 09:24
    This is not relative to the Flowchart. As you can see on the other screencap, it also happen on other type of graph.Problem is that the space allocated to the legend is hard-coded, and we don't know how much space it will need, nor the total width of the graph.So if you add lengthy labels with (relatively) small graph, the two can (and will) overlap. Any idea?

    ///// EDIT ////
    Okay I was a bit wrong. Total length of the graph is NOT related. Enlarging your chart won't change anything