jQWidgets Forums

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 73 total)
  • Author
    Posts
  • in reply to: Interval problems Interval problems #65616

    carlo
    Participant

    Hi Peter,

    thanks for your explanation. But why again for every additional serious group, as there is only one xAxis ?

    Best Regards,
    Carlo

    in reply to: Interval problems Interval problems #65609

    carlo
    Participant

    Hi Peter,

    but why are you calling the formatFunction for the same time value more than once ?

    Best Regards,
    Carlo

    in reply to: Interval problems Interval problems #65603

    carlo
    Participant

    Hi Peter,

    while testing I noticed, that the formatFuntion is not called only once for every unitIntervall, but (1 + number of serious groups) for every unitInterval. This seems to me beeing redundant.

    You can see it here: http://jsfiddle.net/carlorastelli/jmhwp13w/51/

    Best Regards,
    Carlo

    in reply to: Interval problems Interval problems #65554

    carlo
    Participant

    Hello Peter,

    the behaviour changed from 3.2.2 to 3.3.0. The 3.3.0 release note says:

    ‘jqxChart Automated best fit selection of unit intervals. Unit interval axis settings are now optional’

    I removed the unitInterval from http://jsfiddle.net/jmhwp13w/35/ . Now there are no tick marks at all and the untis are wrong (0,2,5 ??)
    Could you please tell me, how we can get it right.

    Best Regards,
    Carlo

    in reply to: Interval problems Interval problems #65549

    carlo
    Participant

    Hi yoda,

    thank you very much for your hint. This must be a new behaviour of the widget. In version 3.0.4 there was no such dependency. As this dependency is not documented in the API could someone from jqwidgets please clarify.

    Best Reagads,
    Carlo

    in reply to: Availability of schedule widget Availability of schedule widget #60002

    carlo
    Participant

    We are now using another schedule library instead of waiting for the jqw one. To be clear: the jqw library is great and we make heavy use of it.

    in reply to: 3.5 broken 3.5 broken #59731

    carlo
    Participant

    Hi Peter,

    I agree we did not define the datafield array. But how can one know which fields are optional and which fields mandatory ? The docs do not tell, and at runtime there is no error message. Till 3.4 it even did work so we had no glue that our code could have problems in 3.5 .

    Best Regards,
    Carlo

    in reply to: 3.5 broken 3.5 broken #59729

    carlo
    Participant

    Hi Peter,

    thank you for your explanations. This new behaviour did result in no more functional code in our product. We had to spend some hours to find out what was happening as the new behaviuor is not documented. Switching back to older versions is no option for us, because we are using your new great widgets. You should do some regression testing to make shure, that new version do not break old code. We will try your workarround.

    Best Regards,
    Carlo

    in reply to: 3.5 broken 3.5 broken #59726

    carlo
    Participant

    Hi Peter,

    an why does it work in 3.4 ? You must have changed something.

    Best Regards
    Carlo

    in reply to: Availability of schedule widget Availability of schedule widget #59528

    carlo
    Participant

    Hi Peter,

    it has been part of the last announced roadmap.

    Best Regards,
    Carlo

    in reply to: Availability of schedule widget Availability of schedule widget #59526

    carlo
    Participant

    Hi Peter,

    I am dissapointed about the missing schedule widget in 3.5.0 ! I relied on it for our next alarm management software release. So I have to look for something different.

    in reply to: How to access editor How to access editor #58519

    carlo
    Participant

    Dear Peter,

    we found a worarround. In createeditor of combobox2 we assign an ID to by editor.jqxDropDownList(….) created DIV

    var obj = editor.jqxDropDownList(….); // this is the DIV
    obj.attr(“id”, “IDCombobox2”);

    So we can access the combobox2 editor by $(‘#IDCombobox2’).jqxDropDownList(…) outside of createeditor.

    in reply to: How to access editor How to access editor #58510

    carlo
    Participant

    Dear Peter,

    what Mathias wanted, is to access the created editor of one column from events from another column. Example: you have two columns with editor comoboboxes. If the user selects an element in comobobox1, the source of combobox2 has to be changed.


    carlo
    Participant

    Hallo Dimitar,

    I tried embedding a jqxChart in an svg document. But I am gettin a jquery error:
    SyntaxError: An invalid or illegal string was specifie
    tmp.innerHTML = wrap[ 1 ] + elem.replace( rxhtmlTag, “<$1></$2>” ) + wrap[ 2 ];

    Here is my svg code:

    <?xml version=”1.0″ encoding=”UTF-8″ standalone=”no”?>
    <!– Created with Inkscape (http://www.inkscape.org/) –>
    <?xml-stylesheet type=”text/css” href=”../../scripts/jqwidgets/styles/jqx.base.css” ?>
    <svg
    xmlns:xlink=”http://www.w3.org/1999/xlink”
    xmlns:dc=”http://purl.org/dc/elements/1.1/”
    xmlns:cc=”http://creativecommons.org/ns#”
    xmlns:rdf=”http://www.w3.org/1999/02/22-rdf-syntax-ns#”
    xmlns:svg=”http://www.w3.org/2000/svg”
    xmlns=”http://www.w3.org/2000/svg”
    xmlns:sodipodi=”http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd”
    xmlns:inkscape=”http://www.inkscape.org/namespaces/inkscape”
    width=”297mm”
    height=”210mm”
    id=”svg2985″
    version=”1.1″
    inkscape:version=”0.48.4 r9939″
    sodipodi:docname=”Neues Dokument 2″>
    <defs
    id=”defs2987″ />
    <sodipodi:namedview
    inkscape:document-units=”mm”
    pagecolor=”#ffffff”
    bordercolor=”#666666″
    borderopacity=”1.0″
    inkscape:pageopacity=”0.0″
    inkscape:pageshadow=”2″
    inkscape:zoom=”0.43415836″
    inkscape:cx=”490″
    inkscape:cy=”380″
    inkscape:current-layer=”layer1″
    id=”namedview2989″
    showgrid=”false”
    inkscape:window-width=”1553″
    inkscape:window-height=”710″
    inkscape:window-x=”130″
    inkscape:window-y=”130″
    inkscape:window-maximized=”0″ />
    <script
    xlink:href=”../../scripts/jquery-2.0.2.js”
    id=”script3″
    type=”text/ecmascript” />
    <script
    xlink:href=”../../scripts/jqwidgets/jqxcore.js”
    id=”script4″
    type=”text/ecmascript” />
    <script
    xlink:href=”../../scripts/jqwidgets/jqxchart.js”
    id=”script5″
    type=”text/ecmascript” />
    <script
    xlink:href=”../../scripts/jqwidgets/jqxdata.js”
    id=”script6″
    type=”text/ecmascript” />
    <script
    type=”text/ecmascript”
    id=”script7″>
    this.addEventListener(‘load’, function ()
    {
    var sampleData = [
    { Country: ‘China’, Population: 1347350000, Percent: 19.18},
    { Country: ‘India’, Population: 1210193422, Percent: 17.22},
    { Country: ‘USA’, Population: 313912000, Percent: 4.47},
    { Country: ‘Indonesia’, Population: 237641326, Percent: 3.38},
    { Country: ‘Brazil’, Population: 192376496, Percent: 2.74}];

    var settings = {
    renderEngine: ‘SVG’,
    title: “Top 5 most populated countries”,
    description: “Statistics for 2011″,
    showLegend: true,
    enableAnimations: true,
    padding: { left: 20, top: 5, right: 20, bottom: 5 },
    titlePadding: { left: 90, top: 0, right: 0, bottom: 10 },
    source: sampleData,
    categoryAxis:
    {
    dataField: ‘Country’,
    showGridLines: true,
    flip: false
    },
    colorScheme: ‘scheme01’,
    seriesGroups:
    [
    {
    type: ‘column’,
    orientation: ‘horizontal’,
    columnsGapPercent: 100,
    toolTipFormatSettings: { thousandsSeparator: ‘,’ },
    valueAxis:
    {
    flip: true,
    unitInterval: 100000000,
    maxValue: 1500000000,
    displayValueAxis: true,
    description: ”,
    formatFunction: function (value) {
    return parseInt(value / 1000000);
    }
    },
    series: [
    { dataField: ‘Population’, displayText: ‘Population (millions)’ }
    ]
    }
    ]
    };
    $(‘#chartContainer’).jqxChart(settings);

    }, false);
    </script>
    <metadata
    id=”metadata2991″>
    <rdf:RDF>
    <cc:Work
    rdf:about=””>
    <dc:format>image/svg+xml</dc:format>
    <dc:type
    rdf:resource=”http://purl.org/dc/dcmitype/StillImage” />
    <dc:title></dc:title>
    </cc:Work>
    </rdf:RDF>
    </metadata>
    <g
    inkscape:label=”Layer 1″
    inkscape:groupmode=”layer”
    id=”layer1″>
    <g
    id=”chartContainer”>
    </g>
    </g>
    </svg>


    carlo
    Participant

    Hi Peter,

    I have replaced the alert() with a jqxWindow and scrolling and selecting is working as expected. Thank you very much for your explanations. jqxWindow popup is not lookong very mobile like. I would like to have a sliding panel like in jquery mobile. Do you have an tipp how this can be done in jqw with bootstrap ?

    Best Regards,
    Carlo

Viewing 15 posts - 1 through 15 (of 73 total)