Closed y2kbowen closed 7 years ago
Ah yes, jupyter_pivottable
uses version 1.6.3 of PivotTable.js, but the sorting UI was introduced in 2.11 so I will need to update jupyter_pivottable
. I'll try to do this in the next couple of days.
Is all that needs to be done is change the version numbers in these script links or do other links in the template need updates as well?
For example:
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/pivottable/1.6.3/pivot.min.js"></script>
And replace like this
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/pivottable/2.11.0/pivot.min.js"></script>
And the same for these:
` src="https://cdnjs.cloudflare.com/ajax/libs/pivottable/1.6.3/pivot.min.js">
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/pivottable/1.6.3/c3_renderers.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/pivottable/1.6.3/export_renderers.min.js"></script>
`
It's something like that, yep :)
On Tue, Apr 25, 2017 at 11:07 AM, KenB notifications@github.com wrote:
Is all that needs to be done is change the version numbers in these script links or do other links in the template need updates as well?
For example:
And replace like this
And the same for these:
src="https://cdnjs.cloudflare.com/ajax/libs/pivottable/1.6.3/pivot.min.js"> <script type="text/javascript" src="https://cdnjs.cloudflare. com/ajax/libs/pivottable/1.6.3/c3_renderers.min.js"> <script type="text/javascript" src="https://cdnjs.cloudflare. com/ajax/libs/pivottable/1.6.3/export_renderers.min.js">
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/nicolaskruchten/jupyter_pivottablejs/issues/24#issuecomment-297060800, or mute the thread https://github.com/notifications/unsubscribe-auth/AAMbA-X9erl4xPsInbmxSLbvVk2_QgG0ks5rzgxCgaJpZM4NCUOA .
Sorry for the delay on this, but I've just pushed a new version of this package to PyPi so you should be able to reinstall it with pip install pivottablejs
and get the features you're looking for. You'll also get some new aggregators like Median and Sample Variance, which is what I was waiting to finish before pushing this new version :)
I am using the jupyter_pivottablejs on my document and following along with the examples, but my notebook does not render the sort arrows like the examples. Am I missing something?
I was looking for the arrows like the picture below: