Commit 423e8dda authored by Alexey.Musinov's avatar Alexey.Musinov

chart-settings seralize

parent 118f1c57
......@@ -1105,6 +1105,9 @@ namespace NSEditorApi
js_wrapper<int> m_nLabelsPosition; // c_oAscLabelsPosition_
js_wrapper<int> m_nAxisType; // c_oAscAxisType_
js_wrapper<int> m_nCrossMinVal;
js_wrapper<int> m_nCrossMaxVal;
public:
CAscCatAxisSettings()
......@@ -1125,6 +1128,9 @@ namespace NSEditorApi
LINK_PROPERTY_INT_JS(Crosses)
LINK_PROPERTY_INT_JS(LabelsPosition)
LINK_PROPERTY_INT_JS(AxisType)
LINK_PROPERTY_INT_JS(CrossMinVal)
LINK_PROPERTY_INT_JS(CrossMaxVal)
};
class CAscChartProperties : public IMenuEventDataBase
......@@ -1155,8 +1161,11 @@ namespace NSEditorApi
js_wrapper<std::wstring> m_sSeparator;
js_wrapper<CAscValAxisSettings> m_oHorAxisProps;
js_wrapper<CAscValAxisSettings> m_oVertAxisProps;
js_wrapper<CAscValAxisSettings> m_oHorValAxisProps;
js_wrapper<CAscValAxisSettings> m_oVertValAxisProps;
js_wrapper<CAscCatAxisSettings> m_oHorCatAxisProps;
js_wrapper<CAscCatAxisSettings> m_oVertCatAxisProps;
js_wrapper<std::wstring> m_sRange;
js_wrapper<bool> m_bInColumns;
......@@ -1196,8 +1205,11 @@ namespace NSEditorApi
LINK_PROPERTY_STRING_JS(Separator)
LINK_PROPERTY_OBJECT_JS(CAscValAxisSettings, HorAxisProps)
LINK_PROPERTY_OBJECT_JS(CAscValAxisSettings, VertAxisProps)
LINK_PROPERTY_OBJECT_JS(CAscValAxisSettings, HorValAxisProps)
LINK_PROPERTY_OBJECT_JS(CAscValAxisSettings, VertValAxisProps)
LINK_PROPERTY_OBJECT_JS(CAscCatAxisSettings, HorCatAxisProps)
LINK_PROPERTY_OBJECT_JS(CAscCatAxisSettings, VertCatAxisProps)
LINK_PROPERTY_STRING_JS(Range)
LINK_PROPERTY_BOOL_JS(InColumns)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment