We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Why can not show in Line chart? Pls look at the screen.jpg in attachment

VB code:

 Dim series As ChartSeries = New ChartSeries("Revenue", ChartSeriesType.Spline)
        series.Text = series.Name
        series.Type = ChartSeriesType.Spline
        Dim i As Integer
        For i = 0 To dataSet.Tables("Demo").Rows.Count - 1
            Dim p As Double = dataSet.Tables("Demo").Rows(i).ItemArray(1)
            series.Points.Add(dataSet.Tables("Demo").Rows(i).ItemArray(0) * 10, p)

        Me.ChartWebControl1.PrimaryXAxis.ValueType = ChartValueType.Double
        Me.ChartWebControl1.PrimaryXAxis.RangeType = ChartAxisRangeType.Auto
        Me.ChartWebControl1.PrimaryYAxis.ValueType = ChartValueType.Double
        Me.ChartWebControl1.PrimaryYAxis.RangeType = ChartAxisRangeType.Auto
        Me.ChartWebControl1.PrimaryXAxis.Title = "Month"
        Me.ChartWebControl1.Text = "Auditing"
        Me.ChartWebControl1.PrimaryYAxis.Title = "Revenue"
        Dim color1 As System.Drawing.Color() = New System.Drawing.Color() {Color.FromArgb(150, 172, 90), Color.FromArgb(197, 229, 92), Color.FromArgb(150, 172, 90)}
        Me.ChartWebControl1.Series(0).Style.Interior = New BrushInfo(GradientStyle.Horizontal, color1)
        Me.ChartWebControl1.Series(0).Style.Border.Color = Color.FromArgb(112, 124, 40)



2 Replies

DI Diego March 21, 2013 01:04 PM UTC

I knew.

VK Vijayabharathi K Syncfusion Team April 1, 2013 09:29 AM UTC

Hi Diego,


Thanks for using Syncfusion products.


Please let us know if you have any other concerns.




Live Chat Icon For mobile
Up arrow icon