Queries regarding Gantt Chart

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Planoresearch
Newbie
Newbie
Posts: 57
Joined: Thu Jun 02, 2011 12:00 am

Queries regarding Gantt Chart

Post by Planoresearch » Tue Feb 07, 2012 7:15 am

Hi Steema Support,

We are working in a Silverlight project in which we are using TeeChart 2010 .NET Silverlight Version.

In this project we have a chart which is Gantt Chart. We have following two queries:

1. We are displaying Top Axes label in MM-yyyy formate. We have a task to do, for adding month on minor ticks & years on Major Ticks. Please tell the possible solution for this problem?
2. How could we add gradient on each bar of Gantt chart?

For more explanation we are also attaching a picture which will clear our query.

Any suggestion will be highly appreciated.

Thanks and Regards
Plannoresearch
Attachments
Gantt Chart queries.png
Gantt Chart queries.png (29.54 KiB) Viewed 16197 times

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Queries regarding Gantt Chart

Post by Sandra » Thu Feb 09, 2012 11:37 am

Hello Planoresearch,
1. We are displaying Top Axes label in MM-yyyy formate. We have a task to do, for adding month on minor ticks & years on Major Ticks. Please tell the possible solution for this problem?
You can take a look in the Demo project of TeeChart, All Features\Welcome !\Axes\Alternate Labels and in this link where is talked about custom labels.
2. How could we add gradient on each bar of Gantt chart?
To add the gradient in the Gantt Series you need access to the pointer as do in next line of code:

Code: Select all

 gannt1.Pointer.Gradient.Visible = true;
I hope will help.

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Planoresearch
Newbie
Newbie
Posts: 57
Joined: Thu Jun 02, 2011 12:00 am

Re: Queries regarding Gantt Chart

Post by Planoresearch » Fri Feb 10, 2012 11:23 am

Hi Sandra,

Thanks the reply. For adding gradient on Gantt Series we put following line of Code:

Code: Select all

gannt1.Pointer.Gradient.Visible = true;
But this is not working for my project (may be because it is a Silverlight application). While it is working on WinForm Application. Please let us know is it a bug or we are missing anything else?

We will appreciate your comments.

Thanks in Advance

Thanks & Regards
Plannoresearch

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Queries regarding Gantt Chart

Post by Sandra » Wed Feb 15, 2012 5:17 pm

Hello Planoresearch,

Using next code in Siverlight application works fine for me:

Code: Select all

public MainPage()
{
InitializeComponent();
InitializeChart();
}
private void InitializeChart()
{

Steema.TeeChart.Silverlight.Styles.Gantt gant1 = new Steema.TeeChart.Silverlight.Styles.Gantt(tChart1.Chart);

gant1.FillSampleValues();
gant1.Pointer.Gradient.Visible = true;
}
Can you check if it works as you want?

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Planoresearch
Newbie
Newbie
Posts: 57
Joined: Thu Jun 02, 2011 12:00 am

Re: Queries regarding Gantt Chart

Post by Planoresearch » Thu Feb 16, 2012 6:43 am

Hi Sandra,

Thanks for the reply and code you provided. I used this code but I don’t think I am getting gradient effect on my Gantt Series. Is it? You can see it in following snapshot.
Gant.png
Gant.png (49.53 KiB) Viewed 16186 times
Thanks & Regards
Plannoresearch

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Queries regarding Gantt Chart

Post by Sandra » Fri Feb 17, 2012 4:45 pm

Hello Planoresearch,

Can you send us your project because we can check what is your problem?

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Planoresearch
Newbie
Newbie
Posts: 57
Joined: Thu Jun 02, 2011 12:00 am

Re: Queries regarding Gantt Chart

Post by Planoresearch » Tue Feb 21, 2012 7:39 am

Hi Sandra,

Thanks for Reply...

Please find the uploaded project for your reference. In this Project I have removed debug folder as it was taking much space & I was unable to upload it.

Thanks & Regards
Plannoresearch
Attachments
GanttGradient.rar
(23.5 KiB) Downloaded 617 times

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Queries regarding Gantt Chart

Post by Sandra » Wed Feb 22, 2012 2:20 pm

Hello Planoresearch,

I have tested your project and works fine for me using last version of TeeChartSilverlight. Please can you tell us which version of TeeChart for Silverlight you are using?

In last version I have gotten next results:

Using Gradient:
Gradient.jpg
Gradient.jpg (86.86 KiB) Viewed 16035 times
Without Gradient:
WithoutGradient.jpg
WithoutGradient.jpg (88.41 KiB) Viewed 16031 times
Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Planoresearch
Newbie
Newbie
Posts: 57
Joined: Thu Jun 02, 2011 12:00 am

Re: Queries regarding Gantt Chart

Post by Planoresearch » Mon Feb 27, 2012 6:46 am

Hi Sandra,

Thanks for your valuable reply.

I am using here TeeChart.Silverlight.dll having version: 4.1.2011.4192.

I would also like to know, have you made any changes in code and which version exactly you are using?

Thanks and Regards
Plannoresearch

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Queries regarding Gantt Chart

Post by Sandra » Mon Feb 27, 2012 11:07 am

Hello Planoresearch,

I didn't modify your code but I have tested this using last version of TeeChart.Net(4.1.2012.01030). You can download last version in download page. Please, update your version and tell us if your problem is solved.

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Planoresearch
Newbie
Newbie
Posts: 57
Joined: Thu Jun 02, 2011 12:00 am

Re: Queries regarding Gantt Chart

Post by Planoresearch » Wed Feb 29, 2012 10:27 am

Hi Sandra,

Thanks for the suggestion , we have upgraded our version and Gantt Chart gradient issue has been resolved...

in our project we have one more chart having Gauge . Gauge was looking fine in the previous version i.e.( 4.1.2011.4192) but when i upgrade to the version 4.1.2012.1033 then gauge is not looking prominent. Is it a bug or any other issue?

Please suggest me. I am attaching the images for the same.

beforeversion.png
In 4.1.2011.4192
beforeversion.png (17.44 KiB) Viewed 15975 times
afternewversion.png
In 4.1.2012.1033
afternewversion.png (10.83 KiB) Viewed 15983 times
Thanks

Planoresearch

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Queries regarding Gantt Chart

Post by Sandra » Thu Mar 01, 2012 4:43 pm

Hello Planoresearch,

Thanks for your information. I could reproduce your problem and I have added it in wish-list with number [TW24016063]. We will try to fix it for next maintenance releases.

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply