Skip to content

Commit 2ee3109

Browse files
docs(htmlChart): add axis label position docs
1 parent 17f3aea commit 2ee3109

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

controls/htmlchart/server-side-programming/axes-configuration.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,23 @@ As of the Q3 2012 release, you can declare multiple y-axes in the **AdditionalYA
6565
| ------ | ------ |
6666
| **DataFormatString** |The format string that will form the labels' text. The **{0}** placeholder is used to denote the value of the tick.|
6767
| **Mirror** |A boolean property that indicates whether axes labels, ticks and title will be mirrored. Default value is false.|
68+
| **Position** |The position of the axis labels with relation to the current axis and the crossing axis. See **List 3** below for possible values and details.|
6869
| **RotationAngle** |The angle that is used for rotating the label. The zero mark is vertical and the positive direction is clockwise.|
6970
| **Skip** |The number of axes labels to be skipped.|
7071
| **Step** |The rendering step for axes labels - render every n-th label.|
7172
| **Visible** |Specifies whether the labels are rendered. **True** or **False** .|
7273

74+
>caption List 3: **[Axis].LabelsAppearance.Position** property values (`Telerik.Web.UI.HtmlChart.AxisLabelPosition` enum).
75+
76+
* **OnAxis** - the default value, the labels are rendered next to the axis.
77+
78+
* **Start** - the labels are rendered at the beginning of the crossing axis. For example, the x-axis labels will be rendered at the bottom (or the left) of the chart, depending on the chart type. Reverses when the crossing axis is `Reversed`.
79+
80+
* **End** - the labels are rendered at the end of the crossing axis. For example, the x-axis labels will be rendered at the top (or the right) of the chart, depending on the chart type. Reverses when the crossing axis is `Reversed`.
81+
82+
You can see its effect in the [Negative Values](https://demos.telerik.com/aspnet-ajax/htmlchart/examples/functionality/negativevalues/defaultcs.aspx) live demo.
83+
84+
7385
## Attribute Properties in [Axis] > LabelsAppearance > TextStyle
7486

7587
See [this article]({%slug htmlchart/appearance-and-styling/labels-and-titles-font-settings%}) for more information on text styles.

0 commit comments

Comments
 (0)