public void Add(ChartControl chart, Pane ownerPane) { owner = chart; seriesMargins = new RegionSeries(Localizer.GetString("TitleExtremaBordes")) {CustomAlphaChannel = true}; seriesExtr = new TrendLineSeries(Localizer.GetString("TitleExtrema")); SeriesResult = new List<Series.Series> { seriesMargins, seriesExtr }; EntitleIndicator(); }
public void Add(ChartControl chart, Pane ownerPane) { owner = chart; // инициализируем индикатор mainLine = new TrendLineSeries(Name); SeriesResult = new List<Series.Series> { mainLine }; EntitleIndicator(); }
public void Add(ChartControl chart, Pane ownerPane) { owner = chart; tencan = new TrendLineSeries(string.Format("{0} - {1}", Localizer.GetString("TitleIchimokuIndicator"), Localizer.GetString("TitleTenkanLineSmall"))); kijyn = new TrendLineSeries(string.Format("{0} - {1}", Localizer.GetString("TitleIchimokuIndicator"), Localizer.GetString("TitleKijunLineSmall"))); senkouA = new TrendLineSeries(string.Format("{0} - {1}", Localizer.GetString("TitleIchimokuIndicator"), Localizer.GetString("TitleSenkouALineSmall"))); senkouB = new TrendLineSeries(string.Format("{0} - {1}", Localizer.GetString("TitleIchimokuIndicator"), Localizer.GetString("TitleSenkouBLineSmall"))); chikou = new TrendLineSeries(string.Format("{0} - {1}", Localizer.GetString("TitleIchimokuIndicator"), Localizer.GetString("TitleChikouSmall"))); cloud = new PolygonSeries(string.Format("{0} - {1}", Localizer.GetString("TitleIchimokuIndicator"), Localizer.GetString("TitleKumoSmall"))) { colorCloudA = ColorCloudA, colorCloudB = ColorCloudB }; SeriesResult = new List<Series.Series> { tencan, kijyn, senkouA, senkouB, chikou, cloud }; EntitleIndicator(); }
public void Add(ChartControl chart, Pane ownerPane) { owner = chart; seriesUp = new TrendLineSeries(string.Format("{0} - {1}", Localizer.GetString("TitleRandomWalkModelForecastShort"), Localizer.GetString("TitleUpperLimitSmall"))); seriesDown = new TrendLineSeries(string.Format("{0} - {1}", Localizer.GetString("TitleRandomWalkModelForecastShort"), Localizer.GetString("TitleLowerLimitSmall"))); SeriesResult = new List<Series.Series> { seriesUp, seriesDown }; seriesUp.LineWidth = (float)lineWidth; seriesDown.LineWidth = (float)lineWidth; EntitleIndicator(); }
private void InitializeSeries() { seriesProjection = new ProjectionSeries("Проекции"); seriesComment = new SeriesComment("Коментарии"); seriesEllipse = new SeriesEllipse("Эллипсы"); seriesPopup = new SeriesPopup("Информация по графику"); seriesFiboSpan = new SeriesFiboSpan("Горизонтальная проекция"); seriesTrendLine = new TrendLineSeries("Трендовые линии"); seriesFiboChannel = new SeriesFiboChannel("Пропорциональные каналы"); seriesMarker = new SeriesMarker("Маркеры"); seriesAsteriks = new SeriesAsteriks("Подсказки"); seriesTurnBar = new TurnBarSeries("Бары разворота"); // список серий с интерактивными объектами listInteractiveSeries.Add(seriesProjection); listInteractiveSeries.Add(seriesEllipse); listInteractiveSeries.Add(seriesFiboSpan); listInteractiveSeries.Add(seriesTrendLine); listInteractiveSeries.Add(seriesFiboChannel); listInteractiveSeries.Add(seriesMarker); listInteractiveSeries.Add(seriesAsteriks); listInteractiveSeries.Add(seriesTurnBar); listInteractiveSeries.Add(seriesComment); chart.StockPane.Series.Add(seriesMarker); chart.StockPane.Series.Add(seriesFiboChannel); chart.StockPane.Series.Add(seriesTrendLine); chart.StockPane.Series.Add(seriesFiboSpan); chart.StockPane.Series.Add(seriesEllipse); chart.StockPane.Series.Add(seriesPopup); chart.StockPane.Series.Add(seriesComment); chart.StockPane.Series.Add(seriesProjection); chart.StockPane.Series.Add(seriesAsteriks); chart.StockPane.Series.Add(seriesTurnBar); }
public void Add(ChartControl chart, Pane ownerPane) { owner = chart; // инициализируем индикатор EntitleIndicator(); series = new TrendLineSeries(Name); commentSeries = new SeriesAsteriks(Name); SeriesResult = new List<Series.Series> { series, commentSeries}; }