View unanswered posts | View active topics It is currently Thu Mar 28, 2024 5:27 pm



Reply to topic  [ 7 posts ] 
Diamond Series Shape for Plot Chart! 
Author Message
New pChart user
New pChart user

Joined: Tue Jun 07, 2011 9:45 am
Posts: 1
Post Diamond Series Shape for Plot Chart!
Hi I have modded the pDraw class to include a filled diamond for the plot chart.

Code:
elseif ( $Shape == SERIE_SHAPE_FILLEDDIAMOND )
      {
       if ( $PlotBorder )
        {
         $Pos = ""; $Pos[]=$X; $Pos[]=$Y-$PlotSize-$BorderSize; $Pos[]=$X-$PlotSize-$BorderSize; $Pos[]=$Y; $Pos[]=$X; $Pos[]=$Y+$PlotSize+$BorderSize; $Pos[]=$X+$PlotSize+$BorderSize; $Pos[]=$Y;
         $this->drawPolygon($Pos,array("R"=>$BorderR,"G"=>$BorderG,"B"=>$BorderB,"Alpha"=>$BorderAlpha));
        }

       $Pos = ""; $Pos[]=$X; $Pos[]=$Y-$PlotSize; $Pos[]=$X-$PlotSize; $Pos[]=$Y; $Pos[]=$X; $Pos[]=$Y+$PlotSize; $Pos[]=$X+$PlotSize; $Pos[]=$Y;
       $this->drawPolygon($Pos,array("R"=>$R,"G"=>$G,"B"=>$B,"Alpha"=>$Alpha));
      }


you also need to update the pData class

Code:
/* Families of data points */
define("SERIE_SHAPE_FILLEDCIRCLE"   , 681011);
define("SERIE_SHAPE_FILLEDTRIANGLE"   , 681012);
define("SERIE_SHAPE_FILLEDSQUARE"   , 681013);
define("SERIE_SHAPE_CIRCLE"      , 681014);
define("SERIE_SHAPE_TRIANGLE"      , 681015);
define("SERIE_SHAPE_SQUARE"      , 681016);
define("SERIE_SHAPE_FILLEDDIAMOND"   , 681017);


Hope this helps!


Tue Jun 07, 2011 9:47 am
Profile
Site Admin
Site Admin
User avatar

Joined: Thu Dec 02, 2010 2:31 pm
Posts: 409
Location: France
Post Re: Diamond Series Shape for Plot Chart!
Hi,

Good idea indeed ;o) I've just added the SERIE_SHAPE_DIAMOND and SERIE_SHAPE_FILLEDDIAMOND to the in-build series shapes.

Kind regards,
JD.


Fri Jun 17, 2011 7:42 pm
Profile WWW
New pChart user
New pChart user

Joined: Fri Feb 10, 2012 6:08 am
Posts: 1
Post Re: Diamond Series Shape for Plot Chart!
HI there, I am going to buy a diamond ring for my wedding. So I am searching for different diamond shapes online. Your thread about the diamond shapes is really good. Please do share some diamond shapes with images. Thank you.


Last edited by adanbarter on Fri Jul 13, 2012 7:26 am, edited 1 time in total.



Fri Feb 10, 2012 6:10 am
Profile
New pChart user
New pChart user

Joined: Fri Apr 27, 2012 6:17 am
Posts: 1
Post Re: Diamond Series Shape for Plot Chart!
At Blue Nile, we apply the same high quality standards to all of our diamond shapes. We have an exceptional collection of traditional round diamonds and we also offer the finest non-round, or "fancy-shaped", diamonds available. All of our certified diamonds are graded by the GIA or AGSL to have FL-SI2 clarity, D-J colour, and Ideal, Very Good, Good, or Fair cut. Our Signature Diamonds are the finest quality diamonds available, and we offer them in round, princess-cut, Asscher-cut, and emerald-cut shapes.

_________________
Actualtests http://www.actualtests.com/
Exam cissp-certification http://www.actualtests.com/study/cissp- ... cation.htm


