Major Ticks and Minor Ticks
The Chart Library of KT.UI ASP.NET AJAX SDK provides a wide variety of chart elements building and modification tools, which allow users to construct mostly used chart elements and define them based on actual needs. This page demonstrates how to create simple chart ticks marks to x axis and y axis by using ASP.NET demo methods and codes to show the positions of item and the starting points of gridlines.
Tick marks on chart can be divided into two categories, vertical ticks and horizontal ticks, vertical ticks are displayed and controlled on x axis and horizontal ticks are marked and controlled by y aisx. Besides, according to the ticks' size, the ticks can be major ticks and minor ticks to display axes step values. With the help of chart ticks, users can view and read the chart more clearly. Ticks Properties
Like other elements have propertes setting options, KT.UI ASP.NET AJAX Chart components also offers rich chart ticks definition and feature tools. For instance, we provide the chart ticks visibility control to let users choose display or hide ticks; the ticks cap options to set ticks terminators' shape; color tool for changing ticks lines and caps; length item for setting ticks in pixels and PenStyle for ticks values as well as ticks width in pixels. You can read following instructions for all ticks' attributes to get detailed information.
Major and minor tick objects include the following properties:
Following ASP.NET sample codes are for all the ticks' properties. You can directly copy and paste them into your chart project to realize the ticks' customizations.
Layout
The layout modes of chart can be used to for chart appearance while the underlying data remains the same. The available LayoutMode values of KT.UI ASP.NET Chart library are Normal, Inside and Between.
Demo codes below show how to set chart layout mode in between form within ASP.NET application.
See Also
For C# users, please go to : setting tick properties using c#. In this page, we will introduce the details of how to set ticks properties in C# code. |
ASP.NET AJAX UI Controls ASP.NET AJAX Chart UI Control OverviewGetting StartedChart Element DiagramSeriesAxesLegendCaptionTick Data GridChart Type Bar ChartPoint ChartLine ChartPie ChartArea ChartGantt ChartBubble ChartBezier ChartSpline ChartSpline Area ChartCandle Chart Chart With StackedFull Stacked ChartFeatures Automatic LayoutAutomatic Text-wrappingScrollingEmpty ValuesScale BreakMultiline LabelsWise LabelsMarking AreasMultiple TypesInteractiveDrill DownShadowEdtingData Binding Array DataList DataDatabase DataXML DataChart Style Chart SkinASP.NET AJAX Grid UI Control |