Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
|
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 25th, 2007, 09:24 PM
Registered User
 
Join Date: Jun 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default OWC11 and Date Grouping

Hi,

I am using owc11 for line chart. I am facing the problem with date grouping. I have 2 or 3 records on same date.

I wanted to show all records on the chart but owc11 did categorized and shown only one record.

 eg, Value Date

       2 25/06/2007

       3 25/06/2007

       4 25/06/2007



Now, my chart showing value(Y axis)= 9 and Date(X axis) = 25/06/2007. I do not want to group those record.

Please let me know which chart property I do need to set for ungrouping.

Thanks,
Alex



 
Old June 25th, 2007, 09:27 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

I imagine the chart component would respect the data being provided so I would guess it's not getting the right data. How are you getting the data that drives the chart? Is it possible the data source is aggregating the dates? I haven't worked with this component so I can't offer more than that.

-Peter
 
Old June 26th, 2007, 02:24 AM
Registered User
 
Join Date: Jun 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default


Hi Peter,

Yes, It is sound like crazy but It is my client's requirement.

Owc's default for same date is group by. Actually, I have done it before. I set the one of chart's property and then it is working but now I forgot which property i have been set.

Thanks,
Alex

 
Old July 6th, 2007, 01:39 AM
Registered User
 
Join Date: Jun 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Solved the problem.

ax.GroupingType = ChartAxisGroupingEnum.chAxisGroupingNone;

Thanks,
Alex


[/quote]






Similar Threads
Thread Thread Starter Forum Replies Last Post
Grouping with XSLT 1.0 rodmcleay XSLT 1 January 14th, 2008 11:42 PM
Protect cells and allow grouping/un-grouping sfreuden Excel VBA 4 December 14th, 2006 08:01 AM
Grouping the value in a variable d_sathish XSLT 2 November 8th, 2005 10:23 AM
grouping / totaling happyslug BOOK: Professional Crystal Reports for VS.NET 1 July 12th, 2005 05:07 AM
Grouping and totals btado XML 4 July 1st, 2005 03:08 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.