Can I know how to modify the marks style of series in JavaScript?
In .NET (C#), we can set it throught "cht[0].Marks.Style = Steema.TeeChart.Styles.MarksStyles.Value;". How to do the same in JavaScript?
Thanks!
Marks Style in JavaScript
Re: Marks Style in JavaScript
Hello,
You can set
Find an example here.
You can set
marks.style
to "value"
, "percent"
, "percentlabel"
, "valuelabel"
, "auto"
, "label"
, "index"
, "labelvalue"
, "labelpercent"
.Find an example here.
Code: Select all
let bar1 = Chart1.addSeries(new Tee.Bar());
bar1.addRandom(5)
bar1.data.labels = ['apples', 'bananas', 'kiwis', 'oranges', 'mangos']
bar1.marks.style = 'label' //"value", "percent", "percentlabel", "valuelabel", "auto", "label", "index", "labelvalue", "labelpercent"
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |