I have recently been exploring the different options for displaying charts in a browser.
I have tried using the d3js
library, google charts, java applets an
You could look for a method of encoding the data so it is not plain text. However, an experienced JavaScript programmer can decode the data without issue. The same goes for flash and java also. Anything on the front end exposes your data. There are backend libraries for displaying charts I know for a fact php has lots of them, Other languages should have them too. A backend solution would make it so the only way to get your data is to pull it from the image either manually or with line detection.