jQWidgets Forums

Forum Replies Created

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • in reply to: X-Axis Labels Hide on Resize X-Axis Labels Hide on Resize #87605

    durech
    Participant

    That still won’t work for me, as only a few of the strings are multiple words, but several a longer single strings, so laying them out horizontally will run in to the same hiding issue. I angled them in the first place in hopes to avoid the potential for overwrites of the labels as the user might resize the chart, but then ran into this issue. I hope you consider this feature for an upcoming version

    Thanks

    in reply to: X-Axis Labels Hide on Resize X-Axis Labels Hide on Resize #87550

    durech
    Participant

    I cannot as some of the labels are fairly long and I only have limited height available for the entire chart. Doing what you suggest would make the chart area very small and the labels would also be more difficult to read. Please consider adding an option to allow turning off this auto-hiding (or adjust the tolerance use to determine when to hide a label. I know you are trying to make some reasonable decisions about label presentation, but either you need to modify the current hiding algorithm to take into account angled labels that do not overwrite the adjacent labels or you need to allow the user to have some additional control over this.

    I have added tooltips so the user can at least mouse-over each column to see what the column represents. It is not ideal, but it is better than nothing. We have also had to document this behavior, so our users will know to use the tooltips.


    durech
    Participant

    I agree. Pleas consider making the arrow button NOT appear when the ‘sortability’ of a particular column has been set to false. With the current implementation you have provided half the solution. If I have made the column not sortable, then I don’t want to confuse my user by showing them a sort button in the header.

    Thanks


    durech
    Participant

    Is there an example you can point me to. Am I just going to have to replace the entire <div><span></span></div> sequence and just add the “text-align:center” to the <span>. If that is the case, it sure would be a nice enhancement if you would automatically handle this for me when I specify the ‘align’ property, so I don’t have to worry about whether I have made the column sortable or not. To me, if ‘align’ is supposed to perform alignment of the text in the column header, it should work independent of other factors like sortability.

    Thanks

    Dennis


    durech
    Participant

    Note: the generated HTML DOES NOT contain the tags. It looks like this:

    <div style="padding-bottom: 2px; overflow: hidden; text-overflow: ellipsis; text-align: right; margin-left: 4px; margin-right: 2px; margin-bottom: 4px; margin-top: 4px;">
      <span style="text-overflow: ellipsis; cursor: default;">ID</span>
    </div>


    durech
    Participant

    Sorry about that. I thought that little fragment was generic enough to not divulge any proprietary logic, but I will not use any in the future. In any case, until such time as I can come up with an example, I will just have to stay on version 3.7.1, since it does not issue any errors (once I corrected my “jqx-create” tag reference) and it still produces my chart. 3.8.0 simply will not get past that line of code and the chart is not produced.

    Are there some changes in the 3.8.0 jqxAngular interface that require me to make additional changes. If there are, I could not find any reference to them in the documentation or release notes


    durech
    Participant

    It is going to be difficult to come up with a sample in short order. However, I can tell you it is blowing up in the ‘jqxangualr.js (line:1296)’ on the following line

    removed code – EULA violation

    = is defined, but the code ‘=’ is returning

      undefined

    , hence the error “TypeError: Cannot read property ‘created’ of undefined”

    Is this IF statement supposed to be checking if you have registered a “created” function in your scope and if so then the latter portion of the if would try to execute it. I have not created or registered any such function.


    durech
    Participant

    I mistyped the tag. but with out without the mistyped tag, running under 3.7.1 other than the error stacktrace, my chart is still drawn.

    However, running under 3.8.0 without the tag (so by HTML looks like this:
    <jqx-chart id="dashboard-chart" jqx-settings="chartSettings" jqx-watch="chartSettings.source"></jqx-chart>)

    I am getting a totally different error:

    TypeError: Cannot read property ‘created’ of undefined
    at raiseCreated (jqxangular.js:1296)
    at createWidget (jqxangular.js:1321)
    at createWidgetsWhenReady (jqxangular.js:1551)
    at jqxangular.js:1600
    at angular.js:13330
    at Scope.$get.Scope.$eval (angular.js:14466)
    at Scope.$get.Scope.$digest (angular.js:14282)
    at Scope.$get.Scope.$apply (angular.js:14571)
    at tick (angular.js:10428)

    However, now my chart is no longer being drawn (only chart container “box” with the words Title and Description at the top)


    durech
    Participant

    One additonal piece of information. If I remove jqx-created="createChart" from the HTML, using 3.7.1, the chart is still created, but there is no error. However, using 3.8.0, the error still occurs and no chart is created.

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