Esempio n. 1
0
 public static LineChartSeries CreateLineChartSeries(this LineChart lineChart, string text, UInt32Value index, string color, MarkerStyleValues symbol, d::PresetLineDashValues dashed = d::PresetLineDashValues.Solid, byte size = 7, d::Outline markerOutLine = null)
 {
     return(lineChart.CreateLineChartSeries(text, index, color, color, symbol, dashed, size));
 }
Esempio n. 2
0
        public static LineChartSeries CreateLineChartSeries(this LineChart lineChart, string text, UInt32Value index, string outLineColor, string markerColor, MarkerStyleValues symbol, d::PresetLineDashValues dashed = d::PresetLineDashValues.Solid, byte size = 7, d::Outline markerOutLine = null)
        {
            var series     = lineChart.CreateLineChartSeries(text, index);
            var properties = series.InsertAfter(new ChartShapeProperties(new d::Outline(new d::SolidFill(new d::RgbColorModelHex()
            {
                Val = new HexBinaryValue(outLineColor)
            }), new d::PresetDash()
            {
                Val = dashed
            })), series.SeriesText);

            series.InsertAfter(new Marker(new Symbol()
            {
                Val = symbol
            }, new Size()
            {
                Val = size
            }, new ChartShapeProperties(new d::SolidFill(new d::RgbColorModelHex()
            {
                Val = new HexBinaryValue(markerColor)
            }), markerOutLine)), properties);
            return(series);
        }