Hi,
I have 2 drawings in my chart, one for daily values and other drawing for hourly values.
Since i have both drawings in same chart, the hourly drawing will take into account the hour values, but I want the drawing for the daily values (drawing 2) to ignore the hours between each 2 consecutive days.
Also, I don t want it to make me a horizontal line between day 1 at midnight and following day at midnight. Also I don t want it to draw a zero value line between the days at midnight. Since i will put null value in all the hours: 01, 02....,23h for the daily drawing, I want the chart to ignore those nulls and only take into account the values that are not null that I will assign to: day 1 at midnight, day 2 at midnight.... day n at midnight
any ideas ?
Thanks a lot :)
Hello rtutus ,
Thank you for submitting your query with Infragistics developer support.
I am not very sure about the exact scenario that you are using in your application. I would request you to please provide me a screenshot of your set-up
so that I can try to create a sample application or if possible please provide me an isolated sample application so that I can better understand the scenario and help you in batter manner.
I’m looking forward to your reply.
Best Regards,
Maya Kirova
Developer Support Engineer
Infragistics, Inc.
http://es.infragistics.com/support
Hi, I tried to write the following description for my issue, let me know if I managed to clarify my need or I should rephrase it. I will try to attach the desired graph
"Let s suppose my graph is for the period of datetime: 06/01/2011 at 12:00 to 06/01/2011 at 23:00
I Have one datetime X_axis representing both hours and minutes within the hours. Each 2 consecutive hours have only one single minute date time within them. For example, for the hours: 13h and 14h, there is only one specific minute Datetime: " 13h:47" for example holding the corresponding peak value of the range: 13h to 14h
so the x_axis goes like this: 12h, 12:35, 13h, 13h47, 14h, 14:53 ...etc. The datetime column in my datatable is called: Date
Now for the Y_values, there are 2 datatable columns (that s why I will have 2 graphs/orange graphs)
One column is called: HourValue holding the values for the consecutive hours DateTimes: 12h, 13h, 14h, 15h ...etc, the values are numeric values: 16543, 12345, 98765 ... for example
So in order not to alter my hours graph, I set in my data table the column HourValue to NULL for the date values : 12:35, 13h47, 14:53 ...etc of my Date column
The second graph is representing the Datatable column MinuteValue and this column holds the values for the Dates: 12:35, 13h47, 14:53 ...etc
Therefore, I set in my datatable, the column MinuteValue to Null for the dates: 12h, 13h, 14h, 15h...etc so that my minutes graph won'be altered by the hours values
In other way: the hours graph will have only the hours' corresponding values and the minutes graph will have only the minutes' corresponding values.
The last requirement is: the hours graph will be lines connecting the values of the different hours, and the minutes graph will be scattered bold dots spread, NO LINES connecting the different minute values
p.s: please ignore the blue graph, only look at the 2 orange graphs where the 1st orange graph is for the hours and the second orange graph is for the minutes"
sorry one last thing, the hours graph has each value correspinding to the hour datetime set to bold, like the Y-value for the hour 13h is bold and lines connecting the hours 13h to 14h is thin line.
Thanks a lot for looking at this, it will be big help
Hello Rtutus,
Thank you for the detailed information and the screenshot.
Regarding your first issue with the null values please refer to this sample from our sample browser:
http://samples.infragistics.com/aspnet/Samples/WebCharts/Display/Series-Data/Null-Handling/Default.aspx?cn=chart&sid=8cca2bb0-c94c-44b3-825a-b1976f88e199
There you’ll find 3 different options for handling null values. You could set it to “Don’t Plot” option and this will configure the chart not to plot data points whose value is null.
Regarding your second issue. You could use a composite chart and add a scatter chart layer that will show the minutes in the way you require. You can still use the same x and y axises.
Let me know if you require further assistance with this.
Thanks a lot Maya :)
In our online help there’s a step by step walkthrough on how to create a composite chart with 2 chart layers.Here're the links to them.
Part One: http://help.infragistics.com/NetAdvantage/ASPNET/2011.1/CLR4.0/?page=Chart_Creating_a_Composite_Chart_Using_the_Chart_Wizard_Part_1_of_2.html
Part Two: http://help.infragistics.com/NetAdvantage/ASPNET/2011.1/CLR4.0/?page=Chart_Creating_a_Composite_Chart_Using_the_Chart_Wizard_Part_1_of_2.html
I hope this will help you in the creation of your composite chart. Let me know if you have any questions or concerns.
Thanks a lot Maya, I appreciate your help. would u have a simple/sample for the composite chart with one graph as scattered dots and the 2nd graph will be regular line chart , I guess ?? , i found the sample in the samples a little complicated for me :(
Thanks