score:2
I'm not sure how useful is that kind of graph, but you can set tickInterval
, for example: http://jsfiddle.net/Rfaav/5/
score:0
I too was facing the same problem.I solved it using 'useHTML' and some javascript of my own. Below is the code.
xAxis: {
categories: [],
tickmarkPlacement: 'on',
lineWidth: 0,
labels: {
useHTML: false,
style: {
width: '240px'
}
,
formatter: function () {
if ('Is an ideal holiday destination' === this.value) {
return '<span id="spn_itisideal"><span style="">' + this.value + '</span>';
}
else if ('Is a modern and trendy place' === this.value) {
return '<span id="spn_isamodern"><span style="">' + this.value + '</tspan>';
}
else if ('Is a popular destination' === this.value)
{ return '<span id="spn_isapopular"><span style="">' + this.value + '</span>'; }
else if ('Has great infrastructure' === this.value)
{ return '<span id="spn_hasgreatinfrastructure"><span style="">' + this.value + '</span>'; }
else {
return this.value;
}
}
}
},
when you set useHTML to true,the x-axis labels are rendered as html.I pick those labels that are overlapping in the formatter function and wrap them up with an span with respective id. after my chart is loaded i use a javascript function to call these spans and adjust them according to my will.
function alterWebChart() {//Adjust x-axis label span.
$('#spn_itisideal').parent().css('left', '268.273px');
$('#spn_isamodern').parent().css('left', '479.727px');
$('#spn_isapopular').parent().css('left', '260.526px');
$('#spn_hasgreatinfrastructure').parent().css('left', '510.974px');
}
Source: stackoverflow.com
Related Query
- Highcharts Spider Web Label overlap (Top and Bottom)
- Highcharts - Bubblechart - adding padding to top and bottom of plot
- Highcharts - Global configuration with common code and unique data & Headings
- Show only first and last xAxis label in Highcharts
- Changing Highcharts label and sorting x-axis using Django-chartit
- HighCharts - Need more space between bottom of chart and Xaxis labels
- change the Top and Left in highcharts
- highcharts pie dynamic label inside and outside for each slice
- how to add text in top,left and bottom in funnel highcharts
- Highcharts {Gauge} - Remove bottom border and change dial position
- Issue on Setting Fill Color and Opacity in Highchart.js Spider Web
- Highcharts label at absolute top left?
- Get max value and label in series after zoom in JS HighCharts
- Highcharts display label for pie chart using html table as data source
- Highcharts and highstock license with google ads web site
- Disable the label text (min, max, average, bins values) in measure annotation while doing MeasureX in highstocks and highcharts
- Highcharts - Plot by week with and label formatter
- Highcharts drilldown to pie chart - Clicking on axis label with multiple series causes pie charts to overlap
- How to rotate first and last x-axis label in Highcharts chart?
- Adding a label to the left and to the right of a bar in highcharts
- Issue on Switching Highcharts.js Spider Web Chart and Column Chart
- Highcharts and EXTJS 3: Labels in x axis overlap
- Highcharts stacked and grouped columns: Share label across all stacks
- Avoid displaying y axis label and points when there is no data: HIghcharts
- Show stackLabels at both top and bottom in highchart
- HighCharts Bullet Chart label show on top Possible?
- Need to join x axis and y axis label highcharts
- Get left and top position of highcharts scrollbar
- Highcharts polar spider with Min and Max for each y-axis
- Converted PHP code that built an array to JS and now highcharts doesn't work - what did I do wrong?
More Query from same tag
- Highcharts - Long multi-line y axis labels causing following label to be removed
- Format styles based on some conditions in highcharts
- How do you reduce the space between pie chart and legend? (highcharts.js)
- Parse HTTP Response that Contains Serialized Object with Functions
- Highcharts not drawing lines between points
- How to apply hover effects to a selected scatter point in Highcharts?
- Highcharts datalabels outside of plot area?
- Creating an object array of two value arrays dynamically – application: highcharts dotnet
- Stacked bars chart not rendering on mobile
- Change Highcharts Series color
- Combined two types highchart with one legend?
- Django Chartit graph not displaying. Jquery issue?
- Change yAxis values in Compare multiple series highstock for showing point value instead of percentage change value
- Date formatting for X-axis labels only showing as 'Jan'
- Can't display another Highcharts chart on my HTML page - Django
- How to align legends in pie charts dynamically pointing towards pie chart
- Highcharts - pie chart with html div at center
- Starting Time Series Highcharts Plot at specific date/time
- How to create a multi y-axis chart with drill down in Highcharts
- Highchart - Show histogram results using waterfall style rendering
- Highcharts using AngularJS, NodeJS and Mongoose
- Remove onhover effect from column chart
- Highcharts 100% height of parent that have 50% height
- Highcharts series- Hiding/revealing a series via button
- Highstock csv date issue
- Highcharts Date/Time and X-Axis
- Highchart js max 15 plots to be plotted
- How to dynamically load highcharts
- How to add title of axis in Highcharts
- How can I set the height of a highchart dynamically without setting the width?