GMR Insight
GMR Insight

Visualizations

GMR Insight
December 29, 2017

Bar chart set bar width

December 29, 2017/ Tony Alvarez

Description: Set bar width.
Assumptions: myVis is a visualization type script parameter.

from Spotfire.Dxp.Application.Visuals import VisualContent
myVisVC = myVis.As[VisualContent]()

myVisVC.BarWidth = 30 # Range 0 to 100
print "Bar Width: " + myVisVC.BarWidth.ToString()
December 29, 2017/ Tony Alvarez/ Comment
Spotfire, IronPython, Bar Chart
Appearance

Tony Alvarez

  • Bar chart set stack mode layout
  • Bar chart set bar transparency

GMR Insight