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 :)
Thanks a lot Maya :)
Hello rtutus ,
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.
Best Regards,
Maya Kirova
Developer Support Engineer
Infragistics, Inc.
http://es.infragistics.com/support
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
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.
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