|
|
|
|
Page 1 of 1
|
[ 4 posts ] |
|
Author |
Message |
rdubya
|
LabelSkip Tick colors
Hey Guys,
Great product. Just a suggestion that would be good. I actually added it myself to the library. When you do skip labels and only label certain ticks, its hard to tell which ticks are actually labeled. It would be nice to be able to make them a different color. Here is what I added, and a few other lines to pass the color values etc...
if ( $InnerTickWidth !=0 || $OuterTickWidth != 0 ) if ($ID % $LabelSkip == 1) $this->drawLine($XPos,$YPos-$InnerTickWidth,$XPos,$YPos+$OuterTickWidth,array("R"=>$SkipTickR,"G"=>$SkipTickG,"B"=>$SkipTickB,"Alpha"=>$SkipTickAlpha)); else $this->drawLine($XPos,$YPos-$InnerTickWidth,$XPos,$YPos+$OuterTickWidth,array("R"=>$TickR,"G"=>$TickG,"B"=>$TickB,"Alpha"=>$TickAlpha));
Thanks Ryan
|
Fri Dec 10, 2010 9:52 pm |
|
|
jean-damien
Site Admin
Joined: Thu Dec 02, 2010 2:31 pm Posts: 409 Location: France
|
Re: LabelSkip Tick colors
Indeed this feature was missing. I've extended the drawScale function (2.0.7) to allow a bit more customization. The following attributes now applies to the skipped ticks :
$SkippedAxisTicks $SkippedAxisR $SkippedAxisG $SkippedAxisB $SkippedAxisAlpha $SkippedTickR $SkippedTickG $SkippedTickB $SkippedTickAlpha $SkippedInnerTickWidth $SkippedOuterTickWidth
Kind regards, JD.
|
Mon Dec 13, 2010 2:10 pm |
|
|
jean-damien
Site Admin
Joined: Thu Dec 02, 2010 2:31 pm Posts: 409 Location: France
|
Re: LabelSkip Tick colors
How it looks like :
|
Mon Dec 13, 2010 2:43 pm |
|
|
rdubya
|
Re: LabelSkip Tick colors
Awesome! Thanks!
|
Mon Dec 13, 2010 6:46 pm |
|
|
|
Page 1 of 1
|
[ 4 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 4 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
|
|
|
|