Formatter for total row for table chart

Forums SPJS Charts for SharePoint Formatter for total row for table chart

This topic contains 1 reply, has 2 voices, and was last updated by  Alexander Bautz 8 months, 4 weeks ago.

  • Author
    Posts
  • #19929

    Zaruba.Ivan
    Participant

    Hi Alexander,

    is it possible to format totals in Table Chart? Column Formatters do not affect it.

    Thank You.
    Ivan

  • #19989

    Alexander Bautz
    Keymaster

    Hi,
    The table chart is a regular HTML table so you can style it by adding a Script editor web part to the page and add css like this:

    <style>
    #YOUR_CHART_ID_chart tbody tr:last-child{
        font-weight:bold;
        background-color:green;
        color:white;
    }
    </style>

    Replace “YOUR_CHART_ID” with your chart ID.

    Alexander

You must be logged in to reply to this topic.