score:2
Accepted answer
You need to set lineWidth
for xAxis, to overlap plotBorderWidth
, see: http://jsfiddle.net/3Nczq/
$('#container').highcharts({
chart: {
type: 'line',
plotBorderColor: 'red',
plotBorderWidth: 2
},
title: {
text: 'plotBorderWidth is set to one pixel'
},
xAxis: {
lineWidth: 2,
categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']
},
series: [{
data: [29.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4]
}]
});
Source: stackoverflow.com
Related Articles
- How to set all border widths except bottom border
- Highcharts {Gauge} - Remove bottom border and change dial position
- Strange character in the Highstock source code
- Why are Bootstrap tabs displaying tab-pane divs with incorrect widths when using highcharts?
- Highcharts: Ensure y-Axis 0 value is at chart bottom
- Highcharts Series - want to show/hide all EXCEPT selected series (reversal of default logic)
- Highcharts: min value of y axis on the bottom of chart
- Highcharts: Remove space between plot border and actual chart
- How can I remove the white border from HighCharts pie chart?
- Set stacking column graph colors from the bottom up
- Optimize JavaScript DrillDown code
- How do you add text to the bottom center of legend and bottom center of chart under legend?
- Remove Highcharts dataLabel border
- Different border for selected column in highcharts
- Replacing highcharts.each in my code as it is being deprecated
- Border Styles for the Highchart tooltip
- How to add text to the bottom of a Highchart, but above the legend?
- Fix Highcharts dataLabels to the bottom
- remove tooltip space between border and content highcharts
- Highcharts stacking bar chart border not displaying on right side
- highcharts zero values results in graph half way instead at the bottom
- Make Highcharts border color match background color on column chart
- Using PhantomJS to create HighCharts grahps server side for use in PDF creation (PHP) - results in exit code 11 from PHPs exec();
- Highmaps: putting border around a category of area
- Code works on fiddle but not when I do /show
- How to align highcharts legend to bottom right?
- Highcharts - Global configuration with common code and unique data & Headings
- Highcharts border around plot
- Need to make tooltip border color same as marker color using Highcharts
- JavaScript code inside TypeScript file .ts not working
- Using directive scope to update Highcharts
- How to resize Highcharts chart on KendoUI/Angular Window resize
- HIghcharts tooltips only for start and end point.
- Displaying a minimalist Highcharts stockchart
- Highcharts - Show the percentage difference between data points on a series
- Redirecting to a URL on Highcharts marker click
- DotNetHighcharts - Hide specific legend label
- How to calculate X and Y coordinate under dataLabels with we have data value is dynamic
- Highchart in Spring boot
- Color plots depending of value
- Legends not matching columns ticks on xAxis in Highcharts
- Graphing data from mysql
- How to translate the "Start" and "End" label in the tooltip of a Highcharts Gantt?
- Highcharts Map bubble on Pacific Centered World map
- Highcharts - Gauge chart with breaks
- Highmaps with US States in Rails
- Negative value for categories axis in highcharts
- Remove series from chart when user clicks on legend?
- Highchart word cloud in custom shape
- Highcharts area range series change plotting area dynamically