/// <summary> /// Save the navigation settings to the settings file /// </summary> /// <param name="pathsNode">XML-node for the navigation settings</param> public void Save(XmlNode pathsNode) { string xpath; xpath = "./showNavigationFlow"; SettingsHelper.SetSettingValue(xpath, pathsNode, ShowNavigationFlow.ToString()); }
/// <summary> /// Save background worker process settings to the settings file /// </summary> /// <param name="apiNode">XML-node for the background worker process settings</param> public void Save(XmlNode node) { string xpath; xpath = "./sleepTime"; SettingsHelper.SetSettingValue(xpath, node, SleepTime.ToString()); }
/// <summary> /// Save the Presentation.Table settings to the settings file /// </summary> /// <param name="tableNode">XML-node for the Presentation.Table settings</param> public void Save(XmlNode tableNode) { string xpath; XmlNode node; xpath = "./tableTransformation"; SettingsHelper.SetSettingValue(xpath, tableNode, TableTransformation.ToString()); xpath = "./defaultLayout"; SettingsHelper.SetSettingValue(xpath, tableNode, DefaultLayout.ToString()); xpath = "./maxColumns"; SettingsHelper.SetSettingValue(xpath, tableNode, MaxColumns.ToString()); xpath = "./maxRows"; SettingsHelper.SetSettingValue(xpath, tableNode, MaxRows.ToString()); xpath = "./titleVisible"; SettingsHelper.SetSettingValue(xpath, tableNode, TitleVisible.ToString()); xpath = "./useStickyHeaderFullscreen"; SettingsHelper.SetSettingValue(xpath, tableNode, UseStickyHeaderFullscreen.ToString()); xpath = "./attributes"; node = SettingsHelper.GetNode(tableNode, xpath); _attributeSettings.Save(node); }
/// <summary> /// Save Features.SavedQuery settings to the settings file /// </summary> /// <param name="sqNode">XML-node for the Features.SavedQuery settings</param> public void Save(XmlNode sqNode) { string xpath; xpath = "./storageType"; SettingsHelper.SetSettingValue(xpath, sqNode, StorageType.ToString()); xpath = "./enableCache"; SettingsHelper.SetSettingValue(xpath, sqNode, EnableCache.ToString()); xpath = "./cacheTime"; SettingsHelper.SetSettingValue(xpath, sqNode, CacheTime.ToString()); xpath = "./enableCORS"; SettingsHelper.SetSettingValue(xpath, sqNode, EnableCORS.ToString()); xpath = "./showPeriodAndId"; SettingsHelper.SetSettingValue(xpath, sqNode, ShowPeriodAndId.ToString()); xpath = "./enableLimiterRequest"; SettingsHelper.SetSettingValue(xpath, sqNode, EnableLimitRequest.ToString()); xpath = "./limiterRequests"; SettingsHelper.SetSettingValue(xpath, sqNode, LimiterRequests.ToString()); xpath = "./limiterTimespan"; SettingsHelper.SetSettingValue(xpath, sqNode, LimiterTimespan.ToString()); }
/// <summary> /// Save the Menu settings to the settings file /// </summary> /// <param name="menuNode">XML-node for the Menu settings</param> public void Save(XmlNode menuNode) { string xpath; //XmlNode node; xpath = "./menuMode"; SettingsHelper.SetSettingValue(xpath, menuNode, MenuMode.ToString()); xpath = "./numberOfValuesInDefaultView"; SettingsHelper.SetSettingValue(xpath, menuNode, NumberOfValuesInDefaultView.ToString()); xpath = "./showRoot"; SettingsHelper.SetSettingValue(xpath, menuNode, ShowRoot.ToString()); xpath = "./expandAll"; SettingsHelper.SetSettingValue(xpath, menuNode, ExpandAll.ToString()); xpath = "./sortByAlias"; SettingsHelper.SetSettingValue(xpath, menuNode, SortByAlias.ToString()); xpath = "./showSelectLink"; SettingsHelper.SetSettingValue(xpath, menuNode, ShowSelectLink.ToString()); xpath = "./viewLinkMode"; SettingsHelper.SetSettingValue(xpath, menuNode, ViewLinkMode.ToString()); xpath = "./showDownloadLink"; SettingsHelper.SetSettingValue(xpath, menuNode, ShowDownloadLink.ToString()); xpath = "./showModifiedDate"; SettingsHelper.SetSettingValue(xpath, menuNode, ShowModifiedDate.ToString()); xpath = "./showLastUpdated"; SettingsHelper.SetSettingValue(xpath, menuNode, ShowLastUpdated.ToString()); xpath = "./showFileSize"; SettingsHelper.SetSettingValue(xpath, menuNode, ShowFileSize.ToString()); xpath = "./showTableCategory"; SettingsHelper.SetSettingValue(xpath, menuNode, ShowTableCategory.ToString()); xpath = "./showTableUpdatedAfterPublish"; SettingsHelper.SetSettingValue(xpath, menuNode, ShowTableUpdatedAfterPublish.ToString()); xpath = "./showVariablesAndValues"; SettingsHelper.SetSettingValue(xpath, menuNode, ShowVariablesAndValues.ToString()); xpath = "./metadataAsIcons"; SettingsHelper.SetSettingValue(xpath, menuNode, MetadataAsIcons.ToString()); xpath = "./showTextToMetadata"; SettingsHelper.SetSettingValue(xpath, menuNode, ShowTextToMetadata.ToString()); xpath = "./showMenuExplanation"; SettingsHelper.SetSettingValue(xpath, menuNode, ShowMenuExplanation.ToString()); }
/// <summary> /// Save the Selection.MarkingTips settings to the settings file. /// </summary> /// <param name="markingTipsNode">XML-node for the Selection.MarkingTips settings</param> public void Save(XmlNode markingTipsNode) { string xpath; xpath = "./showMarkingTips"; SettingsHelper.SetSettingValue(xpath, markingTipsNode, ShowMarkingTips.ToString()); //xpath = "./markingTipsUrl"; //SettingsHelper.SetSettingValue(xpath, markingTipsNode, MarkingTipsUrl); }
/// <summary> /// Save the General.Site settings to the settings file /// </summary> /// <param name="siteNode">XML-node for the General.Site settings</param> public void Save(XmlNode siteNode) { string xpath; xpath = "./applicationName"; SettingsHelper.SetSettingValue(xpath, siteNode, ApplicationName); xpath = "./logoPath"; SettingsHelper.SetSettingValue(xpath, siteNode, LogoPath); }
/// <summary> /// Save the General.Databases settings to the settings file /// </summary> /// <param name="databasesNode">XML-node for the General.Databases settings</param> public void Save(XmlNode databasesNode) { string xpath; xpath = "./pxDatabases"; SettingsHelper.SetSettingValue(xpath, databasesNode, "database", PxDatabases); xpath = "./cnmmDatabases"; SettingsHelper.SetSettingValue(xpath, databasesNode, "database", CnmmDatabases); }
/// <summary> /// Save the Search index settings to the settings file /// </summary> /// <param name="menuNode">XML-node for the search index settings</param> public void Save(XmlNode indexNode) { string xpath; xpath = "./isProtected"; SettingsHelper.SetSettingValue(xpath, indexNode, IsProtected.ToString()); xpath = "./authorizationMethod"; SettingsHelper.SetSettingValue(xpath, indexNode, GetAuthorizationMethod()); }
/// <summary> /// Save Presentation.Table.Attribute settings to the settings file /// </summary> /// <param name="attributeNode">XML-node for the Attribute settings</param> public void Save(XmlNode attributeNode) { string xpath; xpath = "./displayAttributes"; SettingsHelper.SetSettingValue(xpath, attributeNode, DisplayAttributes.ToString()); xpath = "./displayDefaultAttributes"; SettingsHelper.SetSettingValue(xpath, attributeNode, DisplayDefaultAttributes.ToString()); }
/// <summary> /// Save the General.Administration settings to the settings file /// </summary> /// <param name="administrationNode">XML-node for the General.Administration settings</param> public void Save(XmlNode administrationNode) { string xpath; xpath = "./useIPFilter"; SettingsHelper.SetSettingValue(xpath, administrationNode, UseIPFilter.ToString()); xpath = "./ipAddresses"; SettingsHelper.SetSettingValue(xpath, administrationNode, "ipAddress", IPAddresses); }
/// <summary> /// Save the General.FileFormats settings to the settings file /// </summary> /// <param name="pathsNode">XML-node for the General.FileFormats settings</param> public void Save(XmlNode fileFormatsNode) { string xpath; XmlNode node; xpath = "./cellLimitDownloads"; SettingsHelper.SetSettingValue(xpath, fileFormatsNode, CellLimitDownloads.ToString()); xpath = "./excel"; node = fileFormatsNode.SelectSingleNode(xpath); _excelSettings.Save(node); }
/// <summary> /// Save the Selection.Hierarchies settings to the settings file /// </summary> /// <param name="hierarchiesNode">XML-node for the Selection.Hierarchies settings</param> public void Save(XmlNode hierarchiesNode) { string xpath; //XmlNode node; xpath = "./showHierarchies"; SettingsHelper.SetSettingValue(xpath, hierarchiesNode, ShowHierarchies.ToString()); xpath = "./hierarchicalLevelsOpen"; SettingsHelper.SetSettingValue(xpath, hierarchiesNode, HierarchicalLevelsOpen.ToString()); }
/// <summary> /// Save the General.FileFormats.Excel settings to the settings file /// </summary> /// <param name="excelNode">XML-node for the General.FileFormats.Excel settings</param> public void Save(XmlNode excelNode) { string xpath; xpath = "./informationLevel"; SettingsHelper.SetSettingValue(xpath, excelNode, InformationLevel.ToString()); xpath = "./doubleColumn"; SettingsHelper.SetSettingValue(xpath, excelNode, DoubleColumn.ToString()); xpath = "./showDataNotes"; SettingsHelper.SetSettingValue(xpath, excelNode, ShowDataNotes.ToString()); }
/// <summary> /// Save homepage information to settings file /// </summary> /// <param name="homepageNode"></param> public void Save(XmlNode homepageNode) { string xpath; xpath = "./language"; SettingsHelper.SetSettingValue(xpath, homepageNode, Language); xpath = "./url"; SettingsHelper.SetSettingValue(xpath, homepageNode, Url); xpath = "./isExternal"; SettingsHelper.SetSettingValue(xpath, homepageNode, IsExternal.ToString()); }
/// <summary> /// Save the Search index settings to the settings file /// </summary> /// <param name="menuNode">XML-node for the search index settings</param> public void Save(XmlNode indexNode) { string xpath; xpath = "./status"; SettingsHelper.SetSettingValue(xpath, indexNode, Status.ToString()); xpath = "./indexUpdated"; SettingsHelper.SetSettingValue(xpath, indexNode, IndexUpdated.ToString()); xpath = "./updateMethod"; SettingsHelper.SetSettingValue(xpath, indexNode, GetUpdateMethod()); }
/// <summary> /// Save Features.Charts.Fonts settings to the settings file /// </summary> /// <param name="generalNode">XML-node for the Features.Charts.Fonts settings</param> public void Save(XmlNode fontNode) { string xpath; xpath = "./name"; SettingsHelper.SetSettingValue(xpath, fontNode, Name); xpath = "./titleSize"; SettingsHelper.SetSettingValue(xpath, fontNode, TitleSize.ToString()); xpath = "./axisSize"; SettingsHelper.SetSettingValue(xpath, fontNode, AxisSize.ToString()); }
/// <summary> /// Save the metadata settings to the settings file /// </summary> /// <param name="menuNode">XML-node for the metadata settings</param> public void Save(XmlNode metadataNode) { string xpath; xpath = "./useMetadata"; SettingsHelper.SetSettingValue(xpath, metadataNode, UseMetadata.ToString()); xpath = "./metaSystemConfigFile"; SettingsHelper.SetSettingValue(xpath, metadataNode, MetaSystemConfigFile); xpath = "./metaLinkMethod"; SettingsHelper.SetSettingValue(xpath, metadataNode, GetMetaLinkMethod()); }
/// <summary> /// Save the Search settings to the settings file /// </summary> /// <param name="menuNode">XML-node for the search settings</param> public void Save(XmlNode searchNode) { string xpath; xpath = "./cacheTime"; SettingsHelper.SetSettingValue(xpath, searchNode, CacheTime.ToString()); xpath = "./resultListLength"; SettingsHelper.SetSettingValue(xpath, searchNode, ResultListLength.ToString()); xpath = "./defaultOperator"; SettingsHelper.SetSettingValue(xpath, searchNode, DefaultOperator.ToString()); }
/// <summary> /// Save Features.Charts.Guidelines settings to the settings file /// </summary> /// <param name="generalNode">XML-node for the Features.Charts.Guidelines settings</param> public void Save(XmlNode guidelineNode) { string xpath; xpath = "./color"; SettingsHelper.SetSettingValue(xpath, guidelineNode, Color); xpath = "./horizontal"; SettingsHelper.SetSettingValue(xpath, guidelineNode, Horizontal.ToString()); xpath = "./vertical"; SettingsHelper.SetSettingValue(xpath, guidelineNode, Vertical.ToString()); }
/// <summary> /// Save the General.Site settings to the settings file /// </summary> /// <param name="siteNode">XML-node for the General.Site settings</param> public void Save(XmlNode siteNode) { string xpath; xpath = "./applicationName"; SettingsHelper.SetSettingValue(xpath, siteNode, ApplicationName); xpath = "./logoPath"; SettingsHelper.SetSettingValue(xpath, siteNode, LogoPath); xpath = "./mainHeaderForTables"; SettingsHelper.SetSettingValue(xpath, siteNode, MainHeaderForTables.ToString()); }
/// <summary> /// Save Features.Charts.Legend settings to the settings file /// </summary> /// <param name="generalNode">XML-node for the Features.Charts.Legend settings</param> public void Save(XmlNode legendNode) { string xpath; xpath = "./visible"; SettingsHelper.SetSettingValue(xpath, legendNode, Visible.ToString()); xpath = "./fontSize"; SettingsHelper.SetSettingValue(xpath, legendNode, FontSize.ToString()); xpath = "./height"; SettingsHelper.SetSettingValue(xpath, legendNode, Height.ToString()); }
/// <summary> /// Save the General.Modules settings to the settings file /// </summary> /// <param name="pathsNode">XML-node for the General.Modules settings</param> public void Save(XmlNode modulesNode) { string xpath; //XmlNode node; xpath = "./showLogin"; SettingsHelper.SetSettingValue(xpath, modulesNode, ShowLogin.ToString()); xpath = "./usageLogging"; SettingsHelper.SetSettingValue(xpath, modulesNode, UsageLogging.ToString()); xpath = "./savedQueries"; SettingsHelper.SetSettingValue(xpath, modulesNode, SavedQueries.ToString()); }
/// <summary> /// Save the General.Paths settings to the settings file /// </summary> /// <param name="pathsNode">XML-node for the General.Paths settings</param> public void Save(XmlNode pathsNode) { string xpath; xpath = "./languagesPath"; SettingsHelper.SetSettingValue(xpath, pathsNode, LanguagesPath); xpath = "./imagesPath"; SettingsHelper.SetSettingValue(xpath, pathsNode, ImagesPath); xpath = "./pxDatabasesPath"; SettingsHelper.SetSettingValue(xpath, pathsNode, PxDatabasesPath); xpath = "./pxAggreagationsPath"; SettingsHelper.SetSettingValue(xpath, pathsNode, PxAggregationsPath); }
/// <summary> /// Save the Presentation settings to the settings file /// </summary> /// <param name="presentationNode">XML-node for the Presentation settings</param> public void Save(XmlNode presentationNode) { string xpath; XmlNode node; xpath = "./promptMandatoryFootnotes"; SettingsHelper.SetSettingValue(xpath, presentationNode, PromptMandatoryFootnotes.ToString()); xpath = "./table"; node = presentationNode.SelectSingleNode(xpath); _tableSettings.Save(node); xpath = "./commandBar"; node = presentationNode.SelectSingleNode(xpath); _commandBarSettings.Save(node); }
/// <summary> /// Save Features.Api settings to the settings file /// </summary> /// <param name="apiNode">XML-node for the Features.Api settings</param> public void Save(XmlNode apiNode) { string xpath; xpath = "./urlRoot"; SettingsHelper.SetSettingValue(xpath, apiNode, UrlRoot); xpath = "./routePrefix"; SettingsHelper.SetSettingValue(xpath, apiNode, RoutePrefix); xpath = "./maxValuesReturned"; SettingsHelper.SetSettingValue(xpath, apiNode, MaxValuesReturned.ToString()); xpath = "./limiterRequests"; SettingsHelper.SetSettingValue(xpath, apiNode, LimiterRequests.ToString()); xpath = "./limiterTimespan"; SettingsHelper.SetSettingValue(xpath, apiNode, LimiterTimespan.ToString()); xpath = "./fetchCellLimit"; SettingsHelper.SetSettingValue(xpath, apiNode, FetchCellLimit.ToString()); xpath = "./enableCORS"; SettingsHelper.SetSettingValue(xpath, apiNode, EnableCORS.ToString()); xpath = "./enableCache"; SettingsHelper.SetSettingValue(xpath, apiNode, EnableCache.ToString()); xpath = "./showQueryInformation"; SettingsHelper.SetSettingValue(xpath, apiNode, ShowQueryInformation.ToString()); xpath = "./infoURL"; SettingsHelper.SetSettingValue(xpath, apiNode, InfoURL); xpath = "./defaultExampleResponseFormat"; SettingsHelper.SetSettingValue(xpath, apiNode, DefaultExampleResponseFormat); xpath = "./showSaveApiQueryButton"; SettingsHelper.SetSettingValue(xpath, apiNode, ShowSaveApiQueryButton.ToString()); xpath = "./saveApiQueryText"; SettingsHelper.SetSettingValue(xpath, apiNode, SaveApiQueryText); }
/// <summary> /// Save the Features.General settings to the settings file /// </summary> /// <param name="administrationNode">XML-node for the General.Administration settings</param> public void Save(XmlNode featuresGeneralNode) { string xpath; xpath = "./chartsEnabled"; SettingsHelper.SetSettingValue(xpath, featuresGeneralNode, ChartsEnabled.ToString()); xpath = "./apiEnabled"; SettingsHelper.SetSettingValue(xpath, featuresGeneralNode, ApiEnabled.ToString()); xpath = "./saveQueryEnabled"; SettingsHelper.SetSettingValue(xpath, featuresGeneralNode, SavedQueryEnabled.ToString()); xpath = "./userFriendlyUrlsEnabled"; SettingsHelper.SetSettingValue(xpath, featuresGeneralNode, UserFriendlyUrlsEnabled.ToString()); xpath = "./userStatisticsEnabled"; SettingsHelper.SetSettingValue(xpath, featuresGeneralNode, UserStatisticsEnabled.ToString()); xpath = "./searchEnabled"; SettingsHelper.SetSettingValue(xpath, featuresGeneralNode, SearchEnabled.ToString()); xpath = "./backgroundWorkerEnabled"; SettingsHelper.SetSettingValue(xpath, featuresGeneralNode, BackgroundWorkerEnabled.ToString()); xpath = "./clearCache"; SettingsHelper.SetSettingValue(xpath, featuresGeneralNode, ClearCache.ToString()); }
/// <summary> /// Save the Presentation.CommandBar settings to the settings file /// </summary> /// <param name="commandBarNode">XML-node for the Presentation.CommandBar settings</param> public void Save(XmlNode commandBarNode) { string xpath; xpath = "./viewMode"; SettingsHelper.SetSettingValue(xpath, commandBarNode, ViewMode.ToString()); xpath = "./operations"; SettingsHelper.SetSettingValue(xpath, commandBarNode, "plugin", Operations); xpath = "./operationShortcuts"; SettingsHelper.SetSettingValue(xpath, commandBarNode, "plugin", OperationShortcuts); xpath = "./outputFormats"; SettingsHelper.SetSettingValue(xpath, commandBarNode, "outputFormat", OutputFormats); xpath = "./outputFormatShortcuts"; SettingsHelper.SetSettingValue(xpath, commandBarNode, "outputFormat", OutputFormatShortcuts); xpath = "./presentationViews"; SettingsHelper.SetSettingValue(xpath, commandBarNode, "plugin", PresentationViews); xpath = "./presentationViewShortcuts"; SettingsHelper.SetSettingValue(xpath, commandBarNode, "plugin", PresentationViewShortcuts); xpath = "./commandBarShortcuts"; SettingsHelper.SetSettingValue(xpath, commandBarNode, "plugin", CommandBarShortcuts); xpath = "./operationButtons"; SettingsHelper.SetSettingValue(xpath, commandBarNode, "plugin", OperationButtons); xpath = "./fileTypeButtons"; SettingsHelper.SetSettingValue(xpath, commandBarNode, "outputFormat", FileTypeButtons); xpath = "./presentationViewButtons"; SettingsHelper.SetSettingValue(xpath, commandBarNode, "plugin", PresentationViewButtons); }
/// <summary> /// Save the General.Global settings to the settings file /// </summary> /// <param name="globalNode">XML-node for the General.Global settings</param> public void Save(XmlNode globalNode) { string xpath; XmlNode node; xpath = "./removeSingleContent"; SettingsHelper.SetSettingValue(xpath, globalNode, RemoveSingleContent.ToString()); xpath = "./strictAggregationCheck"; SettingsHelper.SetSettingValue(xpath, globalNode, StrictAggregationCheck.ToString()); xpath = "./secrecyOption"; SettingsHelper.SetSettingValue(xpath, globalNode, SecrecyOption.ToString()); xpath = "./roundingRule"; SettingsHelper.SetSettingValue(xpath, globalNode, RoundingRule.ToString()); xpath = "./symbol1"; SettingsHelper.SetSettingValue(xpath, globalNode, Symbol1.ToString()); xpath = "./symbol2"; SettingsHelper.SetSettingValue(xpath, globalNode, Symbol2.ToString()); xpath = "./symbol3"; SettingsHelper.SetSettingValue(xpath, globalNode, Symbol3.ToString()); xpath = "./symbol4"; SettingsHelper.SetSettingValue(xpath, globalNode, Symbol4.ToString()); xpath = "./symbol5"; SettingsHelper.SetSettingValue(xpath, globalNode, Symbol5.ToString()); xpath = "./symbol6"; SettingsHelper.SetSettingValue(xpath, globalNode, Symbol6.ToString()); xpath = "./dataSymbolNil"; SettingsHelper.SetSettingValue(xpath, globalNode, DataSymbolNil.ToString()); xpath = "./dataSymbolSum"; SettingsHelper.SetSettingValue(xpath, globalNode, DataSymbolSum.ToString()); //xpath = "./decimalSeparator"; //SettingsHelper.SetSettingValue(xpath, globalNode, DecimalSeparator.ToString()); //xpath = "./thousandSeparator"; //SettingsHelper.SetSettingValue(xpath, globalNode, ThousandSeparator.ToString()); xpath = "./showSourceDescription"; SettingsHelper.SetSettingValue(xpath, globalNode, ShowSourceDescription.ToString()); xpath = "./tableInformationLevel"; SettingsHelper.SetSettingValue(xpath, globalNode, TableInformationLevel.ToString()); xpath = "./uppercase"; SettingsHelper.SetSettingValue(xpath, globalNode, Uppercase.ToString()); xpath = "./dataNotePlacment"; SettingsHelper.SetSettingValue(xpath, globalNode, DataNotePlacement.ToString()); xpath = "./showinfofile"; SettingsHelper.SetSettingValue(xpath, globalNode, ShowInfoFile.ToString()); xpath = "./showInformationTypes"; node = globalNode.SelectSingleNode(xpath); _showInformationTypesSettings.Save(node); }
/// <summary> /// Save Features.Charts settings to the settings file /// </summary> /// <param name="generalNode">XML-node for the Features.Charts settings</param> public void Save(XmlNode chartsNode) { string xpath; XmlNode node; xpath = "./height"; SettingsHelper.SetSettingValue(xpath, chartsNode, Height.ToString()); xpath = "./maxHeight"; SettingsHelper.SetSettingValue(xpath, chartsNode, MaxHeight.ToString()); xpath = "./width"; SettingsHelper.SetSettingValue(xpath, chartsNode, Width.ToString()); xpath = "./maxWidth"; SettingsHelper.SetSettingValue(xpath, chartsNode, MaxWidth.ToString()); xpath = "./colors"; SettingsHelper.SetSettingValue(xpath, chartsNode, "color", Colors); xpath = "./lineThickness"; SettingsHelper.SetSettingValue(xpath, chartsNode, LineThickness.ToString()); xpath = "./maxLineThickness"; SettingsHelper.SetSettingValue(xpath, chartsNode, MaxLineThickness.ToString()); xpath = "./logotype"; SettingsHelper.SetSettingValue(xpath, chartsNode, Logotype); xpath = "./maxValues"; SettingsHelper.SetSettingValue(xpath, chartsNode, MaxValues.ToString()); xpath = "./timeSortOrder"; SettingsHelper.SetSettingValue(xpath, chartsNode, TimeSortOrder.ToString()); xpath = "./labelOrientation"; SettingsHelper.SetSettingValue(xpath, chartsNode, LabelOrientation.ToString()); xpath = "./font"; node = SettingsHelper.GetNode(chartsNode, xpath); _fontSettings.Save(node); xpath = "./legend"; node = SettingsHelper.GetNode(chartsNode, xpath); _legendSettings.Save(node); xpath = "./guidelines"; node = SettingsHelper.GetNode(chartsNode, xpath); _guidelinesSettings.Save(node); xpath = "./showSourse"; SettingsHelper.SetSettingValue(xpath, chartsNode, ShowSource.ToString()); xpath = "./showLogo"; SettingsHelper.SetSettingValue(xpath, chartsNode, ShowLogo.ToString()); xpath = "./lineThicknessPhrame"; SettingsHelper.SetSettingValue(xpath, chartsNode, LineThicknessPhrame.ToString()); xpath = "./lineColorPhrame"; SettingsHelper.SetSettingValue(xpath, chartsNode, LineColorPhrame.ToString()); xpath = "./backgroundColorGraphs"; SettingsHelper.SetSettingValue(xpath, chartsNode, BackgroundColorGraphs.ToString()); }