Support » Plugin: Stockdio Historical Chart » More than 1 chart

  • Resolved eatdrinkdeals


    I need to show two S&P charts, one for 10 years and one for 1 year. It’s not obvious how to do that. It seems I can have only one group of settings, and so only one chart?

Viewing 1 replies (of 1 total)
  • Plugin Author Stockdio


    In order to show more than one chart with different settings, as in your case in which you want to display a chart with 1 year and another one with 10 years (3650 days), you must set the appropriate parameters in the short code or block. For example, if you’re using the short code, you will set days=”3650″ for the chart with 10 years. Any parameter you specify in the short code or block, will override the parameter used in the Settings page.

    This applies to any setting. For example, this method also allows you to create two or more charts for different stocks or indices.

    In a nutshell, you should specify in the plugin’s Settings page only those parameters that are common to all of your charts, and set the specific values of each chart in their block or short code parameters.


Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.