Ei muokkausyhteenvetoa |
Ei muokkausyhteenvetoa |
||
| Rivi 49: | Rivi 49: | ||
//memo.widgetEl.append( '<div class="chart-container" style="position: absolute; z-index: 110; width: 100%; height: 100%;"></div>' ); | //memo.widgetEl.append( '<div class="chart-container" style="position: absolute; z-index: 110; width: 100%; height: 100%;"></div>' ); | ||
memo.chartEl = jQuery( this ).find( '.chart-container' ); | memo.chartEl = jQuery( this ).find( '.chart-container' ); | ||
memo.headerEl = jQuery( this ).find( '.card-header' ); | |||
// add fullscreen button | // add fullscreen button | ||
memo. | memo.headerEl.append( '<div class="obschartbutton fullscreen-button" style="Xdisplay: none; Xposition: absolute; Xz-index: 120; float: right; Xtop: 40px; Xright: 1.5px; background-color: rgba( 255, 255, 255, .9 ); border-radius: 50%; border: 1px solid rgba( 230, 230, 230, 0.75 ); width: 24px; height: 24px; padding: 0;"><button title="fullscreen" style="width: 24px; height: 24px; padding: 0; margin: 0; background: none; border: none; "><i class="fas fa-expand"></i></button></div>' ); | ||
memo.fullscreenEl = jQuery( this ).find( '.fullscreen-button' ); | memo.fullscreenEl = jQuery( this ).find( '.fullscreen-button' ); | ||


