Changeset View
Changeset View
Standalone View
Standalone View
src/elementdataviewer.cpp
Show First 20 Lines • Show All 355 Lines • ▼ Show 20 Line(s) | 300 | { | |||
---|---|---|---|---|---|
356 | int whatShow = ui.comboElementLabels->currentIndex(); | 356 | int whatShow = ui.comboElementLabels->currentIndex(); | ||
357 | 357 | | |||
358 | /* | 358 | /* | ||
359 | * Checks what type of element, the user wants to plot. | 359 | * Checks what type of element, the user wants to plot. | ||
360 | * example, metal, non-metal. | 360 | * example, metal, non-metal. | ||
361 | */ | 361 | */ | ||
362 | int whichType = ui.comboElementType->currentIndex(); | 362 | int whichType = ui.comboElementType->currentIndex(); | ||
363 | 363 | | |||
364 | KPlotObject* dataPointGreen = 0; | 364 | KPlotObject* dataPointGreen = nullptr; | ||
365 | KPlotObject* dataPointRed = 0; | 365 | KPlotObject* dataPointRed = nullptr; | ||
366 | 366 | | |||
367 | double av_x = 0.0; | 367 | double av_x = 0.0; | ||
368 | double max_x = m_xData->value(from); | 368 | double max_x = m_xData->value(from); | ||
369 | double min_x = m_xData->value(from); | 369 | double min_x = m_xData->value(from); | ||
370 | double av_y = 0.0; | 370 | double av_y = 0.0; | ||
371 | double max_y = m_yData->value(from); | 371 | double max_y = m_yData->value(from); | ||
372 | double min_y = m_yData->value(from); | 372 | double min_y = m_yData->value(from); | ||
373 | 373 | | |||
▲ Show 20 Lines • Show All 161 Lines • Show Last 20 Lines |