How to Increase the label width in the axis

9 views
Skip to first unread message

AshwinGV

unread,
Feb 16, 2010, 6:26:48 PM2/16/10
to plotkit
Hi All,

Please help me,

I am trying to draw a graph using plotkit. My problem is my labels on
the y axis is little long so a part of my label is covered by the
graph itself so My y axis labels are not fully visible. I was
wondering how to change the label size along the axis. Please help. I
looked up the web and found this site

http://media.liquidx.net/js/plotkit-doc/PlotKit.Renderer.html

I there I was able to find an option named "axisLabelWidth" But I am
not sure how to use it.
I gave it a try this way

var ly = new Layout("line",{"xAxis":[xm,xM],"yAxis":
[ym,yM],"xTicks":xt,"yTicks":yLabels,"axisLabelWidth":10});

But nothing changes . Kindly help me in this.


Thanks
Ashwin

Reply all
Reply to author
Forward
0 new messages