亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? series.pas

?? 第三方控件:PaintGrid.pas 網格型儀表控件源文件 Mymeter.pas 圓型儀表控件源文件 Project1是這兩個控件的使用范例。 該
?? PAS
?? 第 1 頁 / 共 5 頁
字號:
{*********************************************}
{  TeeChart Standard Series Types             }
{  Copyright (c) 1995-2005 by David Berneda   }
{  All Rights Reserved                        }
{                                             }
{   TCustomSeries                             }
{     TLineSeries                             }
{      THorizLineSeries                       }
{     TAreaSeries                             }
{      THorizAreaSeries                       }
{     TPointSeries                            }
{   TCustomBarSeries                          }
{     TBarSeries                              }
{     THorizBarSeries                         }
{   TCircledSeries                            }
{     TPieSeries                              }
{   TFastLineSeries                           }
{                                             }
{*********************************************}
unit Series;
{$I TeeDefs.inc}

interface

{$IFDEF D9}
{$INLINE OFF}  // Enable or disable inlining in Delphi 9
{$ENDIF}

uses
  {$IFNDEF LINUX}
  Windows,
  {$ENDIF}
  {$IFDEF CLX}
  QGraphics, QForms, QTypes,
  {$ELSE}
  Graphics, Forms,
  {$ENDIF}
  {$IFDEF D9}
  Types,
  {$ENDIF}
  SysUtils, Classes, TeEngine, Chart, TeCanvas, TeeProcs;

const
  PiDegree : Double = Pi/180.0;
  Tee_PieShadowColor = TColor($A0A0A0);

