Summary: | Tick mark spacing is not saved in the .kst | ||
---|---|---|---|
Product: | [Applications] kst | Reporter: | Nicolas Brisset <nicolas.brisset> |
Component: | general | Assignee: | kst |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 1.x | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Solaris | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Nicolas Brisset
2006-06-23 11:58:13 UTC
SVN commit 554308 by arwalker: BUG:129699 Remember the major tick spacing when saving and loading files M +8 -0 kst2dplot.cpp --- trunk/extragear/graphics/kst/src/libkstapp/kst2dplot.cpp #554307:554308 @@ -325,6 +325,10 @@ _majorGridColorDefault = el.text() != "0"; } else if (el.tagName() == "minorgridcolordefault") { _minorGridColorDefault = el.text() != "0"; + } else if (el.tagName() == "ymajorticks") { + _yMajorTicks = el.text().toInt(); + } else if (el.tagName() == "xmajorticks") { + _xMajorTicks = el.text().toInt(); } else if (el.tagName() == "xinterpret") { _isXAxisInterpreted = el.text() != "0"; } else if (el.tagName() == "xinterpretas") { @@ -2837,6 +2841,10 @@ ts << indent << "<xminorticks>" << _reqXMinorTicks << "</xminorticks>" << endl; ts << indent << "<yminorticks>" << _reqYMinorTicks << "</yminorticks>" << endl; + // major ticks + ts << indent << "<xmajorticks>" << _xMajorTicks << "</xmajorticks>" << endl; + ts << indent << "<ymajorticks>" << _yMajorTicks << "</ymajorticks>" << endl; + // tick placement ts << indent << "<xticksinplot>" << _xTicksInPlot << "</xticksinplot>" << endl; ts << indent << "<xticksoutplot>" << _xTicksOutPlot << "</xticksoutplot>" << endl; |