Professional Web Applications Themes

CFChart Pie problem - Coldfusion - Advanced Techniques

When creating a pie from a database query, if 2 or more adjacent slices are very small, say 1 or 2 percent, then the data labels will overlap each other and be unreadable, no matter if they are inside or outside the pie. There seems to no way to prevent this. Tried to create a custom chart style using the WebCharts3D utility that comes with CFMX7 but there seems to be no option for placement of the data labels other than inside or outside. Has anyone else encountered this or found a solution?...

  1. #1

    Default CFChart Pie problem

    When creating a pie from a database query, if 2 or more adjacent slices are
    very small, say 1 or 2 percent, then the data labels will overlap each other
    and be unreadable, no matter if they are inside or outside the pie. There seems
    to no way to prevent this. Tried to create a custom chart style using the
    WebCharts3D utility that comes with CFMX7 but there seems to be no option for
    placement of the data labels other than inside or outside. Has anyone else
    encountered this or found a solution?

    ISLMEDIA Guest

  2. #2

    Default Re: CFChart Pie problem

    This is a limitation of the Webcharts engine and a common problem among
    charting tools.

    I assume you do not wish to use a different tool ($ or time).

    Here are some techniques we've used to mitigate this problem:

    1) Turn labels off -- User gets precise number in our own, external legend and
    on rollover.

    2) Use large chart size with small font size (6 or 8 px).

    3) Aggregate small slices into an "Other" or "Misc." pie slice. Several
    slivers become one "Misc." slice. The bigger and important things are still
    shown seperately. We break out the details on drilldown and/or mouseover.

    Cheers,
    -- MikeR


    MikerRoo Guest

  3. #3

    Default Re: CFChart Pie problem

    Thanks Mike,

    Your first suggestion is what we're doing right now in CFMX6.1 I had hoped 7
    would address this issue. No such luck.

    Problem for us is that we often copy the web charts into Powerpoint for live
    presentations and the client expects labels on all pies. So it seems for the
    forseeable future we'll continue adding them manually. DotNetCharting has a
    great graphing package which solves this problem elegantly, but it doesn't run
    on CF as far as I can see, only ASP.net unless anyone knows otherwise. If we
    could find a comparable charting engine that would work easily on CF we'd
    switch in a heartbeat!

    George

    ISLMEDIA Guest

  4. #4

    Default Re: CFChart Pie problem

    we've used [url]http://www.ve.com/kavachart/[/url] in the past w/good results. java based, easy enough to integrate w/cf.

    PaulH Guest

  5. #5

    Default Re: CFChart Pie problem

    Kava charts looks ok but it does not appear to support some of the
    functionality that we needed.

    Here are some products that do:
    [url]http://www.avs.com/software/soft_t/gsharp.html[/url] --$10K! -- Outstanding power
    and advanced plotting features. Must use Perl or Java to integrate.

    These are all well proven in various departments of my company (all but mine
    are Perl, Java or .net driven though).


    MikerRoo Guest

Similar Threads

  1. CF8 and cfchart problem
    By omega1234 in forum Coldfusion Flash Integration
    Replies: 3
    Last Post: July 22nd, 06:57 PM
  2. CFCHART Problem
    By cfdoogan in forum Coldfusion - Advanced Techniques
    Replies: 10
    Last Post: August 23rd, 03:20 PM
  3. cfchart Problem
    By steve0331@hotmail.com in forum Coldfusion - Advanced Techniques
    Replies: 2
    Last Post: June 1st, 04:23 PM
  4. CFChart Problem in MX 7
    By lancebalut in forum Macromedia ColdFusion
    Replies: 2
    Last Post: May 9th, 03:42 PM
  5. CFCHART problem in CF7
    By soonersak in forum Macromedia ColdFusion
    Replies: 8
    Last Post: April 6th, 03:27 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139