Rank: Member
Groups: Member
Joined: 4/15/2004(UTC) Posts: 2
|
Hello -- I'm evaluating FlashChart. We would like to use it to present Percentage values.
Is it possible to set the end point of an axis to a fixed value, such as 100? The default behavior seems to automatically select an end point value based on the data.
Thanks for your assistance.
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration Joined: 8/2/2003(UTC) Posts: 876
Thanks: 2 times Was thanked: 27 time(s) in 27 post(s)
|
Hello,
If you are sure that all your values are below 100 (as in case when you work with percents), you can specify NumAxisMajor property of FlashChart to 100. In this case FlashChart will set a step of axis to 100. If all values are below 100, the end point will be 100. If some value will be larger, say 101, end point will be 200, etc.
Besides of it you can consider using normalized charts...
|
|
|
|
Rank: Member
Groups: Member
Joined: 4/15/2004(UTC) Posts: 2
|
Thank you, that worked well. We'll be ordering shortly.
|
|
|
|
Rank: Member
Groups: Member
Joined: 5/6/2004(UTC) Posts: 2
|
I can't seem to find the NumAxisMajor property of FlashChart. Can you tell me more specifically where it is located? An example in C# would be great.
Thanks.
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration Joined: 8/2/2003(UTC) Posts: 876
Thanks: 2 times Was thanked: 27 time(s) in 27 post(s)
|
Correct name for this property is NumAxisMajorUnits, sorry for misprint. You can specify it either in design-time (Charting group, View -> NumAxisMajorUnits), or using this code: Code:FlashChart chart = new FlashChart ();
//...
chart.View.NumAxisMajorUnits = 100;
//...
Edited by user Monday, October 27, 2008 11:43:30 PM(UTC)
| Reason: Not specified
|
|
|
|
Forum Jump
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.