ICEfaces
  1. ICEfaces
  2. ICE-11170

allow format of dataLabels for pie chart (SectorSeries)

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-4.1.0.GA, EE-3.3.0.GA_P04
    • Fix Version/s: 4.2.BETA, 4.2
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ace jsf2 chart

      Description

      the current chart examples (in showcase), show the sum of the labels of the various pieces of pie NOT adding to 100% (they add to 99%).
      Going through the code base, it appears that jqplot allows you to format the labels, and this makes sense as they may be rounding, but all the pieces of pie could have integer +.1 for example, and still a rounding will not add to 100%.

      Exposing the attribute "dataLabelFormatString" for jqplot in the SectorSeries (model class for ace:chart). Allows us to format the label to the nearest 10th of a decimal (or 2 decimal places, etc).

      Will see if this is acceptable to support case owner.

        Activity

        Judy Guglielmin created issue -
        Judy Guglielmin made changes -
        Field Original Value New Value
        Assignee Ken Fyten [ ken.fyten ]
        Ken Fyten made changes -
        Assignee Ken Fyten [ ken.fyten ] Judy Guglielmin [ judy.guglielmin ]
        Fix Version/s 4.2 [ 12870 ]
        Affects Documentation (User Guide, Ref. Guide, etc.) [ 10003 ]
        Assignee Priority P2 [ 10011 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49571 Tue Nov 22 11:47:50 MST 2016 judy.guglielmin ICE-11170 added attribute dataLabelFormatString to SectorSeries model class and updated pie chart in showcase example.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/model/chart/SectorSeries.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/java/org/icefaces/samples/showcase/example/ace/chart/ChartPieBean.java
        Ken Fyten made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s 4.2.BETA [ 13091 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Judy Guglielmin
            Reporter:
            Judy Guglielmin
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: