Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 2D dojox.chart。我想在 X 轴上用日期和时间在不同行上的日期标记刻度线。有没有办法做到这一点?
是的,有一个非常简单的方法。只需在您的日期和时间之间或在您生成的值的文本中添加一个<br/>标签:labelFunc
<br/>
labelFunc
labelFunc: function(value){ return value +"<br/>"+"sometext"; }