2009-12-20 158 views

回答

13

这里是您的解决方案

$.plot(
    $("#placeholder"), 
    [{data:d1, lines:{show: true}, points:{show: true}, label:"Mountain"}], 
    {xaxis: {tickSize:1, tickDecimals:0 }} 
); 
+0

你让我一天(这都可以在插件API Documentation找到) – vinothini 2016-10-10 10:11:53