3 Replies Latest reply on Dec 1, 2009 12:55 AM by pyae phyoe shein

    cfchart interpolation

    mgold@WebSol
      Does anyone know how to stop cfchart from doing x-axis data interpolation? When you make a graph with two cfchartseries if chartseries 1 has cfchartdata at x=1 and x=5 and cfchartseries 2 has has cfchartdata at x=2 and x=10...Then all x-axis values defined in chart series 2 that aren't defined in chart series 1 have datapoints and all x-axis values defined in chart series 1 that aren't defined in chart series 2 have datapoints. This means chartseries 1 and chartseries 2 has data for x=1,5,2,10 even though each only defines data for two x-axis points.

      This occurs for all chart types even scatter. Does anyone know how to stop x-axis data interpolation?

      Here is some example code:
        • 1. Re: cfchart interpolation
          steve fish

          Hi. Can I ask please if you ever resolved this cfchart issue ?

           

          I'm new to cfchart and having the same issue when using 2 or more cfchartseries in one chart.

           

          Any help would be much appreciated.

           

          Thanks.

          • 2. Re: cfchart interpolation
            Daverms Level 3

            Hi,

             

            See "morecarl's" reply in this thread.. That will resolve your issue,

             

            http://forums.adobe.com/message/774416#774416

             

            HTH

            • 3. Re: cfchart interpolation
              pyae phyoe shein Level 1

              Do you want to interpolate X-value in bar chart? If so, use following XML files.

               

               

                  <cfsavecontent variable="SLC_chartStyle">
                  <?xml version="1.0" encoding="UTF-8"?>
                  <frameChart font="Arial-10" is3D="false">
                            <frame xDepth="8" yDepth="6" outline="#000000" leftAxisPlacement="Back"/>
                            <xAxis>
                                 <labelFormat pattern="#,##0.###"/>
                                 <parseFormat pattern="#,##0.###"/>
                                 <labelStyle orientation="Vertical"/>
                                 <titleStyle font="Arial-16-bold"> </titleStyle>
                            </xAxis>
                            <yAxis scaleMin="0">
                                 <labelFormat pattern="#,##0.###"/>
                                 <parseFormat pattern="#,##0.###"/>
                                 <titleStyle font="Arial-16-bold" isMultiline="false">
                                 <![CDATA[
                                      
                                 ]]>
                                 </titleStyle>
                            </yAxis>
                            <elements drawOutline="false" drawShadow="true">
                                 <morph morph="None" stage="None"/>                  
                            </elements>
                            <decoration foreColor="white"/>
                            <popup background="white" foreground="black"/>
                            <paint palette="Pastel" paint="Plain" min="47" max="83"/>
                  </frameChart>
                  </cfsavecontent>