nguyenquocbo Posted June 6, 2013 Report Share Posted June 6, 2013 Dear all I see a example in resoucre center as bellow : chart1.Data.Series = 4 chart1.Data.Points = 30 ' Create the Statistics extension ' If the extension is created at design-time you don't need to create it here Dim statistics1 As Statistical.Statistics statistics1 = New Statistical.Statistics statistics1.Chart = chart1 chart1.LegendBox.Visible = false ' Set the gallery to Box Plot chart1.GalleryAttributes = statistics1.Gallery.BoxPlot Now, i try code as bellow : Dim dt As DataTable = Get data from a table in sql Dim chartFX As New ChartFX.WebForms.Chart chartFX.Data.Series = 10 chartFX.DataSource = dt Dim statistics1 As Statistical.Statistics statistics1 = New Statistical.Statistics statistics1.Gallery.BoxPlot.Notched = False statistics1.Chart = chartFX chartFX.LegendBox.Visible = False chartFX.GalleryAttributes = statistics1.Gallery.BoxPlot But i can't monitor data by Box Plot because unsuccessful ! Pls, help me, how to set datasource for Box Plot graph from database Thanks ! Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.