I am using pandas-highcharts which is a wrapper for Highcharts in Python. When using the type=stock, I'd like to be able to compare two series in the chart by percentage change dynamically based on the window of data showing in the chart at the time. I'm aware that this can be done with the plotOptions.series.compare=percent, but I can't figure out how to write it into the pandas-highcharts code. Here's what I have so far, everything works except that option.

display_charts(dualmom_1y_ret[['US Equity', 'Intl Equity']], chart_type='stock', compare='percent')

enter image description here


1 Answer 1


The functionality is being added. Check the pull request here


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.