How to remove border from jqplot charts

别来无恙 提交于 2019-12-11 12:15:27

问题


It would be helpful if someone could tell me how to remove the top and right border from jqplot charts. I have tried the grid properties but it is an all or null option and individual border value cant be controlled. Is there any other property which can set the value for individual border line.


回答1:


For bar charts and line charts, use the following options:

grid: {
   drawGridlines: false,       
   background: 'transparent',   
   borderColor: 'transparent',  
   shadow: false            
}

For Donut charts, use :

grid: {
  borderWidth:0,
  shadow:false         
}


来源:https://stackoverflow.com/questions/19375647/how-to-remove-border-from-jqplot-charts

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!