📄 istripchart.hpp
字号:
bool FDiscontinuousDataEnabled;
TiAutoScrollFirstStyle FAutoScrollFirstStyle;
Itypes::TiPrecisionStyle FPrecisionStyle;
bool FInterpolateMissingDataPoints;
bool FPrinterShowDialog;
int __fastcall GetLabelChannelCount(void);
int __fastcall GetChannelCount(void);
int __fastcall GetIndexCount(void);
AnsiString __fastcall GetChannelTitle(int Index);
Graphics::TColor __fastcall GetChannelColor(int Index);
Itypes::TiChannelLineStyle __fastcall GetChannelLineStyle(int Index);
int __fastcall GetChannelLineWidth(int Index);
bool __fastcall GetChannelVisible(int Index);
double __fastcall GetChannelData(int Channel, int Index);
bool __fastcall GetChannelUseFixedAxis(int Index);
double __fastcall GetIndexTime(int Index);
void __fastcall SetXAxisMax(const double Value);
void __fastcall SetXAxisMin(const double Value);
void __fastcall SetXAxisDateTimeEnabled(const bool Value);
void __fastcall SetXAxisDateTimeFormatString(const AnsiString Value);
void __fastcall SetXAxisTickMajorCount(const int Value);
void __fastcall SetXAxisTickMinorCount(const int Value);
void __fastcall SetYAxisMax(const double Value);
void __fastcall SetYAxisMin(const double Value);
void __fastcall SetYAxisTickMajorCount(const int Value);
void __fastcall SetYAxisTickMinorCount(const int Value);
void __fastcall SetXAxisLabelFont(const Graphics::TFont* Value);
void __fastcall SetXAxisLabelMargin(const int Value);
void __fastcall SetXAxisMargin(const int Value);
void __fastcall SetYAxisLabelFont(const Graphics::TFont* Value);
void __fastcall SetYAxisLabelMargin(const int Value);
void __fastcall SetYAxisMargin(const int Value);
void __fastcall SetXAxisTickMajorLength(const int Value);
void __fastcall SetXAxisTickMinorLength(const int Value);
void __fastcall SetYAxisTickMajorLength(const int Value);
void __fastcall SetYAxisTickMinorLength(const int Value);
void __fastcall SetXAxisLabelPrecision(const int Value);
void __fastcall SetYAxisLabelPrecision(const int Value);
void __fastcall SetOuterMarginBottom(const int Value);
void __fastcall SetOuterMarginLeft(const int Value);
void __fastcall SetOuterMarginRight(const int Value);
void __fastcall SetOuterMarginTop(const int Value);
void __fastcall SetXAxisTickMajorColor(const Graphics::TColor Value);
void __fastcall SetXAxisTickMinorColor(const Graphics::TColor Value);
void __fastcall SetYAxisTickMajorColor(const Graphics::TColor Value);
void __fastcall SetYAxisTickMinorColor(const Graphics::TColor Value);
void __fastcall SetAxisGridColor(const Graphics::TColor Value);
void __fastcall SetGridLineStyle(const Itypes::TiChannelLineStyle Value);
void __fastcall SetShowGrid(const bool Value);
void __fastcall SetShowLegend(const bool Value);
void __fastcall SetLegendWidth(const int Value);
void __fastcall SetLegendMargin(const int Value);
void __fastcall SetShowToolBar(const bool Value);
void __fastcall SetLegendFont(const Graphics::TFont* Value);
void __fastcall SetXAxisTitle(const AnsiString Value);
void __fastcall SetXAxisTitleFont(const Graphics::TFont* Value);
void __fastcall SetXAxisTitleMargin(const int Value);
void __fastcall SetYAxisTitle(const AnsiString Value);
void __fastcall SetYAxisTitleFont(const Graphics::TFont* Value);
void __fastcall SetYAxisTitleMargin(const int Value);
void __fastcall SetTitleText(const AnsiString Value);
void __fastcall SetTitleFont(const Graphics::TFont* Value);
void __fastcall SetTitleMargin(const int Value);
void __fastcall SetAutoScrollEnabled(const bool Value);
void __fastcall SetAutoScrollType(const TiAutoScroll Value);
void __fastcall SetAutoScrollStepSize(const double Value);
void __fastcall SetAutoScaleEnabled(const bool Value);
void __fastcall SetAutoScaleHysterisis(const double Value);
void __fastcall SetToolBarActiveModeFont(const Graphics::TFont* Value);
void __fastcall SetToolBarInactiveModeFont(const Graphics::TFont* Value);
void __fastcall SetToolBarMode(const TiStripChartMode Value);
void __fastcall SetCursorChannel(const int Value);
void __fastcall SetCursorColor(const Graphics::TColor Value);
void __fastcall SetCursorChannelBackGroundColor(const Graphics::TColor Value);
void __fastcall SetCursorChannelFontColor(const Graphics::TColor Value);
void __fastcall SetXAxisShow(const bool Value);
void __fastcall SetChannelColor(int Index, const Graphics::TColor Value);
void __fastcall SetChannelLineStyle(int Index, const Itypes::TiChannelLineStyle Value);
void __fastcall SetChannelTitle(int Index, const AnsiString Value);
void __fastcall SetChannelLineWidth(int Index, const int Value);
void __fastcall SetChannelVisible(int Index, const bool Value);
void __fastcall SetChannelData(int Channel, int Index, const double Value);
void __fastcall SetChannelUseFixedAxis(int Index, const bool Value);
void __fastcall SetGridBackGroundColor(const Graphics::TColor Value);
void __fastcall SetMaxBufferSize(const int Value);
void __fastcall SetMinBufferSize(const int Value);
void __fastcall SetCursorIndex(const int Value);
void __fastcall SetPrinterCommentLinesFont(const Graphics::TFont* Value);
void __fastcall SetCursorHideAllOtherChannels(const bool Value);
void __fastcall SetEnableDataDrawMinMax(const bool Value);
double __fastcall GetChannelMax(int Index);
double __fastcall GetChannelMean(int Index);
double __fastcall GetChannelMin(int Index);
Graphics::TPicture* __fastcall GetSnapShotPicture(void);
AnsiString __fastcall GetLabelChannelText(int Channel, int Index);
double __fastcall GetLabelYPosition(int Index);
AnsiString __fastcall GetLabelChannelFontName(int Index);
int __fastcall GetLabelChannelFontSize(int Index);
Graphics::TColor __fastcall GetLabelChannelFontColor(int Index);
bool __fastcall GetLabelChannelFontBold(int Index);
bool __fastcall GetLabelChannelFontItalic(int Index);
bool __fastcall GetLabelChannelFontUnderLine(int Index);
bool __fastcall GetLabelChannelFontStrikeOut(int Index);
void __fastcall SetLabelChannelText(int Channel, int Index, const AnsiString Value);
void __fastcall SetLabelYPosition(int Index, const double Value);
void __fastcall SetLabelChannelFontName(int Index, const AnsiString Value);
void __fastcall SetLabelChannelFontSize(int Index, const int Value);
void __fastcall SetLabelChannelFontColor(int Index, const Graphics::TColor Value);
void __fastcall SetLabelChannelFontBold(int Index, const bool Value);
void __fastcall SetLabelChannelFontItalic(int Index, const bool Value);
void __fastcall SetLabelChannelFontUnderLine(int Index, const bool Value);
void __fastcall SetLabelChannelFontStrikeOut(int Index, const bool Value);
void __fastcall SetChannelControlLimitUpperShow(int Index, const bool Value);
void __fastcall SetChannelControlLimitUpperValue(int Index, const double Value);
void __fastcall SetChannelControlLimitUpperColor(int Index, const Graphics::TColor Value);
void __fastcall SetChannelControlLimitUpperLineStyle(int Index, const Itypes::TiChannelLineStyle Value);
void __fastcall SetChannelControlLimitLowerShow(int Index, const bool Value);
void __fastcall SetChannelControlLimitLowerValue(int Index, const double Value);
void __fastcall SetChannelControlLimitLowerColor(int Index, const Graphics::TColor Value);
void __fastcall SetChannelControlLimitLowerLineStyle(int Index, const Itypes::TiChannelLineStyle Value);
void __fastcall SetChannelWarningLimitUpperShow(int Index, const bool Value);
void __fastcall SetChannelWarningLimitUpperValue(int Index, const double Value);
void __fastcall SetChannelWarningLimitUpperColor(int Index, const Graphics::TColor Value);
void __fastcall SetChannelWarningLimitUpperLineStyle(int Index, const Itypes::TiChannelLineStyle Value);
void __fastcall SetChannelWarningLimitLowerShow(int Index, const bool Value);
void __fastcall SetChannelWarningLimitLowerValue(int Index, const double Value);
void __fastcall SetChannelWarningLimitLowerColor(int Index, const Graphics::TColor Value);
void __fastcall SetChannelWarningLimitLowerLineStyle(int Index, const Itypes::TiChannelLineStyle Value);
bool __fastcall GetChannelControlLimitUpperShow(int Index);
double __fastcall GetChannelControlLimitUpperValue(int Index);
Graphics::TColor __fastcall GetChannelControlLimitUpperColor(int Index);
Itypes::TiChannelLineStyle __fastcall GetChannelControlLimitUpperLineStyle(int Index);
bool __fastcall GetChannelControlLimitLowerShow(int Index);
double __fastcall GetChannelControlLimitLowerValue(int Index);
Graphics::TColor __fastcall GetChannelControlLimitLowerColor(int Index);
Itypes::TiChannelLineStyle __fastcall GetChannelControlLimitLowerLineStyle(int Index);
bool __fastcall GetChannelWarningLimitUpperShow(int Index);
double __fastcall GetChannelWarningLimitUpperValue(int Index);
Graphics::TColor __fastcall GetChannelWarningLimitUpperColor(int Index);
Itypes::TiChannelLineStyle __fastcall GetChannelWarningLimitUpperLineStyle(int Index);
bool __fastcall GetChannelWarningLimitLowerShow(int Index);
double __fastcall GetChannelWarningLimitLowerValue(int Index);
Graphics::TColor __fastcall GetChannelWarningLimitLowerColor(int Index);
Itypes::TiChannelLineStyle __fastcall GetChannelWarningLimitLowerLineStyle(int Index);
void __fastcall SetAutoScaleMaxAdjustEnabled(const bool Value);
void __fastcall SetAutoScaleMinAdjustEnabled(const bool Value);
void __fastcall SetDiscontinuousDataEnabled(const bool Value);
void __fastcall SetPrecisionStyle(const Itypes::TiPrecisionStyle Value);
void __fastcall SetInterpolateMissingDataPoints(const bool Value);
void __fastcall SetYAxisShow(const bool Value);
bool __fastcall GetChannelVisibleInLegend(int Index);
void __fastcall SetChannelVisibleInLegend(int Index, const bool Value);
void __fastcall SetYAxisLabelWidth(const int Value);
void __fastcall SetYAxisLabelWidthFixed(const bool Value);
void __fastcall SetYAxisReverseScale(const bool Value);
int __fastcall GetChannelControlLimitLowerLineWidth(int Index);
int __fastcall GetChannelControlLimitUpperLineWidth(int Index);
int __fastcall GetChannelWarningLimitLowerLineWidth(int Index);
int __fastcall GetChannelWarningLimitUpperLineWidth(int Index);
void __fastcall SetChannelControlLimitLowerLineWidth(int Index, const int Value);
void __fastcall SetChannelControlLimitUpperLineWidth(int Index, const int Value);
void __fastcall SetChannelWarningLimitLowerLineWidth(int Index, const int Value);
void __fastcall SetChannelWarningLimitUpperLineWidth(int Index, const int Value);
double __fastcall GetAddYChannel1Now(void);
void __fastcall SetAddYChannel1Now(const double Value);
protected:
virtual void __fastcall iWantSpecialKey(Word &CharCode, int &Result);
virtual void __fastcall iKeyDown(Word &CharCode, Classes::TShiftState Shift);
virtual void __fastcall iMouseDown(Controls::TMouseButton Button, Classes::TShiftState Shift, int X, int Y);
virtual void __fastcall iMouseUp(Controls::TMouseButton Button, Classes::TShiftState Shift, int X, int Y);
virtual void __fastcall iMouseMove(Classes::TShiftState Shift, int X, int Y);
void __fastcall CalcPoints(void);
void __fastcall CalcCursorIndex(int X);
void __fastcall CalcNewStartXIndex(void);
void __fastcall CalcNewStopXIndex(void);
int __fastcall CalcIndex(double TargetValue);
virtual void __fastcall iPaintTo(Graphics::TCanvas* Canvas);
void __fastcall DrawXTicks(Graphics::TCanvas* Canvas);
void __fastcall DrawYTicks(Graphics::TCanvas* Canvas);
void __fastcall DrawLegend(Graphics::TCanvas* Canvas);
void __fastcall DrawTitle(Graphics::TCanvas* Canvas);
void __fastcall DrawXAxisLabels(Graphics::TCanvas* Canvas);
void __fastcall DrawModeLabels(Graphics::TCanvas* Canvas);
void __fastcall DrawData(Graphics::TCanvas* Canvas);
void __fastcall DrawLabels(Graphics::TCanvas* Canvas);
void __fastcall DrawClip(Graphics::TCanvas* Canvas);
void __fastcall DrawLimits(Graphics::TCanvas* Canvas);
void __fastcall DrawVertLines(Graphics::TCanvas* Canvas);
void __fastcall DrawAxisLines(Graphics::TCanvas* Canvas);
void __fastcall DrawGrid(Graphics::TCanvas* Canvas);
void __fastcall DrawGridBackGround(Graphics::TCanvas* Canvas);
void __fastcall DrawConnectPoints(Graphics::TCanvas* Canvas);
Iclasses::TiStripChartChannelObject* __fastcall GetChannel(int Index);
Iclasses::TiLabelChannelObject* __fastcall GetLabelChannel(int Index);
int __fastcall GetActualTimeIndex(int Value);
int __fastcall GetXPixels(double Value);
int __fastcall GetYPixels(double Value);
int __fastcall GetChannelYPixels(double Value, bool FixedAxis);
void __fastcall ScrollCursorInView(void);
int __fastcall GetXAxisDecimalPoints(void);
int __fastcall GetYAxisDecimalPoints(void);
int __fastcall GetToolBarButtonIndex(int X, int Y);
bool __fastcall ChannelColorInUse(Graphics::TColor Value);
virtual void __fastcall DefineProperties(Classes::TFiler* Filer);
bool __fastcall DoWriteChannels(void);
void __fastcall WriteChannels(Classes::TWriter* Writer);
void __fastcall ReadChannels(Classes::TReader* Reader);
void __fastcall WriteXAxisMax(Classes::TWriter* Writer);
void __fastcall ReadXAxisMax(Classes::TReader* Reader);
void __fastcall WriteYAxisMax(Classes::TWriter* Writer);
void __fastcall ReadYAxisMax(Classes::TReader* Reader);
void __fastcall DoAutoScroll(double Time);
void __fastcall DoModeChange(void);
void __fastcall DoDataUpdate(void);
void __fastcall DoCursorChange(void);
public:
__fastcall virtual TiStripChart(Classes::TComponent* AOwner);
__fastcall virtual ~TiStripChart(void);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -