Search found 5 matches
- Tue Jul 19, 2016 5:58 am
- Forum: wxCode
- Topic: Setting number axis as scrollable in wxfreechart
- Replies: 0
- Views: 3820
Setting number axis as scrollable in wxfreechart
I am using wxfreechart to generate a chart from my input dataset. The bottom axis is a DateAxis and the left axis is a NumberAxis. I was able to set scroll bar for my bottom axis. I need to set scroll bar for left axis too.. Adding it using setscrolledaxis() creates the scroll bar, but the chart bec...
- Tue Jul 19, 2016 4:16 am
- Forum: wxCode
- Topic: SetDateFormat function of class DateAxis in wxfreechart
- Replies: 6
- Views: 5733
Re: SetDateFormat function of class DateAxis in wxfreechart
Thankyou.. this helped me..Sorry, I don't have VS 2010 to try itCode: Select all
bottomAxis->SetVerticalLabelText(false);
- Mon Jul 18, 2016 11:17 am
- Forum: wxCode
- Topic: SetDateFormat function of class DateAxis in wxfreechart
- Replies: 6
- Views: 5733
Re: SetDateFormat function of class DateAxis in wxfreechart
doublemax wrote:Which wxWidgets version?
I assume that wxfreechart uses wxDC::DrawText to draw the label which only supports multi-line texts since wx 2.9.2
I am using wxwdigets 3.0.0.
- Mon Jul 18, 2016 11:17 am
- Forum: wxCode
- Topic: SetDateFormat function of class DateAxis in wxfreechart
- Replies: 6
- Views: 5733
Re: SetDateFormat function of class DateAxis in wxfreechart
catalin wrote:Did you try without spaces ?
Yes..I did.. Then date and time is shown without a space in between..
- Mon Jul 18, 2016 6:00 am
- Forum: wxCode
- Topic: SetDateFormat function of class DateAxis in wxfreechart
- Replies: 6
- Views: 5733
SetDateFormat function of class DateAxis in wxfreechart
Hi, I am a newbie to wxfreechart and is using the library(in VS 2010 and C++) to create a graph. A line of my code is as follows : bottomAxis->SetDateFormat(wxT("%d-%m-%y \n %H:%M:%S")); From the docs,SetDateFormat() accepts date format in strftime style ( http://wxcode.sourceforge.net/doc...