BarChart Control (demo)
The BarChart control enables you to render a bar chart from one or more series of values.Properties
Name | Description |
---|---|
BaseLineColor | A color of the base lines of the chart. |
CategoriesAxis | This is a required property. You need to provide a set of values for the category axis to create a bar chart |
CategoryAxisLineColor | A color of the category axis lines. |
ChartType | A type of bar charts including Column, StackedColumn, Bar, and StackedBar. |
ClientSeries | Provides a list of series to the client side. The Values property is required for designer experience support, because the editor always prevents providing values to the client side as ExtenderControlProperty at runtime. |
Series | A list of series. |
ValueAxisLineColor | A color of the value axis lines. |
ValueAxisLines | Interval size for the value axis line. The default is 9 |
Client properties
baseLineColorEnables you to set a color of the base lines of the chart.
Getter name: get_baseLineColor()
Setter name: set_baseLineColor(value)
categoriesAxis
This is a required property. You need to provide a set of values for the category axis to create a bar chart
Getter name: get_categoriesAxis()
Setter name: set_categoriesAxis(value)
categoryAxisLineColor
Enables you to set a color of the category axis lines.
Getter name: get_categoryAxisLineColor()
Setter name: set_categoryAxisLineColor(value)
chartHeight
Enables you to customize chart height.
Getter name: get_chartHeight()
Setter name: set_chartHeight(value)
chartTitle
Enables you to set the chart's title.
Getter name: get_chartTitle()
Setter name: set_chartTitle(value)
chartTitleColor
Enables you to set a font color of the chart title.
Getter name: get_chartTitleColor()
Setter name: set_chartTitleColor(value)
chartType
Enables you to render different types of bar charts including Column, StackedColumn, Bar, and StackedBar
Getter name: get_chartType()
Setter name: set_chartType(value)
chartWidth
Enables you to customize chart width.
Getter name: get_chartWidth()
Setter name: set_chartWidth(value)
clientSeries
A list of series.
Getter name: get_clientSeries()
Setter name: set_clientSeries(value)
theme
Enables you to control the appearance of the bar chart with a Cascading Style Sheet file
Getter name: get_theme()
Setter name: set_theme(value)
valueAxisLineColor
Enables you to set a color of the value axis lines.
Getter name: get_valueAxisLineColor()
Setter name: set_valueAxisLineColor(value)
valueAxisLines
Enables you to set interval size for a value axis line.
Getter name: get_valueAxisLines()
Setter name: set_valueAxisLines(value)