@anonymous-piwik-user opened this issue on June 1st 2013

1.) if graphType=pie showLegend : parameter ignored (no legend), backgroundColor : parameter ignored (wrong color), pie chart aligned right even taking into account legend placement. EXAMPLE: http://demo.piwik.org/?module=API&method=ImageGraph.get&idSite=7&period=day&date=today&apiModule=UserCountry&apiAction=getCountry&outputType=0&showLegend=1&fontSize=9&aliasedGraph=1&textColor=FF0000&backgroundColor=AAFFFF&legendAppendMetric=1&token_auth=anonymous&translateColumnNames=1&graphType=pie&width=600&filter_truncate=7

2.) if graphType=3dPie backgroundColor : parameter ignored (wrong color) EXAMPLE: http://demo.piwik.org/?module=API&method=ImageGraph.get&idSite=7&period=day&date=today&apiModule=UserCountry&apiAction=getCountry&outputType=0&showLegend=1&fontSize=9&aliasedGraph=1&textColor=FF0000&backgroundColor=AA33FF&legendAppendMetric=1&token_auth=anonymous&translateColumnNames=1&graphType=3dPie&width=600&filter_truncate=10

3.) if "NUM OF ITEMS" <= filter_truncate first & last segment in (3d)Pie with wrong(same) color. EXAMPLE: http://demo.piwik.org/?module=API&method=ImageGraph.get&idSite=7&apiModule=VisitTime&apiAction=getByDayOfWeek&token_auth=anonymous&period=month&date=-5days&column=nb_visits&filter_truncate=8&graphType=pie&width=500&height=250&aliasedGraph=1&colors=00CCCC,00C000,CC0000,0000CC,CCCC00,C0C0C0,C3590D,CC00CC,334477

@mattab commented on June 3rd 2013

Thanks for the report!

@mattab commented on January 10th 2014

Please feel free to take a look and maybe a pull request if you can, to fix these issues!

Powered by GitHub Issue Mirror