Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » UppHub » PieChart: Title disable
PieChart: Title disable [message #28374] Tue, 31 August 2010 10:22 Go to next message
kohait00 is currently offline  kohait00
Messages: 936
Registered: July 2009
Location: Germany
Experienced Contributor
hi Pie author

a title sometimes is not desired, then the space is empty but could be used better..
-		if(titlePos==BOTTOM)
-			cy=scale*(GetSize().cy-titleGap-titleFont.GetHeight())/2;			
-		else
-			cy=scale*(GetSize().cy+titleGap+titleFont.GetHeight())/2;
+		if(!title.IsEmpty()) 
+		{
+			if(titlePos==BOTTOM)
+				cy=scale*(GetSize().cy-titleGap-titleFont.GetHeight())/2;			
+			else
+				cy=scale*(GetSize().cy+titleGap+titleFont.GetHeight())/2;
+		}
+		else cy=scale*(GetSize().cy+titleGap+0)/2;		
Re: PieChart: Title disable [message #42502 is a reply to message #28374] Thu, 20 March 2014 04:31 Go to previous messageGo to next message
unknown user
Unfortunately I got the same troublesome question as yours. I am looking forward some function like the UI chart control. The pie chart series from the UI chart control seems to be powerful, that might helps in our situation. But I never succeeded.
Re: PieChart: Title disable [message #42981 is a reply to message #42502] Mon, 21 April 2014 10:47 Go to previous messageGo to next message
BioBytes is currently offline  BioBytes
Messages: 302
Registered: October 2008
Location: France
Senior Member
Hi Edgar,

I guess UI controls are designed for C# (Sharp develop or Mono)

Regards Razz

Biobytes
Re: PieChart: Title disable [message #42992 is a reply to message #42502] Tue, 22 April 2014 08:37 Go to previous messageGo to next message
koldo is currently offline  koldo
Messages: 3268
Registered: August 2008
Senior Veteran
edgar wrote on Thu, 20 March 2014 04:31
Unfortunately I got the same troublesome question as yours. I am looking forward some function like the UI chart control. The pie chart series from the UI chart control seems to be powerful, that might helps in our situation. But I never succeeded.
Hello Edgar

UI chart control has many controls and some of them are already included in U++.

Could you post a screenshot of the plot you would like to have?


Best regards
IƱaki
Re: PieChart: Title disable [message #43004 is a reply to message #42992] Tue, 22 April 2014 22:09 Go to previous message
BioBytes is currently offline  BioBytes
Messages: 302
Registered: October 2008
Location: France
Senior Member
Hello Edgar,

As Koldo told you, you can find great help in ScatterCtrl (see documentation page on website). This tremendous feature allows a lot of graphics for data management to include in your application.

Good programming Smile
Regards

Biobytes
Previous Topic: [BUG] Heap leak in SysExec package
Next Topic: Upp package binding for LLVM/Clang library (libclang)
Goto Forum:
  


Current Time: Tue Oct 26 14:48:21 CEST 2021

Total time taken to generate the page: 0.01326 seconds