Esempio n. 1
0
        public IMyLineChart changeSeriesLineColor(string _seriesTitle, string _hexColor)
        {
            MySolidColorBrush mySolidColorBrush = new MySolidColorBrush();

            foreach (LineSeries aLineSeries in cartesianChart.Series)
            {
                if (aLineSeries.Title.Equals(_seriesTitle))
                {
                    aLineSeries.Stroke = mySolidColorBrush.convertFromHex(_hexColor);
                }
            }
            return(this);
        }