0
TChart에서 내 시리즈 포인트의 수평/수직 크기를 변경하고 싶습니다.TeeChart RAD Studio XE4 C++ Builder // Horizsize/VertSize 변경
수동 방식으로 변경할 수는 있지만 C++ 코드 자체에서는 변경할 수 없습니다.
TChart에서 내 시리즈 포인트의 수평/수직 크기를 변경하고 싶습니다.TeeChart RAD Studio XE4 C++ Builder // Horizsize/VertSize 변경
수동 방식으로 변경할 수는 있지만 C++ 코드 자체에서는 변경할 수 없습니다.
Pointer
하위 구성 요소 속성은 TLineSeries
클래스와 같은 특정 계열 유형 클래스에서만 사용할 수 있습니다.
적절한 계열 유형에 대한 시리즈 포인터를 먼저 캐스팅해야합니다. 표준 라인 차트
:
// TChart * pChart - pointer to your chart component.
// Cast to appropriate derived series-type.
TLineSeries* pLineSeries = dynamic_cast<TLineSeries*>(pChart->Series[index_of_series]);
// Now you can reach the Pointer sub-component property: pLineSeries->Pointer
// Seems like each individual point(TSeriesPointer) on the series can be accessed.
// Set Vertical size and Horizontal size:
pLineSeries->Pointer->operator [](index_of_point)->VertSize = 5;
pLineSeries->Pointer->operator [](index_of_point)->HorizSize = 5;