jQuery UI Widgets Forums Chart Legend doesnt show all text

This topic contains 4 replies, has 2 voices, and was last updated by  hclaveria 11 years, 5 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • Legend doesnt show all text #33162

    hclaveria
    Participant

    Hi everyone,

    I’ve set the .jqx-chart-legend-text style to have a font-size of 10px and it works great in IE, but for Chrome and Mozillas it’s ignored completly. I’ve even change this on the jqx.base.css file and I had the same result. The problem with this is that the legend is not showing all the data, by changing the size of the font it does, but I coudn’t make it works for all browsers.
    Any ideas?

    Legend doesnt show all text #33174

    Dimitar
    Participant

    Hello hclaveria,

    We tested for the reported issue by adding the following style:

    <style type="text/css">
    .jqx-chart-legend-text
    {
    font-size: 10px;
    }
    </style>

    to the demo Pie Series Legend and the style is applied correctly in all browsers. Please make sure you are using the latest version of jQWidgets (3.0.4). If the issue persists, please post a sample code that demonstrates it.

    Best Regards,
    Dimitar

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

    Legend doesnt show all text #33182

    hclaveria
    Participant

    Thanks for your answer Dimitar.
    I’ve tried that and it doesn’t change anything. For what I see, the proplem was that I was using ‘Verdana’ but IE didn’t get it, and Crome did. That was the diference I saw. Is it any way to change the legend’s font on an specific chart? I’m using more than one y my page.

    Legend doesnt show all text #39323

    Dimitar
    Participant

    Hello hclaveria,

    Here is how to apply the style to a chart with the id jqxChart:

    <style type="text/css">
        #jqxChart .jqx-chart-legend-text
        {
            font-size: 30px;
            font-family: Verdana;
        }
    </style>

    We do not experience the Verdana font-family issue on any of the browsers.

    Best Regards,
    Dimitar

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

    Legend doesnt show all text #40471

    hclaveria
    Participant

    Thanks for your help Dimitar.

    Regards.

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

You must be logged in to reply to this topic.