radchart

How to set the Y-Axis Label of radChart values using List<string>

流过昼夜 提交于 2019-12-25 05:22:20
问题 How can I set the X-Axis labels using radChart as I am getting the IndexOutOfRange Exception I do not what is the reason behaind this. public void setchart() { radChart.Clear(); radChart.BringToFront(); radChart.ChartTitle.TextBlock.Text = "Total Number Of Units Per Rack"; this.Controls.Add(radChart); radChart.Dock =DockStyle.Fill; radChart.PlotArea.Appearance.Dimensions.Height = 500; radChart.PlotArea.XAxis.AxisLabel.Visible = true; radChart.PlotArea.XAxis.AxisLabel.TextBlock.Text =

How to Hide or Remove Zero values in line series RadChart

孤者浪人 提交于 2019-12-14 01:28:01
问题 I'm using Radchart,i want to remove the line series which is showing value zero.Is there any possible way to hide or remove the value showing zero.Please provide any solution or code. Thanks in Advance. 回答1: After 2 days of struggle i have found the solution how to hide or remove the line series which contains zeros.I have four line series in that 4th line series contains zero's i which i want to hide those zero values and i have done. before implementation After implementation code //-------

Telerik RadChart labeling and positioning

一笑奈何 提交于 2019-12-11 10:45:53
问题 I'm new to Telerik Chart controls and I have some minor problems: (1) I want to set the (1, 2, 3, 4) in the horizontal axis into ("a", "b", "c", "d") (2) The legend stays at the top of the chart Please tell me how to do it. 回答1: (1) I want to set the (1, 2, 3, 4) in the horizontal axis into ("a", "b", "c", "d") (2) Use the Legend section under the chart wizard to adjust the location of your legend: 回答2: <Legend><Appearance Dimensions-Margins="17.6%, 3%, 1px, 1px" Dimensions-Paddings="2px, 8px

Data binding outside the visual tree. Data Context bridging

≡放荡痞女 提交于 2019-11-28 00:07:32
I am trying to bind a dynamic behavior to a visual element outside the WPF logical and visual trees. My problem is that the RadChart plot color is given in (quasi path): RadChart.SeriesMapping.LineSeriesDefinition.Appearance.Stroke I originally wanted to Bind that to a property of the chart datacontext in XAML. Naively, I just wrote a regular {Binding PlotBrush} Compiler returned "Cannot Find Governing FrameWorkelement" error. After reading up, I reckon that this means that resolving the datacontext up the hierarchy did not work. Because its ancestors (XAML speaking) has other types than

Data binding outside the visual tree. Data Context bridging

我是研究僧i 提交于 2019-11-26 21:37:42
问题 I am trying to bind a dynamic behavior to a visual element outside the WPF logical and visual trees. My problem is that the RadChart plot color is given in (quasi path): RadChart.SeriesMapping.LineSeriesDefinition.Appearance.Stroke I originally wanted to Bind that to a property of the chart datacontext in XAML. Naively, I just wrote a regular {Binding PlotBrush} Compiler returned "Cannot Find Governing FrameWorkelement" error. After reading up, I reckon that this means that resolving the