0.0.3 • Published 10 months ago
echarts-reposition-grid-by-label v0.0.3
Reposition grid by label
This package make reposition the grid from echarts relative to the values of overflowed labels
function getOverflowPx(
chart: ECharts,
textIndicator: string,
): HorizontalProperties;
This function get the pixels on the left and right where labels overflow
function repositionGrid(
chart: ECharts,
defaultGrid: HorizontalProperties,
textIndicator: string,
): void;
Make reposition for echarts grid