コード例 #1
0
 public void OnSettingsLineScatterCandleRadarDataSet <TEntry>(ILineScatterCandleRadarDataSetXF <TEntry> baseDataSetXF, LineScatterCandleRadarChartDataSet originalBaseDataSet) where TEntry : BaseEntry
 {
     OnSettingsBarLineScatterCandleBubbleDataSet(baseDataSetXF, originalBaseDataSet);
     if (baseDataSetXF.IF_GetDrawVerticalHighlightIndicator().HasValue)
     {
         originalBaseDataSet.DrawVerticalHighlightIndicatorEnabled = baseDataSetXF.IF_GetDrawVerticalHighlightIndicator().Value;
     }
     if (baseDataSetXF.IF_GetDrawHorizontalHighlightIndicator().HasValue)
     {
         originalBaseDataSet.DrawHorizontalHighlightIndicatorEnabled = baseDataSetXF.IF_GetDrawHorizontalHighlightIndicator().Value;
     }
     if (baseDataSetXF.IF_GetHighlightLineWidth().HasValue)
     {
         originalBaseDataSet.HighlightLineWidth = baseDataSetXF.IF_GetHighlightLineWidth().Value;
     }
 }
コード例 #2
0
        public void OnSettingsLineScatterCandleRadarDataSet <TEntry>(ILineScatterCandleRadarDataSetXF <TEntry> baseDataSetXF, MikePhil.Charting.Data.LineScatterCandleRadarDataSet originalBaseDataSet) where TEntry : Widget.Charts.Models.BaseEntry
        {
            OnSettingsBarLineScatterCandleBubbleDataSet(baseDataSetXF, originalBaseDataSet);

            if (baseDataSetXF.IF_GetDrawVerticalHighlightIndicator().HasValue)
            {
                originalBaseDataSet.SetDrawVerticalHighlightIndicator(baseDataSetXF.IF_GetDrawVerticalHighlightIndicator().Value);
            }
            if (baseDataSetXF.IF_GetDrawHorizontalHighlightIndicator().HasValue)
            {
                originalBaseDataSet.SetDrawHorizontalHighlightIndicator(baseDataSetXF.IF_GetDrawHorizontalHighlightIndicator().Value);
            }
            if (baseDataSetXF.IF_GetHighlightLineWidth().HasValue)
            {
                originalBaseDataSet.HighlightLineWidth = baseDataSetXF.IF_GetHighlightLineWidth().Value;
            }
        }