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

API Refactor #527

Merged
merged 9 commits into from
Apr 8, 2019
Merged

API Refactor #527

merged 9 commits into from
Apr 8, 2019

Conversation

texodus
Copy link
Member

@texodus texodus commented Apr 8, 2019

A new API for the table.view(config) method, in order to make it more inline with the <perspective-viewer> web component API.

  • row_pivot is now row_pivots
  • column_pivot is now column_pivots
  • aggregate is now columns and aggregates; columns is an array of column names, and aggregates is a dictionary of column name to aggregate function overrides.

These changes are backwards compatible for now; attempts to use the old config properties will simple log a warning to the console.

Fixes #316 and #314 - though the latter was never technically broken.

@texodus texodus merged commit 7a7b1eb into master Apr 8, 2019
@texodus texodus deleted the api-refactor branch April 8, 2019 13:49
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

Successfully merging this pull request may close these issues.

1 participant