jQuery UI Widgets Forums Chart lable step

This topic contains 1 reply, has 2 voices, and was last updated by  Hristo 2 years, 2 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    lable step Posts
  • lable step #99822

    atomic
    Participant

    hi guys,

    Small issue, I am trying to set up step to show only every 100th label on my chart.
    Setting I am using is

    
     seriesGroups:
                    [
                        {
                            type: 'spline',
                            series: [
                                    { dataField: '1000024E', 
                                      displayText: 'Project 24 Estimated',
                                      symbolType: 'square',
                                      labels:
                                      {
                                         visible: true,
                                         step:100,
                                         backgroundColor: '#FEFEFE',
                                         backgroundOpacity: 0.2,
                                         borderColor: '#7FC4EF',
                                         borderOpacity: 0.7,
                                         padding: { left: 5, right: 5, top: 0, bottom: 0 }
                                       } 
                          }
                     ]
    

    but this is not working. Every Label is still shown on the chart. JQX version 5.6.0.
    Any ideas?
    Thnkas

    • This topic was modified 2 years, 2 months ago by  atomic.
    lable step #99887

    Hristo
    Participant

    Hello atomic,

    There is no such member (step) in the “series” labels.
    Please, take a look at this example and its approach how to achieve it with formatFunction:
    http://jsfiddle.net/txhi/jxw1t5ez/

    Best Regards,
    Hristo Hristov

    jQWidgets team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.