how hide specific label BarChart

from Spotfire.Dxp.Application.Visuals import *
from Spotfire.Dxp.Application.Visuals import CategoryKey
from System.Drawing import *
from System.Collections.Generic import List
from Spotfire.Dxp.Framework.Library import *
chart=vis.As[BarChart]()

#Get Categories based on expression
keys=List[CategoryKey]()
keys=chart.ColorAxis.Coloring.AddCategoricalColorRule().GetExplicitCategories()
chart.ColorAxis.Coloring.SetColorForCategory(keys[0], Color.FromName("White"))
??????????????  FOR HIDE LABELS
 

Attachments

AttachmentSize
Image icon script2_0.png116.59 KB

(1) Answer

Login