Uploaded image for project: 'ChartJS Integration'
  1. ChartJS Integration
  2. CHARTJS-5

Ability to skip the representation of dataset values equaling to 0

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: 1.1
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      This ability can be handy to address the following use case: you want to represent data as a pie chart with custom colors passed as options. However, one or several of the computed values happens to be empty, and you don't want it to show up as empty sectors on the generated pie. But it's tricky to know in advance which indices will have a 0 value, and how the color array should hence be updated. An option would be to let the datasets contain 0 values, and to update the color array in JavaScript when some 0 values are encountered, when a dedicated option is activated.

        Attachments

          Activity

            People

            • Assignee:
              slauriere slauriere
              Reporter:
              slauriere slauriere
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: