private void openBtn_Click(object sender, RoutedEventArgs e) { if (!Archive.ImportFromFileTo(_measurements)) { mainChart.Visibility = Visibility.Hidden; measurementSelect.IsEnabled = false; return; } archiveInfoNameBox.Text = _measurements.AppName; archiveInfoDateBox.Text = _measurements.ArchCreateDate.ToShortDateString(); archiveInfoVersionBox.Text = _measurements.AppVersion; measurementSelect.ItemsSource = _measurements.MeasurementsName; measurementSelect.IsEnabled = true; Axis prim = new Axis(); prim.Title = "Temperatura [°C]"; Axis sec = new Axis(); sec.Title = "Godzina"; sec.Labels = _measurements.SecondAxisDate; _measurements.UpdateItems(0); mainChart.PrimaryAxis = prim; mainChart.SecondaryAxis = sec; mainChart.ClearAndPlot(); CheckIsEmpty(); }
public RadarChart() { AxisY = new Axis(); AxisX = new Axis(); Hoverable = true; ShapeHoverBehavior = ShapeHoverBehavior.Dot; AlphaLabel = true; MinInnerRadius = 10; }
public BarChart() { AxisY = new Axis(); AxisX = new Axis {Separator = new Separator {Step = 1}}; Hoverable = true; ShapeHoverBehavior = ShapeHoverBehavior.Shape; MaxColumnWidth = 60; DefaultFillOpacity = 0.75; LineSmoothness = 0.8; }
public BarChart() { AxisY = new Axis(); AxisX = new Axis {Separator = new Separator {Step = 1}}; Hoverable = true; ShapeHoverBehavior = ShapeHoverBehavior.Shape; LineType = LineChartLineType.Bezier; MaxColumnWidth = 30; DefaultFillOpacity = 0.75; }
public RadarChart() { PrimaryAxis = new Axis(); SecondaryAxis = new Axis(); Hoverable = true; ShapeHoverBehavior = ShapeHoverBehavior.Dot; AlphaLabel = true; AreaOpacity = .2; InnerRadius = 10; }
public ScatterChart() { PrimaryAxis = new Axis(); SecondaryAxis = new Axis(); Hoverable = true; ShapeHoverBehavior = ShapeHoverBehavior.Dot; AnimatesNewPoints = true; AreaOpacity = 0.2; LineType = LineChartLineType.Bezier; DataToolTip = new DefaultScatterTooltip(); }
public StackedBarChart() { AxisY = new Axis(); AxisX = new Axis {Separator = new Separator {Step = 1}}; Hoverable = true; AxisY.MinValue = 0d; ShapeHoverBehavior = ShapeHoverBehavior.Shape; LineType = LineChartLineType.Bezier; IndexTotals = new Dictionary<int, StackedBarHelper>(); MaxColumnWidth = 40; DefaultFillOpacity = 0.75; }
public ScatterChart() { AxisY = new Axis(); AxisX = new Axis(); Hoverable = true; ShapeHoverBehavior = ShapeHoverBehavior.Dot; LineType = LineChartLineType.Bezier; DataToolTip = new DefaultScatterTooltip(); var defaultConfig = new SeriesConfiguration<Point>().X(pt => pt.X).Y(pt => pt.Y); SetCurrentValue(SeriesProperty, new SeriesCollection(defaultConfig)); }
public PieChart() { AxisY = new Axis {FontWeight = FontWeights.Bold, FontSize = 11, FontFamily = new FontFamily("Calibri")}; AxisX = new Axis(); Hoverable = true; ShapeHoverBehavior = ShapeHoverBehavior.Shape; InnerRadius = 0; SlicePadding = 5; DrawPadding = 20; AnimatesNewPoints = true; SupportsMultipleSeries = false; }
public PieChart() { AxisY = new Axis {FontWeight = FontWeights.Bold, FontSize = 11, FontFamily = new FontFamily("Calibri")}; AxisX = new Axis(); Hoverable = true; ShapeHoverBehavior = ShapeHoverBehavior.Shape; InnerRadius = 0; SlicePadding = 5; DrawPadding = 20; Background = Brushes.White; AnimatesNewPoints = true; }
public LineChart() { AxisY = new Axis(); AxisX = new Axis { Separator = new Separator {IsEnabled = false, Step = 1}, IsEnabled = false }; Hoverable = true; ShapeHoverBehavior = ShapeHoverBehavior.Dot; LineSmoothness = 0.8; }
public LineChart() { PrimaryAxis = new Axis(); SecondaryAxis = new Axis { Separator = {Enabled = false, Step = 1}, IsEnabled = false }; LineType = LineChartLineType.Bezier; Hoverable = true; ShapeHoverBehavior = ShapeHoverBehavior.Dot; AreaOpacity = 0.2; }
public LineChart() { AxisY = new Axis(); AxisX = new Axis { Separator = new Separator {IsEnabled = false, Step = 1}, IsEnabled = false }; LineType = LineChartLineType.Bezier; Hoverable = true; ShapeHoverBehavior = ShapeHoverBehavior.Dot; }
public StackedBarChart() { PrimaryAxis = new Axis(); SecondaryAxis = new Axis {Separator = new Separator {Step = 1}}; Hoverable = true; PrimaryAxis.MinValue = 0d; ShapeHoverBehavior = ShapeHoverBehavior.Shape; IgnoresLastLabel = true; PerformanceConfiguration = new PerformanceConfiguration { Enabled = false }; AreaOpacity = 0.8; LineType = LineChartLineType.Bezier; IndexTotals = new Dictionary<int, StackedBarHelper>(); MaxColumnWidth = 60; }
public PieChart() { PrimaryAxis = new Axis { FontWeight = FontWeights.Bold, FontSize = 11, FontFamily = new FontFamily("Calibri")}; SecondaryAxis = new Axis(); Hoverable = true; ShapeHoverBehavior = ShapeHoverBehavior.Shape; InnerRadius = 0; SlicePadding = 5; DrawPadding = 20; Background = Brushes.White; AnimatesNewPoints = true; AreaOpacity = 1; PerformanceConfiguration = new PerformanceConfiguration { Enabled = false }; }
public BarChart() { PrimaryAxis = new Axis(); SecondaryAxis = new Axis {Separator = new Separator {Step = 1}}; Hoverable = true; ShapeHoverBehavior = ShapeHoverBehavior.Shape; IgnoresLastLabel = true; AreaOpacity = .8; LineType = LineChartLineType.Bezier; MaxColumnWidth = 60; //no performance config for a bar chart //why? because this chart need to build a bar per point, //I think there is no practicall way to make this work //It is better if final develover groups some of their points. PerformanceConfiguration = new PerformanceConfiguration {Enabled = false}; }