Re: [Fxplot-users] Problem in axis label
Status: Beta
Brought to you by:
rpseng
|
From: Rafael de P. S. <ra...@rp...> - 2006-02-02 23:20:25
|
Hi Jean-Do,
Yes, there is a problem with left and right axis label. Actually I was
waiting for vertical drawing fonts to be implemented in FOX, appears
that version 1.6 has it.
You can try a solution, check the code near to line 209 of file FXAxis.cpp:
//FIXME : draw vertical text
else if(flags&FXAxis::Left){
}
else if(flags&FXAxis::Right){
}
Maybe you will need to adapt FXAxis::getDefaultWidth() in order to
accomodate the additional space for the label.
If you got something working I would be very glad to add it.
Cheers,
Rafael
Jean-Dominique Barnichon escreveu:
> Rafael,
> have you tried to add a lablel to the left axis of the curves.cpp test
> file using the line :
> view->getLeftAxis()->setLabel("Y-axis");
> I did and it does not work, apparently only the bottom axis label dare
> to show up!
> I 've checked in your code and saw nothing obvious.
> Do you have the same behaviour?
> Any idea where it comes from?
> Jean-Do
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files
> for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> _______________________________________________
> Fxplot-users mailing list
> Fxp...@li...
> https://lists.sourceforge.net/lists/listinfo/fxplot-users
>
|