Support » Plugins and Hacks » RJ Quickcharts » [Resolved] Change width of lines in line charts?

[Resolved] Change width of lines in line charts?

  • Hi,

    Awesome plugin! I was wondering if it would be possible to change the line widths for line charts to make them a bit bolder or thicker. I’ve gotten a few complaints that they are a bit hard to read. This would be a global change across the line charts on the site. I’ve looked around in the code, but I haven’t found it yet. Any help you could provide is appreciated.




Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author randyjensen


    Hey Rob,

    Glad the plugin is working for you 🙂

    Until I can add the option to increase the line width, you can hack the plugin to work for you.

    Open: /shortcode/init.php

    Then look for line 136. You should see:

    seriesDefaults: {
    renderer: r,

    Add one line so it looks like this:

    seriesDefaults: {
    lineWidth: 5,
    renderer: r,

    You can change 5 to whatever you want to increase the boldness of the lines.

    Hope that helps!

    Awesome, I will give that a try. Thanks for your quick help!


    Hi Randy,

    Thanks again for sharing this code. Unfortunately I’ve tried it a few times, and it doesn’t seem to change the line width at all. I tried a few different browsers just to be sure, and even tried adding “px” after the line width size. Any thoughts as to what I might be doing wrong?

    Thanks again for all your help!


    Hi Robby / Randy! That trick worked fine for me.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Change width of lines in line charts?’ is closed to new replies.
Skip to toolbar