Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

ropertiesProperties


AxisTitlePosition

Where to place the axis titles, compared to the chart area. Supported values:

Code Block
barChart.setAxisTitlesPosition(AxisTitlesPosition.IN);

HAxis / VAxis

An object with members to configure various horizontal axis elements. To specify properties of this object, you can use object literal notation, as shown here:

Code Block
Axis haxis= Axis.Builder()
	.slantedText(true)
	.direction(Direction.REVERSE)
	.minorGridlines(GridLines.New("red", 5))
	.format("currency").build();

barChart.setHAxis(haxis);

More detailed information about Axis see: https://developers.google.com/chart/interactive/docs/gallery/barchart#bar-styles

...