You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// (you can update any chart element) to open, close, delete, add, resize, reformat, etc. elements in the chart.
237
+
/// Refer to https://api.highcharts.com.cn/highcharts#Chart.update
238
+
///
239
+
/// It should be noted that when updating the array configuration,
240
+
/// for example, when updating configuration attributes including arrays such as xAxis, yAxis, series, etc., the updated data will find existing objects based on id and update them. If no id is configured or passed If the id does not find the corresponding object, the first element of the array is updated. Please refer to this example for details.
241
+
///
242
+
/// In a responsive configuration, the response of the different rules responsive.rules is actually calling chart.update, and the updated content is configured in chartOptions.
243
+
///
244
+
/// - Parameter options: A configuration object for the new chart options as defined in the options section of the API.
245
+
/// - Parameter redraw: Whether to redraw after updating the chart, the default is true
/// Add a new point to the data column after the chart has been rendered.
283
+
/// The new point can be the last point, or it can be placed in the corresponding position given the X value (first, middle position, depending on the x value)
284
+
/// Refer to https://api.highcharts.com.cn/highcharts#Series.addPoint
285
+
///
286
+
/// - Parameter elementIndex: The specific series element
287
+
/// - Parameter options: The configuration of the data point can be a single value, indicating the y value of the data point; it can also be an array containing x and y values; it can also be an object containing detailed data point configuration. For detailed configuration, see series.data.
288
+
/// - Parameter redraw: The default is true, whether to redraw the icon after the operation is completed. When you need to add more than one point, it is highly recommended to set redraw to false and manually call chart.redraw() to redraw the chart after all operations have ended.
289
+
/// - Parameter shift: The default is false. When this property is true, adding a new point will delete the first point in the data column (that is, keep the total number of data points in the data column unchanged). This property is very useful in the inspection chart
290
+
/// - Parameter animation: The default is true, which means that when adding a point, it contains the default animation effect. This parameter can also be passed to the object form containing duration and easing. For details, refer to the animation related configuration.
0 commit comments