grid
Previous  Next

grid as qstringgrind
grid.cell(rowgridoffset+(1 ...7),bar_number) as string

contains the date, time and historical data of all opened charts.
QChartist uses the grid to draw each bar of each chart on the screen

1 ... 7 (which data of the bar) : 1 for date, 2 for time, 3 for open, 4 for high, 5 for low, 6 for close, 7 for volume

rowgridoffset : 0 for the first chart, 0+7=7 for the second chart, 7+7=14 for the third chart, etc. (increment by 7 from 0)

bar_number : 1 is the first bar (with the oldest date time) from the left to the right