Page 1 of 1

Queries regarding Gantt Chart

Posted: Tue Feb 07, 2012 7:15 am
by 15659467
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

Re: Queries regarding Gantt Chart

Posted: Thu Feb 09, 2012 11:37 am
by 10050769
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,

Re: Queries regarding Gantt Chart

Posted: Fri Feb 10, 2012 11:23 am
by 15659467
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

Re: Queries regarding Gantt Chart

Posted: Wed Feb 15, 2012 5:17 pm
by 10050769
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,

Re: Queries regarding Gantt Chart

Posted: Thu Feb 16, 2012 6:43 am
by 15659467
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 16189 times
Thanks & Regards
Plannoresearch

Re: Queries regarding Gantt Chart

Posted: Fri Feb 17, 2012 4:45 pm
by 10050769
Hello Planoresearch,

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

Thanks,

Re: Queries regarding Gantt Chart

Posted: Tue Feb 21, 2012 7:39 am
by 15659467
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

Re: Queries regarding Gantt Chart

Posted: Wed Feb 22, 2012 2:20 pm
by 10050769
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 16038 times
Without Gradient:
WithoutGradient.jpg
WithoutGradient.jpg (88.41 KiB) Viewed 16034 times
Thanks,

Re: Queries regarding Gantt Chart

Posted: Mon Feb 27, 2012 6:46 am
by 15659467
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

Re: Queries regarding Gantt Chart

Posted: Mon Feb 27, 2012 11:07 am
by 10050769
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,

Re: Queries regarding Gantt Chart

Posted: Wed Feb 29, 2012 10:27 am
by 15659467
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 15978 times
afternewversion.png
In 4.1.2012.1033
afternewversion.png (10.83 KiB) Viewed 15986 times
Thanks

Planoresearch

Re: Queries regarding Gantt Chart

Posted: Thu Mar 01, 2012 4:43 pm
by 10050769
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,