Changeset 86e9d94 in OpenModelica
- Timestamp:
- 2021-04-13T14:33:39+02:00 (3 years ago)
- Parents:
- 1af91635
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
OMNotebook/OMNotebook/OMNotebookGUI/xmlparser.cpp
r41249a33 r86e9d94 630 630 if (curveElement.tagName() == XML_GRAPHCELL_CURVE) 631 631 { 632 PlotCurve *pPlotCurve = new PlotCurve("", "", curveElement.attribute(XML_GRAPHCELL_TITLE), "", curveElement.attribute(XML_GRAPHCELL_TITLE), "", "", gCell->mpPlotWindow->getPlot());632 PlotCurve *pPlotCurve = new PlotCurve("", "", "", "", "", curveElement.attribute(XML_GRAPHCELL_TITLE), "", "", gCell->mpPlotWindow->getPlot()); 633 633 // read the curve data 634 634 if (curveElement.hasAttribute(XML_GRAPHCELL_XDATA) && curveElement.hasAttribute(XML_GRAPHCELL_YDATA)) -
OMPlot/OMPlot/OMPlotGUI/PlotCurve.cpp
r1af91635 r86e9d94 85 85 xVariable += QString(" (%1)").arg(getXDisplayUnit()); 86 86 } 87 titleStr += QString(" vs %1").arg(xVariable); 87 if (!xVariable.isEmpty()) { 88 titleStr += QString(" vs %1").arg(xVariable); 89 } 88 90 } 89 91 QwtPlotItem::setTitle(titleStr);
Note: See TracChangeset
for help on using the changeset viewer.