display x-axis and y-axis lines with out the grid lines using flot

前端 未结 5 1698
你的背包
你的背包 2020-12-01 16:58

I am using flot to display bar charts. When I set the tickLength to 0, it hides the vertical and horizontal lines but it also hides the x-axis and y-axis lines. I need the x

5条回答
  •  情书的邮戳
    2020-12-01 17:41

    Try to color the lines in white (or your bg-color)

     yaxis: 
      . . .
      tickColor: "#cccccc" /* or better "#ffffff" */
      . . .
    

提交回复
热议问题