Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - Legends
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Legends

 Post Reply Post Reply
Author
Message
prounds View Drop Down
Newbie
Newbie


Joined: 04 January 2011
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote prounds Quote  Post ReplyReply Direct Link To This Post Topic: Legends
    Posted: 29 February 2012 at 7:44pm
I can't get a Legend to appear in a chart I'm creating using the ChartFastLineStyle style.
 
Code is: (C#, .NET4)
 
for ( int i = 0; i < ItemsCount; i++)
{
string series = "Series " + i.ToString();
XtremeChartControl.ChartSeries dataSeries = axCC_Presentation.Content.Series.Add(series);
...   Load some Data into the series...
dataSeries.LegendText = "Legend Text " + i.toString();
// Set a color for each series

XtremeChartControl.ChartFastLineSeriesStyle LineStyle = new XtremeCharControl.ChartFastLIneSeriesStyle();

LineStyle.color = (uint) Colors(i)  // Colors is an array of colors I made, which work
}
 
for  (int i = 0; i < ItemsCount; i++)
{
XtremeCHartControl.ChartDiagram2D Diagram = (XtremeChartControDiagram2d) axCC_Presentation.Content.Series.Diagram;
axCC_Presentation.Content.Legend.Visible = true;
 .. Play around with each diagram, setting the same range for each..
 
}
 
 
 
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.078 seconds.