I believe such a feature is not available out of the box. I will verify it during the U.S. business hours on Monday, and if not, see if there's an existing enhancement request.
You may also look into custom extensibility and creating your own widget that would fulfill your requirements. Let me know if you would like documentation on that.
Hi Xiang Jing Guo,
In addition to this you can use the code of existing widgets as base for your custom widget.
These are available at webapps\Thingworx\Common\thingworx\widgets.
Please make sure to NOT make any changes in the folder. Just copy the required widget code to somewhere else and rename the folder and also make corresponding changes in the code.