如何在dojo-pie图表中使用dojo-clusteredColumns图表的自定义工具提示?

时间:2011-05-19 09:29:15

标签: dojox.charting

我正在使用dojo工具包来生成图表。 我使用了dojo饼图,我将自定义工具提示作为

  chart1.addSeries("Series 1", [{x:1,y:4,tooltip:"Value is 1"},
                                {x:2,y:6,tooltip:"Value is 2"}]);

同样,我也希望在ClusteredBars / ClusteredColumns中使用此功能。 请问,有人可以建议我如何在dojo中的ClusteredBars / ClusteredColumns类型图表中提供自定义工具提示吗?

提前致谢, SuryaPavan

1 个答案:

答案 0 :(得分:3)

chart1.addSeries("yourSerie", [ {
            y : $m0,
            tooltip : "the text to the serie"
        } ]);