HtmlChartDrilldownOptions
ChartForgeX.Interactivity.Html
Child charts that bar and line categories open in the browser, with breadcrumbs back to the parent.
Inheritance
- object
- HtmlChartDrilldownOptions
Remarks
A local target embeds its child chart in the page, prepared with the same renderer, so a saved report drills without a host. An on-demand target asks the host for the child when a reader opens it: the chart section dispatches cfxdrillrequest and the host answers through the event's respond callback with a section from HtmlInteractiveChartRenderer.PrepareSection. Static SVG and PNG output, and printing, keep the parent chart.
Usage
Explore 9 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 5
- Extension method HtmlChartDrilldownOptions.RootLabel
- Method HtmlChartDrilldownOptions.Add
- Method HtmlChartDrilldownOptions.AddOnDemand
- Method HtmlChartDrilldownOptionsFluent.RootLabel
- Property HtmlChartInteractionOptions.Drilldown
Accepted by parameters 4
- Extension method HtmlChartDrilldownOptions.RootLabel
- Method HtmlChartDrilldownOptionsFluent.RootLabel
- Extension method HtmlChartInteractionOptions.Drilldown
- Method HtmlChartInteractionOptionsFluent.Drilldown
Constructors
public HtmlChartDrilldownOptions() #Methods
public HtmlChartDrilldownOptions Add(string category, Chart child, string? label = null, Action<HtmlChartInteractionOptions>? configure = null) #Opens an embedded child chart from one category.
Parameters
- category string
- The exact text of a label on the chart's category axis.
- child ChartForgeX.Core.Chart
- The child chart, prepared with the parent's renderer when the parent section is prepared.
- label string? = null
- The breadcrumb label. Null uses the child chart's title, then the category.
- configure System.Action<ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions>? = null
- Optional interaction options for the child. The child starts from the parent's runtime, layout, toolbar, text presentation, features and localization; it may add drill-down targets of its own.
public HtmlChartDrilldownOptions AddOnDemand(string category, string? label = null) #Opens a child chart that the host supplies when a reader opens the category.
Parameters
- category string
- The exact text of a label on the chart's category axis.
- label string? = null
- The breadcrumb label. Null uses the category.
Inherited Methods
Properties
Extension Methods
public static HtmlChartDrilldownOptions RootLabel(HtmlChartDrilldownOptions htmlChartDrilldownOptions, string? value) #Sets HtmlChartDrilldownOptions.RootLabel: Gets or sets the breadcrumb label of the parent chart. Null uses the chart title.
Parameters
- htmlChartDrilldownOptions ChartForgeX.Interactivity.Html.HtmlChartDrilldownOptions
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Interactivity.Html.HtmlChartDrilldownOptions { RootLabel = value }; htmlChartDrilldownOptions.RootLabel(value);