https://linen.dev logo
Join Discord
Powered by
# custom-charts
  • What I meant by the chartConfig does not
    k

    Keith Barlow

    01/02/2025, 7:34 PM
    What I meant by the chartConfig does not automatically map is that it seems the column I selected in the search bar is not getting automatically mapped as a selected column in my chart... is there something I need to do to configure that?
    h
    • 2
    • 1
  • k

    Keith Barlow

    01/02/2025, 9:16 PM
    If I disable all breakpoints and just let it run, after filling in the Settings and selecting the visualized column, I think I am getting context not initialized when it gets into the custom chart component... Any idea why that would be?
  • Harshmeet... I can give you access to
    k

    Keith Barlow

    01/03/2025, 4:24 PM
    Harshmeet... I can give you access to our instance if you can provide me with an email to share some credentials. Or we can set up a time to meet next week and I can show you. I could use some help debugging this. Thanks.
    h
    • 2
    • 2
  • k

    Keith Barlow

    01/07/2025, 5:33 PM
    Harshmeet... they might have been suppressed in my last screenshot but I think I am getting errors from the Data Query executions:
  • h

    Harshmeet

    01/09/2025, 9:34 AM
    these errors are coming from a timeout we have fixed it in 10.6 version if its older than that you can just ignore
  • m

    mad1

    01/24/2025, 5:39 AM
    Hey Folks, do we have Hierarchy-based filter in the ThoughtSpot ? Something mentioned in ss https://cdn.discordapp.com/attachments/1260701577874903163/1332223164515749960/image.png?ex=67947901&is=67932781&hm=78202cf3725d14e8e2cef9db1e9bfc5010727077b96d9318d6427b951dde07ed&
  • u

    Ujjal Dutta

    01/24/2025, 5:42 AM
    Hey @mad1 , No we don't have a component support for this at this moment.
  • m

    mad1

    01/24/2025, 5:44 AM
    Hey @Ujjal Dutta , any alternate solution we have in this to implement this requirement ?
  • ThoughtSpot Viz/Charts Support
    u

    Ujjal Dutta

    01/24/2025, 5:46 AM
    Since you have full control on the index.html for the BYOC context. You can create this component in the Chart Area itself and hook the filters as per your logic. Maybe a filter menu at the corner which on clicking expose this nested filter component.
    m
    • 2
    • 3
  • k

    Keith Barlow

    02/11/2025, 3:01 PM
    Sorry... I missed this reply... thanks for letting me know.
  • a

    Aparnaa Marimuthu

    02/12/2025, 10:30 AM
    Hi ThoughtSpot Team! The ThoughtSpot getChartContext() function from the TS library is not allowing me to re-render the chart. Additionally, I see TS-Playground: Message Received errors in the console every time I attempt to update styles. How can I dynamically update the chart’s appearance without reinitializing getChartContext()? Is there a recommended way ? https://cdn.discordapp.com/attachments/1260701577874903163/1339181898446016562/Screenshot_2025-02-12_151837.png?ex=67adc9d5&is=67ac7855&hm=f28af39f143c27bc182858ebccdff8cd3350d883f0895eff5f3a1316d0fa0b2d&
  • h

    Harshmeet

    02/26/2025, 7:57 AM
    @Aparnaa Marimuthu if you need to update styles its adviced do to the that in chart renderFunction, store these style values in clientState variable inside visualProps in Custom chart context and read them from context inside your render prop and update accordingly. Once you click on apply emitEvent UpdateVisualProps with updated values from form in clientState variable in paylaod, this event automatically retriggers render chart and you can read these values from context and update appearance accordingly let me know if you need any more help
  • s

    Sahithi Challa

    03/06/2025, 2:03 PM
    Hi @Harshmeet / Thoughtspot team, The custom gantt has rendered on thoughtspot but after 1 minute, it's throwing a timeout error. BTW trying the documention gantt chart code. Need some help on this. https://cdn.discordapp.com/attachments/1260701577874903163/1347207924065239060/Screenshot_2025-03-06_at_7.30.55_PM.png?ex=67cafca7&is=67c9ab27&hm=421be8b6fb1078d4095416b4b390b76571ab8e46d85a9c9c02fbe3f4f982b31d& https://cdn.discordapp.com/attachments/1260701577874903163/1347207924497387654/Screenshot_2025-03-06_at_7.26.07_PM.png?ex=67cafca7&is=67c9ab27&hm=87f779a396b9aa9fffeb68bbd91188dcafef4740528b23e7d93cb9842f07240d& https://cdn.discordapp.com/attachments/1260701577874903163/1347207924962824264/Screenshot_2025-03-06_at_7.32.46_PM.png?ex=67cafca7&is=67c9ab27&hm=9dfc23bbd8ca77ec0924fe595945e70407910a7640957ea06c9d5d099aaf5f46&
  • h

    Harshmeet

    03/07/2025, 6:30 AM
    @Sahithi Challa Can you share the deployed chart URL I will take a look
  • s

    Sahithi Challa

    03/07/2025, 9:28 AM
    @Harshmeet URL : https://byoc-test-ts.s3.us-west-2.amazonaws.com/byoc/dist/index.html This is a hosted in static S3 bucket
  • h

    Harshmeet

    03/07/2025, 2:36 PM
    @Sahithi Challa once your chart render is complete please pass ctx.emitEvent(ChartToTSEvent.RenderComplete); where ctx is the custom chart context returned by getChartContext, also for any sort of codeflow or if you face any issues like this refer our https://github.com/thoughtspot/ts-chart-sdk/tree/main/example/custom-bar-chart, custom bar chart example that's the most upto date.
  • s

    Sahithi Challa

    03/11/2025, 11:42 AM
    Hi @Harshmeet Want to connect over a call to check on this. So can you share your availability.
  • h

    Harshmeet

    03/12/2025, 4:27 AM
    @Sahithi Challa does 1:30 pm today IST work for you or maybe sometime later in the evening today works for me ?
  • s

    Sahithi Challa

    03/12/2025, 11:38 AM
    I am scheduling the call for the evening, let me know if that doesnot work.
  • s

    seansy-archy

    04/29/2025, 5:03 PM
    I had a question regarding embeds with custom charts. Embedding thoughtspot already requires one iframe. It seems like [custom charts are hosted in an additional iframe](https://docs.thoughtspot.com/cloud/10.8.0.cl/chart-custom). This cascade of synchronous page loads is not acceptable for our customers, is there a way to use custom charts and embeds without a doubly nested iframe? Also, wouldn't this mean we'd have N+1 iframes where the number of custom charts in your embed is N?
  • h

    Harshmeet

    05/02/2025, 10:33 AM
    @seansy-archy currently we use iframes for Custom chart and support is not there for loading a custom chart without iframe, also there will not be N+1 nesting if there are N Custom charts, in Embedd case TS is being rendered inside an Iframe and the TS cluster then loads Custom charts with iframes, so at max there can only nesting till one level
  • n

    Neerav

    05/06/2025, 11:07 AM
    AMA & Code-Along: BYOC – Bring Your Own Charts into ThoughtSpot Ever wish you could use your own charting libraries—like Chart.js, D3, ECharts, or anything else—with ThoughtSpot data? This week’s AMA + code-along is for you. We’re going beyond native visualizations to show you how to bring your own charts into your embedded ThoughtSpot app using the Liveboard runtime APIs. 🔧 What you’ll learn: How to fetch and wire up ThoughtSpot data using the Liveboard runtime APIs Render custom visualizations using your favorite charting libraries Explore real-world use cases where BYOC can unlock flexibility for your users Q&A with the product team—bring your implementation challenges! **When: Wednesday, 10:00 AM PST Where: Register here: https://thoughtspot.zoom.us/webinar/register/WN_m9OENPQpTkWclADeudahwA Who should join: Frontend engineers, dashboard builders, and anyone who’s ever said “I wish I could use my own chart…” Let’s go beyond the default - see you Wednesday!
  • f

    Friederike

    06/17/2025, 6:38 AM
    Hi everyone, I am posting this here as well: Muze Studio is ignoring one measure dataset for me and is sticking with bar charts while line charts are expected for timeline data. does anyone have an idea what's the issue? orginal post here: https://discord.com/channels/1143209406037758065/1384112800225431562 Any help and hints are highly appreciated. https://cdn.discordapp.com/attachments/1260701577874903163/1384421815887069244/Screenshot_2025-06-17_083440.png?ex=68525eca&is=68510d4a&hm=8f8dc351fe5a40adc4098ecfe49d76c39c0efaacf0f903f8abc4150932cee755&
  • h

    Harshmeet

    06/25/2025, 8:19 AM
    @Rousan Ali might be able to help here
  • u

    Ujjal Dutta

    06/25/2025, 9:39 AM
    I think the issue is with the field names. Could you pls console.log( data.getData().schema ) in line 4 and share it with me pls.
  • s

    selektionsrest

    07/22/2025, 11:42 AM
    hey has anyone ever tried to set up a sparkline-enriched table with Muze Studio so far? I Was wondering if this is possible. I get the sparklines, but I haven't investigated if a table attached is possible in muze https://cdn.discordapp.com/attachments/1260701577874903163/1397182092911313016/image.png?ex=6880cab9&is=687f7939&hm=fa5f8bdeac73bc86f8641f71a14767bb1777ac2c7d27432e6ee96b4e9bdb0725&
  • a

    aman_simpplr

    07/23/2025, 11:34 AM
    @Harshmeet / @User / Thoughtspot team, We are using embed liveboards using @thoughtspot/visual-embed-sdk/react. I would like to know the best way to customize the charts in terms of colors, which can be done for each answer.
  • k

    Kendall Thrapp

    07/28/2025, 7:34 PM
    Experimenting with Muze and noticed that the x-axis label keeps appearing above the chart, which seems like an odd choice. I haven't been able to find a way to tell Muze to put it below the x-axis though. Am I missing something?
  • m

    mad1

    07/30/2025, 8:13 PM
    Hi Team, 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 ?
  • a

    aman_simpplr

    07/31/2025, 5:06 AM
    following