Table of Contents

TChartSeriesOptions.CreateWithClones Constructor

Creates a new instance of ChartSeriesOptions. Objects will be cloned, so you can change their values later and they will not Use this call only if all objects are owned by others and you will free them independently. As this class will clone the objects, it will free the cloned objects, and the original objects will leak if you don't free them on their own. IF you want this class to take ownership of the objects you pass to it, use CreateNoClone change the value on this class.

Syntax

Unit: FlexCel.Core

constructor TChartSeriesOptions.CreateWithClones(const aPointNumber: Integer; aFillOptions: IChartSeriesFillOptions; aLineOptions: IChartSeriesLineOptions; const aPieOptions: TChartSeriesPieOptions; const aMarkerOptions: TChartSeriesMarkerOptions; const aMiscOptions: TChartSeriesMiscOptions; const aXlsMode: Boolean);

Parameters

<-> Parameter Type Description
const aPointNumber Integer Point number where this options apply. -1 means that the options apply for the whole series.
aFillOptions IChartSeries​Fill​Options Fill options for the series or point.
aLineOptions IChartSeries​Line​Options Line options for the series or point.
const aPieOptions TChartSeries​PieOptions If the chart type is pie, options for the pie. If it is not a pie chart, this value has no meaning.
const aMarkerOptions TChartSeries​Marker​Options Color and shape of the markers on Line and Scatter charts.
const aMiscOptions TChartSeries​Misc​Options Misc Options.
const aXlsMode Boolean If true, this is a xlsx chart, which has different automatic colors, etc.

See also