RMI School Dashboard District Pie chart show numerous "phantom" labels
Issue #1001
resolved
No description provided.
Comments (2)
-
reporter -
reporter - changed status to resolved
fix(charts): phantom labels in pie chart when row labels are numerics
Resolves
#1001→ <<cset aa19e2ca4a2f>>
- Log in to comment
this is caused because the pie chart logic in row-col-chart creates a series from the label data as well as from the row totals. Normally this series does nothing, because the values are alpha - but in RMI, the district label are numerics, so e-chart will chart them.
Mystery solved.
The solution is indirect - making the column header in the generated row totals ROW_ID, not ‘row’. ROW_ID is treated as a special value to ignore when generating series from the data table.