DateTimeCategoricalAxis categoricalAxis =
new
DateTimeCategoricalAxis();
categoricalAxis.PlotMode = Telerik.Charting.AxisPlotMode.BetweenTicks;
categoricalAxis.DateTimeComponent = Telerik.Charting.DateTimeComponent.Hour;
categoricalAxis.LabelFormat =
"{0:HH:mm}"
;
foreach
(RadCheckedListDataItem item
in
radCheckedDropDownListDates.CheckedItems)
{
List<MonitoringToolDomain.FILESPROCESSED> queryChart =
new
List<MonitoringToolDomain.FILESPROCESSED>();
queryChart = MonitoringToolCore.FilesProcessed.QueryLineChart((DateTime?)item.DataBoundItem, fromHour, toHour);
queryChart.Select(c => { c.DATETIME = CreateDateFromTime(2015, 12, 12, c.DATETIME);
return
c; }).ToList();
LineSeries test =
new
LineSeries
{
DataSource = queryChart,
ValueMember =
"AMOUNT"
,
CategoryMember =
"DATETIME"
,
IsVisibleInLegend =
true
,
LegendTitle = item.DataBoundItem.ToString()
//CombineMode = Telerik.Charting.ChartSeriesCombineMode.None
};
test.HorizontalAxis = categoricalAxis;
radChartView.Series.Add(test);
}
radChartView.ShowLegend =
true
;
}
I have a second problem, not sure if I should post it here but I don't want to create too many new threads. I would like to compare charts from different days as in my second attached picture. If I create different line series, the charts appear sequentially because they don't have the same date. The solution I'm using at the moment is to change the DATETIME parameter in all of my objects to have the same date part. Is there any other way to do this ?
What I'm doing now :
queryChart.Select(c => { c.DATETIME = CreateDateFromTime(2015, 12, 12, c.DATETIME);
return
c; }).ToList();
Hello,
I create a RadForm (named mainForm) with a RadDock.
I set the mainForm.MdiContainer = true and the radDock1.AutoDetectMdiChildren = true and the chilForm.MdiParentwith = mainForm (for all children form).
When I close my mainForm, in the FormClosing event I call radDock1.CloseAllWindows() and FormClosing event of MDI children form fires.
However can you tell me if is it possible to show (to active) every child form when FormClosing is called ?
Thank you
Bests regards
I add a textBox column and set dataType to system.Byte.
when type in cell letter throw system.FormatException.
how to handle this exception
Hello,
I use backstageview in my ribbonbar. I've enabled AutoScroll and set the AutoScrollMinSize in backstageview to use the scrolling bar if the window is too small.
But I've found a display issue when I drag the mouse to scroll. Please see the attached picture.
I invite you to download the video and the simple demo to reproduce the issue:
Video:
https://www.dropbox.com/s/em5hrxiosj62elo/backstageview_issue.mp4?dl=0
Demo:
https://www.dropbox.com/s/arkstdfkxi9pm52/RibbonBarDemo.rar?dl=0
Thank you by advance,
Hi,
I contact you about the new RadButtonTextBox control in winforms.
This control is perfect however can you tell me if is it possible to configure the textbox for decimal format ?
I would like to use this control in a Editor griview cell with element inherits of RadButtonTextBoxElement and replace this textbox by a decimal textbox ?
Thank you
Bests regards
I have a number of worksheets in a workbook, but I want to reorder them in a certain way. Is there a way to do this?
Lately, I switched from Tooltip to screentip on my grids because some cells were containing HTML.
I have an issue with some grids. I have a feature that disable the grid when a cell is double-clicked (to enable other controls in editing mode). My issue is that if the screentip is visible when I double-click, the screentip remains visible.
How to hide the screentip? Do you have an auto-close delay or some other mechanism?
Hello,
I've activated autotooltip for the buttons in my ribbonbar. But the autotooltip can not take acount of the translation like the button text.
It should display the same text as the button, doesn't it ?
You can see in my attach photo, the button is in French, but the tooltip is in english.
Thank you by advance.