Search Results for

    Show / Hide Table of Contents

    ExcelChart.AddSubchart Method

    Adds a new subchart to the existing chart. Note that if the current active subchart is empty, this method will not add a new subchart, but replace the empty one. In that case, SubchartCount won't change.

    This method only works in xlsx files, not xls.

    Syntax

    Namespace: FlexCel.Core

    public abstract void AddSubchart(TChartType chartType, Int32 axisIndex)

    Parameters

    <-> Parameter Type Description
    chartType TChartType Type of subchart added. If it is the same as the current chart type, it won't be added.
    axisIndex Int32 It can be 0 if the axis of this subchart will be the primary pair of axis, or 1 if they are the secondary pair.

    See also

    • ExcelChart
    In This Article
    Back to top FlexCel Studio for the .NET Framework v7.24.0.0
    © 2002 - 2025 tmssoftware.com