score:1
Accepted answer
You can add the HIPoint
class object to the data:
let options = HIOptions()
let chart = HIChart()
chart.type = "line"
options.chart = chart
let title = HITitle()
title.text = "Demo chart"
options.title = title
let line = HILine()
let point = HIPoint()
point.y = 71.5
line.data = [29.9, point, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4]
options.series = [line]
And refer to the point in this way:
let point = self.chartView.options.series[0].data[1] as! HIPoint
point.select()
Source: stackoverflow.com
Related Query
- Select Point Programmatically (e.g. from TableView Cell or Button)
- Selecting a point programmatically on stockchart from HighCharts library in GWT (Also in native JS)
- R Highcharter: Select category from a single point
- Highcharts Select menu from csv file and select option programmatically
- Select cell value from table
- How to remove button from Highcharts
- How to select multiple points or markers programmatically in Highcharts?
- Using PhantomJS to create HighCharts grahps server side for use in PDF creation (PHP) - results in exit code 11 from PHPs exec();
- Highchart heatmap: select all cells on click of button or checkbox
- How do I select which columns from my CSV to chart with HighChart?
- How to get the highlighted point from shared tooltip formatter, Highcharts
- c# WPF Webbrowser with Highchart, Javascript from external source not working "An error has occurred in the script on this page"
- How to select point on map programmatically?
- HighCharts - Add vertical lines from a desire point
- Highcharts series data select point video sync
- passing json values to highcharts from .net code behind
- Highcharts How To Select Column From Stack
- how to animate the move of a point from a position to another in a HighCharts scatterplot
- Add a custom text tooltip that differs from point to point in Highcharts
- how to add dynamic y axis in highchart from specific point of x-axis
- Update Data Point From Existing DataTable On Set Interval
- Disable line from tooltip to point location on the chart
- Click a point on a highcharts graph from outside of the chart
- Get Tooltip content from a point from a line/scatter plot in highcharts from javascript
- When using Highcharts, how do you get the point name from a data point series?
- On HighMaps, how do I show state abbreviations instead of state name on a U.S. map and remove data label from point
- Remove exporting button from HighChart Objective-C
- How to show highchart graph depends on select tag from HTML
- HighChart: How to get exact point / timestamp from plotBands click
- HighCharts show selected point from chart on Pie Chart
More Query from same tag
- Highcharts stacked column dataLabels overlapping
- How to fix this error Type 'number' has no properties in common with type 'XrangePointOptionsObject'
- Convert Javascript Object to array of arrays with two values
- Horizotal scrollable highcharts timeline chart
- How to know the highcharts version used in angular2-highcharts
- How Can I Hide a Pie Chart's Slice in HighCharts Without Removing It From the Legend?
- Appending Data with Highcharts (real time updating chart)
- Highcharts how to only plot if x axis is having value greater than 0?
- How do I format x-axis label in highcharts
- Highcharts Line Chart Drill down into multiple series
- HIghcharts tooltips only for start and end point.
- Highcharts/Highstocks: How to manually set the X-axis range
- Highcharts hide not active series from legend when taking screenshot
- Reverse Y axis in LazyHighCharts and Rails
- Highcharts: why do the point events not work here?
- Where to find charts plug-in like this?
- how to pad y-axis for highcharts?
- mortgage calculator using highchart
- In Highcharts, how to make box plot outliers transition from light to dark colors?
- Using LINQ to generate Highchart column table data
- HighCharts missing data points on line chart
- Yaxis Values on High Chart Customization
- Highcharts: Y axis label formatter
- Is there any way to assign "Alt" property while using Highcharts
- highchart/highstock tooltip does not adjust after zoom
- Customize colors for boxplot with highcharter
- Creating HighChart pie charts as sparkline-type elements
- highstock linked to spreadsheet data doesn't work anymore
- How to set width limitation for text in highcharts?
- is it possible to create Highchart polar chart which has x-axis at center rather than at circumference