[oik] plugins.com

WordPress plugins and themes

  • Home
  • About
    • lazy shortcodes
    • smart shortcodes
    • oik base plugin
      • oik – donate
      • oik PayPal buttons
      • oik installation
      • oik Button Shortcode button
      • oik changelog
      • oik FAQ
      • oik plugins on SVN
      • oik plugins on GitHub
  • Plugins
    • oik base plugin
    • FREE oik plugins
    • WordPress plugins
    • Premium oik plugins
    • Bespoke oik plugins
  • Shortcodes
    • Shortcode examples
  • Blocks
    • Block examples
  • APIs
    • ALL action and filter hooks
  • Blog

Chart block – multiple Y-axis scales

When you want to display charts with multiple Y-axis scales use the Y-axes setting to indicate which axis each set of numbers relates to. Use y for the left Y-axis and y1 for the right Y-axis.

Shortcode equivalent

[chartjs backgroundColors="#008000" fill="true" opacity="0.35" 
tension="0.2" theme="Visualizer" 
time="true" timeUnit="month" yAxes="y,y1"]Year,Sales,Expenses
2020-08,5421.32,1151.21
2021-02,4823.99,887.23
2021-03,4945.32,958.00
2021-10,7086.65,1854.35
2022-05,7385.21,2009.01[/chartjs]

Published: December 3, 2022 | Last updated: February 16, 2023

Information

Block: Chart – oik-sb/chart
Block letters: A,B,C,M,Y

Other examples

  • Area chart – Line with fill
  • Bar chart – Top 12 most downloaded plugins
  • Chart – color overrides
  • Chart – colour palettes
  • Chart – starting from zero
  • Chart – two scales
  • Chart block – custom colours
  • Chart block – full CSV format and partial lines
  • Chart block – Line with Fill
  • Chart block – multiple Y-axes
  • Chart block date time validation
  • Chart block with defined height?
  • Chart with default height?

Plugins

  • All Plugins
  • oik base plugin
  • FREE oik plugins
  • WordPress plugins
  • Premium oik plugins

Themes

  • FREE themes
  • Bespoke themes
  • Premium themes

Blocks

  • All Blocks
  • Block examples
  • About Blocks

Shortcodes

  • All Shortcodes
  • Shortcode examples
  • About Shortcodes

Reference

  • About APIs
  • All APIs
  • All Classes
  • All Files
  • All Hooks

Support

  • Contact
  • Cookies policy
  • Get API key
  • Privacy
  • Request support
  • Sitemap
  • Stay informed
  • Terms and Conditions
oik-plugins
Email: oikplug@oik-plugins.com

Weight shipping plugins

Find out which cart weight shipping plugin you need for your WooCommerce site.
Which cart weight based plugin do I need?

Site:  www.oik-plugins.com
© Copyright oik-plugins 2011-2023. All rights reserved.


Website designed and developed by Herb Miller of Bobbing Wide
Proudly powered by WordPress and oik-plugins
WordPress 6.1.1. PHP: 7.4.33. Memory limit: 768M