PolarBar Chart

PolarBar graph can be used for visualizing periodical changes and trends.It plots the frequency or percentage of occurrences data shows up at a particular angle or direction.


The chart from the image above is created with the following code:

<shield:ShieldChart ID="ShieldChart1" Width="100%" Height="400px" runat="server" 
    <PrimaryHeader Text="Site usage statistics"></PrimaryHeader>
    <Legend VerticalAlign="Top" Align="Center"></Legend>
            CategoricalValues="Jan, Feb, Mar, Apr, May, Jun, July, Aug, 
            Sep, Oct, Nov, Dec"></shield:ChartAxisX>
        <shield:ChartAxisY Max="2000000">
        <shield:ChartPolarBarSeries CollectionAlias="Total Visits">
protected void ShieldChart1_TakeDataSource(object sender, ChartTakeDataSourceEventArgs e)
    List datasource = new List() 
        565000, 630400, 743000, 910200, 1170200, 1383000, 
        1333000, 1777000, 1355000, 1002000, 1456000, 1765000

    ShieldChart1.DataSource = datasource;
  • When the chart is bound to collection of objects the X values are got by the field which name is set into the DataFieldX property of the ChartPolarBarSeries. The Y values are got by the field which name is set into the DataFieldY property.
  • The name that is shown in the legend is chosen via the CollectionAlias property of the ChartPolarBarSeries.
  • By default all X values are sorted in order bar chart to be shown appropriately, however this behavior is controlled by the EnableValueXSorting property of the ChartPolarBarSeries.
  • DataStart and DataStep properties control the start value of the x axis and explicit value for the interval between a data series member values.
  • All points from the ChartPolarBarSeries are represented with ChartSeriesItem which belongs to the ChartPolarBarSeries.Items collection.
    • The ChartPolarBarSeries.Items can be added declarative without data binding.
    • The data binding and declarative approach can be mixed. However in order declarative items to be appended to the items created from the datasource the ShieldChart.AppendDataBoundItems property need to be set to "true".
  • All setting related to ChartPolarBarSeries are contained into the ChartPolarBarSeries.Settings object.
    • The background and border color can be set via Color and BorderColor properties.
    • If the AddToLegend is set to false the series is not added into the legend.
    • The animation of the series can be controlled by ChartPolarBarSeries.Settings.EnableAnimation and ChartPolarBarSeries.Settings.AnimationDuration properties.
    • If some values are missing (i.e. they are null/Nothing) from the series data you can have the chart work around this by setting the DrawNullValues property.
    • The series of multiline bar chart can be stacked by setting the StackMode property to Normal or Percent.
    • Each point from the series can be selected if the EnablePointSelection property is set to true.
    • All selected points can be customized by Settings.PointMark.ActiveSettings.PointSelectedState object properties.
    • From the Settings.PointMark.ActiveSettings.PointHoveredState object properties you can change the appearance of each bar when the user hovers it.
    • Each series has related tooltip which can be customized via the Settings.Tooltip object.
    • Each point from the series can have related text, which appearance is controlled by Settings.DataPointText property. You can changeBackgroundColor, BorderColor, Color, Padding, and TextAngle of the corresponding data point text.