Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update 3d relative docs #5793

Merged
merged 1 commit into from
Nov 13, 2023
Merged

chore: update 3d relative docs #5793

merged 1 commit into from
Nov 13, 2023

Conversation

xiaoiver
Copy link
Contributor

@xiaoiver xiaoiver commented Nov 13, 2023

更新 3D 相关文档中用法,改成使用 g2-extension-3d:

import { Runtime, corelib, extend } from '@antv/g2';
import { threedlib } from '@antv/g2-extension-3d';

const Chart = extend(Runtime, { ...corelib(), ...threedlib() });
const chart = new Chart({
  container: 'container',
  renderer,
  depth: 400,
});

@xiaoiver xiaoiver merged commit 8b39274 into v5 Nov 13, 2023
3 checks passed
@xiaoiver xiaoiver deleted the fix-3d branch November 13, 2023 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants