alibaba-bizcharts / bx-docs Goto Github PK
View Code? Open in Web Editor NEWbx下各产品的文档管理仓库
License: MIT License
bx下各产品的文档管理仓库
License: MIT License
你好,如果在 containerTpl 里面 添加更多的数据 ,例如在title下方定义更多信息,又该如何赋值?(不单单标题,还需要更多的信息)
试了chrome & safari ,发现无法选中右半边的条柱.
https://bizcharts.net/products/bizCharts/demo/detail?id=g2-brush-interval&selectedKey=概览
文档介绍真是简单,一些连接也无法打开。
想学习都无从下手。
如题 请更新
一个页面有三个图标,每个图表设置了tooltip的crosshairs属性之后,鼠标明明已经移动到后一个区域了,信息框里还是显示前一个区域的数值,导致最后一个区域或者点无法查看数值
<Label
content='name'
htmlTemplate={(text, item, index)=>{
...
}
}//add
/>
BizCharts .setTheme('dark')
, 其中BizCharts是从那个模块引入?
I have introduced this one into my project as it is really well documente.
But my boss denied it as all document is written in Chinese, not convinient for further maintain,
自己定义的fontFamily没显示效果
const FONT_FAMILY = '"DINalternate-bold", "BlinkMacSystemFont", "Roboto", "Helvetica Neue", Helvetica, Arial, "PingFang SC","-apple-system", "Hiragino Sans GB", "Source Han Sans CN", Noto Sans CJK SC, Microsoft YaHei, Microsoft Jhenghei, SimHei, STXihei, YouYuan, sans-serif !important';
const Theme = {
animate:false,
fontFamily: FONT_FAMILY,
colors:{},
shapes:{},
}
BizCharts.setTheme(Theme);
Axis组件的htmlTemplate 属性不会清除之前的,会重叠在一起,如果我的坐标轴大小间隔都改变了但是用htmlTemplate的坐标刻度不会清除之前的只会覆盖
没有找到bizchart 图表不支持添加下载数据按钮吗?下载数据的api
fix method of itemFormatter
itemFormatter={(val) => {
return return val + "xxx"; // val 为每个图例项的文本值
}}
/>
文档中是这样写的
<Legend
itemFormatter(val) {
return val + "xxx"; // val 为每个图例项的文本值
}
/>
这样子写会报错, 应该
<Legend
itemFormatter = {val => {
return val + "xxx"; // val 为每个图例项的文本值
}}
/>
是否能提供外部其他点击事件关联触发legent例子,
例如 我通过点击bizcharts 画布外的某个按钮, 从而联动的触发legent 图例的点击事件
dv.transform({
type: "filter",
callback(obj) {
const time = new Date(obj.time).getTime(); // !注意:时间格式,建议转换为时间戳进行比较
return time >= ds.state.start && time <= ds.state.end;
}
});
// 东八区 时间戳的8小时时区差异 28800000ms 此处需要补全
应该为 return time >= ds.state.start && time <= ds.state.end + 28800000;
其他图表中的水波图中的shape='liquid-fill-gauge'在内置的shape列表中并没有,完整的内置shape列表在哪?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.