3 Answers, 1 is accepted
Hello,
The Width property is exposed on a control level. If you want to use RadChartElement you can use the MaxSize property and adjust the width value:
this.radChartView1.ChartElement.MaxSize = new Size(400, 0);
Note, RadChartView is a complex control to be displayed in a row in the grid and it is expected to require more space in order to be displayed.
I hope this helps. Let me know if I can assist you further.
Regards,
Nadya
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.
Hello,
You can not set a fixed width for the bars. When you use ChartSeriesCombineMode.Stack all the bars have the same width and it depends on the values displayed on the axis. The possible solution that I can suggest is to manage the Width of the chart view itself. Thus, if you set a smaller width the bars would look thinner and vice versa. Please refer to the following examples:
this.radChartView1.Width = 400;
this.radChartView1.Width = 600;
I hope this helps. If you have other questions please let me know.
Regards,
Nadya
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.
Hello,
The Width property gets/sets the width of control and it is in standart the System.Windows.Forms namespace. It is available in the 2015 Telerik version.
It seems you are using an old version. Since there is a 5-years gap in the Telerik versions (the latest version and the one you are using), I would highly encourage you to upgrade to the latest version. Thus, you can benefit from all the introduced improvements and new features of our controls.
I hope this information helps.
Regards,
Nadya
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.