在dojox.charting中隐藏x轴 [英] Hiding x Axis in dojox.charting

查看:77
本文介绍了在dojox.charting中隐藏x轴的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用dojox.charting.chart2D创建图表时如何隐藏x轴?

How can I hide the x Axis when create a chart using dojox.charting.chart2D?

推荐答案

简单来说,您可以删除x轴上的代码:

simply, you can delete the code to the axis x:

chart1.addAxis("x", {
            natural : true,
            includeZero : true
        });

这篇关于在dojox.charting中隐藏x轴的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