GrapeCity.Xaml.SpreadSheet.Data
ShowBubbleSize Property (DataLabelSettings)
Example 


Gets or sets a value that indicates whether to show the bubble size.
Syntax
'Declaration
 
Public Property ShowBubbleSize As Boolean
'Usage
 
Dim instance As DataLabelSettings
Dim value As Boolean
 
instance.ShowBubbleSize = value
 
value = instance.ShowBubbleSize
public bool ShowBubbleSize {get; set;}

Property Value

true to show bubble size; otherwise, false.
Example
This example sets the ShowBubbleSize property.
GrapeCity.Xaml.SpreadSheet.Data.SpreadDataSeries aseries = new GrapeCity.Xaml.SpreadSheet.Data.SpreadDataSeries();
aseries.Name = "1234";
aseries.Values.Add(2);
aseries.Values.Add(4);
aseries.Values.Add(3);
aseries.Values.Add(5);
aseries.Fill = new SolidColorBrush(Windows.UI.Colors.Red);
aseries.ChartType = GrapeCity.Xaml.SpreadSheet.Data.SpreadChartType.ColumnStacked;
aseries.DataLabelSettings = new GrapeCity.Xaml.SpreadSheet.Data.DataLabelSettings() { ShowValue = true, ShowBubbleSize = true };
aseries.DataLabelStyle.Fill = new SolidColorBrush(Windows.UI.Colors.Green);
GrapeCity.Xaml.SpreadSheet.Data.SpreadChart chart = new GrapeCity.Xaml.SpreadSheet.Data.SpreadChart();
chart.DataSeries.Add(aseries);
chart.Name = "name1";
this.gcSpreadSheet1.ActiveSheet.Charts.Add(chart);
Dim aseries As New GrapeCity.Xaml.SpreadSheet.Data.SpreadDataSeries()
aseries.Name = "1234"
aseries.Values.Add(2)
aseries.Values.Add(4)
aseries.Values.Add(3)
aseries.Values.Add(5)
aseries.Fill = New SolidColorBrush(Windows.UI.Colors.Red)
aseries.ChartType = GrapeCity.Xaml.SpreadSheet.Data.SpreadChartType.ColumnStacked
aseries.DataLabelSettings = New GrapeCity.Xaml.SpreadSheet.Data.DataLabelSettings() With {.ShowValue = True, .ShowBubbleSize = True}
aseries.DataLabelStyle.Fill = New SolidColorBrush(Windows.UI.Colors.Green)
Dim chart As New GrapeCity.Xaml.SpreadSheet.Data.SpreadChart()
chart.DataSeries.Add(aseries)
chart.Name = "name1"
GcSpreadSheet1.ActiveSheet.Charts.Add(chart)
Requirements

Target Platforms: Windows Server 2012, Windows RT

See Also

Reference

DataLabelSettings Class
DataLabelSettings Members

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options