Minor grid lines without major grid lines

Hello,

Does anyone know how to go about creating a chart that has only the minor grid lines displayed but the major ones hidden/transparent?

I created a new chart object and used the following code:

PrimaryAxis.IsAutoSetRange = false;
PrimaryAxis.Range = new DoubleRange(1000, 2000);

PrimaryAxis.SmallTicksPerInterval = 1;

ChartArea.SetSmallGridLineStroke(PrimaryAxis, new Pen(Brushes.Blue, 1));
ChartArea.SetShowGridLines(PrimaryAxis, true);
ChartArea.SetShowMajorGridLines(PrimaryAxis, false);

The first 3 lines of code and the last one work. But I can't see any gridlines of the primary axis at all.

Please help.
Thanks


3 Replies

GA Ganesan Syncfusion Team December 8, 2011 01:45 PM UTC

Hi James,

We have analyzed the scenario reported and would like to infrom you that the above scenario reported was confirmed as a bug in our control.

Kindly open an incident mentioning the same query that you have posted in our forum so that we can provide you the patch for the issue reported with the specifed timeline.Incident can be opened through Direct-Trac Developer Support System (<https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents>), were you can take advantage of the expertise of a dedicated support engineer and a guaranteed response time. Hope you will take advantage of this system as well. If you have already reported, please ignore this.


Regards,
Ganesan




JA James December 8, 2011 07:38 PM UTC

Hello,

Thanks for the reply.

I was wondering what exactly is causing the bug, is it the way that I have called the functions, is there another way to get the minor grid lines to appear without the major grid lines?

James.



JB John Bowlin Bosco K Syncfusion Team December 12, 2011 11:06 AM UTC

Hi James,

On analysis, the reported scenario is the bug that has to be resolved. To have the fix for the reported issue, could you please raise the ticket in the Direct Trac Developer Support System with a simplified issue reproducing sample? So that, we can provide you with the patch for this issue, as well as you can take the advantage of the expertise of a dedicated support engineer and a guaranteed response time. We hope you will take advantage of this system as well.

Direct Trac Link:
https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents

Please let us know if you require any further clarifications.

Regards,
Pauline Bosco



Loader.
Up arrow icon