const theme = plot.chart.getTheme(); expect(theme.defaultColor).toBe('#FF6B3B'); expect(theme.columnWidthRatio).toBe(1 / 3); }); it('clear', async () => { plot.update({ ...options, 56 changes: 56 additions & 0 deletions 56 __tests__/unit/plots/bar/index-spec.ts Original...
2 changes: 0 additions & 2 deletions 2 .github/workflows/deploy.yml Original file line numberDiff line numberDiff line change @@ -22,11 +22,9 @@ jobs: - run: yarn install - run: npm run build - run: | cd .. git init git config --local user.name antv git config --local use...
:dango: An interactive and responsive charting library based on G2. - chore: update version in index.ts (#3513) · antvis/G2Plot@eff8d4d
} else if (themeSwitcher === 'g2plot') { } else if (themeSwitcher === 'g2plot') { themeCode = `${chart}.chart.theme(${theme});`; themeCode = `${chart}.update(${getThemeCode(theme)});`; reg = new RegExp(`( *)${chart}....