jQWidgets Forums

jQuery UI Widgets Forums Chart Using jqxchart within jsp – no color

Tagged: ,

This topic contains 2 replies, has 2 voices, and was last updated by  Peter Stoev 12 years, 8 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Using jqxchart within jsp – no color #7843

    arudmik
    Member

    It appears that jqxchart needs to have access to the current page. In our case, we are using the stackedcolumn chart. What is happening is that tje jqxchart code wants to access/refresh the current page. What we are getting is the chart but not with the color filled in. We are setting the base page URL. The page is actually loaded as …./viewWorkspace.do – set the base to this does not work. We currently have set the base to …/index.jsp which get’s rid of the HTTP request error but does not color in the chart. We created a static page with the save javascript files and that works fine. The problem is with the dynamically loaded page. Please advise.

    Using jqxchart within jsp – no color #7844

    arudmik
    Member

    I found a fix to this situation by setting the options property as follows renderEngine: ‘HTML5’. I assume the default in our case was SVG. By the way I was testing using Firefox and Safari. Did not test with IE.

    Using jqxchart within jsp – no color #8037

    Peter Stoev
    Keymaster

    Hi arudmik,

    For SVG rendering, the DIV tag of the Chart should be visible when it is initialized. After the initialization, you may do whatever you want with the Chart’s DIV tag.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.