Following on from my previous post, I would like to know how best to add the data contained in two array's
the data held in N and V, I basically want to show the bar chart based on three segments of the data, i.e. N(1) and V(1) to N(33) and V(33), then be able to select N(34) V(34) to N(66) V(66) and then select N(67) V(67) to N(100) V(100), hope that makes sense, I have tried using a Bar Chart example but sadly getting nowhere
B4X:
For i = 0 To 99
Dim str As Map = results.Get(i)
Dim strVar As String = str.Get("interval_end")
Dim strArray() As String=Regex.Split("T",strVar)
Dim TextExtract As String=strArray(0)
from=TextExtract
cons = str.Get("consumption")
tim0 = str.Get("interval_start")
tim0 = tim0.SubString2(11,16)
tim1 = str.Get("interval_end")
tim1 = tim1.SubString2(11,16)
N(i) = tim0
V(i) = cons
AddRow(Array As String(from, tim0, tim1, cons))
Next
the data held in N and V, I basically want to show the bar chart based on three segments of the data, i.e. N(1) and V(1) to N(33) and V(33), then be able to select N(34) V(34) to N(66) V(66) and then select N(67) V(67) to N(100) V(100), hope that makes sense, I have tried using a Bar Chart example but sadly getting nowhere