Recently I've used zedgraph barchart to create a chart with 12 bars. I did want to put each bar on an x-axis scale and change the label name of that scale, but I did not success. Could you please show me the way the put my bars inside the scales?
'Naming the axis scale as string
Dim lablex() As String
ReDim lablex(0 To dsRp.Tables(2).Columns.Count - 1)
For xa As Integer = 0 To dsRp.Tables(2).Columns.Count - 1
lablex(xa) = dsRp.Tables(2).Rows(0).Item(xa)
myPane.XAxis.Type = AxisType.Text
myPane.XAxis.Scale.TextLabels = lablex
'Creating Bars with legend names
Dim colN1 As String = ""
Dim colN2 As String = ""
Dim x As Integer = 0, y As Double = 0
For i As Integer = 0 To dsRp.Tables(1).Rows(0).Item("So_ky") - 1
Dim list As New PointPairList
colN1 = "Ky" + (i + 1).ToString
colN2 = "NKy" + (i + 1).ToString
x = i + 1
y = dsRp.Tables(0).Rows(0).Item(colN1.Trim)
Dim e As BarItem
e = myPane.AddBar(dsRp.Tables(2).Rows(0).Item(colN2), list, RandomColor())
e.Color = RandomColor()
@LUc: Thks again. But, Chart tool's only been available since .NET 3.0, VS 2008. Cause I'm Using VS 2005 and .NET 2.0, I couldn't add chart tool if not installing .NET 3.0. And, in fact, in some of my tries, Microsoft Chart tool is quite... not good, right?
I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...
Write a C program that should create a 10 element array of random integers (0 to 9). The program should total all of the numbers in the odd positions of the array and compare them with the total of the numbers in the even positions of the array and indicate ...