mad1 - Hi Team , I want to create custom chart...

Hi Team , I want to create custom chart for KPI, where I can add background color to it based on condition, is it possible/ is there any method to implement that in the ThoughtSpot platform or through ThoughtSpot Dev Feature, currently we are using TS Software version 10.0.1. Thanks
No description
15 Replies
shikharTS
shikharTS2mo ago
This should be possible. you can use this https://developers.thoughtspot.com/docs/theme-builder to play around with CSS variable and figure out how to do this
Theme builder Playground
ThoughtSpot's theme builder allows you to create custom themes for your ThoughtSpot instance. You can customize the colors, fonts, and other visual elements of the ThoughtSpot interface to match your brand identity.
shikharTS
shikharTS2mo ago
Oh I just saw you want it ased on condition, that might not eb possible though. cc @Ruchi Anand to suggest if there is some way
R19
R19OP2mo ago
The requirement is to change color only for KPI chart and not background throughout dashboard, as theme background changed it overall. The playground seems to be for Cloud and we are using software in that case. Will it still work ?.
shikharTS
shikharTS2mo ago
It probably should, though some variables might not be available. Have you tried using custom CSS to get this effect?
R19
R19OP2mo ago
I checked, but seem to be like viz css can not be controlled much on viz components like KPI bg color, guide me please if wrong.
Ruchi Anand
Ruchi Anand2mo ago
Hi @R19 Yes, it's possible using custom CSS. Can you share the css you are using ? Also, You can try it out in the playground, it should work.
R19
R19OP2mo ago
Hi @Ruchi Anand and @shikharTS , I want bg color for KPI viz to be changed according to the viz value i.e. if value > 100 red, 100 > value > 50 then Yellow and value < 50 then Green. I see value with CustomCSS i can change the bg color of viz, but can this be also implemented ?
shikharTS
shikharTS2mo ago
I do not think we have provision for this right now @R19 . @Ruchi Anand to suggest otherwise
R19
R19OP2mo ago
Thanks @shikharTS for your view, Hi @Ruchi Anand , Can you please share your suggestion , as we are doing POC for this use case, would be of great help share your thoughts as well, so that i can then proceed further.
shikharTS
shikharTS2mo ago
@jbc can you also help here?
R19
R19OP2mo ago
Hi Folks, It would be of great help if anyone of you could help me conclude of the solution, as we have POC going on and I have to present and streamline solutions asap
shikharTS
shikharTS2mo ago
@R19 I do not think we have provision for this directly right now, you can read the value through a data event and see if we can change the background of KPI based on the data.
R19
R19OP2mo ago
Okay, Thanks @shikharTS
jbc
jbc2mo ago
The customCSS input currently is a static input, and cannot change based on the output of the data. I don't think we have any options currently to achieve what you are looking for. Can you raise a ticket, and we can figure out, if there is any solution we can come up with?
R19
R19OP2mo ago
Okay, Thanks @jbc

Did you find this page helpful?