Shimoku docs
Search…
Real Time
A Data App can be a real time component if it responds on a human scale to changes in value in parameters or indicators as soon as these changes occur in the data source. They are tools to benchmark or monitor performance. Real time responses are often understood to be in the order of milliseconds.
The method to use isshimoku.test_real_time_feed()
An example of output with an Indicator:
With input:
data_ = [
{
"description": "",
"title": "Estado",
"value": "30",
},
]
report_id: str = shimoku.plt.indicator(
data=data_,
menu_path=menu_path,
order=0,
value='value',
header='title',
footer='description',
real_time=True,
)
Background color can be changed showing the text in white:
With input:
data_ = [
{
"description": "",
"title": "Estado",
"value": "30",
"color": "success-background",
},
]
report_id: str = shimoku.plt.indicator(
data=data_,
menu_path=menu_path,
order=0,
rows_size=2, cols_size=6,
padding='0,0,0,2',
value='value',
header='title',
footer='description',
real_time=True,
)
The basic configuration and use can be seen here:
Basic use of the real time indicator.
Copy link