Skip to content

Add API for showing and hidding axis. Fixes #1520 - #1760

Open
missingdays wants to merge 1 commit into
c3js:devfrom
missingdays:fix-1520
Open

Add API for showing and hidding axis. Fixes #1520#1760
missingdays wants to merge 1 commit into
c3js:devfrom
missingdays:fix-1520

Conversation

@missingdays

Copy link
Copy Markdown

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

@codecov-io

Copy link
Copy Markdown

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

@skout90

skout90 commented Jul 16, 2020

Copy link
Copy Markdown

love it!🌹

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants