[root] / trunk / graf2d / graf / src / TPie.cxx Repository:
ViewVC logotype

Log of /trunk/graf2d/graf/src/TPie.cxx

Parent Directory Parent Directory


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 48124 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 19 13:51:11 2012 UTC (2 years, 1 month ago) by couet
File length: 50286 byte(s)
Diff to previous 44507
New drawing option "SC" to draw the labels with the slices'  colors.

Revision 44507 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 4 12:30:41 2012 UTC (2 years, 7 months ago) by axel
File length: 49906 byte(s)
Diff to previous 41891
Remove
  using namespace std;
from Riostream.h, which has huge consequences for all of ROOT.
Riostream.h is now a simple wrapper for fstream, iostream, iomanip for backward compatibility; Riosfwd.h simply wraps iosfwd.

Because of templates and their inline functions, Riostream.h needed to be included in headers, too (e.g. TParameter.h), which violated the assumption that Riostream.h is not exposing its using namespace std to headers.
ROOT now requires R__ANSISTREAM, R__SSTREAM, which does not change the set of supported compilers.

Without "using namespace std", several identifiers are now prefixed by std::; e.g. roofit/* source files now have a using namespace std to keep their coding style.
TFile::MakeProject() now generates "using namespace std" to convert the CINT-style class names into C++ ones.

Revision 41891 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 10 22:46:31 2011 UTC (3 years, 2 months ago) by pcanal
File length: 49796 byte(s)
Diff to previous 31025
Remove all assigned but unused variable discovered by g++ 4.6.1 (including one completely nop function)

Revision 31025 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Nov 8 16:42:42 2009 UTC (5 years, 2 months ago) by brun
File length: 49964 byte(s)
Diff to previous 30913
Add several protections in all setters in case the slice requested does not exist.

Revision 30913 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 29 08:59:26 2009 UTC (5 years, 2 months ago) by couet
File length: 49832 byte(s)
Diff to previous 23925
- TPie::GetEntryVal(i) returned GetSlice(i)->GetRadiusOffset() instead of
  GetSlice(i)->GetValue(). Very likely the code was copied/pasted from the 
  method TPie::GetEntryRadiusOffset(i).

Revision 23925 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 20 09:46:07 2008 UTC (6 years, 8 months ago) by couet
File length: 49839 byte(s)
Diff to previous 23468
- From Guido Volpi:
  More fixes.

Revision 23468 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 23 14:06:42 2008 UTC (6 years, 9 months ago) by couet
File length: 49849 byte(s)
Diff to previous 23140
- Fix shadowed variables.

Revision 23140 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 11 11:01:39 2008 UTC (6 years, 9 months ago) by rdm
File length: 49842 byte(s)
Diff to previous 21606
move the following directories to "graf2d":

asimage, freetype, gpad, graf, postscript, qt, win32gdk, x11, x11ttf

move the following directories to "graf3d":

eve, ftgl, g3d, gl, x3d

Revision 21606 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 9 10:23:09 2008 UTC (7 years ago) by couet
Original Path: trunk/graf/src/TPie.cxx
File length: 49842 byte(s)
Diff to previous 20882
- From Guido Volpi:

* TPie::MakeLegend() now takes an extra argument to setup the TLegend
header, the default now is an empty header for the legend instead the
name of the TPie object.

* TPie::SortSlices() has an extra argument that represents a threshold;
if the threshold is greater than 0 (the default value), slices with
values smaller than the threshold are merged together in a new slice
with the label "other".

Revision 20882 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 19 11:31:26 2007 UTC (7 years, 2 months ago) by rdm
Original Path: trunk/graf/src/TPie.cxx
File length: 47348 byte(s)
Diff to previous 20538
Set property svn:eol-style LF on all source and Makefiles. This should avoid
problems with Win32 line endings ending up in the repository. All MS tools
support LF eols fine.

Revision 20538 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 30 10:00:14 2007 UTC (7 years, 2 months ago) by couet
Original Path: trunk/graf/src/TPie.cxx
File length: 47348 byte(s)
Diff to previous 19826
- From Guido Volpi:
- Redefinition of some static variables: in global variable the flag is
  not needed, in other part the definition as const is better.
- MakeLegend() method can have 4 arguments that represent the TLegend
  position: TPie::Makelegend(x1,y1,x2,y2). The default values are the old
  one.
- Added the method TPie::SortSlices(Bool_t); this method sorts the
  TPieSlices according the values in increasing (kTRUE) or decreasing
  (kFALSE) order.
- Added the two more drawing options ">" and "<", to draw applying the
  increasing or decreasing order.

Revision 19826 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:56:11 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/graf/src/TPie.cxx
File length: 45888 byte(s)
Diff to previous 19825
imported svn:keywords Id property

Revision 19825 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:49:10 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/graf/src/TPie.cxx
File length: 45936 byte(s)
Diff to previous 19029
remove :$ from tag line

Revision 19029 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 14 09:17:53 2007 UTC (7 years, 7 months ago) by couet
Original Path: trunk/graf/src/TPie.cxx
File length: 45946 byte(s)
Diff to previous 18299
- From Guido Volpi:
  * Cleanup in TPie and TPieSlice in the methods that evaluates if the pointer
    is the slice area or in the area.

  * The labels now are not printed over the pie area.

  * Added the SetAngle3D() and GetAngle3D() method to change the perspecive
    angle if the 3d option is used.

Revision 18299 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 16 15:59:16 2007 UTC (7 years, 10 months ago) by couet
Original Path: trunk/graf/src/TPie.cxx
File length: 45876 byte(s)
Diff to previous 18289
- From Guido Volpi:
  - removed some unused variables and portion of codes in DistancetoSlice()
  - improved the rotation of the pie-chart: now the angle offset change
    following the mouse pointer around the center of the TPie.

Revision 18289 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 16 14:58:17 2007 UTC (7 years, 10 months ago) by couet
Original Path: trunk/graf/src/TPie.cxx
File length: 46047 byte(s)
Diff to previous 18051
- Use TColor::GetColorBright

Revision 18051 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 21 21:54:21 2007 UTC (7 years, 11 months ago) by brun
Original Path: trunk/graf/src/TPie.cxx
File length: 46025 byte(s)
Diff to previous 17967
From Axel:
Replace include "TPad.h" by "TVirtualPad.h"
Including TPad.h had a catastrophic side-effect of introducing dependencies of graf on gpad.

Revision 17967 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 15 15:04:41 2007 UTC (7 years, 11 months ago) by brun
Original Path: trunk/graf/src/TPie.cxx
File length: 46019 byte(s)
Diff to previous 17490
-replace calls to gROOT->GetMakeDefCanvas()() by gROOT->MakeDefCanvas()

Revision 17490 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 24 17:06:21 2007 UTC (8 years ago) by couet
Original Path: trunk/graf/src/TPie.cxx
File length: 46026 byte(s)
Diff to previous 17179
- From Guido Volpi (and O.Couet):
  - Introduction of the TPieSlice class to hold the content of any slice.
    A single slice responds to the mouse if the pointer is near a slice's
    corner (the pointer became a cross).
   - TPie now uses TPieSlice.

   Bug Fix:
   - The labels using options "tan" or "rad" in some conditions were upside
     down.fixed.

Revision 17179 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 12 13:39:19 2006 UTC (8 years, 1 month ago) by couet
Original Path: trunk/graf/src/TPie.cxx
File length: 42055 byte(s)
Diff to previous 17148
- Change comments according to the new $ROOTSYS/tutorials structure

Revision 17148 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 11 11:00:27 2006 UTC (8 years, 1 month ago) by couet
Original Path: trunk/graf/src/TPie.cxx
File length: 42042 byte(s)
Diff to previous 16951
- From Guido Volpi:

1. some temporary variables used only during pie movements now are in the .cxx

2. corrected the bug in the Paint() method that cause some problem in the
opaque movements under some circumstance

3. now all movements scale well in pseudo 3d visualiziation

4. added the property fHeight and its method to change the thickness of the
piechart

5. Corrected few thing in DrawGhost().

6. added the "NOL" (No Out-Line) option to prevent the draw of the line around
the chart: this feature have a better result in the pseudo-3d mode.

7. added '// *MENU*' in the SetRadius method definition

Revision 16951 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 27 10:06:32 2006 UTC (8 years, 1 month ago) by couet
Original Path: trunk/graf/src/TPie.cxx
File length: 39001 byte(s)
Diff to previous 16935
- In the constructor from TH1, the X axis label attributes are used for
  the pie labels.

Revision 16935 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 24 17:03:37 2006 UTC (8 years, 2 months ago) by couet
Original Path: trunk/graf/src/TPie.cxx
File length: 38885 byte(s)
Diff to previous 16915
- Set better labels in the constructor from a TH1.

Revision 16915 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 24 13:07:55 2006 UTC (8 years, 2 months ago) by couet
Original Path: trunk/graf/src/TPie.cxx
File length: 38728 byte(s)
Diff to previous 16889
- From Guido Volpi:
  New drawing option "3D" to draw the pie chart with a pseudo 3D effect.

Revision 16889 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 23 13:37:14 2006 UTC (8 years, 2 months ago) by couet
Original Path: trunk/graf/src/TPie.cxx
File length: 34466 byte(s)
Diff to previous 16888
- Complete TPie::SavePrimitive.

Revision 16888 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 23 10:06:35 2006 UTC (8 years, 2 months ago) by couet
Original Path: trunk/graf/src/TPie.cxx
File length: 33817 byte(s)
Diff to previous 16885
- Fix the contructor from a TH1:
  * The bins contents were not retrieve properly.
  * Take into account the histogram subrange.
- Better use of the text angle for slices labels.

Revision 16885 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 23 07:42:06 2006 UTC (8 years, 2 months ago) by brun
Original Path: trunk/graf/src/TPie.cxx
File length: 33757 byte(s)
Diff to previous 16873
Fix coding convention violation

Revision 16873 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 22 15:42:22 2006 UTC (8 years, 2 months ago) by couet
Original Path: trunk/graf/src/TPie.cxx
File length: 33756 byte(s)
Diff to previous 16801
- The pie can now be rotated interactively.
- New constructor from an TH1.
- Fixes in comments.

Revision 16801 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 17 15:18:56 2006 UTC (8 years, 2 months ago) by couet
Original Path: trunk/graf/src/TPie.cxx
File length: 33094 byte(s)
Diff to previous 16789
- Output on root file and DrawClone are now working.
- Rename two methods (previous names were meaningless).

Revision 16789 - (view) (download) (as text) (annotate) - [select for diffs]
Added Thu Nov 16 12:19:49 2006 UTC (8 years, 2 months ago) by couet
Original Path: trunk/graf/src/TPie.cxx
File length: 33035 byte(s)
- New class TPie to draw a pie-chart (From Guido Volpi and Olivier).
  See $ROOTSYS/tutorials/piechart.C

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

Subversion Admin
ViewVC Help
Powered by ViewVC 1.0.9