Interface for supplying read-only configurations for the Value Axis. These can only be specified when the chart is created.

 // Example, logarithmic value axis
const barChart = lightningChart().BarChart({
valueAxis: {
type: 'logarithmic',
base: 10
}
})

Hierarchy

  • BarChartValueAxisOptions

Properties

Properties

base?: number | "natural" | "e" | "E"

Specification of Logarithmic Base number (e.g. 10, 2, natural log).

Defaults to 10 if omitted.

Examples:

  • 10 | powers of ten (1, 10, 100, 1000, 10000, ...).
  • e | natural logarithm (1e, 2e, 3e, 4e, ...)

type must be set to 'logarithmic' for this to effect!

type?: "linear" | "logarithmic"

Type of Axis.

linear:

Default Axis type. Same behavior as type: undefined.

logarithmic:

Logarithmic Axis. By default base number will be 10.