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

arwalker at sumusltd.com arwalker at sumusltd.com
Thu Jul 19 22:53:00 CEST 2007

It doesn't appear that there is any way currently to bind to the label object 
itself from the axis object. I'll put in a wish list item into the bug 
tracking system.


On Thursday 19 July 2007 13:27, wim van hoydonck wrote:
> 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
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst

More information about the Kst mailing list