jQuery UI Widgets Forums Chart Problems when embedding in jqxTabControl

Tagged: , ,

This topic contains 4 replies, has 2 voices, and was last updated by  sdalby 11 years, 8 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • Problems when embedding in jqxTabControl #9625

    sdalby
    Member

    I have an isse with a chart control showing bars horizontally

    When I insert the div to be displayed in the html to be shown immidiately there are no problems.

    But when I use a jqxTab control that are made visible by clicking a button, and present the bar charts in a tab, all the axis text becomes so small that they are unreadable.

    If I can make this work I also need to turn the rotation of the X axis. I use horizontal bars and I need to write the X axis text horizontally or else it will take up to much space per bar.

    Originally I encapsulated the jqxTabControl in a jqxWindow but I had to give up this approach because it caused problems with a pie chart presented in another tab. It worked with IE but in FF it caused error:

    “Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMSVGLocatable.getBBox]” nsresult: “0x80004005 (NS_ERROR_FAILURE)”

    The latter is just FYI – I managed to work around it 🙂

    I use followng as bar chart code:
    http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxchart/javascript_chart_bar_series.htm?classic

    Problems when embedding in jqxTabControl #9629

    Peter Stoev
    Keymaster

    Hi sdalby,

    jqxChart’s DIV tag should be visible when the widget is initialized. Here’s a sample with jqxTabs and jqxChart: integration.htm.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Problems when embedding in jqxTabControl #9690

    sdalby
    Member

    That worked like a charm, thank you so much.

    Can you tell me how to present the axix text horizontally rather than vertically?

    This is crucial for me.

    Thanks in advance
    /Søren

    Problems when embedding in jqxTabControl #9699

    sdalby
    Member

    Also, I have this problem that the value doesnt start with zero. It seem to take offset in the lowest value – this is not desirable for me

    Thanks in advance
    /Søren

    Problems when embedding in jqxTabControl #9701

    sdalby
    Member

    Sorry overlooked, the min value, please disregard the question about 0 base on axis

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

You must be logged in to reply to this topic.