|
Server : Apache/2.4.62 System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64 User : www ( 80) PHP Version : 8.3.8 Disable Function : NONE Directory : /domains/mguerinweb/Offline_Archive/Flash Charts/ |
Upload File : |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<BASEFONT FACE=TAHOMA>
<META content="text/html; charset=unicode" http-equiv=Content-Type>
<META content="MSHTML 5.00.3315.2870" name=GENERATOR></HEAD>
<BODY>
<P>
<STRONG>ASP API for FlashChart</STRONG> </P>
<P>These are the list of all the commands in the API. </P>
<P><STRONG>vchart_initialize() </STRONG>
</P>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<P>This have to be called before any other. This simply prepares a chart ot be
created. </P></BLOCKQUOTE><P><STRONG>vchart_set_title(vtitle,vcolor) </STRONG>
</P>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<P>This sets the specified title to appear on the Chart. <EM>vtitle </EM>-
string, text to be used as title; <EM>vcolor</EM>� string, RGB value of the
title text color. RRGGBBAA where RR is for Red, GG is for Green, BB is for
Blue and AA is for alpha or transparency. Ex. "FF663350" is for Orange, 50%
transparancy </P></BLOCKQUOTE>
<P><STRONG>vchart_set_subtitle(vsubtitle, vcolor)
</STRONG> </P>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<P>This sets the specified subtitle to appear on the Chart. <EM>vsubtitle
</EM>- string, text to be used as subtitle; <EM>vcolor </EM>� string, color
value of the subtitle text color </P></BLOCKQUOTE>
<P><STRONG>vchart_set_comment(vcomment, vcolor)
</STRONG> </P>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<P>This sets the specified comment to appear on the Chart. <EM>vcomment </EM>-
string, text to be used as comment; <EM>vcolor</EM>- string, color value
of the comment text color </P></BLOCKQUOTE>
<P><STRONG>vchart_set_bgcolor(vbgcolor, vstyle)
</STRONG> </P>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<P>This sets the background color of the Chart. <EM>vbgcolor </EM>� string,
color value of the background of the entire chart applet; <EM>vstyle</EM>�
string, style of the background values can be: "solid", "gradient",
"crossgradient", "diagonalgradient", "crossdiagonalgradient" </P></BLOCKQUOTE>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px"></BLOCKQUOTE>
<P><STRONG>vchart_set_frame(vframecolor,vstyle)
</STRONG> </P>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<P>This sets the frame color and style of the chart. <EM>vframecolor </EM>�
string, color value of the frame background color; <EM>vstyle </EM>� string,
style of the frame background (see vchart_set_bgcolor) </P></BLOCKQUOTE>
<P><STRONG>vchart_set_frameBorder(vcolor, vsize)
</STRONG> </P>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<P>This set the color and size of the border around the chart�s frame
<EM>vcolor </EM>� string, color value of the frame border <EM>vsize </EM>�
integer, width or size of the frameborder </P></BLOCKQUOTE>
<P><STRONG>vchart_set_tooltip (vbgcolor, vbgstyle,
vtextcolor, vbordercolor) </STRONG> </P>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<P>This will set the style of the tool tip <EM>vbgcolor </EM>� string, color
of the background <EM>vbgstyle </EM>� string, style of the background
<EM>vtextcolor </EM>� string, color of the tooltip text vbordercolor � string,
color of the tooltip border </P></BLOCKQUOTE>
<P><STRONG>vchart_set_show_grids(vvalue) </STRONG> </P>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<P>This function is no longer used This sets whether the grids of the chart
will be shown or not. <EM>vvalue </EM>- integer, 1 shows vertical grids, 0
hides the grids. default value is 1. </P></BLOCKQUOTE>
<P><STRONG>vchart_set_verticalgrid(vinterval,vgridcolor)
</STRONG> </P>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<P>This tells the chart to draw vertical grids. This function is need for the
vchart_set_horizontalgirdlabled() to work; <EM>vinterval </EM>� integer, is
the interval at which the vertical grid will be drawn; <EM>vgridcolor </EM>�
string, color value of the grid. If color is set to "" or empty, gridlines
will not be drawn but labels will still be displayed </P></BLOCKQUOTE>
<P><STRONG>vchart_set_verticalgridlabel(vlabelcolor)
</STRONG>
</P>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<P>This tells the chart to display the vertical column labels at the specified
color vlabelcolor � string, color value of the label text color
</P></BLOCKQUOTE>
<P><STRONG>vchart_set_horizontalgrid(vinterval,vgridcolor)
</STRONG>
</P>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<P>This tells the chart to draw horizontal grids. <EM>vinterval </EM>�
integer, is the interval at which the vertical grid will be drawn;
<EM>vgridcolor </EM>� string, color value of the grid </P></BLOCKQUOTE>
<P><STRONG>vchart_set_horizontalgridlabel(vlabelcolor)
</STRONG>
</P>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<P>This tells the chart to display the horizontal column labels at the
specified color. If this function is not called the horizontal labels will not
be displayed.vchart_set_verticalgrids() is needed for this function to work.
<EM>vlabelcolor </EM>� string, color value of the label text color
</P></BLOCKQUOTE>
<P><STRONG>vchart_set_legend(vcolor,vbordercolor)
</STRONG>
</P>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<P>This tells the chart the color of the legend labels. If border colore is
set, the colored box of the legend will have a border and so will the bar
graphs. <EM>vcolor </EM>� string, color value of the legend labels;
<EM>vbordercolore </EM>� string, color value of the legend and bar graph
borders </P></BLOCKQUOTE>
<P><STRONG>vchart_set_middleline(vsize,vcolor)
</STRONG>
</P>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<P>This tells the chart to draw a dividing line between positive and negative
area. <EM>vsize </EM>� integer, this is the thickness of the middle line;
<EM>vcolor </EM>� string, this is the color value of the middle line
</P></BLOCKQUOTE>
<P><STRONG>vchart_set_maxvalue(vvalue)
</STRONG>
</P>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<P>This
forces the maximum value of the vertical grid to the specified value. <EM>vvalue </EM>� integer, the maximum value. If this is not set, FlashChart will calculate the
maximum value. If this is not set, FlashCharts will calculate the maximum value.
</P></BLOCKQUOTE>
<P><STRONG>vchart_add_series(vname, vtype, vcolor,
vstyle,vspacing) </STRONG>
</P>
<P><STRONG>vchart_set_minvalue(vvalue)
</STRONG>
</P>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<P>This
forces the minimum value of the vertical grid to the specified value. <EM>vvalue </EM>� integer, the maximum value. If this is not set, FlashChart will calculate the
manimum value. If this is not set, FlashCharts will calculate the minimum value.
</P></BLOCKQUOTE>
<P><STRONG>vchart_add_series(vname, vtype, vcolor,
vstyle,vspacing) </STRONG>
</P>
<P><STRONG>vchart_add_series(vname, vtype, vcolor,
vstyle,vspacing) </STRONG>
</P>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<P>Adds a new series to the chart (Bar chart and Line chart Only). <EM>vname
</EM>- string, the name that specifies the series; <EM>vtype </EM>- string,
the type of bar chart or line chart. valid values are "bar1", "bar2",
"line1","line2","line3","point1","point2"; <EM>vcolor </EM>- string, the color
that specifies the series; <EM>vstyle </EM>� string, style of the background
values can be: "solid", "gradient", "crossgradient", "diagonalgradient",
"crossdiagonalgradient", "outline"; <EM>vspacing </EM>� integer, size of the
space between bars and grids </P></BLOCKQUOTE>
<P><STRONG>vchart_add_series_data(vseriesno, vvalue)
</STRONG>
</P>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<P>Adds data under the specified series(Bar chart and Line chart Only). Data
must be added in the correct sequence. <EM>vseriesno </EM>- integer, specifies
the series in which the data is under. series number is set according to the
sequence in which the series was added with vchart_add_series; <EM>vvalue
</EM>- numeric, the value of the data vchart_add_label(vlabelname) This adds a
label to each vertical column on the chart (Bar chart and Line chart Only).
Label must be added in the correct sequence. vlabelname - string, the label to
appear on chart. </P></BLOCKQUOTE>
<P><STRONG>vchart_add_pie_data(vtype, vlabelname, vvalue,
vcolor) </STRONG>
</P>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<P>This adds a label to each vertical column on the chart (Bar chart and Line
chart Only). Label must be added in the correct sequence; <EM>vtype </EM>-
string, specifies the type of chart. valid value for now is only "pie1";
<EM>vlabelname </EM>- string, the label of the pie slice to appear on chart;
<EM>vvalue </EM>- numeric, the value of the pie slice. vcolor - HEX, the color
of the pie slice </P></BLOCKQUOTE>
<P><STRONG>vchart_refresh(vtime,vdatafile) </STRONG>
</P>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<P>This command tells the chart to reload and refresh the
chart with the specified datafile and at a specified time. <EM>vtime </EM>�
integer, seconds to wait before the chart reloads; <EM>vdatafile </EM>
� string, filename
or url of the new datafile. </P></BLOCKQUOTE>
<P><STRONG>vchart_show() </STRONG>
</P>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<P> This must be called after all the others. This creates the
URLEncoded datafile to be sent to the FlashChart. </P></BLOCKQUOTE>
<P></P></BODY></HTML>