Implementing of the "begin-zero" option
See original GitHub issueExpected Behavior
When I have some positive data I want to see zero value on values axis:
Actual Behavior
Use HorizontalBar in this way:
<vue-horizontal-bar-chart :chart-data="ordersChartData" :beginzero="true"></vue-horizontal-bar-chart>
Environment
- vue.js version: “^2.5.8”
- vue-chart.js version: “^3.0.2”
- npm version: “5.5.1”
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
how to set start value as "0" in chartjs? - Stack Overflow
For Chart.js 2.*, the option for the scale to begin at zero is listed under the configuration options of the linear scale.
Read more >Linear Axis - Chart.js
beginAtZero, boolean, if true, scale will include 0 if it is not already included. ... Common options to all cartesian axes.
Read more >City buses begin zero-fare service Nov. 28 | Las Cruces Bulletin
All fixed routes for RoadRUNNER Transit buses and Dial-A-Ride services will be zero fare. The eligibility for Dial-A-Ride and the ride ...
Read more >Police begin zero-tolerance enforcement policy for drivers ...
The Elk Grove Police Department will begin a zero-tolerance enforcement policy for drivers around schools on Monday.
Read more >Zero Waste to Landfill: The Why and How | Inogen
Financially speaking, using resources more efficiently and setting up systems to get more out of your materials naturally leads to cost ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@icangku @AndreaRylander you have to put it in the y or x axis option see this post
https://github.com/apertureless/vue-chartjs/issues/272#issuecomment-349903067
I don’t really get the problem. Why don’t you pass just the
to your options?