InfoCaptor

  1. Home
  2. Docs
  3. InfoCaptor
  4. Legacy HTTP GET
  5. Text

Text

Text data output is the preferred and fastest way to send data to the widgets when you are sending data from private or custom data sources using HTTP Get or HTTP Post . When you send data as TEXT, there is no processing done and it is fed straight to the widget. So whatever format you have your widget’s data prototyped will be the expected output. Here are the formats for some important widgets (in prototype mode)    Window with Title

Table/Grid

  row:5col:5width:0,90,0align:left,right,center,left,rightlabel:seq,Product,Category,Period,Salescol_data:1,2,3,4,5col_data:Tea,Coffee,Milk,Cereal,Chocolatecol_data:cat1,cat1,cat2,cat3,cat4col_data:Jan-11,Jan-11,Jan-11,Jan-11,Jan-11col_data:20K,15K,5K,30K,25Kband_color:#D4D4D4,#FFFFFFheader_color:#808080header_font_color:whitesummary_row:<color=blue>Totals<color=default>,,,,95Ksummary_color:#FCFFCC Star rating widget

 “labels”:[“Quality”,”Speed”,”Safety”],”label_width”:50,”count”:[ 5,3,6 ],”count_max”:[ 10,10,10 ]  Dial/Gauge/Speedometer

 “range_min_max”:[0,100],”ticks_angle_min_max”:[180,360],”range_legend”:[“Bad”,”Ok”,”Good”],”ranges”:[ [0,20],[20,60],[60,100],[0,100] ],”range_color”:[“#FF7A59″,”#7D69FF”,”#63FF78″,”white”],”value_template”:”Sales $# value “,”pointer_value”:[45],”arc_angle”:[360,360],”arc_radius”:[20],”arc_color”:[“white”],”tick_radius”:[-50],”tick_number_radius”:[-20],”tick_length”:[10],”tick_width”:[0.5],”range_radius”:[-60,-60,-60,-50],”range_thickness”:[10,10,10,15],”value_display”:[0,15],”value_font_size”:1,”pointer_radius”:[-35],”pointer_width”:[3],”pointer_color”:[“#7D7D7D”],”legend_display”:[0,60],”data_labels”:[“die”,”step on it”,”finally”,”cool”],”use_data_labels”:”N”,”scale_decimals”:”0″,”value_decimals”:”0″ Bar Chart

labels:j,f,m,a,xcolumn1:100,45,45,26,21  double Bar chart

Gantt Chart

 NOTE: You can double click and widget and check the default data format. For Charts, double click will bring up a grid interface. To view the raw text, right on the charts and select “Edit Text”. Dials and meters are exception in the chart category

Was this article helpful to you? Yes No

How can we help?