/* Copyright (C) 2008 Webyog Softworks Private Limited This file is a part of Visifire Charts. Visifire is a free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. You should have received a copy of the GNU General Public License along with Visifire Charts. If not, see . If GPL is not suitable for your products or company, Webyog provides Visifire under a flexible commercial license designed to meet your specific usage and distribution requirements. If you have already obtained a commercial license from Webyog, you can use this file under those license terms. */ namespace Visifire.Charts { /// /// Modes of selection /// public enum SelectionModes { Single = 0, Multiple = 1 } /// /// Axis types of a series /// public enum ChartValueTypes { Auto = 0, Numeric = 1, Date = 2, DateTime = 3, Time = 4 } /// /// Specifies an interval type. /// /// Preview public enum IntervalTypes { /// /// Automatically determined by the ISeriesHost control. /// Auto = 0, /// /// The interval type is numerical. /// Number = 1, /// /// The interval type is years. /// Years = 2, /// /// The interval type is months. /// Months = 3, /// /// The interval type is weeks. /// Weeks = 4, /// /// The interval type is days. /// Days = 5, /// /// The interval type is hours. /// Hours = 6, /// /// The interval type is minutes. /// Minutes = 7, /// /// The interval type is seconds. /// Seconds = 8, /// /// The interval type is milliseconds. /// Milliseconds = 9, } /// /// Defines the type of the axis /// public enum AxisTypes { Primary = 0, Secondary = 1 } /// /// Defines relative placement type for the axis elements /// internal enum PlacementTypes { Top = 0, Left = 1, Right = 2, Bottom = 3 } /// /// Defines enum for use with axis manager /// internal enum MantissaOrExponent { Mantissa = 1, Exponent = 2 } /// /// This property is used to select the chart type /// public enum RenderAs { Column = 0, Line = 1, Pie = 2, Bar = 3, Area = 4, Doughnut = 5, StackedColumn = 6, StackedColumn100 = 7, StackedBar = 8, StackedBar100 = 9, StackedArea = 10, StackedArea100 = 11, Bubble = 12, Point = 13, StreamLineFunnel = 14, SectionFunnel = 15, Stock = 16, CandleStick = 17 } /// /// Styles for labels /// public enum LabelStyles { OutSide = 0, Inside = 1 } /// /// Styles for line /// public enum LineStyles { Solid = 0, Dashed = 1, Dotted = 2 } /// /// Defines the various chart orientations /// internal enum ChartOrientationType { Undefined = 0, // Undefined - not yet assigned Vertical = 1, // Vertical - charts of type point, bubble line, column(all similar types), area(all similar types) Horizontal = 2, // Horizontal - charts of type bar(all similar types) NoAxis = 3 // NoAxis - charts of type pie or doughnut } /// /// Axis representations as X wise or Y wise /// internal enum AxisRepresentations { AxisX = 0, AxisY = 1 }; /// /// Visifire elements /// public enum Elements { Chart = 0, Title = 1, DataSeries = 2, DataPoint = 3, AxisX = 4, AxisY = 5, Legend = 6 } /// /// Layout of legends /// public enum Layouts { FlowLayout = 0, Gridlayout = 1 } } namespace Visifire.Commons { /// /// Href target window types /// public enum HrefTargets { _self = 0, _blank = 1, _media = 2, _parent = 3, _search = 4, _top = 5 } /// /// Types of marker /// public enum MarkerTypes { Circle = 0, Square = 1, Triangle = 2, Cross = 3, Diamond = 4, Line = 5 } /// /// Style of border /// public enum BorderStyles { Solid = 0, Dashed = 1, Dotted = 2 } }