After having MCharts installed, we have to decide what data we what to show. For example, we want to display such data, where one array – Animal, has titles of animals and the other array – Speed, has corresponding speed values:
| Animal | Cheetah | Zebra | Human | Elephant | Chicken |
|---|---|---|---|---|---|
| Speed | 70 | 40 | 28 | 25 | 9 |
Table 3.1.1 Chart Data
The following image illustrates how the generated chart will look like:
Figure 3.1.1 Simple Chart