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
例子: let ds = [ {name: "有餐厅", value: "91"}, {name: "有吃饭的地", value: "58"}, {name: "有停车场", value: "50"}, {name: "西单边", value: "37"}, {name: "位置很好", value: "23"}, {name: "强烈推荐", value: "21"} ];
let dv = new DataSet.View().source(ds);
dv.transform({ type: 'tag-cloud', fields: 100, size: [0, -100], font: 'serif', padding: 0, spiral: 'archimedean', fontSize(d) { return d.value / 5 }, timeInterval: Infinity, });
程序将在data-set/src/util/tag-cloud.js l311-l320 陷入死循环
The text was updated successfully, but these errors were encountered:
No branches or pull requests
例子:
let ds = [
{name: "有餐厅", value: "91"},
{name: "有吃饭的地", value: "58"},
{name: "有停车场", value: "50"},
{name: "西单边", value: "37"},
{name: "位置很好", value: "23"},
{name: "强烈推荐", value: "21"}
];
let dv = new DataSet.View().source(ds);
dv.transform({
type: 'tag-cloud',
fields: 100,
size: [0, -100],
font: 'serif',
padding: 0,
spiral: 'archimedean',
fontSize(d) { return d.value / 5 },
timeInterval: Infinity,
});
程序将在data-set/src/util/tag-cloud.js l311-l320 陷入死循环
The text was updated successfully, but these errors were encountered: