nuget server logo nuget api documents
↑

API Docs / Microsoft.VisualBasic.Data.ChartPlots / AxisScalling

AxisScalling

Full name Microsoft.VisualBasic.Data.ChartPlots.Graphic.Axis.AxisScalling Assembly Microsoft.VisualBasic.Data.ChartPlots Members 9

01 Syntax

Microsoft.VisualBasic.Data.ChartPlots.Graphic.Axis.AxisScalling

02 Methods

NameOverloadsSummary
CreateAxisTicks 3
AxisExpression 1 AxisProvider
GetAxisValues 2
__max 1
GetAxisByTick 2

03 Members

method CreateAxisTicks #
CreateAxisTicks(DoubleRange, Int32, Int32, Double, Double, Double)
Parameters
NameTypeDescription
rangeDoubleRange

-

ticks%Int32

-

decimalDigitsInt32

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

-

method CreateAxisTicks overload 3 #
CreateAxisTicks(Double, Double, Int32, Int32, Double, Double, Double)
Parameters
NameTypeDescription
ticks%Double

-

decimalDigits%Double

-

method AxisExpression #
AxisExpression(Double())
Parameters
NameTypeDescription
ticks#Double()

-

method GetAxisValues overload 2 #
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
NameTypeDescription
max#Double

-

parts%Int32

-

min#Double

-

absoluteScallingDouble

这个主要是相对于min的计算而言的,当这个不为真的视乎,scalling函数会将较小的min值直接设置为0,反之不会

method GetAxisValues #
GetAxisValues(DoubleRange, Int32, Boolean)
Parameters
NameTypeDescription
rangeDoubleRange

-

ticks%Int32

-

absoluteScallingBoolean

从最小值开始还是从零开始计算?

method __max #
__max(Double, Double)
Parameters
NameTypeDescription
max#Double

必须始终是正数

min#Double

-

method CreateAxisTicks overload 2 #
CreateAxisTicks(IEnumerable(Of Double), Int32, Int32)
method GetAxisByTick #
GetAxisByTick(DoubleRange, Double)
method GetAxisByTick overload 2 #
GetAxisByTick(Double, Double, Double)