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

overlap bar charts (Bullet graph)

5 Answers 84 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Taraman
Top achievements
Rank 1
Taraman asked on 03 Oct 2011, 06:25 PM
Hi,
I am using  a chart control including 2 bar series, I need to make each bar in one series be overlapped with the bar in the other series, because I need to simulate "Bullet graph"

thanks,
Mohamed Taraman

5 Answers, 1 is accepted

Sort by
0
adel
Top achievements
Rank 1
answered on 06 Oct 2011, 01:06 PM
I've the same issue.
I see the Sliver light version, but I want to do it in a simpler way.
0
Evgenia
Telerik team
answered on 06 Oct 2011, 01:54 PM
Hello Adel,

You can control the overlapping of the Bars by the BarOverlapPercent property. Please note that this property will work for bars which are from different series.

As a personal suggestion - you may use the ready to use BulletGraph Silverlight control and integrate it in your asp.net web application. In the code behind of your ASP.NET page, you can simply render the BulletGraph control when the page loads.There are several online resources that can help you achive that.Take a look at the Todd Anglin's webcast which describes how to integrate Silverlight controls in ASP.NET. For practical example with source code - you can review our integration demo that vizualises our Silverlight Chart in ASP.NET page. 

Kind regards,
Evgenia
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
Taraman
Top achievements
Rank 1
answered on 07 Oct 2011, 08:42 AM
Hello Evgenia,
can you please send an example for radchart control using this property "BarOverlapPercent" ?

thanks,
Taraman
0
adel
Top achievements
Rank 1
answered on 10 Oct 2011, 05:01 PM
Hello Evgenia & Taraman,
Can you please post a code sample?
That would help me significantly.
Thanks in advance,
Adel
0
Evgenia
Telerik team
answered on 12 Oct 2011, 08:11 AM
Hello Adel and Mohamed,

You may find a sample project demonstrating the BarOverlapPercent property in action. The chart is databound to a generic list of objects as described in our help topic.
Please have in mind that this is rather a work-around and I still reccomend that you integrate our ready to use and fully functional Silverlight BulletGraph in your ASP.NET website instead of trying to create your own by overlapping the Bars.

All the best,
Evgenia
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
Chart (Obsolete)
Asked by
Taraman
Top achievements
Rank 1
Answers by
adel
Top achievements
Rank 1
Evgenia
Telerik team
Taraman
Top achievements
Rank 1
Share this question
or