Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

missingdays
Copy link

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

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
Copy link

skout90 commented Jul 16, 2020

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