score:1
Accepted answer
Since you are initialising chartOptions directly in the component class, the input title will not work.
You need to initialise the chartOptions in ngOnInit lifecycle method. I have made a sample stackblitz to show this.
https://stackblitz.com/edit/highcharts-angular-basic-line-gaekp1?file=src%2Fapp%2Ftest.component.ts
Source: stackoverflow.com
Related Query
- Can't set title of highchart through @input
- Highchart long y-axis title may overlap with title when chart.styledMode set to true
- set a symbol marker with highchart
- How to set PointIntervals per month in HighChart
- highcharts : set title on exporting
- Creating a Highchart for every data set
- Highchart ticks start point change when categories names are set
- Set background color to HighChart xAxis labels
- I cant save my highchart chart data in localStorage
- Is there a way to set Highchart options dynamically?
- HighChart - Can draw line between Title and SubTitle
- Highchart / Highstock how to set color of individual ohlc or candle?
- How to set series-label to false by default and change the color of series label text in highchart
- Highchart does not load data from hidden input when using .val
- Set minPointLength for one of two series in highchart
- Need to change title color donut highchart
- HighChart Title text implemented HTML Style is not applying in exporting files
- Set line opacity in highchart line chart
- How to set border in column chart - Highchart
- HighChart Renders Blank with Small Data Set
- Highchart -change posistion of yaxis title
- Set left and right border-like on highchart
- Set series color based on X axis on a column Highchart
- How to remove Title from highchart flags
- How to set Highchart datetime format to minute?
- Cannot set Individual Point color in Series for Highstock API, it works for Highchart API
- How do I set the highchart gantt headers as fixed when I scroll vertically
- Plotband covered area columns to be highlighted or set opacity higher in highchart column type
- How to set a Maximum yAxis range for HighChart graph?
- How to set the highchart and the table horizontally?
More Query from same tag
- How to change circle to rectangle when mouse hovers on the heat map charts
- React-highcharts scrollbar feature not working
- Vertical line on x axis on midnight in HighCharts/HighStock
- Lazy_high_chart: why options.xaxis undefined?
- Highchart: JSON Failed to load resource: the server responded with a status of 404 (Not Found)
- Highcharts: Y-Axis Grid Lines Misaligned
- How to change default color of a series chart in highcharts?
- Highcharts with inverted y-axis, but not inverted data?
- Why are there disabled buttons in HighStock Range Selector?
- Highcharts min y-axis value
- Remove datalabels from formatter with Highchart
- Hide the line chart inside the Highstocks Scrollbar
- Highcharts - legend titles rotation is not working fine in IE10
- Closely-spaced datalabels are hidden
- Highcharts / Highstock step line without vertical "transition" lines?
- Does Angular 4 supports highcharts-angular (Highcharts wrapper for Angular)?
- Highstocks 2.04 Bug?: Tooltip dates > 20 years displaying as 1st of month
- Adding a Dropdown Select menu to select csv files in highcharts
- highcharter: how can I customize the labels on a column plot
- trying to use highchart xrange to display large number of categories
- .Net wrapper for HighStock
- Highcharts: display peak values
- In angular, how do I access a class method from component.ts?
- HighCharts: Increase width and padding of stacked bar graph
- Calculate percentage dynamically on click of legend
- Highcharts - How to show intermediate values on Area chart
- Highcharts: Change Pie Colors By Clicking on a button
- How to display the date on the x-axis in highstock?
- How to set tooltip border color from series in Highcharts
- Set HighCharts marginTop dynamically based on mobile device screen size