I am trying to create a bar graph using the MoveTo and LineTo methods.
This is the code for the original display, I am trying to convert to a bar graph.
Any pointers please?
if (initialised){
Canvas->MoveTo(20,199 - 2* DataEngine1.NextItem());
for (Count = 2; Count <+DataEngine.Size(); Count = Count+1;
{
for Canvas->LineTo((Count - 1) *20,199 - 2 *DataEngine1.NextItem());
}
This is the code for the original display, I am trying to convert to a bar graph.
Any pointers please?
if (initialised){
Canvas->MoveTo(20,199 - 2* DataEngine1.NextItem());
for (Count = 2; Count <+DataEngine.Size(); Count = Count+1;
{
for Canvas->LineTo((Count - 1) *20,199 - 2 *DataEngine1.NextItem());
}