I am displaying a StackedColumn Bar chart of type 2D Stacked Column
As expected it displays the chart with two totals one stacked on the other with different colors, and each groups total displayed in the middle of the colored box.
In my example The two totals are totals for each "Collector" and they represent categories named "Targeted Amount" and "Collected Amount".
In addition, it displays a number I do not want displayed and that is the sum total of the two totals (which are displayed inside boxes) is displayed on top of the stack.
Thus if the "Targeted Amount" total for the Collector named Bryan is 7,020 and the "Collected Amount" total for Bryan is 8,869, then you will see at the top of the stack the number 15,889.
But I do not want 15,889 to be displayed since it has no logical meaning.
Here is my code:
select 'dbr.chart', 'StackedColumn', '2D Stacked Column';
select 'dbr.chart.options', 'rotateNames', '25';
SELECT `Collector`,
`totals_category`,
`totals`
FROM tmp_target_collected_totals
ORDER BY `Collector`, `totals_category`;