Telerik Forums
UI for WinForms Forum
1 answer
100 views

Hello good afternoon.

I ask for your support, for the following.

In a graph, when there are many elements in X, the labels come together a lot and the text is not understood.

 

When I apply a configuration by code, the graph does look better:

            horizontalAxis.MajorTickInterval = 10;
            horizontalAxis.TickLength = 10;
            horizontalAxis.TickWidth = 10;

 

I would like to start from the number of elements on the X axis that the labels begin to join, to automatically apply the aforementioned code.

My fear is that at some point, it doesn't graph well and it jumps strangely when graphing, could this happen?

Thank you so much
Dinko | Tech Support Engineer
Telerik team
 answered on 19 Jun 2023
1 answer
203 views

I am using a RadChartView to display a bar chart with a vertical linear axis. I adjust the values in the bars such that sometimes the plotted range in between 0 - 99 (so the axis tick labels have two digits), and sometimes the plotted range is between 100 - 999 (so the axis labels have three digits).

When the maximum number of digits in the tick labels changes, the horizontal position of the Y axis is adjusted to accommodate the increased label size.

Presumably this problem would also arise if the font size of the labels is adjusted.

Is it possible to disable this behavior and allocate a specified "margin" size in which to place the axis labels? I would like the position of the vertical axis to be fixed within the control's area.

Dinko | Tech Support Engineer
Telerik team
 answered on 06 Apr 2023
1 answer
139 views

Hi,

I'm trying to create a specific chart in RadChartView, where I need to have some annotations which are outside the grid area.  I thought I could extend the axis beyond what is needed and then add the annotations in the space created.   The chart will always have a minimum value of 0, so I extended the axis to -20, which works well to create the space.

However, to make it look correct I need to be able to override the rendering of the axis line, label and grid lines in order to remove the labels for negative values on the axis, and remove the grid and axis lines so the negative space doesn't appear to be part of the chart.  I've managed to do this for the labels, but cannot find an example of overriding the generation of the grid lines or axis line.

Attached is an image of where I am currently at - what I need is to remove all lines on the grid below 0 on the vertical axis.

Has anyone got an example of doing this, or something similar?

Thanks,
Neil.

Dinko | Tech Support Engineer
Telerik team
 answered on 05 Apr 2023
1 answer
212 views

I have a ScatterSeries  within a RadChartView which is bound to a BindingList of x-y plot points.

When the BindingList updates, the points on the chart are re-plotted , but are being plotted in the middle of the chart, with a large amount of whitespace between the extreme values and the bounds of the chart. The Maximum and Minimum axes values are seemingly decided automatically and at random (if there is some logic to amount of the whitespace being applied, I cannot discern it).

I would like the leftmost plot ploint to be flush with the leftmost axis, the right most plot point to beflush with the right axis, etc. (i.e. I want the axes to be "tight" around the data).

I can do this manually for a known data set with the following code:

LinearAxis horizontalAxis = radChartView1.Axes.Get<LinearAxis>(0);
// or verticalAxis = series.VerticalAxis as LinearAxis;
horizontalAxis.Minimum = 1;
horizontalAxis.Maximum = 7;

Is there a way I can apply this to ensure that the axes are flush with the outermost data points every time the chart is updated due to the binding? Is there a way  to do this without manually setting values for the axes Maximum and Minimum?

I tried applying the following setting to the axis but it does not seem to produce the desired effect; there is still whitespace between the plotted data and the left and right borders of the plot.

horizontal.RangeExtendDirection = NumericalAxisRangeExtendDirection.None;

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 23 Jan 2023
1 answer
536 views

We are attempting to make use of ChartView to plot a large number of data points, which display live data which is being received one point at a time. We are experiencing poor performance, with the charts rendering extremely slowly and presence of the resultant chart causing the application performance to drastically deteriorate, (presumably because of the large number of graphical elements present on screen).

We are attempting to implement a LineSeries (or FastLineSeries) which can display up to 90,000 data points.

Is there any guidance available regarding the capability of ChartView to plot a large number of points? Is plotting this many points something ChartView is capable of?

I believe that Telerik UI for WPF contains functionality to reduce the number of plotted points using sampling. Is there similar functionality available for Telerik UI for WinForms? Can you suggest an approach to implement similar functionality in a WinForms application?

For our requirements, one point is added to our dataset at a time; the remainder of the dataset remains fixed. Presumably, the entire chart is redrawn each time a new point is added, which is computationally expensive. Is there any way we can improve the chart rendering performance by removing the need to redraw the entire chart, adding only the novel data points to a pre-existing drawn series?

Are there performance considerations one should take into account when deciding whether to take  a data-binding-based approach or to directly add the DataPoints?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 17 Jan 2023
1 answer
134 views

Hello good day.

I am making an application that shows a graph, I use the chartview control, but when there is too much data on the X axis, the information is not distinguished.


I have read that it can be fixed by using MajorTickInterval on the horizontalAxis, I use this lines:

horizontalAxis.LabelFitMode = AxisLabelFitMode.Rotate;
horizontalAxis.MajorTickInterval = 7;

The clearest information is already displayed, but when displaying the information some data should appear in the graph but they are not shown because they are not in the interval.

Is there a solution?

Another question,

Can you remove or hide from the graph the values that have zero or null on the X axis?

Awaiting your comments.
Thank you very much.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 14 Nov 2022
1 answer
180 views

Hi.

I'm trying to draw a specific graph using RadChartView.

However, I couldn't find a way to remove the border line, which is marked with a red arrow in the attached image.

The background color must be Transparent.

Please tell me how to remove only those lines.

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 26 Oct 2022
1 answer
98 views

I use Telerik.WinControls.UI.RadChartView

I try to use RadChartView for show graphical lines. I have prepared series of ScatterLineSeries and upload its to RadChartView.Series. First page can show successfully. Unfortunately I can not show next page. I setting break after uploading data to RadChartView. Visual Studio mark by red color any changes (differences) in RadChartView properties and data.

I can see only small changes in data value and no more.

So, data for showing on second page is similar to data on the first page. However RadChartView show absolutely empty page.

Can anybody advice for me, what checklist I can pass to understand why second page is clear blank page?

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 04 Oct 2022
1 answer
119 views
Can I add charts to a ListControl ?
Maria
Telerik team
 answered on 23 Sep 2022
1 answer
166 views

Hi 

I would like to create charts programmatically  and display them in a table of two columns (like the attached photo) and and be able to drag and drop the displayed charts to change their locations. Is there a way to do this using the UI components for WinForms?

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 22 Sep 2022
Narrow your results
Selected tags
Tags
GridView
General Discussions
Scheduler and Reminder
Treeview
Dock
RibbonBar
Themes and Visual Style Builder
Calendar, DateTimePicker, TimePicker and Clock
DropDownList
Buttons, RadioButton, CheckBox, etc
ListView
ComboBox and ListBox (obsolete as of Q2 2010)
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
PropertyGrid
Menu
RichTextBox (obsolete as of Q3 2014 SP1)
Panelbar (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
Tabstrip (obsolete as of Q2 2010)
MaskedEditBox
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+128 more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?