mail2lawi opened a new issue #17233:
URL: https://github.com/apache/superset/issues/17233


   **Is your feature request related to a problem? Please describe.**
   
   No
   
   **Describe the solution you'd like**
   A feature that allows one to incorporate dynamic data into headers and other 
freetext components.
   
   For instance, a header that says "Number of responses received as at 
**_7:12:34 am, Oct 26 2021_**"
   The data value, in the example above the timestamp, can be added as a 
variable.
   That way every time the dashboard is refreshed, manually or otherwise, the 
value is updated.
   
   **Describe alternatives you've considered**
   I tried to achieve the functionality using `Big Number` visualization type 
and customised my display text and format in the Date Format option:
   
   `Status as at %I:%M %p, %d %b %Y`
   
   I then added the chart to the dashboard but there was an obvious challenge:
   The text size resizes when the chart is resized and positioned on the 
dashboard resulting in very small text - unsuitable for a header.
   Refer the screenshot below. The first line is from the Big Number chart as 
described above.
   The second, bigger line is the manually typed/static header. 
   
   The second challenge is that as far as I can tell Superset doesn't allow 
removing a chart title (derived from the name of the chart). In this example I 
used 3 dashes as a workaround since Superset wouldn't allow setting it to blank.
   
   **Additional context**
   
   
![image](https://user-images.githubusercontent.com/29949457/138859031-837a07b3-7a03-416c-9e14-a5ce3dabac3d.png)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to