Hello
I have a chart in WPF and I go to Reporting but I have some doubts that following are:
They have to be the closest thing to signed attachment.
- As I can make the high is less.
- As I can change or hide where it says 0 and 170 for a text or hide it, is a series: Code
- Also get the minimum of the Y t max but does nothing. Code
thanks
I have a chart in WPF and I go to Reporting but I have some doubts that following are:
They have to be the closest thing to signed attachment.
- As I can make the high is less.
- As I can change or hide where it says 0 and 170 for a text or hide it, is a series: Code
Telerik.Reporting.Charting.ChartSeriesItem seriesItem = new Telerik.Reporting.Charting.ChartSeriesItem();chartLinea.PlotArea.YAxis[a].TextBlock.Text = "Escala Total";seriesItem.Label.TextBlock.Text = "Escala Total";seriesItem.YValue = Convert.ToInt32(sujeto.EscalaTotal);seriesItem.Name = "Escala Total";seriesItem.Visible = false; series.Appearance.LegendDisplayMode = Telerik.Reporting.Charting.ChartSeriesLegendDisplayMode.SeriesName; // se inserta el de 170 puntoschartLinea.PlotArea.YAxis[a++].TextBlock.Text = "";seriesItem.Label.TextBlock.Text = "";seriesItem.YValue = 170;seriesItem.Name = "";seriesItem.Visible = false;series.Appearance.LegendDisplayMode = Telerik.Reporting.Charting.ChartSeriesLegendDisplayMode.SeriesName;series.AddItem(seriesItem); series.Appearance.LabelAppearance.LabelLocation = Telerik.Reporting.Charting.Styles.StyleSeriesItemLabel.ItemLabelLocation.Outside;chartLinea.Series.Clear();chartLinea.Series.Add(series);- Also get the minimum of the Y t max but does nothing. Code
chartLinea.PlotArea.YAxis.MinValue = 30;chartLinea.PlotArea.YAxis.MaxValue = 170;chartLinea.PlotArea.YAxis.Step = 10;chartLinea.PlotArea.YAxis.Appearance.Color = System.Drawing.Color.DarkGreen;chartLinea.PlotArea.YAxis.Appearance.TextAppearance.TextProperties.Color = System.Drawing.Color.DarkGreen;chartLinea.PlotArea.YAxis.Appearance.TextAppearance.Visible = true;chartLinea.PlotArea.YAxis.Appearance.Visible = Telerik.Reporting.Charting.Styles.ChartAxisVisibility.True;chartLinea.PlotArea.YAxis.Appearance.ValueFormat = Telerik.Reporting.Charting.Styles.ChartValueFormat.General;thanks