You can add many ratingace widgets on your blog or website, feel free to use the HTML code provided below.

Available widgets are :

Percent widget Gauge widget Distribution pie widget

General syntax for a widget

To add a widget on your website, use IFRAME tag, the general syntax is :

<IFRAME SRC="http://ratingace.com/widget/[widget name]/[period]/[topic]?param1=val1&param2=val2&param3=val3..."
                     WIDTH="[iframe width]" HEIGHT="[iframe height]" FRAMEBORDER="0"></IFRAME>

Customize iframe size :

You can resize the iframe size by changing [iframe width] and [iframe height] values (in pixels)

Customize iframe URL :

for [widget name] give the widget name as specified in the next examples (percent, gauge1, distribpie ...)

for [period] give the period to consider for statistics, it must be one of these : 1week, 6months, 3years

for [topic] give the topic to consider. For topic syntax, please have a look to ratingace URL syntax

?param1=val1&param2=val2... are additionnal parameters. You can use many of them. Here is a parameters description list :

Parameter name Description Example
bg background color bg=0000FF
fg text color bg=blue
dfc Default color dfc=CCC
cac Caption text color cfc=AAA
dsc Disabled text color dfc=AAA
ft font size ft=14px
fta label font size fta=14px
fga label font color fga=F4F
fte legend font size fte=14px
vpc "Great" votes color vpc=66FF66
pc "Good" votes color pc=66CC66
ntc "Okay" votes color ntc=666666
nc "Bad" votes color nc=CC6666
vnc "Awful" votes color vnc=FF6666
dkc Don't know votes color dkc=6666FF
grd Grid color grd=DDDDDD
brd Charts border color brd=000000
chf Charts focus color chf=rgba(0, 0, 255, 0.5)
mpf Maps focus color mpf=000000
dsh Dashboard sorting dsh=recent, best,
worst, popular, rising,
dropping or controversial
tf Topic filter tf=tarantino
cf Country filter cf=FR,US
Note : for colors you can specify CSS notation but for RGB do not specifiy the hash sign (#)