Browse Forum Posts by Tags

Showing related tags and posts for the Forums application.

  • Re: Chart Legend Popup

    Posted to Chart for Silverlight by dusko on Mar 8, 2010
    Hi Simon, Legend can be used as a standalone control (this is new to 2010.1 release). You can place it wherever you want, including popup window. The following line shows how you can instantiate a legend on the page and bind its "legendItems" property to the "LegendItemCollection" of an existing chart. < ch : Legend Name = "StandAloneLegend" LegendItems = "{Binding LegendItemCollection, ElementName=MyChart}" /> Of course, the legend control allows all...
  • Re: Chart: legend for Marker charts

    Posted to Chart for Silverlight by BJovanovic on Jan 15, 2010
    This seems to be a bug. I have noted it down and we will fix it in a future release. In the meantime, you can specify the ChartKind for each series and this will populate the color of the legend items properly. For example: <Chart:Chart x:Name=" MyChart1a " XValue=" Month " Width=" 400 " Height=" 300 " LegendVisible=" True "> <Chart:Chart.DataSeries> <Chart:Series Id=" Series1 " YValue=" Value " ChartKind="...
  • Re: Chart legend

    Posted to Chart for Silverlight by dusko on Dec 24, 2009
    The property Series.Label is the legend item text for a legend items related to a series. If this property is not set, Series.Id will be used. For Pie/Doughnut type of charts, legend items are related to data points. Again, DataPoint.Label will be used if it is set, otherwise DataPoint.X coordinate will be used. DataPoint.Label can be set in code behind, once the data structure is created, i.e. after Chart.DataSource is set. The other way is to assign it from data source. Yo can select the input...
  • Re: How to change chart legend font size?

    Posted to Chart for ASP.NET AJAX by Chris on Oct 27, 2009
    If you are using the Wizard, click Other, then click the ... button next to Font...then select the font you want. If you are setting this in code behind: Chart1.Legend.Visible = true ; Chart1.Legend.Font = new System.Drawing.Font(" Arial ", 16); Hope this helps. Cheers,
Page 1 of 1 (4 items)