We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am using viserjs to show a single chart. I use date-set to pivot the data to an Pie Chart, like the code below.
import DataSet from "@antv/data-set"; const dv = new DataSet.View().source(data); dv.transform({ type: "percent", field: this.measureName, dimension: this.dimensionName, as: "percent" });
Is there some way to import just the transform part of the @antv/data-set lib (ex.: import {transform} from "@antv/data-set")?
import {transform} from "@antv/data-set"
After build, the size of @antv/data-set is big, but my code does not need everthing!
The text was updated successfully, but these errors were encountered:
+1
Sorry, something went wrong.
I had fixed it by import what i used from "node_modules/antv/lib/transform" .
No branches or pull requests
I am using viserjs to show a single chart. I use date-set to pivot the data to an Pie Chart, like the code below.
Is there some way to import just the transform part of the @antv/data-set lib (ex.:
import {transform} from "@antv/data-set"
)?After build, the size of @antv/data-set is big, but my code does not need everthing!
The text was updated successfully, but these errors were encountered: