Profile Picture

Problem - Bar Chart

Posted By John Burcher 15 Years Ago
Author
Message
John Burcher
explanationmark Posted 15 Years Ago
View Quick Profile
Junior Member

Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)

Group: Forum Members
Last Active: 15 Years Ago
Posts: 15, Visits: 1
Hi,

I have an interesting issue when generating a bar chart. I am hoping someone can shed some light on it. Code is below:-

Dim NStackedBarChart As New Nevron.Chart.NCartesianChart

NChartTotal.Charts.Clear()
NChartTotal.Charts.Add(chart:=NStackedBarChart)
Dim NBarSeries1 As Nevron.Chart.NBarSeries = NStackedBarChart.Series.Add(type:=Nevron.Chart.SeriesType.Bar)
NBarSeries1.Values.FillFromDataTable(table:=SelectTotal, columnName:="count")

That is literally all the code, SelectTotal returns the database as expected. Attached is the actual chart that gets generated.

Thank you.

Attachments
NevronChartCANJ4YJJ.png (36 views, 27.00 KB)



Similar Topics


Reading This Topic