- Welcome, Guest. Please Login or Register
MindFusion  
  We have released initial version of MindFusion.Scheduling library for HTML5 & JavaScript.  
  HomeHelpSearchLoginRegister   
     
     
   
 
Page Index Toggle Pages: 1 Send Topic Print  
Where are aggregate function(like Sum,Max...) defined
Read 3557 times

luolishuang   Offline
YaBB Newbies
*
Posts: 40
I Love MindFusion!


   
     
 
Where are aggregate function(like Sum,Max...) defined
Feb 27th, 2013 at 8:53am
 
Code:
<r:Label Location="10,0" Size="100*,6" Text="Sum[Point]" />
 



we can use like this,but where's Sum defined?
and how to define median?
 
 
 
IP Logged    
 
     

Meppy   Offline
YaBB Moderator
*****
Posts: 1783
Gender: male
MindFusion support


   
     
 
Re: Where are aggregate function(like Sum,Max...) defined
Reply #1 - Feb 27th, 2013 at 10:59am
 
There are several aggregate functions available to use in expressions although they do not appear to be documented (we will rectify this in the next release). These include: Sum, Min, Max, Avg, and Count. Note, that the aggregate functions can be used only in DataRange headers and footers. The following is an example of how to use aggregate functions in expressions:

Code:
<r:Label Text="Total gain: [Sum(Gain)]" /> 


We have also made modifications to the control to include a Median aggregate. The updated assemblies can be downloaded from the link below:

http://mindfusion.eu/_temp/MindFusion.Reporting.Wpf.1.3.trial.zip

Regards,
Meppy
 
 
 
IP Logged    
 
     

luolishuang   Offline
YaBB Newbies
*
Posts: 40
I Love MindFusion!


   
     
 
Re: Where are aggregate function(like Sum,Max...) defined
Reply #2 - Feb 28th, 2013 at 1:34am
 
Meppy wrote on Feb 27th, 2013 at 10:59am:
There are several aggregate functions available to use in expressions although they do not appear to be documented (we will rectify this in the next release). These include: Sum, Min, Max, Avg, and Count. Note, that the aggregate functions can be used only in DataRange headers and footers. The following is an example of how to use aggregate functions in expressions:

Code:
<r:Label Text="Total gain: [Sum(Gain)]" /> 


We have also made modifications to the control to include a Median aggregate. The updated assemblies can be downloaded from the link below:

http://mindfusion.eu/_temp/MindFusion.Reporting.Wpf.1.3.trial.zip

Regards,
Meppy


When I replace these dlls,An error occurred during the compilation below

namespace is wrong?
 
 

2013-2-28_9-30-08.png (Attachment deleted)
 
IP Logged    
 
     

Meppy   Offline
YaBB Moderator
*****
Posts: 1783
Gender: male
MindFusion support


   
     
 
Re: Where are aggregate function(like Sum,Max...) defined
Reply #3 - Feb 28th, 2013 at 7:04am
 
The dlls target .NET 4. Is your project targeting a previous .NET version?

Regards,
Meppy
 
 
 
IP Logged    
 
     

luolishuang   Offline
YaBB Newbies
*
Posts: 40
I Love MindFusion!


   
     
 
Re: Where are aggregate function(like Sum,Max...) defined
Reply #4 - Feb 28th, 2013 at 7:17am
 
Meppy wrote on Feb 28th, 2013 at 7:04am:
The dlls target .NET 4. Is your project targeting a previous .NET version?

Regards,
Meppy


My project target framework version is 3.5
Can support for this version?
 
 
 
IP Logged    
 
     

Meppy   Offline
YaBB Moderator
*****
Posts: 1783
Gender: male
MindFusion support


   
     
 
Re: Where are aggregate function(like Sum,Max...) defined
Reply #5 - Feb 28th, 2013 at 7:27am
 
A build for .NET 3.5 can be downloaded from the link below:

http://mindfusion.eu/_temp/MindFusion.Reporting.Wpf.1.3.trial.net35.zip

Regards,
Meppy
 
 
 
IP Logged    
 
     

luolishuang   Offline
YaBB Newbies
*
Posts: 40
I Love MindFusion!


   
     
 
Re: Where are aggregate function(like Sum,Max...) defined
Reply #6 - Feb 28th, 2013 at 7:38am
 
Meppy wrote on Feb 28th, 2013 at 7:27am:
A build for .NET 3.5 can be downloaded from the link below:

http://mindfusion.eu/_temp/MindFusion.Reporting.Wpf.1.3.trial.net35.zip

Regards,
Meppy


Thanks a lot.
 
 
 
IP Logged    
 
     
Page Index Toggle Pages: 1 Send Topic Print