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

Chart SaleAmount and SalesTarget

3 Answers 40 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Tan
Top achievements
Rank 1
Tan asked on 10 Feb 2012, 09:52 AM
Hi,

Base on this post ; i able to draw the Base line like figure 1.0 below

Figure 1.0

Problem (Sale and SalesTarget In one column show like below figure: 1.1)

How can i integrate the saleAmount and the SaleTarget show like example below

Figure 1.1

Or Dynamic Draw the MarkZone in each column as SaleTarget like Figure 1.2 below

Figure 1.2

Regarding,
Tan

3 Answers, 1 is accepted

Sort by
0
Tan
Top achievements
Rank 1
answered on 14 Feb 2012, 04:06 AM
i have solve the problem, but it not exactly i want. below is the screen i solve this. Is it any possible make salesTarget have width size bigger than sale size? Because it is using StackedBar to achieve this, any appearance adjust will affect both size too.
0
Accepted
Evgenia
Telerik team
answered on 15 Feb 2012, 10:27 AM
Hello Louis,

  You can change the width of the series independently of one another but that won't be of help when using Stacked Bars. What I can suggest is that you change the Series Type to Bar and use the ItemOverlapPercent and ItemWidthPercent properties like this:

MyChart.Series[0].Appearance.BarWidthPercent = 60;
MyChart.Series[1].Appearance.BarWidthPercent = 25;
MyChart.Appearance.BarOverlapPercent = 75;

The result can be seen on the attached image.

Greetings,
Evgenia
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Tan
Top achievements
Rank 1
answered on 23 Feb 2012, 04:12 AM

Hello Evgenia,
   Thks, it is working.

From louis,
Tags
Chart (Obsolete)
Asked by
Tan
Top achievements
Rank 1
Answers by
Tan
Top achievements
Rank 1
Evgenia
Telerik team
Share this question
or