Ejemplo n.º 1
0
        public Series(SeriesProperties properties)
        {
            this.properties = properties;
            observer        = new CollectionDeepObserver <TModel>(
                (object sender, NotifyCollectionChangedEventArgs e) =>
            {
                NotifySubscribers();
            },
                (object sender, PropertyChangedEventArgs e) =>
            {
                NotifySubscribers();
            });
            var t = typeof(TModel);

            implementsICP = typeof(IChartPoint <TVisual, TLabel, TDrawingContext>).IsAssignableFrom(t);
            isValueType   = t.IsValueType;
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BarSeries{TModel, TVisual, TLabel, TDrawingContext}"/> class.
 /// </summary>
 /// <param name="properties">The properties.</param>
 protected BarSeries(SeriesProperties properties)
     : base(properties)
 {
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CartesianSeries{TModel, TVisual, TLabel, TDrawingContext}"/> class.
 /// </summary>
 /// <param name="properties">The series properties.</param>
 public CartesianSeries(SeriesProperties properties) : base(properties)
 {
 }
Ejemplo n.º 4
0
 public DrawableSeries(SeriesProperties properties) : base(properties)
 {
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="StackedBarSeries{TModel, TVisual, TLabel, TDrawingContext}"/> class.
 /// </summary>
 /// <param name="properties">The series properties.</param>
 public StackedBarSeries(SeriesProperties properties)
     : base(properties)
 {
     HoverState = LiveCharts.StackedBarSeriesHoverKey;
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CartesianSeries{TModel, TVisual, TLabel, TDrawingContext}"/> class.
 /// </summary>
 /// <param name="properties">The series properties.</param>
 protected CartesianSeries(SeriesProperties properties) : base(properties)
 {
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="StrokeAndFillCartesianSeries{TModel, TVisual, TLabel, TDrawingContext}"/> class.
 /// </summary>
 /// <param name="properties">The properties.</param>
 protected StrokeAndFillCartesianSeries(SeriesProperties properties) : base(properties)
 {
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="StrokeAndFillCartesianSeries{TModel, TVisual, TLabel, TDrawingContext}"/> class.
 /// </summary>
 /// <param name="properties">The properties.</param>
 public StrokeAndFillCartesianSeries(SeriesProperties properties) : base(properties)
 {
 }
Ejemplo n.º 9
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BarSeries{TModel, TVisual, TLabel, TDrawingContext}"/> class.
 /// </summary>
 /// <param name="properties">The properties.</param>
 protected BarSeries(SeriesProperties properties)
     : base(properties)
 {
     HoverState = LiveCharts.BarSeriesHoverKey;
 }