Well, this is strange indeed. The first chart on the statistics page for a single user (view=user) is a pie chart:
On the statistics page (without view parameter, or when comparing players), the scores are plotted as columns:
I do see that the Charts class has “line” as the default parameter value, but looking at the code I can’t really think of a reason why it is defaulting to this value. Do you have any errors or warnings in your error log that are related to the stats page or Charts class?
When you inspect the code, which classes does the wrapper div have? Should be something like this:
Latest…. I will try to upload earlier version and come back to you… However please do also a check on your side if there is need to update json or class.
Do you get any errors in your javascript console in the browser? The Highcharts are a javascript lib, so there might be some conflict on the frontend.
Anyway, I also changed the way that I set the chart type in the class (as a quick test). Curious if this makes a difference on your install. It’s difficult to find a cause when I can’t reproduce the error.
You can download the file here (if you are willing to test). The file should be placed in the /classes folder.
Thanks for testing. I will do some more regression tests on my install and will include the fix in the next version (v2.12.0) to prevent this from happening again.