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

Multiple aggregators at the same time #389

Closed
samighawi opened this issue Oct 12, 2015 · 3 comments
Closed

Multiple aggregators at the same time #389

samighawi opened this issue Oct 12, 2015 · 3 comments

Comments

@samighawi
Copy link

Hello,

Does PivotUI support multiple aggregators at the same time?
For example, we would like to have "Maximum by Sales", "Maximum by Expenses" and "Maximum by Profit" at the same Google chart graph.
Please refer to this link for the requested graph:

https://google-developers.appspot.com/chart/interactive/docs/gallery/columnchart#creating-material-column-charts

Generating this graph would require multiple Y-axis data as follows:
['Year', 'Sales', 'Expenses', 'Profit'],
['2014', 1000, 400, 200],
['2015', 1170, 460, 250],
['2016', 660, 1120, 300],
['2017', 1030, 540, 350]

Can we define an aggregator that returns 2 or three data instead of one in order to generate such a graph?

Thanks

@nicolaskruchten
Copy link
Owner

@nicolaskruchten
Copy link
Owner

That said, if you have a field called "type" which contains one of sales/expenses/profit then you could make such a graph, with a single aggregator.

@samighawi
Copy link
Author

Thanks for the details. I will take a look at issue #30 to see if it is possible to use our own custom renderers to solve this limitation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants