Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Message from discussion Pie charts now here
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
nos  
View profile  
 More options Mar 21 2008, 11:11 am
From: nos <dark...@gmail.com>
Date: Fri, 21 Mar 2008 08:11:40 -0700 (PDT)
Local: Fri, Mar 21 2008 11:11 am
Subject: Re: Pie charts now here
You can try something like:

var data = [
{label:'serie 1', labelOffset:v1>100?120:80, data:v1}

On 21 мар, 16:56, timothytoe <timothy...@gmail.com> wrote:

> I said that backwards. You want the labels to move in for fat slices
> and out for thin slices.

> On Mar 21, 7:09 am, timothytoe <timothy...@gmail.com> wrote:

> > I made a pie chart, too. You might like to try what I did--make your
> > radial label offset factor vary according to the size of the slice.
> > That way, the label moves in for thick slices and out for fat slices.

> > Eventually, we might want to also support labels external to the pie
> > with lines in to the pie.

> > My pies also have a drop shadow.

> > On Mar 21, 5:05 am, "Woody Gilk" <woody.g...@gmail.com> wrote:

> > > Hooray! This looks fantastic! Hopefully Ole won't have any issues
> > > merging it into trunk.

> > > -Woody

> > > On Thu, Mar 20, 2008 at 9:11 PM, nos <dark...@gmail.com> wrote:

> > > >  The first I have to say that Flot is outstanding product. But I missed
> > > >  pie charts and decided don't wait for author and take my needs in my
> > > >  hands.

> > > >  I present you my implementation of pie chart with Flot.

> > > >  There is example:
> > > >  http://javascript.cooldev.com/flot-pie/

> > > >  Modified source:
> > > >  http://javascript.cooldev.com/flot-pie/jquery.flot.pie.js

> > > >  the same but packed:
> > > >  http://javascript.cooldev.com/flot-pie/jquery.flot.pie.pack.js

> > > >  Archived example:
> > > >  http://javascript.cooldev.com/flot-pie/FlotPie.zip

> > > >  Data array format:
> > > >  [
> > > >         { label: "Serie1",  data: 10},
> > > >         { label: "Serie2",  data: 30},
> > > >                 { label: "Serie3",  data: 90},
> > > >                 { label: "Serie4",  data: 70},
> > > >                 { label: "Serie5",  data: 80},
> > > >                 { label: "Serie6",  data: 110}
> > > >  ]

> > > >  Configuration options:

> > > >  pie: {

> > > >  show: true,
> > > >  pieStrokeLineWidth: 1,
> > > >  pieStrokeColor: '#FFF',
> > > >  pieChartRadius: 100,                    // by default it calculated by
> > > >  centerOffsetTop:30,             // top offset of pie center
> > > >  centerOffsetLeft:30,                    // if 'auto' and legend position is "nw" then
> > > >  centerOffsetLeft is equal a width of legend.
> > > >  showLabel: true,                                //use ".pieLabel div" to format looks of labels
> > > >  labelOffsetFactor: 5/6,                 // part of radius (default 5/6)
> > > >  labelOffset: 0                  // offset in pixels if > 0 then
> > > >  labelOffsetFactor is ignored
> > > >  labelBackgroundOpacity: 0.55,   // default is 0.85
> > > >  labelFormatter: function(serie){// default formatter is "serie.label"
> > > >         //return serie.label;
> > > >         //return serie.data;
> > > >         return serie.label+'<br/>'+Math.round(serie.percent)+'%';
> > > >  }

> > > >  }

> > > >  Sergey Nosenko
> > > >  #javascript navigation for your sites
> > > >  http://javascript.cooldev.com

> > > --
> > > wgilk design and blog [http://www.wgilk.com]
> > > follower of the fat penguin [http://www.linux.org]- Скрыть цитируемый текст -

> - Показать цитируемый текст -


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.