![]() |
How to set Scale value for Axis-Y |
Post Reply
|
| Author | |
wsun
Groupie
Joined: 11 January 2012 Status: Offline Points: 22 |
Post Options
Thanks(0)
Quote Reply
Topic: How to set Scale value for Axis-YPosted: 16 January 2012 at 5:17am |
|
Hi,
Can anyone help me how to set Scale value for Axis-Y? Thanks for help. For the Bar below: The Axis-Y value start from -1. How to set the value start with zero? Thank for help.
|
|
![]() |
|
SuperMario
Senior Member
Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
Quote Reply
Posted: 16 January 2012 at 9:50am |
|
You can manually set range like this:
Dim Diagram As ChartDiagram2D Set Diagram = New ChartDiagram2D ChartControl.Content.Diagrams.Add Diagram Diagram.AxisY.Range.AutoRange = False Diagram.AxisY.Range.MinValue = 0 Diagram.AxisY.Range.MaxValue = 10 Diagram.AxisX.Range.AutoRange = False Diagram.AxisX.Range.MinValue = 0 Diagram.AxisX.Range.MaxValue = 10 |
|
![]() |
|
wsun
Groupie
Joined: 11 January 2012 Status: Offline Points: 22 |
Post Options
Thanks(0)
Quote Reply
Posted: 16 January 2012 at 10:33pm |
|
It is work,thanks :)
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |