c3 icon indicating copy to clipboard operation
c3 copied to clipboard

Add API for showing and hidding axis. Fixes #1520

Open missingdays opened this issue 9 years ago • 2 comments

Add new API for showing and hidding x and y axis

chart.axis.isXShown(); // will return true, if x axis is visible, false otherwise
chart.axis.isYShown(); // will return true, if y axus is visible, false otherwise

chart.axis.isXShown(true) // will make x axis visible
chart.axis.isXShown(false); // will make x axis hidden
chart.axis.isYShown(true) // will make y axis visible
chart.axis.isYShown(false); // will make y axis hidden

missingdays avatar Jul 08 '16 09:07 missingdays

Current coverage is 63.85%

Merging #1760 into dev will increase coverage by 0.11%

@@                dev      #1760   diff @@
==========================================
  Files             1          1          
  Lines          4424       4438    +14   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits           2820       2834    +14   
  Misses         1604       1604          
  Partials          0          0          

Powered by Codecov. Last updated by f7f99e0...f0971db

codecov-io avatar Jul 08 '16 09:07 codecov-io

love it!🌹

skout90 avatar Jul 16 '20 08:07 skout90