7

All Visualforce pie charts I see online and the one's I'm developing now seem to just randomly place wedges on the chart. Update: the first wedge is placed with a horizontal center line pointing to 90º

What I'm after is some option to force starting at the same spot. I think "12 o'clock" is the most common one but anything will do. Compare with this example Google chart:

Any ideas? Couldn't find anything in the reference of <apex:chart> or <apex:pieSeries> and the generated Javascript looks scary (plus probably my change would break the moment someone starts interacting with it).

2
  • 3
    I think you should submit an Idea; I'd vote for it.
    – Mike Chale
    Commented Feb 19, 2013 at 16:21
  • 3
    The wedge placement is not random. The middle of the first wedge is always horizontal and on the right. I see that Visualforce pie charts fills the pie anticlockwise, whereas Google does more sensible clockwise fill. I think most people would want to go through the pie chart clockwise while reading the legend. Commented Feb 19, 2013 at 18:20

1 Answer 1

1

Personally I've gravitated towards using the Google Charts Image Api. Being imaged based it can still work in scenarios where javascript isn't available (i.e. rendering as PDFs or Conga Merges). It also has a ton of parameters to control just about everything (including where the initial value is).

Unfortunately it's been recently deprecated, which for Google, means after 3 years they have the option to start phasing it out.

1
  • This has always been my goto-solution as well until they deprecated it — such a shame!
    – Matt Lacey
    Commented May 21, 2013 at 0:20

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .