AxisScalling
01 Syntax
Microsoft.VisualBasic.Data.ChartPlots.Graphic.Axis.AxisScalling
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| CreateAxisTicks | 3 | |
| AxisExpression | 1 | AxisProvider |
| GetAxisValues | 2 | |
| __max | 1 | |
| GetAxisByTick | 2 |
03 Members
CreateAxisTicks(
DoubleRange, Int32, Int32, Double, Double, Double)Parameters
| Name | Type | Description |
|---|---|---|
range | DoubleRange | - |
ticks% | Int32 | - |
decimalDigits | Int32 | if the value range its max value is a very small positive number, then you should set this parameter to -1! |
w_steps# | Double | - |
w_min# | Double | - |
w_max# | Double | - |
CreateAxisTicks(
Double, Double, Int32, Int32, Double, Double, Double)An Algorithm for Creating and Selecting Graph Axes
http://austinclemens.com/blog/2016/01/09/an-algorithm-for-creating-a-graphs-axes/
Parameters
| Name | Type | Description |
|---|---|---|
ticks% | Double | - |
decimalDigits% | Double | - |
AxisExpression(
Double())Parameters
| Name | Type | Description |
|---|---|---|
ticks# | Double() | - |
GetAxisValues(
Double, Int32, Double, Double, Int32, Boolean)Remarks
- 0-10
- 0-100
- 0-1000
- 0-1E30
- 0-1E-30
- 0-1
- 0-0.1
Parameters
| Name | Type | Description |
|---|---|---|
max# | Double | - |
parts% | Int32 | - |
min# | Double | - |
absoluteScalling | Double | 这个主要是相对于min的计算而言的,当这个不为真的视乎,scalling函数会将较小的min值直接设置为0,反之不会 |
GetAxisValues(
DoubleRange, Int32, Boolean)Parameters
| Name | Type | Description |
|---|---|---|
range | DoubleRange | - |
ticks% | Int32 | - |
absoluteScalling | Boolean | 从最小值开始还是从零开始计算? |
__max(
Double, Double)Parameters
| Name | Type | Description |
|---|---|---|
max# | Double | 必须始终是正数 |
min# | Double | - |
CreateAxisTicks(
IEnumerable(Of Double), Int32, Int32)GetAxisByTick(
DoubleRange, Double)GetAxisByTick(
Double, Double, Double)