cancel
Showing results for 
Search instead for 
Did you mean: 
intapiuser
Community Team Member
Community Team Member
Sisense for Cloud Data Teams has a feature called Text on Dashboards that allow users to add text boxes as banners, announcements, and descriptions of charts! However, they currently only support one font. 

With the R and Python integration, users can use Plotly to replicate the Text on Dashboard feature but change the font

By using this Python snippet, users can add the custom text, color, position and font to get something like the following: 
Step 1: Create a New Chart
Step 2: Make the chart name blank
Step 3: Add "select 0" or any other valid sql code in the SQL editor
Step 4: Add this snippet to your Python editor and edit the text, position (x and y), font family, size, and color. 
import plotly.graph_objs as go

layout = go.Layout(
      title=dict(
      text= 'Welcome to my Dashboard!',
      y = .3,
      x = .5
    ),
    font=dict(
        family='Cursive',
        size=48,
        color='#7A33FF'
    ),
    xaxis=dict(
        showgrid=False,
        ticks='',
        showticklabels=False
    ),
    yaxis=dict(
        showgrid=False,
        zeroline=False,
        showticklabels=False
    )
)
fig = go.Figure(layout=layout)
periscope.plotly(fig)
Note: So far the fonts we've seen supported are: 
Cursive, Times New Roman, Courier New, PT Sans Narrow, Helvetica, Arial, Arial Bold, and Comic Sans.

If you see more feel free to comment them below! 
Version history
Last update:
‎03-02-2023 09:34 AM
Updated by:
Contributors
Community Toolbox

Recommended quick links to assist you in optimizing your community experience:

Developers Group:

Product Feedback Forum:

Need additional support?:

Submit a Support Request

The Legal Stuff

Have a question about the Sisense Community?

Email [email protected]

Share this page: