@sebastianpiskorski opened this Issue on June 11th 2015 Contributor

At the moment if I want to check if this.param.viewDataTable is of some kind i have to hard code types into code. Checking against some configuration would leave code more flexible.

@mattab commented on July 15th 2015 Owner

FYI the possible values are graphVerticalBar, graphEvolution, graphPie, cloud, table, sparkline, tableAllColumns. The values can be found in the Visualisations classes in the const field ID eg. https://github.com/piwik/piwik/blob/master/plugins/CoreVisualizations/Visualizations/JqplotGraph/Bar.php#L20-20

Maybe we could document these values somewhere (not sure where?)

Powered by GitHub Issue Mirror