Highcharts Demo
Issue #3
closed
I tried to enable highcharts but all graph are empty... any help webalizer.conf as example?
Comments (8)
-
repo owner -
Thank you! Just forgot setup html and js path in conf file...
And is work also with Highcharts 6.0.4(latest)
-
Why don't update conf file with all new features added in your build?
-
repo owner Great! :)
I kept
README
up to date, but didn't think people used the sample config file much and a couple of months ago learned that this is not the case and started updating it, but didn't get around to add all new features yet. -
HTMLJsPath
is missing from
README
😁
-
repo owner It is indeed. What do you know - in so many years nobody ever mentioned it! Thank you for the heads up.
-
repo owner - changed status to resolved
-
repo owner - changed status to closed
- Log in to comment
Make sure that your CSS and JavaScript path points to where the HTML page can load these files from. For example, if they are on the same server as your reports, you probably would want to share them across all reports, so it would look something like this (any URL path will work - these are just examples):
Then you need to enable JavaScript charts with this line:
If you want a world map instead of a pie chart for the country report, add this line:
Note that this setup will pull Highcharts files from their servers. If you would rather host their source on your own servers, you can use
JavaScriptChartsPath
to configure the path, but you have to get the exact version that is compatible for the current release of the Stone Steps Webalizer, which is currently 4.2.x.