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
x轴为Time类型时,柱状图可以进行堆积吗? #1084
Comments
柱状图和折线图是联动效果,折线图x轴就用的time 类型,所以跟着一起用的time类型。 这样有办法解决方案? |
非类目型数值是不能堆叠的,允许不连续,而且细分粒度也无法对齐 |
噢 , 这样。 |
markPoint xAxis 可以指定 new Date("时间字符串") ,刚试的,如下: |
你会想到办法的。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
如这样的代码,页面不显示,也不提示错误:
option = {
tooltip : {
trigger: 'axis',
axisPointer : { // 坐标轴指示器,坐标轴触发有效
type : 'shadow' // 默认为直线,可选为:'line' | 'shadow'
}
},
legend: {
data:['直接访问','邮件营销','联盟广告','视频广告','搜索引擎','百度','谷歌','必应','其他']
},
toolbox: {
show : true,
orient: 'vertical',
x: 'right',
y: 'center',
feature : {
mark : {show: true},
dataView : {show: true, readOnly: false},
magicType : {show: true, type: ['line', 'bar', 'stack', 'tiled']},
restore : {show: true},
saveAsImage : {show: true}
}
},
calculable : true,
xAxis : [
{
type : 'time',
};
The text was updated successfully, but these errors were encountered: