jQuery UI Widgets Forums Chart series label class

This topic contains 3 replies, has 2 voices, and was last updated by  Stanislav 6 years, 7 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • series label class #98962

    arkgroup
    Participant

    I modifying your sample javascript_chart_stacked_series.htm and add series labels. I want label to have white text:
    series: [
    {
    dataField: ‘Running’, displayText: ‘Running’, labels: {
    visible: true,
    verticalAlignment: ‘center’,
    class: ‘green’
    }
    and I add class
    <style>
    .green{
    color: white!important;
    }
    But labels still not change font color.

    series label class #98976

    Stanislav
    Participant

    Hello arkgroup,

    Here is an example that demonstrates how to change the label’s color:
    Example

    I used .jqx-chart-label-text which gets only the labels.

    Best Regards,
    Stanislav

    jQWidgets Team
    http://www.jqwidgets.com/

    series label class #98993

    arkgroup
    Participant

    Thanks. How do I turn labels vertically?

    series label class #99003

    Stanislav
    Participant

    Hello arkgroup,

    Do you mean something like: This?

    There isn’t a direct property, but you can rotate the labels.
    Take a look at our demo Link

    Best Regards,
    Stanislav

    jQWidgets Team
    http://www.jqwidgets.com/

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

You must be logged in to reply to this topic.