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

  1. lioneleric
    Posted 2 years 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 :-)


  2. Jouni Santara
    Plugin Author

    Posted 2 years ago #


    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
    Plugin Author

    Posted 2 years ago #


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

Topic Closed

This topic has been closed to new replies.

About this Plugin

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

About this Topic