Rotate Column Labels on Pivot

Comments

2 comments

  • Avatar
    Delsaran Bigglesworth

    I couldn't get the text to shuffle to the baseline, but here is a good start.

    widget.on("ready", function(w, args) {

    //header columns just the spans
    var $span = $("#pivot__ACCRowArea span", element);
    $span.css('font-size' , '14px');
    $span.css('font-weight' , 'bold');
    $span.css('color' , 'black');
    //$ps1.css('background-color' , '#4B6B9E');
    $span.css('text-align' , 'left');
    $span.css('vertical-align' , 'middle');

    // Rotates and flips text
    $span.css('writing-mode' , 'vertical-rl');
    $span.css('transform' , 'rotate(180deg)');

    });
    0
    Comment actions Permalink
  • Avatar
    K'lila Nooning

    This is only applying to the top level of my headers, the ones nested under are remaining horizontal. Any advice?

    0
    Comment actions Permalink

Please sign in to leave a comment.