is auto scale enabled for x axis index (index == -1: all axes)
| 1282 | |
| 1283 | // is auto scale enabled for x axis index (index == -1: all axes) |
| 1284 | bool CartesianPlot::autoScale(const Dimension dim, int index) const { |
| 1285 | if (index == -1) { |
| 1286 | for (int i = 0; i < rangeCount(dim); i++) { |
| 1287 | if (!range(dim, i).autoScale()) |
| 1288 | return false; |
| 1289 | } |
| 1290 | return true; |
| 1291 | } |
| 1292 | return range(dim, index).autoScale(); |
| 1293 | } |
| 1294 | |
| 1295 | class CartesianPlotEnableAutoScaleIndexCmd : public QUndoCommand { |
| 1296 | public: |
no outgoing calls
no test coverage detected