score:2
Since the tutorial is using HighCharts it would be good idea to open there docs.
As for answer you need to change this:
var yAxis = {
title: {
text: 'Weight (kg)'
}
};
To this:
var yAxis = {
title: {
text: 'Weight (kg)'
},
min: 0 // Make sure you add this.
};
Hope that helps!
Source: stackoverflow.com
Related Query
- Scatter chart using HTML and Java Script (makeing y axis starting from zero (upside down) )
- Highcharts: X and Y Axis cross at zero in scatter chart
- highcharts how to make x and y axis starting on the same zero using categories on yAxis
- Highcharts - best way to handle and display zero (or negative) values in a line chart series with logarithmic Y axis
- Highcharts - How can I remove starting and ending padding from area chart
- Can we create pie chart and scatter plot combined using highcharts.js?
- Creating depth chart using highcharts and creating bids and asks in such a way that bids and asks are created from center of chart
- Is it possible to have two Y Axis in a highstock chart from highcharts one on the left and another on the right?
- Highcharts display label for pie chart using html table as data source
- Highcharts combining a column and spline chart from an html data table
- Displaying highchart and using php to get data for the chart from mysql database
- How to create a column range chart in Highcharts using range and navigator functions?
- JavaScript - Export Div with SVG chart + HTML as and Image
- Using html2canvas to render a highcharts chart to pdf doesn't work on IE and Firefox
- Using Highcharts and displaying a message over or on the chart when there is no data
- How to add space between chart and axis in highcharts
- Highcharts blank chart with x and y axis
- Dual axis using percentage and absolute value to same serie in Highcharts
- Highcharts connecting scatter chart and pie chart with single legend
- Using PhantomJS to create HighCharts grahps server side for use in PDF creation (PHP) - results in exit code 11 from PHPs exec();
- Highcharts - Bar - Setting the X axis width and the chart area width to be constant
- Highcharts: having trouble recreating stacked area chart from Excel with positive and negative values
- Issues using highcharts node export server from ClojureScript - "0x03 error when performing chart generation"
- display pie chart using highcharts api and mysql
- How to get text from html table in pie chart (highchart)?
- Add Local HTML and JS file using React Native Webview
- Using the DotNet.HighCharts Library To Create Chart Based on DataTable Result From Webservice
- c# WPF Webbrowser with Highchart, Javascript from external source not working "An error has occurred in the script on this page"
- Tooltip in chart with line- and scatter plot in highcharts 3.0.7
- Hight Chart Polar Scatter Plot values on chart and x-axis
More Query from same tag
- Highcharts: cannot amend the histogram tooltip
- Jquery & Ajax for data retrieval used for highcharts implementation + HTML
- HighCharts onClick get column data on Stacked Column Chart
- Highcharts multiple rowsUrl in same charts
- How can I reverse the series order of a pyramid chart in Highcharts
- Highcharts - Drag ColumRange
- how to fix tooltip after highchart upgrade
- Render SVG images on each point of gantt chart in highcharts
- how to set html tags in text to highstock tooltip by lazy_high_chart gem
- Highcharts x-range chart datetime type for x and y axis
- Highcharts exceeding width of parent on Chrome only
- How to display fixed tooltip position in a multiple series highchart?
- highstocks x-axis time incorrect
- Updating the axis of a highcharts chart object using jquery after inital render (django)
- ASP.NET WebRequest to Highcharts export server
- Can highcharts drilldown of a chart, reflect on another chart?
- Highchart: add own calculation to tooltip
- Click-and-stay-highlighted option in Highcharts line chart?
- Inhibit caching JavaScript/CSS
- Adjust pane position in solid gauge
- HighChart Title text implemented HTML Style is not applying in exporting files
- Highcharts basic line chart - Y-axis label name
- Changing a pie chart into an arrow ring chart
- remove previous markers and retain only single marker highchart
- Getting value from series click event, and display on legend
- In HighCharts, I Can't display data returned from ajax call
- Separate panes / or style maximum gridlines in Highstock
- Highcharts plugin/extension that runs after the chart has loaded
- Highchart not rendering in shiny using 'Highcharter' package
- Highcharts stacked column is cut off