GMR Insight
GMR Insight

Visualizations

GMR Insight
January 01, 2018

Bar chart legend item details

January 01, 2018/ Tony Alvarez

Description: Bar chart legend item details.
Assumptions: myVis is a visualization type script parameter.

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

for l in myVisVC.Legend.Items:
  print l.Title
  print l.Visible
  print l.ShowTitle
  #print l.Text 
  print "\r\n"
January 01, 2018/ Tony Alvarez/ Comment
Spotfire, IronPython, Bar Chart
Legend

Tony Alvarez

  • Bar chart legend position
  • Bar chart add a new tooltip item

GMR Insight