my company just upgraded to MyDBR-OEM - mainly for the ChartJS-Feature. While most Charts look great compared to ChartDirector, some Charts lack the functionality we need.
1. What is the best way to color charts (like the bars in StackedBar-Charts)? Before, we did '
dbr.chart.options', 'label_color', 'labelname', 'color'; - This does not work anymore.
'dbr.chart.color', 'color1', 'color2' ... works just fine, but it's not very intuitive, especially when charts get big and tweaks need to be made.
2. Is there a way to format labels? Right now, we have a StackedBar chart, where the default label format is applied (values of each subbar inside the bar itself). While this is fine, we need a 'total' value, which adds all the subbar values together: Like
Bar 1: 5 Votes, Bar 2: 6 Votes, Total: 11 Votes. The latter should be shown above the bars - or whereever honestly, as long as it's displayed at all. Is there a way to do this?
3. Is there a way to switch back to ChartDirector for specific charts only? It was possible for ChartJS via
‘dbr.chart.options’, ‘chartjs’;, but doing the same with 'chartdirector' instead does not seem to work.