Pie Chart

Certified Senior Developer

How to display pie chart between 2 dates?

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Senior Developer
    in reply to shrutij9485

    local!data is the data we get from the rule I have given above. 

     a!pieChartField(
                      label: "",
                      labelPosition: "ABOVE",
                      series: {
                        a!forEach(
                          items: local!data,
                          expression: a!chartSeries(label: local!info[fv!index], data: fv!item.id)
                        )
                      },
                      showDataLabels: true,
                      showTooltips: false,
                      showAsPercentage: true,
                      colorScheme: "CLASSIC",
                      style: "DONUT",
                      seriesLabelStyle: "ON_CHART",
                      height: "MEDIUM",
                      refreshAlways: true
                    ),

Children