menu

UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Interface IOfficeChartDropBar - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Interface IOfficeChartDropBar

    Represents ChartDropBarImpl.

    Inherited Members
    IOfficeChartFillBorder.Fill
    IOfficeChartFillBorder.Has3dProperties
    IOfficeChartFillBorder.HasInterior
    IOfficeChartFillBorder.HasLineProperties
    IOfficeChartFillBorder.HasShadowProperties
    IOfficeChartFillBorder.Interior
    IOfficeChartFillBorder.LineProperties
    IOfficeChartFillBorder.Shadow
    IOfficeChartFillBorder.ThreeD
    Namespace: Syncfusion.OfficeChart
    Assembly: Syncfusion.OfficeChart.UWP.dll
    Syntax
    public interface IOfficeChartDropBar : IOfficeChartFillBorder

    Properties

    Gap

    Gets or sets the drop bar gap width (0 to 100%).

    Declaration
    int Gap { get; set; }
    Property Value
    Type
    System.Int32
    Examples
    IPresentation presentation = Presentation.Open("Template.pptx");
    ISlide slide = presentation.Slides[0];
    //Get the chart from slide
    IPresentationChart chart = slide.Shapes[0] as IPresentationChart;
    //Get the chart serie option
    IOfficeChartFormat chartFormat = chart.Series[0].SerieFormat.CommonSerieOptions;
    //Get the First Drop Bar
    IOfficeChartDropBar dropBar = chartFormat.FirstDropBar;
    //Set the gap width of data series in chart
    dropBar.Gap = 100;
    //Save the presentation
    presentation.Save("Output.pptx");
    //Close the presentation
    presentation.Close();
    Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx")
    Dim slide As ISlide = presentation__1.Slides(0)
    'Get the chart from slide
    Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart)
    'Get the chart serie option
    Dim chartFormat As IOfficeChartFormat = chart.Series(0).SerieFormat.CommonSerieOptions
    'Get the First Drop Bar
    Dim dropBar As IOfficeChartDropBar = chartFormat.FirstDropBar
    'Set the gap width of data series in chart
    dropBar.Gap = 100
    'Save the presentation
    presentation__1.Save("Output.pptx")
    'Close the presentation
    presentation__1.Close()

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved