MCPcopy Create free account
hub / github.com/KDAB/KDChart / addCols

Function addCols

tests/DelayedData/main.cpp:79–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77 }
78 }
79 void addCols()
80 {
81 m_model.insertColumns(m_model.columnCount(), 1);
82 for (int i = 0; i < m_model.rowCount(); ++i) {
83 m_model.setData(m_model.index(i, m_model.columnCount() - 1), i);
84 }
85 }
86
87private:
88 KDChart::Chart m_chart;

Callers

nothing calls this directly

Calls 4

columnCountMethod · 0.45
rowCountMethod · 0.45
setDataMethod · 0.45
indexMethod · 0.45

Tested by

no test coverage detected