Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#283 Introduce linear label in to PiePlot

open
nobody
None
5
2011-09-29
2011-09-29
teamup
No

Hello we are a team in VietNam, we're using Jfreechart for our project, and we need to enrich default look of pie chart 2D.

We would want to see the label of each piece in piechart can be display in one line, so that it can gain more space than usual

The patch file for PiePlot which is already modified on drawLeftLabels(...) & drawRightLabels(...) methods.

We'd would happy if our patch can be consider to include in future version of JFreechart. Thanks!

Discussion

  • David Gilbert
    David Gilbert
    2011-09-29

    • labels: 104897 -->
     
  • David Gilbert
    David Gilbert
    2011-09-29

    Thanks. Moving this to the patch tracker. One thing I notice on a quick review is that the code relies on a class XChartUtil which is not included in the patch.

    I'm also wondering - if the labels stay on a single line, what happens to the chart if the labels are too long to fit? Are they simply truncated?

     
  • teamup
    teamup
    2011-09-29

    Hello Thank for you taking care. We attached the new patched which is removed XChartUtil(It's not necessary).
    Regard you question about labels are too long, Yes it's will be simply truncate.

    Thanks
    Upteam