jQWidgets Forums

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts

  • SergPro
    Participant

    The following code changes css for a label in the chart, these changes get lost when you resize browser window. I’m looking for a way to stop this from happening or temporarily put a function to be executed on refresh to set this back in.
    ………
    $(chart).jqxChart(settings);

    setTimeout(function () {
    $(chart).find(‘.jqx-chart-label-text’).each(function (i, obj) {
    $(obj).css(‘font-size’, ’26px’).css(‘font-weight’, ‘bold’).css(‘color’, ‘#ff6600’).css(‘fill’, ‘#ff6600’);
    });
    }, 1000);

Viewing 1 post (of 1 total)