By |Published On: August 9, 2021 at 8:41 pm PDT|Last Updated: January 27, 2022 at 3:35 pm PST|

Stack Bar with Dual Y Axis (2 Left/3 Right)

If you are a registered user, you can click on the Edit Graph button to open the TechGraph Editor showing the data and settings of this sample chart. You can review and edit the data and settings to learn about the features and capabilities of the application. Shown below are the steps in the Data Table and in the Edit Chart used to create this chart.      

Data Table
  • Graph Type is Bar.
  • X Data Type is Label. Labels for the X Axis are entered in X Data column.
  • Graph A and B contains the Left Y Axis data.  Graph B data will be drawn on top of Graph A data.
  • Graph C, D and E contains the Right Y Axis data. Graph D data be drawn on top of Graph C data. Graph E data will be drawn on top of Graph C and D.
Edit Chart      

    Settings 

  • Click on Legend for Graph A. Enter “Left A” in Legend for Graph A. Repeat this step for B.
  • Click on Legend for Graph C. Enter “Right C” in Legend for Graph C. Repeat this step for D and E.
  • Click on Graph Style to set the Color and Pattern for Graph A. Repeat this step for Graph B, C, D and E.
  • Check on Stack Data.
  • Check on Print Data Value.
  • Click on Bar Format. Enter “90” in Width to create a small gap between bars.

     Curves and Error Bars

  • Select “Left Y” from Left/Right Y Axis list for Graph A and B.
  • Select “Right Y” from Left/Right Y Axis list for Graph C, D and E.

     Y Axis 

  • Select “Left Y” from Axis Selection list. Enter values in Minimum, Maximum and Major Div to set the Left Y axis scale and divisions. Leave these values empty for automatic scaling.
    • Values for this example are Minimum = -20, Maximum = 20, and Major Div = 4.
  • Select “Right Y” from Axis Selection list. Enter values in Minimum, Maximum and Major Div to set the Right Y axis scale and divisions. Leave these values empty for automatic scaling.
    • Values for this example are Minimum = -500, Maximum = 500, and Major Div = 5.

     Edit Chart Toolbar Options

  •  Print Chart prints your chart.
  •  Download Image downloads your chart as an SVG(Scalable Vector Graphics) file or image file(PNG, JPEG, TIF, PDF).
  •  Drawing Objects customize your chart with labels, lines, arrows, circles, images, and logos.
Getting Started: