12 Replies Latest reply on Jan 24, 2017 7:33 AM by MonteChan

    webchart

    mengsing

      I migrated from CF10 standard to CF11 trial version but the chart fail to render in the webpage. It says com.gp.api.jsp.MxServerComponent is not found

      Does anyone here know whether CF11 comes with Webchart3D?

        • 1. Re: webchart
          BKBK Adobe Community Professional & MVP

          You have brought up an important matter. Up until Coldfusion 10 there was a webcharts JAR file, called wc50.jar, in the lib directory. It contained, amongst others, chart modules such as com.gp.api.jsp.MxServerComponent.

           

          The JAR file is absent from Coldfusion 11, which implies that any code which depends on it, such as yours, will break. In other words, Coldfusion 11 fails to be backward-compatible as far as this chart functionality is concerned.

           

          In my opinion, this amounts to a bug in Coldfusion 11. You should report it in the bugbase.

          • 2. Re: webchart
            kpetrow Level 1

            also no more webchart.bat file.

            • 3. Re: webchart
              mengsing Level 1

              i copied the wc50.jar, webchartsJava2D.jar and webcharts3D.xml from version 10 into 11 library. The charts worked. But charts are rendered with "Adobe Cold Fusion 8 Developer Version Not For Production Use". I wonder will this sentence disappeared once a license is purchased?

              • 4. Re: webchart
                BKBK Adobe Community Professional & MVP

                The watermark will disappear.

                • 5. Re: webchart
                  mengsing Level 1

                  Thanks for your response. But how you sure that the watermark will disappear? Since the webchart is not even built into the latest CF release.

                  • 6. Re: webchart
                    BKBK Adobe Community Professional & MVP

                    I think it is the current Coldfusion license that determines whether or not a watermark will appear. You will see a watermark if you run the following code, which uses Coldfusion 11's own charting engine:

                     

                    <cfchart format="png" >

                    <cfchartseries type="bar">

                    <cfchartdata item="myVar" value="350">

                    </cfchartseries>

                    </cfchart>

                     

                    This implies that the system that places the watermark does so after checking the current Coldfusion license.

                    • 7. Re: webchart
                      mengsing Level 1

                      The cfchart does not give me the watermark since my CF11 is still within 30-day evaluation. But the webcharts does.

                      • 8. Re: webchart
                        BKBK Adobe Community Professional & MVP

                        I expected the watermark to then say something about the Coldfusion 10 license. Come to think of it, that is the more logical theory: the watermark depending on the license of the Coldfusion installation where the charting component originates from.

                         

                        However, I have only just seen another detail now. You copied the JAR files from Coldfusion 10 to Coldfusion 11, but the watermark mentions Coldfusion 8 instead. Very odd. I am going to test it, too.

                        1 person found this helpful
                        • 9. Re: webchart
                          c_wigginton Level 1

                          CF11 comes with ZingCharts.  JavaScript charts and maps for your projects | ZingChart

                           

                          Adam Cameron has a very nice article on using ZingCharts directly. Adam Cameron's Dev Blog: ColdFusion-UI-the-Right-Way: <cfchart>

                           

                          www.webcharts3D.com appears to be defunct.   In fact, the last known archive view from archive.org was back on July 2nd, 2014 Internet Archive Wayback Machine

                           

                          So while copying over the the libraries may work,  I would highly recommend you update your code to support the new charts. 

                           

                          There are also licensing issues with moving the third party libraries to the latest version of CF, even though the company in question may be gone.

                          • 10. Re: webchart
                            BKBK Adobe Community Professional & MVP

                            @c_wiggington

                            Good advice. But please be aware that you are responding with the advantage of hindsight. This thread is now into its second year. In software development that is the time from birth to adolescence.

                             

                            c_wigginton wrote:

                            There are also licensing issues with moving the third party libraries to the latest version of CF, even though the company in question may be gone.

                            Debatable. The question was about Coldfusion 10. Well, Coldfusion 10 uses the WebCharts library and Coldfusion 10 is still well within its end-of-life (May 2017).

                             

                             

                            So while copying over the the libraries may work,  I would highly recommend you update your code to support the new charts.

                             

                            I agree, and would also recommend ZingCharts. The original poster was already on Coldfusion 11, which would have been a start.

                            • 11. Re: webchart
                              c_wigginton Level 1

                              Lol, didn't even look at the date, I would probably not have even responded.  I guess it was still in the list because it was marked unanswered.  I was just looking at the list and I only usually go down a few before I consider them too aged to even reply.    ugh, 

                              • 12. Re: webchart
                                MonteChan

                                Since the core support of CF 10 will stop in May of this year, what about the webchart license?  Will it expire after the core support of CF 10 is up?