Qt Charts 모듈 의 C++클래스 및 설명

5804 단어 Qt
상세 설명
아이콘 API 는 Qt 의 그래 픽 보기 프레임 위 에 세 워 져 있 습 니 다.그래프 는 QChart 를 사용 하여 QGraphics Widget 으로 표시 할 수 있다.그러나 QChartView 는 QWidget 을 기반 으로 한 편리 한 클래스 도 있다.이것 은 우리 로 하여 금 일반적인 Qt 작은 위 젯 을 사용 하 는 것 처럼 Qt Charts(도표)를 빠르게 사용 할 수 있 게 한다.
각 도표 유형 은 QAbstract Series 파생 클래스 로 표 시 됩 니 다.도 표를 만 들 려 면 사용 자 는 일련의 인 스 턴 스 를 사용 하여 QChart 인 스 턴 스 에 추가 해 야 합 니 다.
예제 코드 는 다음 과 같다.
  QLineSeries* series = new QLineSeries();
  series->add(0, 6);
  series->add(2, 4);
  ...
  chartView->chart()->addSeries(series);
  chartView->chart()->createDefaultAxes();

Qt Charts C++Classes(Qt 도표 모듈 의 C++클래스)
유명무실 하 다
영어 설명
중국어 설명
QAreaSeries
Presents data in area charts
영역 도(면적 도)에 데 이 터 를 표시 합 니 다.                                                                      
QBarCategoryAxis
Adds categories to a chart's axes
도표 의 좌표 축 에 분 류 를 추가 합 니 다.
QCategoryAxis
Places named ranges on the axis
좌표 축 에 이름 을 붙 인 범위
QDateTimeAxis
Adds dates and times to a chart's axis
도표 의 좌표 축 에 시간 과 기한 내 에 추가 합 니 다.
QLogValueAxis
Adds a logarithmic scale to a chart's axis
좌표 축 에 로그 눈금 추가
QAbstractAxis
Base class used for specialized axis classes
특정 좌표 축 류 의 기본 클래스
QValueAxis
Adds values to a chart's axes
도표 좌표 축 에 값 추가
QHorizontalBarSeries
Presents a series of data as horizontal bars grouped by category
일련의 데 이 터 를 분류 별로 나 누 는 수평 막대 그래프 로 표시 합 니 다.
QHorizontalPercentBarSeries
Presents a series of categorized data as a percentage of each category
일련의 분류 데이터 의 비율 을 제공 합 니 다(수평 방향 으로 이 비율 표시 줄 을 보 여 줍 니 다)
QHorizontalStackedBarSeries
Presents a series of data as horizontally stacked bars, with one bar per category
클래스 마다 수평 표시 줄 이 있 는 일련의 데 이 터 를 수평 중첩 표시 줄 로 표시 합 니 다.
QAbstractBarSeries
Abstract parent class for all bar series classes
모든 막대 그래프 계열 의 추상 적 인 부류
QBarSet
Represents one set of bars in a bar chart
막대 그래프 의 막대 그래프 를 대표 합 니 다.
QHBarModelMapper
Horizontal model mapper for bar series
막대 그래프 시리즈 의 수평 모형 매 핑 기
QVBarModelMapper
Vertical model mapper for bar series
막대 그래프 시리즈 의 수직 모형 매 핑 기
QBarSeries
Presents a series of data as vertical bars grouped by category
일련의 데 이 터 를 분류 별로 나 누 어 표시 하 는 수직 막대 그래프
QPercentBarSeries
Presents a series of categorized data as a percentage of each category
일련의 분류 데이터 의 비율 을 제공 합 니 다.
QStackedBarSeries
Presents a series of data as vertically stacked bars, with one bar per category
일련의 데 이 터 를 수직 으로 쌓 아 올 리 는 표시 줄 로 하고 시리즈 마다 작은 마디(표시 줄)가 있 습 니 다.
QBoxPlotSeries
Presents data in box-and-whiskers charts
상자 수염 그림 으로 데 이 터 를 표시 합 니 다.
QBoxSet
Represents one item in a box-and-whiskers chart
상자 수염 그림 의 한 항목 을 표시 합 니 다.
QHBoxPlotModelMapper
Horizontal model mapper for box plot series
상자 수염 그림 의 수평 모형 매 핑 기
QVBoxPlotModelMapper
Vertical model mapper for box plot series
상자 수염 그림 시리즈 의 수직 모형 매 핑 기
QCandlestickModelMapper
Abstract model mapper class for candlestick series
촛대 그림 시리즈 의 추상 적 인 모형 매 핑 기
QCandlestickSeries
Presents data as candlesticks
촛대 그림 으로 데 이 터 를 표시 하 다.
QCandlestickSet
Represents a single candlestick item in a candlestick chart
촛대 그림 의 단일 촛대 항목 표시
QHCandlestickModelMapper
Horizontal model mapper for a candlestick series
촛대 도표 시리즈 의 수평 모형 매 핑 기
QVCandlestickModelMapper
Vertical model mapper for a candlestick series
촛대 도표 시리즈 의 수직 모형 매 핑 기
QAreaLegendMarker
Legend marker for an area series
면적 도(영역 도)시리즈 의 그림 표시
QBarLegendMarker
Legend marker for a bar series
막대 그래프 시리즈 의 그림 표시
QBoxPlotLegendMarker
Legend marker for a box plot series
상자 형 그림 시리즈 의 그림 표시
QCandlestickLegendMarker
Legend marker for a candlestick series
촛대 도표 의 그림 표시
QLegend
Displays the legend of a chart
도표 의 도 례 를 보이다
QLegendMarker
Abstract object that can be used to access markers within a legend
그림 의 태그 에 접근 할 수 있 는 추상 적 인 대상
QPieLegendMarker
Legend marker for a pie series
떡 모양 그림 시리즈 의 그림 표시
QXYLegendMarker
Legend marker for a line, spline, or scatter series
접 는 선 그림,곡선 도 또는 산 점 그림 의 그림 표시
QLineSeries
Presents data in line charts
접 는 선 그림 의 데 이 터 를 표시 합 니 다.
QHPieModelMapper
Horizontal model mapper for pie series
떡 모양 그림 시리즈 의 수평 모형 매 핑 기
QPieSeries
Pie series API for Qt Charts
Qt Charts 의 떡 모양 그림 시리즈 API
QPieSlice
Defines a slice in pie series
떡 모양 그림 시리즈 의 슬라이스 를 정의 하 였 습 니 다.
QVPieModelMapper
Vertical model mapper for pie series
떡 모양 그림 시리즈 의 수직 모형 매 핑 기
QAbstractSeries
Base class for all Qt Chart series
모든 Qt 도표 시리즈 의 기본 클래스
QChart
Main chart API for Qt Charts
Qt Charts 의 주요 아이콘 API
QChartView
Standalone charting widget
독립 된 아이콘 위 젯(아이콘 표시 에 사용)
QPolarChart
Polar chart API for Qt Charts
Qt Charts 의 극 좌표 도 API
QScatterSeries
Used for making scatter charts
산 점도 그리 기
QSplineSeries
Series type used to store data needed to draw a spline
곡선 도 를 그 리 는 데 필요 한 데 이 터 를 저장 하 는 시리즈 형식
QHXYModelMapper
Horizontal model mapper for QXYSeries
QXYSeries 의 수평 모형 매 핑 기
QVXYModelMapper
Vertical model mapper for QXYSeries
QXYSeries 의 수직 모형 매 핑 기
QXYSeries
Base class for line, spline and scatter series
접선 도,곡선 도와 산 점도 의 기류
각 종류 가 어떤 도표 나 도표 의 요소 인지 알 고 Qt 가 제공 하 는 API 를 어떻게 사용 하여 우리 의 실제 생산 환경 에 맞 는 도 표를 구축 하 는 지 깊이 이해 했다.

좋은 웹페이지 즐겨찾기