This is a migrated thread and some comments may be shown as answers.

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

1 Answer 619 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
Dhaval asked on 20 Jun 2017, 01:25 PM

<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.

1 Answer, 1 is accepted

Sort by
Dilyan Traykov
Telerik team
answered on 23 Jun 2017, 09:58 AM
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.
Asked by
Top achievements
Rank 1
Answers by
Dilyan Traykov
Telerik team
Share this question