Hi,
since the last update of MyDBR (OEM license), we do not have legends on pie anymore.
Please find below our settings and code. If you can help me solving this issue it should be very useful.
Thanks for your help
Configuration :
DB : 10.4.19-MariaDB-1:10.4.19+maria~xenial
Server : APACHE2
Modules :
Charts (ChartDirector 7.0)
Graphviz charts 2.43.0 (0)
wkhtmltopdf (0.12.1 (with patched qt))
ionCube PHP loader (12.0.2)
Example of my code which was running one month ago :
select 'dbr.title', 'All Graphs';
select 'dbr.chart', 'Pie', 'TOP 5 OF CUSTOMERS SINCE 2020';
select 'dbr.chart.options', 'title_color', '0xFF0000';
select 'dbr.chart.options', 'format', 'PNG';
select 'dbr.chart.options', 'title_font_size', '10';
select 'dbr.chart.options', 'imagechart';
select 'dbr.chart.color', '0x3005C3DD', '0x30384967', '0x309EA2A2', '0x30F2827F', '0x30E03E52', '0x309B6EB6', '0x300075BB', '0x3071B790';
select 'dbr.chart.options', 'font','Arial',7;
select 'dbr.chart.options', 'label_font_color', '0xDDFF00';
select 'dbr.chart.options', 'padding_right', 0;
select 'dbr.chart.options', 'showValues', 'data';
select 'dbr.chart.options', 'legend.position', 'left';
select 'dbr.subtitle', 'TOP 5 OF CUSTOMERS';
select 'dbr.chart.options', 'pie_label_format', '0';
select 'dbr.chart.options', 'timevalue', 1;
SELECT REPLACE(UPPER(COMPANY),'_',' ') as CUSTOMER, SUM(DURATION_SECONDS) as TOTALSECONDS from MYDB.MYTABLE WHERE (COMPANY NOT LIKE "INT_%" AND COMPANY NOT LIKE "GUEST") GROUP BY COMPANY ORDER BY TOTALSECONDS DESC LIMIT 5;