Jump to content

google visualization charts - methods and available options to control a chart


EIEIO

Recommended Posts

I am developing a generic multiline chart to chart content from a sql query. In one case the resultset has 8 columns - 3 voltages, 3 currents, 1 watts, 1 power_factor, so I need 4 vertical axes. Using Google visualization linechart, 1 axis is to the left and 3 are to the right. The 3 right-side vertical axes overwrite one another. How can I spread the right side vertical axes so they do not overwrite.

The Google Material Line chart DOES correctly separate the 3 right-side axes, but Material charts do not support lineWidth (I need to turn traces off and on - I can do that in the visualization charts by setting lineWidth to zero) but that property is NOT supported in the Material charts.

Does anyone know:

  1. How to hide one or more traces on a Material chart (what property can I set to hide a series, or other method to hide the trace)? or
  2. How to spread the right-side vertical axes on a visualization chart (when axis property lets me move the axes around so they do not overlap)?
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...