Hello, I am working on chart project. I used below code to generate the chart
Chart chart = new Chart();
chart.ImageType = ChartImageType.Png;
chart.BorderlineDashStyle = ChartDashStyle.Solid;
chart.BackGradientStyle = GradientStyle.TopBottom;
chart.BorderlineWidth = 2;
chart.BorderlineColor = Color.Blue;
chart.BorderSkin.SkinStyle = BorderSkinStyle.Emboss;
chart.AntiAliasing = AntiAliasingStyles.All;
chart.TextAntiAliasingQuality = TextAntiAliasingQuality.Normal;
and return it as image in the view.
So can any one please tell me how to assign values from database to the series of chart ie X axis and Y axis values.
Thank you in advance.