score:2
Accepted answer
You can try to set min and max values for the axis:
xAxis: {
plotLines: [{
color: '#000000',
width: 2,
value: 1
}],
max: 2,
min: 0
},
yAxis: {
plotLines: [{
color: '#000000',
width: 2,
value: 1
}],
max: 2,
min: 0
},
Example SQL FIDDLE HERE
score:0
Instaed of plotLines, you can move your axis by offset parameter or use plugin
Source: stackoverflow.com
Related Query
- Highcharts center on x and y axis offset
- Hide axis and gridlines Highcharts
- Highcharts - best way to handle and display zero (or negative) values in a line chart series with logarithmic Y axis
- How to add space between chart and axis in highcharts
- Highcharts blank chart with x and y axis
- Highcharts - Display only year in x axis and stop auto formatting
- Style highcharts x and y axis
- Dual axis using percentage and absolute value to same serie in Highcharts
- Highcharts - Bar - Setting the X axis width and the chart area width to be constant
- Legend and Axis titles not showing in Highcharts Graph
- Legend and Axis titles not showing in Highcharts Graph
- Highcharts - Global configuration with common code and unique data & Headings
- Highcharts step & offset x axis labels?
- how to pass values to tooltip which not in x and y axis in highcharts
- How to center highcharts pie chart and legend on a page?
- Highcharts - how to create multiple y axis and group the data series
- Creating depth chart using highcharts and creating bids and asks in such a way that bids and asks are created from center of chart
- Highcharts - Guage - Changing the color and radius of the center black dot(circle)
- Is it possible to have two Y Axis in a highstock chart from highcharts one on the left and another on the right?
- how to show column and area charts with different y axis with same category and same x axis in highcharts
- Highcharts multiple x axis and yaxis. The width of the 1st x-axis is not in sync with browser resize
- Highcharts custom scaling on y axis - mix of linear and logarithmic
- Highcharts adding additional series and axis breaks existing yAxis min/max
- Can I set a minimum positive and a minimum negative axis value in Highcharts
- Highcharts - three series using left Y axis and the fourth using the right Y axis
- Custom "compare" and axis range in Highcharts
- highcharts how to make x and y axis starting on the same zero using categories on yAxis
- Highcharts same scale steps (equal tick interval) on x and y axis
- Highcharts with dual axis and stacking - R
- highcharts not displaying line when last point is before current x Axis minimum and next point is after current X Axis maximum
More Query from same tag
- Create highchart density with more than 2 groups
- How to change default color of a series chart in highcharts?
- How to remove category label margins of highchart?
- Check all charts for data and hide ones that have none
- javascript highcharts jQuery issue
- Creating an Array of Objects from an Array
- Highstock xAxis datetime
- Cannot remove all "series" in highcharts
- How to implement motion video highchart on Reactjs
- Highcharts push max values past preset
- Cannot get a series highchart
- Highchart: Background color of Axis
- Highcharts - xAxis date
- Highcharts - not show due to change over the frequency time of one every second?
- HighCharts columns with striated columns
- Scatter chart with simple liner regression
- highchart Axis values color
- net:ERR_FAILED - My application (Ionic 4 / Angular 7) is giving an error when trying to export a Highcharts
- HighCharts axis flip on export
- Create a Highcharts Pie Chart Legend Inside a Table
- How to make highchart chart (version 3) automatically resize with parent container?
- Highchart Graph Issue
- Highcharts: How can I make the range attribute work?
- Highcharts/HighcharteR: Stacked Column Bars Get Skinny After 50+ Series in R
- Highcharts sankey. Highlight all paths of a given category
- Highcharts - columns too thin in differents zoom time
- Highcharts Navigator Zoom
- Highcharts add points but not to all categories
- Show Text on Clicking Two Points on Highcharts?
- Bars does not show up when loading JSON encoded data from PHP in Highcharts