Multiple Axes in OWC11

L

leiyangcl

Hi guys, I would like to make a OWC chart that with multiple Axes.
Such as there are two Series. One is Column another is Line.

They have same Categories/X values.

But the Y value in it are have large distance. If they are shown in
Single Axis Chart.
The Column chart can not been seen .

So I would like to make a multiple Axis to show these Chart. The Colum
series according its value to Primary Y Axis. The Line series accordin
its values to Secondary Y Axis.

But I have tried to add a new Axis in ChChart object. But it does no
show the currect result i want.

Does any one can help me?

Cheers
 
A

Alvin Bruney - ASP.NET MVP

You don't need multiple axes if I understand you correctly, what you can do
is just use the tickmark functionality or gapwidth property to descrease the
distance so that the numbers show up. There's more in the black book to walk
you thru this exercise.

--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Forth-coming VSTO.NET - Wrox/Wiley 2006
 
L

leiyangcl

First have to make the Second Series to be Seperateed, That means hav
to call a method which is UnGroup. And then add extra Axis and make i
with the Scaling of the Series which have to binding. The Ungroup is s
nessory.

any way, thank you so much.

By the way, you have mentioned about tickmark functionality or gapwidt
property. Another target of my is to make the Label of Axis have b
"GROUPED" .

____________________________________________
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|-----Group 1------|-----Group 2----|

That Group 1 and Group 2 just a label of the Axis. The range of it wil
defined by the actully data in the Axis. Could you give me some idea
about it. If there are some demo code shoule be fantastic

Cheer
 
L

leiyangcl

First have to make the Second Series to be Seperated, That means have t
call a method which is UnGroup. And then add extra Axis and make it wit
the Scaling of the Series which have to binding. The Ungroup is s
necessory.

any way, thank you so much.

By the way, you have mentioned about tickmark functionality or gapwidt
property. Another target of my is to make the Label of Axis have b
"GROUPED" .

____________________________________________
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|-----Group 1------|-----Group 2----|

That Group 1 and Group 2 just a label of the Axis. The range of it wil
defined by the actully data in the Axis. Could you give me some idea
about it. If there are some demo code shoule be fantastic

Cheer
 
L

leiyangcl

First have to make the Second Series to be Seperated, That means have t
call a method which is UnGroup. And then add extra Axis and make it wit
the Scaling of the Series which have to binding. The Ungroup is s
necessory.

any way, thank you so much.

By the way, you have mentioned about tickmark functionality or gapwidt
property. Another target of my is to make the Label of Axis have b
"GROUPED" .

____________________________________________
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|-----Group 1------|-----Group 2----|

That Group 1 and Group 2 just a label of the Axis. The range of it wil
defined by the actully data in the Axis. Could you give me some idea
about it. If there are some demo code shoule be fantastic

Cheer
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top