At last I’ve got trendlines working ! And wouldn’t you just know it, it was just a small change that needed to be done, but the documentation is a bit old for jqplot it seems.
Mind you, I completely understand – if I understand correctly, this is just one programmer who is creating and maintaining this. His project is quite a lot bigger than mine, and I already have trouble following up and dealing with all the bugs my users find in a timely manner, let alone implement the (welcome!) suggestions on how to improve the site.
Anyway, for the record: to get trendlines to work in jqplot, you need to:
- include the plugin in your code
- set somewhere in your javascript part the line $.jqplot.config.enablePlugins = true;
And that’s it ! Any further configuration can be done inside the series section of the config.