Components
    • Animation
    • Barcodes
    • Buttons
    • Charts
    • Common Utilities
    • Conversational UI
    • Data Grid
    • Data Query
    • Data Tools
    • Date Inputs
    • Date Math
    • Dialogs
    • Drawing
    • Dropdowns
    • Editor
    • Excel Export
    • File Saver
    • Form
    • Gantt
    • Gauges
    • Indicators
    • Inputs
    • Labels
    • Layout
    • ListBox
    • ListView
    • Mapbeta
    • Notification
    • PDF Processing
    • PivotGrid
    • Popup
    • Progress Bars
    • Ripple
    • Scheduler
    • ScrollView
    • Sortable
    • TaskBoard
    • Tooltips
    • TreeList
    • TreeView
    • Upload
    Sample Applications
    Styling & Themes
    Common Features
    Project Setup
    Changelog

ChartPaneDefaultsTitleProps

Represents the props of the KendoReact ChartPaneDefaultsTitle component (see example).

NameTypeDefaultDescription

background?

string

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

border?

Border

The border of the title.

color?

string

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

font?

string

The font style of the title.

margin?

number | Margin

The margin of the title. A numeric value sets all margins.

position?

"center" | "left" | "right"

The position of the title.

The supported values are:

  • "left"The axis title is positioned on the left (applicable to the horizontal axis).
  • "right"The axis title is positioned on the right (applicable to the horizontal axis).
  • "center"The axis title is positioned in the center.

visible?

boolean

If set to true, the Chart displays the pane title. By default, the pane title is visible.

Methods

visual

A function that can be used to create a custom visual for the title.

The available argument fields are:

  • textThe label text.
  • rectThe geometry Rect that defines where the visual has to be rendered.
  • senderThe Chart instance (might be undefined).
  • optionsThe label options.
  • createVisualA function that can be used to get the default visual.
Parameters

e

any

Returns

Element