skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Use Reports in Applications
    • System Requirements
    • Forums
    • Videos
    • Blogs
    • Submit a Ticket
    • FAQs
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now
Search all

Class DateTimeScale

A graph axis scale that displays dates in chronological order at specific intervals, or base units, even if the dates from the data source are not in order or in the same base units.

Inheritance
System.Object
Scale
DateTimeScale
Inherited Members
Scale.GetDefaultCrossAxisPosition(Boolean)
Scale.ToString()
Scale.Reversed
Scale.CrossAxisPosition
Scale.SpacingSlotCount
Namespace: Telerik.Reporting
Assembly: Telerik.Reporting.dll

Syntax

public class DateTimeScale : Scale

Constructors

DateTimeScale()

Declaration
public DateTimeScale()

Properties

BaseUnit

Gets or sets the base unit for the current DateTimeScale. The base unit defines the interval between the points on the axis. By default the base units are according to the smallest difference between any two dates in the data.

Declaration
public DateTimeScaleUnits BaseUnit { get; set; }
Property Value
DateTimeScaleUnits

CrossAxisPositions

Declaration
public DateTimeScaleCrossAxisPositionCollection CrossAxisPositions { get; }
Property Value
DateTimeScaleCrossAxisPositionCollection

CrossAxisValue

Applied when GraphScaleCrossAxisPosition is set to GraphAxisZeroValueMode.Specific. Zero value is where the other axis crosses the current axis.

Declaration
[Obsolete("The CrossAxisValue property is now obsolete. Please use the CrossAxisPositions property instead.")]
public DateTime CrossAxisValue { get; set; }
Property Value
System.DateTime

DataPointTicks

Gets or sets a value indicating weather to shows ticks and labels on the axis for every point in the data set instead of regular major ticks.

Declaration
public bool DataPointTicks { get; set; }
Property Value
System.Boolean

LabelStep

Gets or sets the step/interval between the labels. In conjunction with the LabelUnit property defines the interval between the labels on the axis, ex.: 1 day, 3 months, 1 year. The property is applied only when LabelUnit is set to a value other than Auto.

Declaration
public int LabelStep { get; set; }
Property Value
System.Int32

LabelUnit

Gets or sets the unit for the interval/step between the labels. In conjunction with the LabelStep property defines the interval between the labels on the axis, ex.: 1 day, 3 months, 1 year.

Declaration
public DateTimeScaleUnits LabelUnit { get; set; }
Property Value
DateTimeScaleUnits

MajorStep

Gets or sets the step/interval between the major ticks/grid lines. In conjunction with the MajorUnit property defines the interval between the major ticks and major grid lines, ex.: 1 day, 3 months, 1 year.

Declaration
public int MajorStep { get; set; }
Property Value
System.Int32

MajorUnit

Gets or sets the unit for the interval/step between the major ticks/grid lines. In conjunction with the MajorStep property defines the interval between the major ticks and major grid lines, ex.: 1 day, 3 months, 1 year.

Declaration
public DateTimeScaleUnits MajorUnit { get; set; }
Property Value
DateTimeScaleUnits

Maximum

Gets or sets the maximum value for the current axis.

Declaration
public DateTime? Maximum { get; set; }
Property Value
System.Nullable<System.DateTime>

A DateTime value that is the maximum value of the scale's range. The default value is null.

Remarks

When the Maximum property is set to null (Nothing in Visual Basic) then the maximum value of the scale's range is defined by the data. In case there are no data points available then the Maximum value is set according to System.DateTime.Now and the selected BaseUnit. In case the Maximum and Minimum values are set to an equal value, then their values are ignored.

Minimum

Gets or sets the minimum value for the current axis.

Declaration
public DateTime? Minimum { get; set; }
Property Value
System.Nullable<System.DateTime>

A DateTime value that is the minimum value of the scale's range. The default value is null.

Remarks

When the Minimum property is set to null (Nothing in Visual Basic) then the minimum value of the scale's range is defined by the data. In case there are no data points available then the Minimum value is set according to System.DateTime.Now and the selected BaseUnit. In case the Maximum and Minimum values are set to an equal value, then their values are ignored.

MinorStep

Gets or sets the step/interval for the minor ticks/grid lines. In conjunction with the MinorStep property defines the interval between the minor ticks and minor grid lines, ex.: 1 day, 3 months, 1 year.

Declaration
public int MinorStep { get; set; }
Property Value
System.Int32

MinorUnit

Gets or sets the unit for the interval/step between the minor ticks/grid lines. In conjunction with the MinorStep property defines the interval between the minor ticks and minor grid lines, ex.: 1 day, 3 months, 1 year.

Declaration
public DateTimeScaleUnits MinorUnit { get; set; }
Property Value
DateTimeScaleUnits

PositionMode

Declaration
public AxisPositionMode PositionMode { get; set; }
Property Value
AxisPositionMode

Getting Started
  • Install Now
  • Online Demos
Support Resources
  • Documentation
  • Knowledge Base
  • Videos
  • Reporting Samples Repository
  • Reporting Release History
Community
  • Forums
  • Blogs
  • Reporting Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.