ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  Gantt Chart Date(New)
Posted by Steven on Feb-17-2016 17:40
Attachments:
Hello Advanced Members ,
In the Photo , How to do that?
test.png

  Re: Gantt Chart Date(New)
Posted by Peter Kwan on Feb-18-2016 02:16
Hi Steven,

In the original gantt chart sample code, the label are formatted using the two format strings  "{value|mmm d}" and "-{value|d}". For example, in PHP, the sample code is like:

$c->yAxis->setMultiFormat(StartOfMonthFilter(), "<*font=arialbd.ttf*>{value|mmm d}",
    StartOfDayFilter(), "-{value|d}");

For the labels in your message, the month and day are in separate lines. To do this, you just need to insert a line break in the format string. In some programming languages, a line break is "\\n". You can also use the CDML tag <*br*> for a line break. For example:

{value|mmm}<*br*>{value|d}

Hope this can help.

Regards
Peter Kwan

  Re: Gantt Chart Date(New)
Posted by Steven on Feb-18-2016 09:07
Thanks for your Reply
I have new question In post Page