Table output (instead of a chart)
It would be wonderful if data could be displayed in the form of a simple data grid table (just rows + columns, with headers and some HTML formatting, maybe). A "text" chart type, so to speak.
(background: we use Highcharts to display a variety of data online. some of the data, however, would be much more readable when displayed as a simple data table instead of a chart; but for the sake of consistency, we would prefer to use Highcharts for all data displays (rather that using plain HTML for tabular data). Also, the user should be able to download such data tables using the convenient Highcharts print/download button.)
Okay here’s an experiment where we move the whole table inside the chart, also enabling export: http://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/studies/exporting-table-html/
We don’t support this directly, but it is possible to hide all elements of the chart and preserve the table: http://jsfiddle.net/highcharts/g1qx35nw/1/
Now the export menu doesn’t work though…
Hi Torstein, thanks a lot for the demo. Any chance we could also use the drilldown-feature from the table? Many thanks!
Kind Thanks, Torstein!
it works in the jsfiddle, and in an HTML file I created from that - however, not yet in my database-driven PHP environment...but I will work it out ;-)
that's an interesting workaround, indeed...
however, since the export button evidently does not work for the displayed table, it would be as much a Notnagel (German: "emergency nail") as a HTML solution.
so my suggestion for a "text type" chart in a future Highcharts version still stands;-)
anyway - Kind Thanks for your prompt, and elaborate, suggestion. I really appreciate that!
(further adds to the splendid image of Highcharts:-)