Hi, there!
I'm trying to rotate the X Tick Label using CSS, but without sucess
This is my chart:
And the expression:
filters
| essql
query="SELECT acao, count(id_do_processo) AS conta FROM "mercado_157_processos"
WHERE NOT(acao IS null)
GROUP BY acao
ORDER BY conta DESC"
| staticColumn "total" value={math "sum(conta)"}
| mapColumn "percentual" fn={math "conta/total" | formatNumber "0.00%"}
| pointseries x="acao" y="conta" text="percentual" color="acao" size="acao"
| plot defaultStyle={seriesStyle bars="1" fill=1} palette={palette "#FFFF00" "#0000FF" gradient=true}
font={font family="Open Sans, Helvetica, Arial, sans-serif" size=10 align="center" color="#000000" weight="bold" underline=false italic=false} legend=false xaxis=true yaxis=true
| render
css=".flot-x-axis .flot-tick-label { white-space: nowrap; transform: translate(-9px, 0) rotate(-60deg); text-indent: -100%; transform-origin: top right; text-align: right !important;
}"
What am I doing wrong?
Version: Kibana 7.1.1