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

Ability to skip the representation of dataset values equaling to 0

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 1.1
    • 1.0
    • None
    • None
    • Unknown

    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

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

            Dates

              Created:
              Updated:
              Resolved: