Vertical scale value


Author
Message
Naveen Anne
Naveen Anne
Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)
Group: Forum Members
Posts: 13, Visits: 10
Hi There,

As per our requirement we have to display x axis values vertically I couldn't find the option I tried the angle but no luck.
Please let me know how to acheive the behavior. Attaching the screen shot FYR...

We have a release this Friday any help is highly appreciated
Attachments
Scale_verticalorientation.png (841 views, 12.00 KB)
Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.1K

Hi Naveen,
You can generate custom multiline labels in order to achieve this look - for example:

   NChart chart = nChartControl1.Charts[0];

   NPointSeries bar = new NPointSeries();

   bar.Values.Add(10);
   bar.Values.Add(20);
   bar.Values.Add(30);

   chart.Series.Add(bar);

   NOrdinalScaleConfigurator ordinalScale = new NOrdinalScaleConfigurator();

   ordinalScale.AutoLabels = false;

   ordinalScale.Labels.Add("1\r\n1");
   ordinalScale.Labels.Add("1\r\n2");
   ordinalScale.Labels.Add("1\r\n3");

   chart.Axis(StandardAxis.PrimaryX).ScaleConfigurator = ordinalScale;

Hope this helps - let us know if you have any questions.


Best Regards,
Nevron Support Team


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic
2 active, 2 guests, 0 members, 0 anonymous
No members currently viewing this topic!

Login

Explore
Messages
Mentions
Search