jQuery UI Widgets Forums Chart snapToTicks also at Chart rangeSelector

This topic contains 2 replies, has 2 voices, and was last updated by  Dimitar 9 years, 4 months ago.

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

  • elbnacht
    Participant

    I want to have at the rangeSelector of a chart the date gridlines / ticks at the beginning of the month (1st).
    I want also while sliding the selector to snap to the ticks. The function (snapToTicks) is available at the general range selector function, but seems not at the chart range selector.

    Any idea how to solve this?

    Jens


    elbnacht
    Participant

    b.t.w. it would be good to have a documentation of the “rangeSelector” functions of the x-axis chart section, since it seems, that some functions are not in compared with the general rangeSelector functions.


    Dimitar
    Participant

    Hello Jens,

    If you set the minValue of the rangeSelector to the first day of a month, grid lines will be drawn at the beginning of months.

    The snapToTicks functionality is not available to the chart range selector, unfortunately.

    As for the its documentation – we will add it as soon as possible, but in the meantime, here is a list of the supported rangeSelector properties:

    renderTo
    position
    dataField
    serieType
    size
    baseUnit
    unitInterval
    minValue
    maxValue
    gridLines
    labels
    padding
    title
    description
    titlePadding
    colorScheme
    backgroundColor
    backgroundImage
    showBorderLine
    borderLineWidth
    borderLineColor
    rtl
    greyScale

    Most of these properties are the same as the main chart’s.

    Best Regards,
    Dimitar

    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.