Fri Apr 27, 2012 6:19 am
Profile
New pChart user
New pChart user

Joined: Mon Jun 25, 2012 8:22 am
Posts: 1
Post Re: Diamond Series Shape for Plot Chart!
Bob Saget Eyeglasses are absolutely the highlight of Bob Saget s personalized image. Really should he be deprived of this kind of a pair of eyeglasses, he would not have won so many fans worship and adoration. Bob Saget and his signature eyeglasses have nearly shaded into each other considering that his countless physical appearance on Television set and in front of the highlight.





Bob Saget was born in 1956 in Philadelphia. He has worked and risen up being a sitcom star, a Tv host, plus a stand-up comedian. Commencing in 1987, following a brief stint around the Morning Method, Saget performed one of TV s nicest, albeit wimpiest, dads to the sitcom Whole Household. Afterwards, Saget took on yet another exhibit in 1990, turning into the host of America s Funniest House Video clips, as well as the two programs cemented Saget s standing as Telly star. By all appearances, Saget is noticed on his standard Bob-Style eyeglasses. As soon as he is carrying this kind of eyeglasses, his humorous gestures and witty ray ban wayfarer sunglasses remarks, towards the accompaniment of smartly-designed scenarios, will elicit an eruption of laughter with the viewers. His eyeglasses add significantly to his own picture and make him extremely charismatic and charming, which explains an awesome lots of lovers have adored him as an ray ban 3025 icon and modeled themselves in his eyewear type on Bob.





On top of that to his extraordinary effectiveness on sitcoms and television reveals, Bob Saget has also distinguished himself in charity do the job. Being a issue of truth, he has devoted himself ray ban aviator sunglasses to philanthropy for just a appreciable period of time. He has voiced to a new Laptop or computer game to raise funds for your Starlight Children s Basis, a charity committed to helping very seriously sick youngsters and households cope by enjoyment, education, and family pursuits. His positive picture has become strengthened on account of such a heart of gold. Next to nothing may be far more inspiring and tears-moving than helping out individuals disadvantaged with their community influence as reflected in Bob Saget s good-willed motion.





Modern days have witnessed the popularity of Bob Saget eyeglasses, due to Bob s fans earnest adoration of him. They want to place on this sort of a signature pair of eyeglasses in honor of his extraordinary contribution towards the superior living quality by seasoning their lifestyle with hilarious jokes and trenchant witty remarks. A pair of Bob Saget eyeglasses will certainly stand you in great stead in that they cause you to equally as gentlemanly-looking as Bob. Should you come to feel an amazing urge surging inside you to be possessed of this kind of eyeglasses, just go oakley asian fit oakley polarized sunglasses for them and under no situation does one let them slip through your fingers hardly ever to get identified all over again.

Associated Posts:Vogue Comes and Goes But Never ever Does Jamie Lynn Spears EyeglassesCheap Vintage Eyeglasses: Invite Traditional and Fashion As well As Tighten Your Purse StringClic Browsing Eyeglasses Function Utility Likewise As ConvenienceAl Pacino Eyeglasses: The Legend that is Al Pacino s ExclusiveClip On Sunglasses For Adult men: Killing Two Birds With Just one Stone


Mon Jun 25, 2012 8:37 am
Profile
New pChart user
New pChart user

Joined: Thu Jul 04, 2013 9:10 am
Posts: 1
Post Re: Diamond Series Shape for Plot Chart!
wow. that's awesome!

How did you generate multiple charts with different data series into the same image?

_________________
Kaiyara


Thu Jul 04, 2013 9:22 am
Profile
New pChart user
New pChart user

Joined: Sat Aug 24, 2013 11:27 am
Posts: 1
Post Re: Diamond Series Shape for Plot Chart!
:lol: This post is so great and nice :P

How did you generate multiple charts with different data series into the same image?

_________________
{{{{{{{ MOHSIN }}}}}}}


Sat Aug 24, 2013 11:32 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 7 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron