Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In jqplot.js for CoreVisualizations plugin this.param.viewDataTable should have values described in some configuration #8091

Open
sebastianpiskorski opened this issue Jun 11, 2015 · 1 comment
Labels
c: Website matomo.org For issues related to our matomo.org website.

Comments

@sebastianpiskorski
Copy link
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
Copy link
Member

mattab commented Jul 15, 2015

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?)

@mattab mattab added the c: Website matomo.org For issues related to our matomo.org website. label Jul 15, 2015
@mattab mattab added this to the Mid term milestone Jul 15, 2015
@mattab mattab modified the milestones: Long term, Mid term Dec 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Website matomo.org For issues related to our matomo.org website.
Projects
None yet
Development

No branches or pull requests

2 participants