Skip to content

Last Country in ImageGraph shows a wrong flag #13039

@pcruhlm

Description

@pcruhlm

Hello i´m using the ImageGraph from the HTML API to show a horizontal bar graph image with the countries of the visitors. In this image the last entry always get a wrong flag (exception is if i have a high amount of countries that i get 'other' in the last row without a flag). The country is correct.
The actual version 3.5.1 of matomo is installed

image

image

If i use the dashboard to show the visitorr countries i get the identical number of visitors per country with the correct flags.

image

I use this code to call the image:

https://xxxxxxxxxxx.de/analytics/piwik/index.php?module=API&method=ImageGraph.get&idSite=1&apiModule=UserCountry&apiAction=getCountry&token_auth=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&graphType=horizontalBar&period=month&date=today&showLegend=1&width=700&height=460&fontSize=8&textColor=7f5500&backgroundColor=ffaa00&gridColor=7f5500&colors=7f0000&legendFontSize=8&alt=''

Is there a known issue in the ImageGrapf functionality or maybe i´ve done somethimg wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugFor errors / faults / flaws / inconsistencies etc.duplicateFor issues that already existed in our issue tracker and were reported previously.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions