Search code examples
highchartsdotnethighcharts

High charts - Increasing the space between chart and title


I would like to know how to increase space between chart and the title. Similarly chart and the x axis title/legend. Explanatory image:

reference image


Solution

  • You can do it with the title properites. Check the API documentation here. You will have to mess around a little bit to get things how you want them but the tools are there. What you need are x and y and the chart spacing properties (see this). The same applies to the xAxis title. One of the many great things about HighCharts is their API documentation. It is definitely worth a read-through.