Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Tools for Microsoft .Net
 Real-Time Graphics Tools for .Net (VB and C#)
 Minimum Y Axis range

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
bechbd Posted - 14 Nov 2005 : 11:56:11
Is there a way to specify a minimum Y axis range with auroscaling on. For example say that I want to autoscale the axis but always have the Y axis show at least 100 units. In other words I almost want a sort of autocentering graph.
2   L A T E S T    R E P L I E S    (Newest First)
bechbd Posted - 15 Nov 2005 : 18:55:47
Thanks following that advice I was able to get it to work now.
quinncurtis Posted - 14 Nov 2005 : 13:30:39
Use the coordinate systems SetScaleStartY and/or SetScaleStopY method after the scale is created, or any auto-scaling calls for the coordinate system. It must be called before the axes are created, since the axes by default auto-scale to the referenced coordinate system.


CartesianCoordinates pTransform1 = new CartesianCoordinates( 0.0, 0.0, 1.0, 500.0);

pTransform1.SetGraphBorderDiagonal(0.05, 0.175, 0.08, 0.35) ;

pTransform1.SetScaleStartY(-500);
pTransform1.SetScaleStopY(750);


LinearAxis baraxis = new LinearAxis(pTransform1, ChartObj.Y_AXIS);
chartVu.AddChartObject(baraxis);



Quinn-Curtis Forums © 2000-2018 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07