Strange CFChart Label issue

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default Strange CFChart Label issue

    I'm trying to create a chart showing percentage of space utilized on a server.
    Everything is all set, except the axis labels are acting odd. it goes from 0 -
    100, but uses 11, 22, 33, etc. for the other points. I would like to get them
    to be 10, 20, 30, etc.

    Anyone see this before?

    I'm running CFMX7, and I have played around with every combination of
    labelformat and even setting and modifying a style. This happens all the time,
    even with different data.

    There is a screenshot of this issue [url]http://www.albany.edu/~bs0614/quota.gif[/url]

    Thanks for any help, this is really getting annoying.

    Xenotrim Guest

  2. Similar Questions and Discussions

    1. CFChart - Changing Item Label Text to Vertical fromHorizontal
      I was having difficulty with a cfchart tag. I wanted to generate a chart with several vertical bars. The chart came from a query, whose data point...
    2. cfchart and license issue
      We started with a trial edition and then purchased the full license. When using cfchart the resulting chart in png, jpg, and flash all contain a...
    3. Cfchart colorseries and label problem
      OK, I found where about a year ago MM discovered that if you have a single data item you want to display in a cfchart, it will only color it yellow...
    4. CFChart Timeout Issue
      Good morning. Is anyone else seeing a problem with CFChart timing out after about a minute or so? My problem arises when I display a page with a...
    5. Strange CFCHART problem in MX6.1
      I've got a reporting application that also generates a graph. It has been working fine for over a year now. However, now when running the graph I...
  3. #2

    Default Re: Strange CFChart Label issue

    Have you tried the scaleTo attribute for <cfchart>?

    Perhaps setting it to 100 will remedy your issue rather than letting CF determine the max value.
    LeftCorner Guest

  4. #3

    Default Re: Strange CFChart Label issue


    This is a bug in CF 7, there is a press release about this. You have to
    dowload some files from MM and have to replace some files.
    Search the MM site.

    -Sadat

    sadat Guest

  5. #4

    Default Re: Strange CFChart Label issue

    yup, I have both scaleTo and scaleFrom set.

    I just can't under stand why it would be using those numbers as opposed to an equal division of the total amount.

    Thanks for the idea.
    Xenotrim Guest

  6. #5

    Default Re: Strange CFChart Label issue

    What you need to do is set the number of gridlines you want. You think, because
    it's 100, and you want 10 per gridline, that you'd want 10 gridlines. The
    problem is that ColdFusion counts the bottom and top gridline, which means you
    actually want 11.

    <cfchart rotated="yes" scalefrom="0" scaleto="100" gridlines="11">

    Kronin555 Guest

  7. #6

    Default Re: Strange CFChart Label issue

    well, thats an interesting .....feature.

    Worked like a charm, I can finally put this project to rest.

    Thank you.
    Xenotrim Guest

Posting Permissions

  • You may not post new threads
  • You may 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