Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove the wording "metric" in apache superset "pivot tables v2"?

Inside the apache superset pivot v2 tables, the word "metric" appears between the columns (as in the image). I don't like it and my intention is to remove it. What can I do to remove or hide it?

enter image description here

like image 811
Matteo Battilani Avatar asked Sep 14 '25 12:09

Matteo Battilani


2 Answers

Try this

.pivot_table_v_2 table.pvtTable thead tr:nth-child(1) th.pvtAxisLabel
{
    color: white;
}
like image 108
Paul Petrin Avatar answered Sep 17 '25 20:09

Paul Petrin


Actually Pauls answer was almost right, you need to change nth-of-type, just change this part instead of nth-child. If you change nth-of-type 1,2,3.. you can change the colors of text, aswell as background and all other parameters. I was looking for exactly the same thing and it works on 2.1

.pivot_table_v_2 table.pvtTable thead tr:nth-of-type(2) th.pvtAxisLabel
{
    color: white;
}
like image 41
roks531 Avatar answered Sep 17 '25 20:09

roks531