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

Overlapping bars, different width how to center?

1 Answer 61 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Jafin
Top achievements
Rank 2
Jafin asked on 28 Nov 2007, 01:23 AM
I have two bars with the BarWidthPercent set to 100 so that they overlap each other.  I then have set the BarWidthPercent of series 2 to 50% so that the second bar can be seen in front of the series 1 bar.

The problem I am experiencing is that series 1 (width 70) is centered  but the series 2 (width 50) is aligned to the right of the bar.  I am wanting it to be centered inside the axis markers.   What would be the approach to do this.

I'll see if I can ascii up the problem.

Currently:
----------------------------------------------------
|
|----------------------------------------+
|       aligned left    |                      |
|---------------------+                      |
|                                                  |
|----------------------------------------+
|
--------------------------------------------------



Goal:

----------------------------------------------------
|
|----------------------------------------+
|                                                  |
|                                                  |
|---------------------+                      |
|     aligned center  |                      |
|---------------------+                      |
|                                                  |
|                                                  |
|----------------------------------------+
|
--------------------------------------------------

1 Answer, 1 is accepted

Sort by
0
Vladimir Milev
Telerik team
answered on 30 Nov 2007, 04:15 PM
Hi Jafin,

We hope that the work-around provided in the support ticket you opened will help you. We will also log your suggestion in our system and consider its implementation. Thanks for the valuable feedback!

Best wishes,
Vladimir Milev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Chart (Obsolete)
Asked by
Jafin
Top achievements
Rank 2
Answers by
Vladimir Milev
Telerik team
Share this question
or