type
  TCustomLineSeries=class(TChartSeries)
  protected
    Function GetLinePen:TChartPen;
  public
    property LinePen:TChartPen read GetLinePen write SetPen;
  end;

  TCustomSeries=class;

  TSeriesClickPointerEvent=Procedure( Sender:TCustomSeries;
                                      ValueIndex:Integer;
                                      X, Y: Integer) of object;

  TCustomSeriesStack=(cssNone, cssOverlap, cssStack, cssStack100);

  TOnGetPointerStyle=Function( Sender:TChartSeries;
                               ValueIndex:Integer):TSeriesPointerStyle of object;

  TCustomSeries=class(TCustomLineSeries)
  private
    FAreaBrush          : TChartBrush;
    FAreaColor          : TColor;
    FAreaLinesPen       : TChartPen;
    FClickableLine      : Boolean;
    FColorEachLine      : Boolean;
    FDark3D             : Boolean;
    FDrawArea           : Boolean;
    FDrawLine           : Boolean;
    FInvertedStairs     : Boolean;
    FLineHeight         : Integer;
    FOutLine            : TChartHiddenPen;
    FPointer            : TSeriesPointer;
    FShadow             : TTeeShadow;  // 7.0
    FStacked            : TCustomSeriesStack;
    FStairs             : Boolean;
    FTransparency       : TTeeTransparency;

    { events }
    FOnClickPointer     : TSeriesClickPointerEvent;
    FOnGetPointerStyle  : TOnGetPointerStyle;

    { internal }
    BottomPos      : Integer;
    OldBottomPos   : Integer;
    OldX           : Integer;
    OldY           : Integer;
    OldColor       : TColor;
    tmpDark3DRatio : Double;

    Function CalcStackedPos(ValueIndex:Integer; Value:Double):Integer;
    Function GetAreaBrush:TBrushStyle;
    Function GetLineBrush:TBrushStyle;
    Procedure InternalCalcMargin(SameSide,Horizontal:Boolean; var A,B:Integer);
    Function PointOrigin(ValueIndex:Integer; SumAll:Boolean):Double;

    Procedure SetAreaBrush(Value:TChartBrush);
    Procedure SetAreaBrushStyle(Value:TBrushStyle);
    Procedure SetAreaColor(Value:TColor);
    Procedure SetAreaLinesPen(Value:TChartPen);
    procedure SetColorEachLine(const Value: Boolean);
    Procedure SetDark3D(Value:Boolean);
    Procedure SetDrawArea(Value:Boolean);
    Procedure SetGradient(Value:TChartGradient);
    Procedure SetInvertedStairs(Value:Boolean);
    Procedure SetLineBrush(Value:TBrushStyle);
    Procedure SetLineHeight(Value:Integer);
    procedure SetOutLine(const Value: TChartHiddenPen);
    Procedure SetPointer(Value:TSeriesPointer);
    Procedure SetShadow(Value:TTeeShadow);
    Procedure SetStacked(Value:TCustomSeriesStack);
    Procedure SetStairs(Value:Boolean);
  protected
    FGradient : TChartGradient;

    Procedure CalcHorizMargins(Var LeftMargin,RightMargin:Integer); override;
    Function CalcMarkLength:Integer; virtual;
    Procedure CalcVerticalMargins(Var TopMargin,BottomMargin:Integer); override;
    Procedure CalcZOrder; override;

    Function ClickedPointer( ValueIndex,tmpX,tmpY:Integer;
                             x,y:Integer):Boolean; virtual;

    function DoGetPointerStyle(ValueIndex:Integer):TSeriesPointerStyle;

    Procedure DrawAllValues; override; { 5.02 }
    Procedure DrawLegendShape(ValueIndex:Integer; Const Rect:TRect); override;
    Procedure DrawMark( ValueIndex:Integer; Const St:String;
                        APosition:TSeriesMarkPosition); override;
    Procedure DrawPointer(AX,AY:Integer; AColor:TColor; ValueIndex:Integer); dynamic;
    procedure DrawValue(ValueIndex:Integer); override;

    Function GetAreaBrushColor(AColor:TColor):TColor;
    class Function GetEditorClass:String; override;
    Function GetGradient:TChartGradient; virtual;
    Function GetTransparency:TTeeTransparency; virtual;
    procedure SetTransparency(const Value: TTeeTransparency); virtual;

    property Gradient:TChartGradient read GetGradient write SetGradient; { 5.03 }

    procedure LinePrepareCanvas(tmpCanvas:TCanvas3D; tmpColor:TColor);
    procedure PreparePointer(ValueIndex:Integer); virtual;
    Procedure SetParentChart(Const Value:TCustomAxisPanel); override;

    property Stacked:TCustomSeriesStack read FStacked write SetStacked default cssNone;
    property Transparency:TTeeTransparency read GetTransparency write SetTransparency default 0;
  public
    Constructor Create(AOwner: TComponent); override;
    Destructor Destroy; override;

    Procedure Assign(Source:TPersistent); override;
    Function CalcXPos(ValueIndex:Integer):Integer; override;
    Function CalcYPos(ValueIndex:Integer):Integer; override;
    Function Clicked(x,y:Integer):Integer; override;
    Function GetOriginPos(ValueIndex:Integer):Integer; virtual;
    Function MaxXValue:Double; override;
    Function MinXValue:Double; override;
    Function MaxYValue:Double; override;
    Function MinYValue:Double; override;

    property AreaBrush:TBrushStyle read GetAreaBrush write SetAreaBrushStyle
                                        default bsSolid;
    property AreaChartBrush:TChartBrush read FAreaBrush write SetAreaBrush;
    property AreaColor:TColor read FAreaColor write SetAreaColor default clTeeColor;
    property AreaLinesPen:TChartPen read FAreaLinesPen write SetAreaLinesPen;
    property ClickableLine:Boolean read FClickableLine write FClickableLine default True;
    property ColorEachLine:Boolean read FColorEachLine write SetColorEachLine default True;
    property Dark3D:Boolean read FDark3D write SetDark3D default True;
    property DrawArea:Boolean read FDrawArea write SetDrawArea default False;
    property InvertedStairs:Boolean read FInvertedStairs write SetInvertedStairs default False;
    property LineBrush:TBrushStyle read GetLineBrush write SetLineBrush default bsSolid;
    property LineHeight:Integer read FLineHeight write SetLineHeight default 0;
    property OutLine:TChartHiddenPen read FOutLine write SetOutLine;
    property Pointer:TSeriesPointer read FPointer write SetPointer;
    property Shadow:TTeeShadow read FShadow write SetShadow;  // 7.0
    property Stairs:Boolean read FStairs write SetStairs default False;

    { events }
    property OnClickPointer:TSeriesClickPointerEvent read FOnClickPointer
                                                     write FOnClickPointer;
  published
    { events }
    property OnGetPointerStyle:TOnGetPointerStyle read FOnGetPointerStyle
                                                  write FOnGetPointerStyle;
  end;

  TLineSeries=Class(TCustomSeries)
  protected
    class Procedure CreateSubGallery(AddSubChart:TChartSubGalleryProc); override;
    Procedure PrepareLegendCanvas( ValueIndex:Integer; Var BackColor:TColor;
                                   Var BrushStyle:TBrushStyle); override;
    class Procedure SetSubGallery(ASeries:TChartSeries; Index:Integer); override;
  public
    Constructor Create(AOwner: TComponent); override;
    Procedure Assign(Source:TPersistent); override;
  published
    property Active;
    property ColorEachLine;
    property ColorEachPoint;
    property ColorSource;
    property Cursor;
    property Depth;
    property HorizAxis;
    property Marks;
    property ParentChart;
    property DataSource;  { after parentchart }
    property PercentFormat;
    property SeriesColor;
    property Shadow; // 7.02
    property ShowInLegend;
    property Stacked;
    property Title;
    property ValueFormat;
    property VertAxis;
    property XLabelsSource;

    { events }
    property AfterDrawValues;
    property BeforeDrawValues;
    property OnAfterAdd;
    property OnBeforeAdd;
    property OnClearValues;
    property OnClick;
    property OnDblClick;
    property OnGetMarkText;
    property OnMouseEnter;
    property OnMouseLeave;

    property Brush;
    property ClickableLine;
    property Dark3D;
    property InvertedStairs;
    property LineBrush;
    property LineHeight;
    property LinePen;
    property OutLine; { 5.02 }
    property Pointer;
    property Stairs;
    property XValues;
    property YValues;
  end;

  THorizLineSeries=class(TLineSeries)
  protected
    Function CalcMarkLength:Integer; override;
    Procedure DrawMark( ValueIndex:Integer; Const St:String;
                        APosition:TSeriesMarkPosition); override;
  public
    Constructor Create(AOwner: TComponent); override;
  end;

  TPointSeries=Class(TCustomSeries)
  private
    Procedure SetFixed;
  protected
    class Function CanDoExtra:Boolean; virtual;
    class Procedure CreateSubGallery(AddSubChart:TChartSubGalleryProc); override;
    class Function GetEditorClass:String; override;
    Function GetTransparency:TTeeTransparency; override;
    Procedure PrepareForGallery(IsEnabled:Boolean); override;
    Procedure SetColorEachPoint(Value:Boolean); override;
    class Procedure SetSubGallery(ASeries:TChartSeries; Index:Integer); override;
    procedure SetTransparency(const Value: TTeeTransparency); override;  // 7.0
  public
    Constructor Create(AOwner: TComponent); override;
    Procedure Assign(Source:TPersistent); override;
  published
    property Active;
    property ColorEachPoint;
    property ColorSource;
    property Cursor;
    property Depth;
    property HorizAxis;
    property Marks;
    property ParentChart;
    property DataSource;  { after parentchart }
    property PercentFormat;
    property SeriesColor;
    property ShowInLegend;
    property Stacked;
    property Title;
    property ValueFormat;
    property VertAxis;
    property XLabelsSource;

    { events }
    property AfterDrawValues;
    property BeforeDrawValues;
    property OnAfterAdd;
    property OnBeforeAdd;
    property OnClearValues;
    property OnClick;
    property OnDblClick;
    property OnGetMarkText;
    property OnMouseEnter;
    property OnMouseLeave;

    // Published inherited properties
    property ClickableLine;
    property Pointer;
    property Transparency;
    property XValues;
    property YValues;

    { events }
    property OnClickPointer;
  end;

  TMultiArea=(maNone,maStacked,maStacked100);

  TAreaSeries=Class(TCustomSeries)
  private
    FUseOrigin : Boolean;
    FOrigin    : Double;
    Function GetMultiArea:TMultiArea;
    Procedure SetMultiArea(Value:TMultiArea);
    Procedure SetOrigin(Const Value:Double);
    Procedure SetUseOrigin(Value:Boolean);
  protected
    class Procedure CreateSubGallery(AddSubChart:TChartSubGalleryProc); override;
    Procedure DrawLegendShape(ValueIndex:Integer; Const Rect:TRect); override; // 5.03
    class Function GetEditorClass:String; override;
    Procedure PrepareForGallery(IsEnabled:Boolean); override;
    Procedure PrepareLegendCanvas( ValueIndex:Integer; Var BackColor:TColor;
                                   Var BrushStyle:TBrushStyle); override;
    class Procedure SetSubGallery(ASeries:TChartSeries; Index:Integer); override;
  public
    Constructor Create(AOwner: TComponent); override;
    Procedure Assign(Source:TPersistent); override;
    Function DrawSeriesForward(ValueIndex:Integer):Boolean; override;
    Function GetOriginPos(ValueIndex:Integer):Integer; override;
    Function MaxXValue:Double; override;
    Function MinXValue:Double; override;
    Function MaxYValue:Double; override;
    Function MinYValue:Double; override;
  published
    property Active;
    property ColorEachLine;
    property ColorEachPoint;
    property ColorSource;
    property Cursor;
    property Depth;
    property Gradient; { 5.03 }
    property HorizAxis;
    property Marks;
    property ParentChart;
    property DataSource;  { after parentchart }
    property PercentFormat;
    property SeriesColor;
    property ShowInLegend;
    property Title;
    property ValueFormat;
    property VertAxis;
    property XLabelsSource;

    { events }
    property AfterDrawValues;
    property BeforeDrawValues;
    property OnAfterAdd;
    property OnBeforeAdd;
    property OnClearValues;
    property OnClick;
    property OnDblClick;
    property OnGetMarkText;
    property OnMouseEnter;
    property OnMouseLeave;

    property AreaBrush;
    property AreaChartBrush;
    property AreaColor;
    property AreaLinesPen;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲成人你懂的| 亚洲欧美激情在线| 在线中文字幕一区二区| 奇米色一区二区| 综合久久久久久久| 日韩免费高清电影| 欧美这里有精品| 成人午夜电影久久影院| 日本va欧美va瓶| 午夜精品成人在线视频| 国产日韩欧美精品综合| 欧美高清一级片在线| 91蜜桃视频在线| 国产精品一二一区| 免费观看成人鲁鲁鲁鲁鲁视频| 一区二区三区在线看| 国产精品色一区二区三区| 欧美大片一区二区| 欧美挠脚心视频网站| 色播五月激情综合网| 成人黄色小视频| 国产精品一区二区在线观看不卡 | 久久综合色播五月| 欧美日韩日日夜夜| 一本在线高清不卡dvd| 粉嫩蜜臀av国产精品网站| 久久国产精品99久久人人澡| 午夜免费久久看| 亚洲小少妇裸体bbw| 亚洲欧美日韩综合aⅴ视频| 国产精品久久久久四虎| 久久久久国产免费免费| www国产亚洲精品久久麻豆| 欧美大片一区二区| 欧美mv日韩mv国产网站| 欧美电视剧在线观看完整版| 欧美一区二区国产| 欧美一级一区二区| 欧美一级高清片在线观看| 91精品国产乱码久久蜜臀| 欧美精品123区| 欧美一区国产二区| 日韩三级精品电影久久久 | 国内成人免费视频| 麻豆精品一区二区综合av| 免费成人性网站| 国产麻豆精品在线| 成人丝袜高跟foot| 99re8在线精品视频免费播放| av电影在线观看一区| 91网址在线看| 欧美影片第一页| 日韩一级片网站| 久久综合久久99| 国产精品毛片大码女人| 久久久www成人免费无遮挡大片| 久久久五月婷婷| 中文字幕永久在线不卡| 亚洲卡通欧美制服中文| 亚洲国产精品自拍| 免费精品99久久国产综合精品| 婷婷综合另类小说色区| 污片在线观看一区二区| 美女脱光内衣内裤视频久久影院| 黑人巨大精品欧美黑白配亚洲| 高清不卡在线观看| 色婷婷国产精品| 日韩一级免费一区| 国产精品久久久久久久久搜平片| 伊人婷婷欧美激情| 久久国产视频网| 成人激情动漫在线观看| 色欧美片视频在线观看| 欧美一区二区三区日韩视频| 777色狠狠一区二区三区| bt欧美亚洲午夜电影天堂| 99国产精品一区| 成人理论电影网| 欧美精品777| 欧美大胆人体bbbb| 亚洲人精品午夜| 麻豆精品一区二区| 97久久精品人人做人人爽| 在线电影欧美成精品| 中文字幕免费不卡| 日精品一区二区| 国产99久久久国产精品| 欧美精品一级二级| 国产精品毛片久久久久久| 免费av成人在线| 91视频一区二区三区| 精品av综合导航| 亚洲国产日产av| 国产成人精品影院| 欧美电影在线免费观看| 亚洲欧美自拍偷拍| 狠狠色丁香久久婷婷综合丁香| 欧美午夜影院一区| 中国色在线观看另类| 蜜芽一区二区三区| 欧美体内she精视频| 国产精品美女视频| 韩国一区二区在线观看| 欧美日韩国产高清一区二区| 国产精品的网站| 国产一区二区免费视频| 91精品国产91久久久久久一区二区| 欧美国产日韩亚洲一区| 天堂va蜜桃一区二区三区漫画版| 99精品视频中文字幕| 国产日韩欧美高清| 精品亚洲成a人| 91精品国产乱| 日韩av一级电影| 日日摸夜夜添夜夜添精品视频 | 高清不卡在线观看av| 国产传媒日韩欧美成人| 亚洲成人免费在线观看| 极品少妇xxxx精品少妇| 制服.丝袜.亚洲.中文.综合| 亚洲人成在线播放网站岛国| 性感美女极品91精品| 日本国产一区二区| 欧美精品123区| 一区二区免费看| 99在线精品一区二区三区| 国产精品视频一二三| 国产精品自产自拍| 久久久久九九视频| 国产精品白丝jk白祙喷水网站| 精品国产一区二区在线观看| 亚洲国产另类精品专区| 欧美日韩视频在线第一区| 亚洲gay无套男同| 欧美日韩中文字幕一区二区| 亚洲午夜电影在线| 欧美影院一区二区三区| 亚洲在线免费播放| 欧美日韩国产一级二级| 首页综合国产亚洲丝袜| 欧美一区二区日韩| 青青青爽久久午夜综合久久午夜| 91精品国产91久久综合桃花| 五月天久久比比资源色| 日韩欧美区一区二| 国产在线精品国自产拍免费| 久久久国产综合精品女国产盗摄| 成人综合婷婷国产精品久久免费| 中文字幕第一区综合| 色悠悠亚洲一区二区| 亚洲午夜一区二区| 6080日韩午夜伦伦午夜伦| 蜜桃av一区二区在线观看| 26uuu国产日韩综合| 国产suv精品一区二区883| 中文字幕在线观看不卡| 欧美在线视频全部完| 日韩电影在线观看一区| 精品成人一区二区| 国产69精品久久久久毛片| 亚洲免费观看高清完整版在线观看 | 亚洲精品一区二区三区精华液| 国产一区二区久久| 国产精品欧美经典| 91久久久免费一区二区| 五月天激情综合| 日韩视频123| 成人h动漫精品一区二| 亚洲欧美区自拍先锋| 欧美一区二区免费视频| 懂色中文一区二区在线播放| 亚洲最新视频在线观看| 精品久久久久久久一区二区蜜臀| 成人h动漫精品一区二区| 日韩精品欧美精品| 国产欧美综合在线观看第十页| 在线一区二区三区四区五区| 久久99久久精品| 亚洲欧美电影院| 日韩三级电影网址| 99久久国产综合色|国产精品| 首页综合国产亚洲丝袜| 中文字幕一区二区三区av| 91麻豆精品国产91久久久使用方法 | 91麻豆蜜桃一区二区三区| 天天综合色天天综合| 中文字幕久久午夜不卡| 欧美电影影音先锋| 91麻豆国产香蕉久久精品| 日韩av网站在线观看| 中文字幕一区日韩精品欧美| 日韩一级在线观看| 欧洲亚洲精品在线| 丁香啪啪综合成人亚洲小说| 日韩精品成人一区二区在线| 成人免费在线视频| 久久综合资源网| 欧美一级夜夜爽| 日本精品裸体写真集在线观看| 国产精品99久|