• Resolved morcom

    (@morcom)


    Plugin still running great but can you add a colour option for the Stats Admin Chart.
    The default colours I find are hard to distinguish (maybe due to my poor eyesight). I have therefore altered line 64 in slimstat.admin.js to the following:

    SlimStatAdmin._chart_options.colors = (SlimStatAdmin.chart_data.length == 4)?[‘#f8a5a5’, ‘#abe4fe’, ‘#f7180d’, ‘#21759b’, ‘#02c907’]:[‘#f7180d’, ‘#21759b’, ‘#02c907’],

    The trouble is that with the frequency of the updates I’m having to re-do the change every time.
    Therefore would it be possible the have these variable values in the setup which would then be used on every upgrade.

    Still a great plugin and thanks

    Fred

    https://ww.wp.xz.cn/plugins/wp-slimstat/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘SlimStatAdmin._chart_options.colors’ is closed to new replies.