Class chart
Located at chart.lib.php
Methods summary
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
Properties summary
public
integer
|
$m_cheight
chart height |
#
0
|
public
integer
|
$m_cwidth
chart width |
#
0
|
public
|
$m_img
|
#
null
|
public
array
|
$m_chartlines
|
#
array()
|
public
array
|
$m_legend_X
|
#
array()
|
public
array
|
$m_legend_Y
|
#
array()
|
public
string
|
$m_type
imagetype like "jpg" or "bmp" |
#
'jpg'
|
public
integer
|
$m_height
height of image |
#
300
|
public
integer
|
$m_width
width of image |
#
600
|
public
string
|
$m_font
fontname like "arial" |
#
'arial'
|
public
integer
|
$m_fsize
fontsize |
#
8
|
public
string
|
$m_fcolor
fontcolor |
#
"#000000"
|
public
string
|
$m_bgcolor
backgroundcolor |
#
"#FFFFFF"
|
public
string
|
$m_bgcolor_chart
backgroundcolor chart |
#
"#FFFFCC"
|
public
string
|
$m_gridcolor
gridcolor |
#
"#C0C0C0"
|
public
integer
|
$m_gridstyle
gridstyle |
#
CHART_GRIDSTYLE_Y
|
public
integer
|
$m_gridstepX
steps for gridlines |
#
10
|
public
integer
|
$m_gridstepY
steps for gridlines |
#
10
|
public
integer
|
$m_maxX
max. shown value of X axis |
#
0
|
public
integer
|
$m_minX
min. shown value of X axis |
#
0
|
public
integer
|
$m_maxY
max. shown value of Y axis |
#
0
|
public
integer
|
$m_minY
min. shown value of Y axis |
#
0
|
public
boolean
|
$m_legend
show legend |
#
true
|
public
integer
|
$m_chartborder
pix for chart border |
#
100
|
public
string
|
$m_title
title |
#
""
|
public
string
|
$m_title_color
title color |
#
"#000000"
|
public
string
|
$m_legendX
caption of legend |
#
""
|
public
string
|
$m_legendY
caption of legend |
#
""
|
public
string
|
$m_legend_val_X
auto => current val mark => current step |
#
"auto"
|
public
string
|
$m_legend_val_Y
auto => current val mark => current step |
#
"auto"
|
public
boolean
|
$m_useGD2
true if you like to use version 2 of GD lib |
#
false
|