The static image generally served its purpose but it was not optimal:
- The image is a bitmap with a fixed size which can not be reduced or enlarged without a loss of quality
- For the labels a font is used on the server which does not provide the same type face and size as the other text on the website
- It is quite elaborate to integrate interactive elements
Using RGraph the chart automatically uses the available horizontal space and exactly the same font as the website. It also provides interactive tool tips to display the exact data values.