[Kst] [Bug 148038] New: set the fontsize of an axis label through Javascript

Andrew Walker arwalker at sumusltd.com
Thu Jul 19 22:55:52 CEST 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=148038         
           Summary: set the fontsize of an axis label through Javascript
           Product: kst
           Version: 1.4.0
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: wishlist
          Priority: NOR
         Component: general
        AssignedTo: kst kde org
        ReportedBy: arwalker sumusltd com


Version:           1.4.0 (using KDE KDE 3.5.1)
Installed from:    Compiled From Sources
OS:                Linux

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