23.12.2012 Views

RLIB Programmers Manual - RLIB - SICOM Systems, Inc.

RLIB Programmers Manual - RLIB - SICOM Systems, Inc.

RLIB Programmers Manual - RLIB - SICOM Systems, Inc.

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

lib_graph_clear_bg_region(rlib *rlib_ptr,char *graph_name)<br />

Remove regions. (Use if you are iterating graphs and have different X axis values)<br />

rlib_graph_set_x_minor_tick(rlib *rlib_ptr,char *graph_name, char<br />

*x_value)<br />

Set a x value on a graph as a minor tick<br />

Chapter 6. C API<br />

rlib_graph_set_x_minor_tick_by_location(rlib *rlib_ptr,char *graph_name,<br />

int location)<br />

SAMPLE<br />

Set a x value on a graph as a minor tick. Location starts at 0.<br />

Here is a example.<br />

#include <br />

char *query ="SELECT * FROM plu";<br />

rlib *r;<br />

r = rlib_init();<br />

rlib_add_datasource_mysql(r, "mysql", "localhost", "user", "password", "database");<br />

rlib_add_query_as(r, "mysql", query, "woot");<br />

rlib_add_report(r, "report.xml");<br />

rlib_set_output_format(r, $format);<br />

rlib_execute(r);<br />

rlib_spool(r);<br />

rlib_free(r);<br />

30

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!