how to set the width of Bar chart in BarSeries (How to set the width of a BarSeries?)

2 posts, 0 answers
  1. Dhaval
    Dhaval avatar
    4 posts
    Member since:
    Jul 2011

    Posted 20 Jun 2017 Link to this post

    <telerik:RadChart x:Name="NumberOfOpenIssuesBySeverityChart" ItemsSource="{Binding OveralIssueDashboard.NumberOfClosedIssuesByMonth}" >
    <SolidColorBrush Color="Green"/>
    <SolidColorBrush Color="Green"/>
    <SolidColorBrush Color="Green"/>
    <telerik:RadChart.DefaultView >
    <telerik:ChartDefaultView >
    Total Number Of Resolutions Provided
    <telerik:ChartArea LabelFormatBehavior="None" LegendName="ChartLegend3" ScientificDigits="0" >
    <telerik:ChartArea.AxisY >
    <telerik:AxisY AutoRange="False" MinValue="0" Step="1" MinorTickPointMultiplier="1" MinorTicksVisibility="Collapsed" StripLinesVisibility="Collapsed" />
    <telerik:ChartLegend Visibility="Collapsed" />
    <telerik:RadChart.SeriesMappings >
    <telerik:BarSeriesDefinition />
    <telerik:ItemMapping DataPointMember="YValue" FieldName="NumberOfIssue" />
    <telerik:ItemMapping DataPointMember="XCategory" FieldName="MonthName" />



    -------Problem Statement -----

    I want to set fix bar size in above Rad Chart.

    For more information I have attached PNG image.

  2. Dilyan Traykov
    Dilyan Traykov avatar
    1073 posts

    Posted 23 Jun 2017 Link to this post

    Hello Dhaval,

    Generally, we would encourage you to use the new RadChartView control over the former RadChart control.

    Controlling the bar segment width in a RadCartesianChart has been discussed in the following thread.

    For your convenience, I'm attaching a sample project as a demonstration.

    Additionally, I suggest you go over the available demos in the WPF Controls Samples and SDK Samples Browser to get a good idea of how to use the RadChartView control.

    Please inform me whether the approach suggested by my colleagues in the forum thread works for you. If you need any further assistance, please let me know.

    Dilyan Traykov
    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top