Movatterモバイル変換


[0]ホーム

URL:


Components / Charts / API / ChartXAxisItemProps
New to Kendo UI for Vue? Start a free 30-day trial

ChartXAxisItemProps

Updated over 6 months ago

Represents the props of the Kendo UI for Vue ChartXAxisItem component (see example).

NameTypeDefaultDescription

axisCrossingValue?

any

  • (Only for objects) The value at which the Y axis crosses this axis.
  • (Only for arrays) The value indices at which the y axes cross the value axis.
  • (Only for dates) The date at which the Y axis crosses this axis.

To denote the far end of the axis, set a value that is greater than or equal to the axis maximum value.

background?

string

The background color of the axis.

baseUnit?

string

The base time interval for the axis labels. The defaultbaseUnit is automatically determined from the value range.

The available options are:

  • milliseconds
  • seconds
  • minutes
  • hours
  • days
  • weeks
  • months
  • years

categories?

any[]

The category names. Applicable for charts with X and Y category axes.

color?

string

The color of the axis. Accepts a valid CSS color string, including hex and rgb.

crosshair?

XAxisCrosshair

The configuration options of the crosshair. The crosshair is displayed when thexAxis.crosshair.visible option is set totrue.

labels?

XAxisLabels

The axis labels configuration.

line?

AxisLine

The configuration of the axis lines. Also affects the major and minor ticks, but not the grid lines.

majorGridLines?

GridLines

The configuration of the major grid lines. These are the lines that are an extension of the major ticks through the body of the Chart.

majorTicks?

AxisTicks

The configuration of the Scatter Chart X-axis major ticks.

majorUnit?

number

The interval between major divisions. If this is a date axis, the value represents the number ofxAxis.baseUnits between major divisions. IfxAxis.type is set to"log", themajorUnit value is used for the base of the logarithm.

max?

any

The maximum value of the axis.

min?

any

The minimum value of the axis.

minorGridLines?

GridLines

The configuration of the minor grid lines. These are the lines that are an extension of the minor ticks through the body of the Chart.

minorTicks?

AxisTicks

The configuration of the X-axis minor ticks.

minorUnit?

number

The interval between minor divisions. It defaults to 1/5 of thexAxis.majorUnit. IfxAxis.type is set to"log", theminorUnit value represents the number of divisions between two major units and defaults to the major unit minus one.

name?

string

The unique axis name. Used to associate a series with a X axis by using theseries.xAxis option.

narrowRange?

boolean

If set totrue, the Chart prevents the automatic axis range from snapping to zero. Setting it tofalse forces the automatic axis range to snap to zero.

notes?

XAxisNotes

The X-axis notes configuration.

pane?

string

The name of the pane in which the axis has to be rendered. If not set, the axis is rendered in the first (default) pane.

plotBands?

PlotBand[]

The plot bands of the X axis.

reverse?

boolean

If set totrue, the value axis direction is reversed. By default, values increase from left to right and from bottom to top.

startAngle?

number

The angle (in degrees) where the zero value is placed. Angles increase counterclockwise and zero is to the right. Negative values are acceptable.

title?

XAxisTitle

The title configuration of the Scatter Chart X axis. To display the title, set thexAxis.title.text option.

type?

string

The axis type.

The supported values are:

  • "numeric"—Numeric axis.
  • "date"—Specialized axis for displaying chronological data.
  • "log"—Logarithmic axis.

If the series X value is of thedate type, the Chart automatically switches to a date axis. To avoid this behavior, set thetype.

visible?

boolean

If set totrue, the Chart displays the X axis. By default, the X axis is visible.

Not finding the help you need?
Contact Support

[8]ページ先頭

©2009-2025 Movatter.jp