[CS]
Series series = new Series();
series.Type = Syncfusion.JavaScript.DataVisualization.SeriesType.Bubble;
List<XYDataPoint> data = new List<XYDataPoint>();
data.Add(new XYDataPoint("Point 1 Test", "01-02-2010", 2340, "#C4C24A", 1.0));
data.Add(new XYDataPoint("Point 2 Test", "06-01-2013", 1580, "#D4C24A", 2.0));
series.DataSource = data;
series.XName = "X";
series.YName = "Y";
series.PointColorMappingName = "Fill";
series.Size = "Size";
this.Chart1.Series.Add(series);
this.DataBind();
|
[CS]
Series series = new Series();
//...
series.PointColorMappingName = "Fill";
series.Size = "Size";
//... |
Series series = new Series();
series.Type = Syncfusion.JavaScript.DataVisualization.SeriesType.Bubble;
List<XYDataPoint> data = new List<XYDataPoint>();
data.Add(new XYDataPoint("Point 1 Test", "01-02-2010", 2340, "#C4C24A", 1.0));
data.Add(new XYDataPoint("Point 2 Test", "06-01-2013", 1580, "#D4C24A", 2.0));
series.DataSource = data;
//...
series.Tooltip.Visible = true;
//Mapping text from dataSource
series.Marker.DataLabel.TextMappingName = "Text";
series.Tooltip.Format = "#point.text# <br/> #point.x# : #point.y# (kg)";
this.Chart1.Series.Add(series);
this.DataBind(); |
series.Tooltip.Format = "#series.name# <br/> #point.x# : #point.y# (kg)";
|