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
- Highcharts 3 cannot render more than 1000 points in one series
- Enormous data and PHP errors
- MySQL Data to Highchart's Pie Chart using JSON
- Combined two types highchart with one legend?
- Pie Piece Too Small
- highcharts display tooltip on category label hover
- How to change Time Zone in Angular2-HighCharts?
- How to prevent bars overlapping eachother in Highcharts?
- How te get the name property of a selected point in a highmap
- highcharts SVG drawing mousemove
- Use django variable (array of elements from sqlite3 database) inside javascript embedded code
- "Extend" highcharts chart add properties and functions, prototype
- Using PhantomJs with PHP loops
- Snap to month in highchart stock navigator
- How to create highcharts dynamically on click buttons
- How to input plot data into highcharts with rails
- Enable Horizontal Scrollbar in Highcharts with Multiple Pie Charts
- how to create a highcharts area with the top area highlighted?
- Highcharts custom animation support
- How to show a loading state before show the complete page?
- Dotnethighcharts library
- Is there any replacement of "zones" in highcharts?
- Highmaps : dataLabels console error
- Jquery, highchart: render plot on button click, roll backs
- High Charts - Set Solid Gauge Value from JSON
- How to have a foreach inside a foreach in JQuery?
- Removing/Hiding Null label from x-axis of Chart
- resizing and positioning issue with gridster and multiple highcharts
- How to POST Highcharts Image?
- Framework for plotting latitude longitude in a map based on country, state and district depending on the zoom level