WordPress.org

Forums

NVD3 Visualisations
[resolved] Left and bottom margin (3 posts)

  1. lioneleric
    Member
    Posted 11 months ago #

    Great plugin, thanks.
    Would be nice to have more info on how to customize charts design through shortcode or css.

    How to reduce left and bottom margin on simpleline ?
    Tooltips info shows always 0
    Line color change ?

    Thanks anyway :-)

    https://wordpress.org/plugins/nvd3-visualisations/

  2. Jouni Santara
    Member
    Plugin Author

    Posted 10 months ago #

    Hi,

    You can change margins 2 ways for any chart:
    * Modify nv.d3.css file and its CSS rules. This affects to all similar type of charts on your WP blog. Right-click to your chart to find its named classes that you should update.
    * Starting from v1.5.7 use standard 'margin' option from each shortcode call. Look at the new example of this. This overrules the default margins for every new created chart.

    You could use new style option to set manually bars / lines / shapes of charts elements. Example:

    [jsChart options='{ style:{"stroke":"navy", "fill","orange"} }']

  3. Jouni Santara
    Member
    Plugin Author

    Posted 10 months ago #

    Hi,

    Now there is even better ways to color bars/pies/etc: take a look at the FAQ about these new available methods of plugin.

Reply

You must log in to post.

About this Plugin

  • NVD3 Visualisations
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic