[Kst] setFontSize (and other methods) on axis label through javascript?

wim van hoydonck wim.van.hoydonck at gmail.com
Thu Jul 19 22:27:20 CEST 2007


Hi there,

Is there a possibility to set the fontsize of an axis label through Javascript?
Looking through the docs, it seems that the only thing I can do is set
the text itself,

var p0 = Kst.windows[0].plots[0];
p0.xAxis.label = "Time (s)";

But then the label is (almost) unreadable...

Would something along the lines of the following be possible?

var lab0 = new Label(Kst.windows[0].plots[0].xAxis);
lab0.setFontSize(6);


Kind regards,

Wim


More information about the Kst mailing list