Skip to Main Content
Spotfire Ideas Portal
Status Future Consideration
Product Spotfire
Categories Text Area
Created by Guest
Created on Jul 2, 2020

Possible to add css class and ID to every chart, box, or textarea

Actually you can't add own css classes to the whole boxes, like charts or textareas, also you can't create CSS by ID, because if you change the page and back, or reload the page, every element has a new ID, this way you have to find some workaround to style them.

  • Attach files
  • Guest
    Reply
    |
    Jan 10, 2024

    This would be a pretty useful feature. The Canvas styling panel does leave out a lot of potentially useful features (e.g. giving page navigation tabs a unique color).

  • Guest
    Reply
    |
    Jul 20, 2020

    Hi Niklas, with edit custom theme, we can't do the personalisation and branding of our applications the way, how we needed. We miss a lot of styling options here, first of all, the example what I wrote.

    Like if I create a textbox, you can add a background color, but there will be always a padding between the elements, with a white backround, and it is bad, so this way to give a backround color to the whole textbox, I have to do this:

    $('.firstowndiv').parent().parent().parent().parent().addClass( "header" );

    and than give background color to the header class.That is only one case from the lot, why we need fix ID-s to the boxes.

  • Admin
    Niklas Amberntsson
    Reply
    |
    Jul 8, 2020

    Zsolt, it is not intended that you should change the CSS of Spotfire visuals. There is a Styling editor that you can access in Visualizations-Canvas styling->Edit custom theme. Let us know if you are missing any styling options there.