WordPress.org

Ready to get started?Download WordPress

Forums

RJ Quickcharts
[resolved] Change size of Highlighter Tooltip (3 posts)

  1. ajnlyons
    Member
    Posted 9 months ago #

    Hi,

    Great plugin! Many thanks....

    I am not sure if I have overlooked a response to this elsewhere in the forum - apologies if so!

    Is there a way to change the size of the tooltip highlighter points on a line chart? So, in other words, each point on the line has a circular point that appears to be classed as "jqplot-highlighter-tooltip"....can this be made smaller somehow?

    Thanks for your help!
    Alex

    http://wordpress.org/plugins/rj-quickcharts/

  2. randyjensen
    Member
    Plugin Author

    Posted 9 months ago #

    Hi ajnlyons,

    Unfortunately the only way to change this right now is to modify the plugin code itself.

    You can change this setting on line 136 of /rj-quichcharts/shortcode/init.php. You should see this line:

    seriesDefaults: {

    Right after that line, add "markerOptions". The new code should look like this:

    seriesDefaults: {
    markerOptions: {
    size: 5,
    },

    Change "5" to whatever you'd like. The default is 9 I believe. You can also change the type of marker and the color. That code would look something like this:

    seriesDefaults: {
    markerOptions: {
    size: 5,
    style: 'filledCircle', // circle, diamond, square, filledCircle, filledDiamond or filledSquare.
    color: '#666666'
    },

  3. ajnlyons
    Member
    Posted 9 months ago #

    Randy,

    Thanks for the lightning quick response (and fix)... you are the man!

    Alex

Reply

You must log in to post.

About this Plugin

About this Topic