在Tchar控件的series页面中的point下有一个属性是STYLE,用来控制界面上点的形状,比如三角形或者正方形等等,可是在程序里面如何去动态该它呢?我找了几天也没有找到,帮帮我吧!给我一条语句

解决方案 »

  1.   

    Applies toTSeriesPointer componentDeclaration
    procedure ChangeStyle(NewStyle : TSeriesPointerStyle);
    Description
    The ChangeStyle method modifies the Pointer style without forcing the Chart to repaint.
    This is equivalent to use the TSeriesPointer.Style property except it doesn't calls the Repaint method.是不是这个》
      

  2.   

    Declaration
    TSeriesPointerStyle = (psRectangle, psCircle, psTriangle, psDownTriangle, psCross, psDiagCross, psStar, psDiamond, psSmallDot);
    Description
    TSeriesPointerStyle defines the possible values of the TSeriesPointer.Style property. This is the shape a Pointer has.psRectangle
    psCircle
    psTriangle
    psDownTriangle
    psCross
    psDiagCross
    psStarYou can change the pointer Style both at design and runtime: PointSeries1.Pointer.Style := psTriangle ;