Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
request for more pivot examples #95
Comments
|
Hi!
|
|
Hello, Nicolas!
On another note, I think sparklines would be a very cool enhancement! Thanks! Gretchen |
|
The I agree that sparklines are pretty cool, and the way to do it would be to write a custom Aggregator component, which shouldn't be too difficult. |
|
@nicolaskruchten I'm very interested in adding sparklines. Any guidance of how to do this or a skeleton (existing even?) aggregator which would be good to work off for a sparkline to the right of the All the aggregators I've written so far are for the data cells, not a new column to the right of the data cells. Thanks so much! |
|
To replace the 'totals' column with a sparkline, my recommendation would be to write a bit of Javascript which would execute after the Table Renderer has rendered (i.e. run it from the |
|
Ok great. That's close to what I did except since I was using pivot and not pivotUI I created the spark lines after initialization and not on refresh. Would you want a PR for an example of this? Mark Mark Silverberg
|
|
Sure, I'd be curious to see what it looks like! Are you able to use one of the example datasets I already have in the repo, perhaps the Montreal weather data? |

Good evening.
Are there any pivot examples out there that show how to:
Thank you!
Gretchen