dashed-slug.net › Forums › Exchange extension support › Responsive chart canvas › Reply To: Responsive chart canvas
February 10, 2021 at 7:15 am
#9950
alexg
Keymaster
Hello,
Are you referring to the chart? (wallets_exchange_chart]
shortcode)
The chart is redrawn on window resize. From wallets-exchange.js
:
// resize all charts whenever window resizes
$( window ).resize( function( e ) {
$( '.dashed-slug-wallets-exchange.chart .chart-container').each(
function( i, el ) {
drawChart( el );
}
);
} );
Not sure if this is what you mean?