ScalingSet can be used to dynamically add units to the axis label values.
Type: String
Namespace: Visifire.Charts
Assembly:
|
Silverlight: |
SLVisifire.Charts (in SLVisifire.Charts.dll) |
|
WPF: |
WPFVisifire.Charts (in WPFVisifire.Charts.dll) |
This attribute applies to:
Example 1:
Suppose you would like the AxisLabels to take KB, MB, GB depending on the YValue.
1024 = 1KB
1024K = 1MB
1024M = 1GB
The scale set string is: "1024,KB;1024,MB;1024,GB"
|
YValue |
After Scaling |
|
100 |
100 |
|
2048 |
2KB |
|
307200 |
300KB |
|
3145728 |
3MB |
|
734003200 |
700MB |
|
5368709120 |
5GB |
Syntax:
<vc:Chart ... >
<vc:Chart.AxesY>
<vc:Axis ScalingSet="1024,KB;1024,MB;1024,GB"/>
</vc:Chart.AxesY>
</vc:Chart>
Below is the chart after setting ScalingSet property in AxisY.
