#jpgraph
#pma
CKEditor_4.6.1
Date
backup
bibelpopup
classes
config
fetch_bibel
fetch_chorbuch
html2pdf-master
html2pdf_v4.03
images
jpgraph
docs
chunkhtml
example_src
.html
accbarframeex01.html
accbarframeex02.html
accbarframeex03.html
antispamex01.html
aqua_example.html
axislabelbkgex01.html
axislabelbkgex02.html
axislabelbkgex03.html
axislabelbkgex04.html
axislabelbkgex05.html
axislabelbkgex06.html
axislabelbkgex07.html
background_type_ex0.html
background_type_ex1.html
background_type_ex2.html
background_type_ex3.html
background_type_ex4.html
balloonex2.html
bargradex1.html
bargradsmallex1.html
bargradsmallex2.html
bargradsmallex3.html
bargradsmallex4.html
bargradsmallex5.html
bargradsmallex6.html
bargradsmallex7.html
bargradsmallex8.html
barlinealphaex1.html
barscalecallbackex1.html
basic_contourex01.html
basic_contourex02.html
basic_contourex03-1.html
basic_contourex03-2.html
basic_contourex03-3.html
basic_contourex04.html
basic_contourex05.html
boxstockex1.html
builtinplotmarksex1.html
canvasex01.html
canvasex02.html
canvasex03.html
canvasex04.html
canvasex05.html
canvasex06.html
ccbp_ex1.html
ccbp_ex2.html
ccbpgraph.class.html
checkgd.html
checkgd2.html
checkttf.html
clipping_ex1.html
clipping_ex2.html
comb90dategraphex03.html
combgraphex1.html
combgraphex2.html
common-obj-graph.html
common-obj-piegraph.html
contour2_ex1.html
contour2_ex2.html
contour2_ex3.html
contour2_ex4.html
contour2_ex5.html
contour2_ex6.html
contour2_ex7.html
datamatrix_ex0.html
datamatrix_ex00.html
datamatrix_ex1.html
datamatrix_ex4.html
datamatrix_ex5.html
datamatrix_ex6.html
datamatrix_ex7.html
dateaxisex1.html
dateaxisex2.html
dateaxisex4.html
datescaleticksex01.html
dateutilex01.html
dateutilex02.html
example0-0.html
example0.html
example11.html
example13.html
example14.html
example15.html
example16.1.html
example16.3.html
example16.4.html
example16.6.html
example16.html
example17.html
example19.1.html
example19.html
example2.html
example20.3.html
example21.html
example22.html
example23.html
example24.html
example25.1.html
example25.2.html
example25.html
example26.1.html
example26.html
example27.1.html
example27.2.html
example27.3.html
example27.html
example28.1.html
example28.2.html
example28.3.html
example28.html
example3.0.1.html
example3.0.2.html
example3.0.3.html
example3.1.1.html
example3.1.html
example3.2.1.html
example3.2.2.html
example3.2.html
example3.3.html
example3.4.1.html
example3.4.html
example3.html
example4.html
example5.html
example6.1.html
example6.2.html
example6.html
example7.html
example8.html
example9.1.html
example9.2.html
example9.html
fieldscatterex1.html
filledgridex1.html
filledlineex01.1.html
filledlineex01.html
filledlineex03.html
fixscale_radarex1.html
footerex1.html
funcex2.html
gantt_samerowex1.html
gantt_samerowex2.html
gantt_textex1.html
ganttcolumnfontsex01.html
ganttconstrainex2.html
ganttex00.html
ganttex01.html
ganttex03.html
ganttex04.html
ganttex06.html
ganttex07.html
ganttex08.html
ganttex13-zoom1.html
ganttex13-zoom2.html
ganttex14.html
ganttex15.html
ganttex16.html
ganttex17-flag.html
ganttex18.html
ganttex19.html
ganttex30.html
gantthourex1.html
gantthourminex1.html
gantticonex1.html
ganttmonthyearex2.html
ganttmonthyearex3.html
ganttmonthyearex4.html
ganttsimpleex1.html
grace_ex0.html
grace_ex1.html
grace_ex2.html
grace_ex3.html
gradbkgex1.html
gradlinefillex1.html
gradlinefillex2.html
gradlinefillex3.html
green_example.html
gridstylesex1.html
groupbarex1.html
horizbarex1.html
horizbarex4.html
horizbarex6.html
imgmarkerex1.html
impulsex1.html
impulsex3.html
impulsex4.html
interpolation-growth-log.html
interpolation-growth.html
inyaxisex2.html
ledex1.html
ledex10.html
ledex11.html
ledex12.html
ledex13.html
ledex14.html
ledex15.html
ledex16.html
ledex17.html
ledex2.html
ledex3.html
ledex4.1.html
ledex4.2.html
ledex4.html
ledex5.html
ledex6.html
ledex7.html
ledex8.html
ledex9.html
linebarcentex1.html
lineiconex1.html
lineiconex2.html
lineimagefillex1.html
listfontsex1.html
loglogex1.html
manscaleex1.html
manscaleex2.html
manscaleex3.html
manual_textscale_ex1.html
manual_textscale_ex2.html
manual_textscale_ex3.html
manual_textscale_ex4.html
manualtickex1.html
manualtickex1a.html
manualtickex2.html
manualtickex3.html
manualtickex4.html
markflagex1.html
matrix_csimex01.html
matrix_edgeex01.html
matrix_ex0.html
matrix_ex03.html
matrix_ex04.1.html
matrix_ex04.2.html
matrix_ex04.html
matrix_ex05.html
matrix_ex06.html
matrix_introex.html
matrix_layout_ex1.html
mulyaxisex1.html
mulycsim_example_static.html
ocean_example.html
odotutex00.html
odotutex01.html
odotutex02.html
odotutex03.html
odotutex04.html
odotutex06.html
odotutex07.html
odotutex08.html
odotutex09.html
odotutex10.html
odotutex11.html
odotutex12.html
odotutex13.html
odotutex14.html
odotutex15.html
odotutex16.1.html
odotutex16.html
odotutex17.html
odotutex18.html
odotutex19.html
orange_example.html
partiallyfilledlineex1.html
pastel_example.html
pdf417_ex0.html
pdf417_ex1.html
pdf417_ex1b.html
pdf417_ex2.html
pdf417_ex3.html
pdf417_ex4.html
pdf417_ex5.html
pdf417_ex6.html
piebkgex1.html
piecex1.html
piecex2.html
pieex3.html
pieex8.html
pieex9.html
pielabelsex1.html
pielabelsex2.html
pielabelsex4.html
pielabelsex5.html
plotbanddensity_ex0.html
plotbanddensity_ex1.html
plotbanddensity_ex2.html
polarclockex1.html
polarclockex2.html
polarex0-180.html
polarex0.html
polarex3-lin.html
polarex3.html
polarex4.html
polarex5.html
polarex7-1.html
polarex7-2.html
polarex9.html
prepaccdata_example.html
pushpinex1.html
qr_template.html
qrexample0.html
qrexample00.html
qrexample01.html
qrexample03.html
qrexample04.html
qrexample05.html
qrexample06.html
qrexample07.html
qrexample08.html
qrexample09.html
qrexample10.html
qrexample11.html
qrexample12.html
radarex1.html
radarex2.html
radarex4.html
radarex6.html
radarex7.html
radarex8.1.html
radarex8.html
radarlogex1-aa.html
radarlogex1.html
radarmarkex1.html
rose_example.html
rotex0.html
rotex1.html
rotex2.html
rotex3.html
rotex4.html
rotex5.html
scatterex1.html
scatterex2.html
scatterlinkex3.html
scatterlinkex4.html
smallstaticbandsex1.html
smallstaticbandsex10.html
smallstaticbandsex2.html
smallstaticbandsex3.html
smallstaticbandsex4.html
smallstaticbandsex5.html
smallstaticbandsex6.html
smallstaticbandsex7.html
softy_example.html
splineex1.html
staticbandbarex7.html
stockex1.html
sunspotsex1.html
sunspotsex2.html
sunspotsex3.html
sunspotsex4.html
sunspotsex5.html
sunspotsex6.html
sunspotsex7.html
table_flagex1.html
table_howto1.html
table_howto2.html
table_howto3.html
table_howto4.html
table_howto5.html
table_howto6.html
table_howto7.1.html
table_howto7.2.html
table_howto8.html
table_howto9.html
table_iconex1.html
table_mex0.html
table_mex00.html
table_mex1.html
table_mex3.html
table_vtext.html
tablebarex1.html
textalignex1.html
textpalignex1.html
theme_example.html
theme_samplele.html
timestampex01.html
titleex1.html
topxaxisex1.html
universal_example.html
vivid_example.html
windrose_2plots_ex1.html
windrose_bgimg_ex1.html
windrose_ex0.html
windrose_ex1.html
windrose_ex2.html
windrose_ex3.html
windrose_ex4.html
windrose_ex5.html
windrose_ex6.1.html
windrose_ex6.html
windrose_ex7.1.html
windrose_ex7.html
windrose_ex8.1.html
windrose_ex8.html
windrose_ex9.1.html
windrose_ex9.html
windrose_icon_ex1.html
windrose_layout_ex0.html
windrose_layout_ex1.html
y2synch.html
y2synch2.html
images
admon-bug.png
admon-bug2.png
admon-bug2_small.png
admon-caution.png
admon-note.png
admon-tip.png
admon-warning.png
apa.html
apb.html
apbs02.html
apc.html
apd.html
ape.html
apes02.html
apf.html
apg.html
aph.html
aphs02.html
aphs03.html
api.html
apis02.html
apj.html
apjs02.html
apjs03.html
apjs04.html
apjs05.html
apjs06.html
apjs07.html
apjs08.html
apk.html
apks02.html
apks03.html
apl.html
apm.html
apms02.html
ch01.html
ch01s02.html
ch01s03.html
ch01s04.html
ch01s05.html
ch01s06.html
ch01s07.html
ch01s08.html
ch01s09.html
ch01s10.html
ch02.html
ch02s02.html
ch02s03.html
ch03.html
ch03s02.html
ch03s03.html
ch03s04.html
ch03s05.html
ch03s06.html
ch03s07.html
ch04.html
ch04s02.html
ch05.html
ch05s02.html
ch05s03.html
ch05s04.html
ch05s05.html
ch05s06.html
ch06.html
ch06s02.html
ch06s03.html
ch06s04.html
ch07.html
ch07s02.html
ch07s03.html
ch07s04.html
ch07s05.html
ch08.html
ch08s02.html
ch08s03.html
ch08s04.html
ch08s05.html
ch08s06.html
ch08s07.html
ch08s08.html
ch09.html
ch09s02.html
ch09s03.html
ch09s04.html
ch10.html
ch10s02.html
ch10s03.html
ch10s04.html
ch10s05.html
ch10s06.html
ch12.html
ch12s02.html
ch13.html
ch13s02.html
ch13s03.html
ch13s04.html
ch13s05.html
ch13s06.html
ch13s07.html
ch14.html
ch14s02.html
ch14s03.html
ch14s04.html
ch14s05.html
ch14s06.html
ch14s07.html
ch14s08.html
ch14s09.html
ch14s10.html
ch14s11.html
ch14s12.html
ch14s13.html
ch14s14.html
ch14s15.html
ch14s16.html
ch14s17.html
ch15.html
ch15s02.html
ch15s03.html
ch15s04.html
ch15s05.html
ch15s06.html
ch15s07.html
ch15s08.html
ch16.html
ch16s02.html
ch16s03.html
ch16s04.html
ch17.html
ch17s02.html
ch17s03.html
ch18.html
ch19.html
ch19s02.html
ch19s03.html
ch19s04.html
ch19s05.html
ch19s06.html
ch20.html
ch20s02.html
ch20s03.html
ch20s04.html
ch20s05.html
ch21.html
ch21s02.html
ch21s03.html
ch21s04.html
ch21s05.html
ch21s06.html
ch21s07.html
ch22.html
ch22s02.html
ch22s03.html
ch22s04.html
ch22s05.html
ch22s06.html
ch22s07.html
ch22s08.html
ch22s09.html
ch22s10.html
ch23.html
ch24.html
ch24s02.html
ch24s03.html
ch24s04.html
ch24s05.html
ch24s06.html
ch24s07.html
ch24s08.html
ch24s09.html
ch25.html
ch25s02.html
ch25s03.html
ch25s04.html
ch25s05.html
ch25s06.html
ch25s07.html
ch25s08.html
ch26.html
ch26s02.html
ch26s03.html
ch27.html
ch27s02.html
ch27s03.html
ch28.html
ch29.html
ch29s02.html
ch30.html
ch31.html
ch32.html
ch33.html
ch34.html
ch34s02.html
ch34s03.html
ch34s04.html
ch34s05.html
ch35.html
ch35s02.html
ch35s03.html
ch35s03s02.html
ch35s03s03.html
ch35s03s04.html
ch35s04.html
ch35s05.html
ch35s06.html
checkmark-plain.gif
checkmark.png
index.html
manual.css
phphl.css
pr01.html
pt01.html
pt02.html
pt03.html
pt04.html
pt05.html
pt06.html
pt07.html
pt08.html
pt09.html
text-document.png
classref
index.html
jpgraph_logo.jpg
manual.png
reference.png
src
VERSION
kalender
language
lib
lieder
livesearch
msd
overlib
pma
templates
templates_c
validation
++ Umstellung Luther 2017.sql
.gitattributes
.htaccess
Version8_bugs.txt
ajax.js_20170928
ansicht.php
ansicht.php_20200212
ansicht.php_20200915
ansicht.php_lut84_20180219
ansicht2.php
ansicht2.php_20200212
ansicht2.php_20200915
ansicht2.php_lut84_20180219
ausgabe.php
bes_gd.php
bibellookup.php_lut84_20180219
bibellookup_1984.php
bibellookup_2017.php
bibellookup_2017.php_20200212
changelog.php
config.inc.php
copy.js
faq_text.php
faq_text_ber.php
favicon.ico
fetch_data.php
ftp_ansicht.php
ftp_ansicht.php_20181214
func_agent.php
func_ansicht.php
func_ansicht.php_20200212
func_ansicht.php_20200915
func_ansicht.php_lut84_20180219
func_genUser.php
func_highlight.php
func_htmlclean.php
func_make_knk.php
func_make_knk_fa.php
func_make_knk_fa.php_lut84_20180219
func_make_reference_fa.php
func_make_reference_fa.php_lut84_20180219
func_rollenrechte.php
func_rollenrechte_20220202.php
func_write_lue_kat.php
further_publication.php
getSubCat.php
graph.php
graph_einzel.php
graph_hauptframe.php
graph_user.php
graph_user_hauptframe.php
hauptframe.php
hello.cgi
hello.pl
hilfe.php
historie.php
index.php
index2.php
indexframe.php
info.php
job_mail_delete_neue_user.php
job_mail_inaktiv.php
job_user_delete_neue_user.php
job_user_inaktiv.php
jquery.min.js
kat_cont.php
kat_cont.php_20201230
kat_cont.php_20221013
kat_cont_fa.php
kat_main.php
kat_main.php_lut84_20180219
kat_main_fa.php
kat_main_fa.php_lut84_20180219
katechismus.php
katechismus_fa.php
lesung.php
lieder.php
lieder.zip
livesearch.php
livestat.js
livestat.php
livestat2.php
login_log.php
logininfo.php
logout_admin.php
lue_ansicht.php
lue_bearbeiten.php
lue_erfassen.php
lue_inhalt.php
lue_inhalt.php_20200915
lue_inhalt.php_lut84_20180219
lue_notizen.php
lue_suche.php
lue_wahl.php
mail.php
make_ical.php
menuframe.php
nachsenden.php
notizen.php
outlook.php
outlook.php_20200212
outlook_ics.php
outlook_vcs.php
passwort_switch.php
pdf_gen.php
pdf_gen.php_20200915
pdf_gen.php_lut84_20180219
preview.php
profil.php
rollen.php
search_note.php
stichworte.php
suche.php
suche.php_20170928
suche_change.php
suche_simp.php
systemmail.php
test.php
test2.php
testmail.php
testmail2.php
topframe.php
upload.php
user_anlegen.php
user_bearbeiten.php
useronline.php
verweise.php
wort_bearbeiten.php
wort_bearbeiten.php_20170928
wort_erfassen.php
wort_erfassen.php_20170928
wort_exegese.php
wort_wahl.php
81 lines
7.7 KiB
HTML
81 lines
7.7 KiB
HTML
<div style="font-weight: bold;margin-left:15px;">odotutex11.php</div><link rel="stylesheet" href="../phphl.css" type="text/css"><div class="hl-main"><table class="hl-table" width="100%"><tr><td class="hl-gutter" align="right" valign="top"><pre>1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
6
|
|
7
|
|
8
|
|
9
|
|
10
|
|
11
|
|
12
|
|
13
|
|
14
|
|
15
|
|
16
|
|
17
|
|
18
|
|
19
|
|
20
|
|
21
|
|
22
|
|
23
|
|
24
|
|
25
|
|
26
|
|
27
|
|
28
|
|
29
|
|
30
|
|
31
|
|
32
|
|
33
|
|
34
|
|
35
|
|
36
|
|
37
|
|
38
|
|
39
|
|
40
|
|
</pre></td><td class="hl-main" valign="top"><pre><span class="hl-inlinetags"><?php</span><span class="hl-code">
|
|
</span><span class="hl-reserved">require_once</span><span class="hl-code"> </span><span class="hl-brackets">(</span><span class="hl-quotes">'</span><span class="hl-string">jpgraph/jpgraph.php</span><span class="hl-quotes">'</span><span class="hl-brackets">)</span><span class="hl-code">;
|
|
</span><span class="hl-reserved">require_once</span><span class="hl-code"> </span><span class="hl-brackets">(</span><span class="hl-quotes">'</span><span class="hl-string">jpgraph/jpgraph_odo.php</span><span class="hl-quotes">'</span><span class="hl-brackets">)</span><span class="hl-code">;
|
|
|
|
</span><span class="hl-comment">//</span><span class="hl-comment"> Create a new odometer graph (width=250, height=200 pixels)</span><span class="hl-comment"></span><span class="hl-code">
|
|
</span><span class="hl-var">$graph</span><span class="hl-code"> = </span><span class="hl-reserved">new</span><span class="hl-code"> </span><span class="hl-identifier">OdoGraph</span><span class="hl-brackets">(</span><span class="hl-number">250</span><span class="hl-code">,</span><span class="hl-number">150</span><span class="hl-brackets">)</span><span class="hl-code">;
|
|
|
|
</span><span class="hl-var">$graph</span><span class="hl-code">-></span><span class="hl-identifier">title</span><span class="hl-code">-></span><span class="hl-identifier">Set</span><span class="hl-brackets">(</span><span class="hl-quotes">'</span><span class="hl-string">Example with scale indicators</span><span class="hl-quotes">'</span><span class="hl-brackets">)</span><span class="hl-code">;
|
|
|
|
</span><span class="hl-comment">//</span><span class="hl-comment"> Add drop shadow for graph</span><span class="hl-comment"></span><span class="hl-code">
|
|
</span><span class="hl-var">$graph</span><span class="hl-code">-></span><span class="hl-identifier">SetShadow</span><span class="hl-brackets">(</span><span class="hl-brackets">)</span><span class="hl-code">;
|
|
|
|
</span><span class="hl-comment">//</span><span class="hl-comment"> Now we need to create an odometer to add to the graph.</span><span class="hl-comment"></span><span class="hl-code">
|
|
</span><span class="hl-comment">//</span><span class="hl-comment"> By default the scale will be 0 to 100</span><span class="hl-comment"></span><span class="hl-code">
|
|
</span><span class="hl-var">$odo</span><span class="hl-code"> = </span><span class="hl-reserved">new</span><span class="hl-code"> </span><span class="hl-identifier">Odometer</span><span class="hl-brackets">(</span><span class="hl-identifier">ODO_HALF</span><span class="hl-brackets">)</span><span class="hl-code">;
|
|
|
|
</span><span class="hl-comment">//</span><span class="hl-comment"> Add color indications</span><span class="hl-comment"></span><span class="hl-code">
|
|
</span><span class="hl-var">$odo</span><span class="hl-code">-></span><span class="hl-identifier">AddIndication</span><span class="hl-brackets">(</span><span class="hl-number">0</span><span class="hl-code">,</span><span class="hl-number">20</span><span class="hl-code">,</span><span class="hl-quotes">"</span><span class="hl-string">green:0.7</span><span class="hl-quotes">"</span><span class="hl-brackets">)</span><span class="hl-code">;
|
|
</span><span class="hl-var">$odo</span><span class="hl-code">-></span><span class="hl-identifier">AddIndication</span><span class="hl-brackets">(</span><span class="hl-number">20</span><span class="hl-code">,</span><span class="hl-number">30</span><span class="hl-code">,</span><span class="hl-quotes">"</span><span class="hl-string">green:0.9</span><span class="hl-quotes">"</span><span class="hl-brackets">)</span><span class="hl-code">;
|
|
</span><span class="hl-var">$odo</span><span class="hl-code">-></span><span class="hl-identifier">AddIndication</span><span class="hl-brackets">(</span><span class="hl-number">30</span><span class="hl-code">,</span><span class="hl-number">60</span><span class="hl-code">,</span><span class="hl-quotes">"</span><span class="hl-string">yellow</span><span class="hl-quotes">"</span><span class="hl-brackets">)</span><span class="hl-code">;
|
|
</span><span class="hl-var">$odo</span><span class="hl-code">-></span><span class="hl-identifier">AddIndication</span><span class="hl-brackets">(</span><span class="hl-number">60</span><span class="hl-code">,</span><span class="hl-number">80</span><span class="hl-code">,</span><span class="hl-quotes">"</span><span class="hl-string">orange</span><span class="hl-quotes">"</span><span class="hl-brackets">)</span><span class="hl-code">;
|
|
</span><span class="hl-var">$odo</span><span class="hl-code">-></span><span class="hl-identifier">AddIndication</span><span class="hl-brackets">(</span><span class="hl-number">80</span><span class="hl-code">,</span><span class="hl-number">100</span><span class="hl-code">,</span><span class="hl-quotes">"</span><span class="hl-string">red</span><span class="hl-quotes">"</span><span class="hl-brackets">)</span><span class="hl-code">;
|
|
|
|
</span><span class="hl-comment">//</span><span class="hl-comment"> Set display value for the odometer</span><span class="hl-comment"></span><span class="hl-code">
|
|
</span><span class="hl-var">$odo</span><span class="hl-code">-></span><span class="hl-identifier">needle</span><span class="hl-code">-></span><span class="hl-identifier">Set</span><span class="hl-brackets">(</span><span class="hl-number">90</span><span class="hl-brackets">)</span><span class="hl-code">;
|
|
|
|
</span><span class="hl-comment">//</span><span class="hl-comment"> Set the size of the non-colored base area to 40% of the radius</span><span class="hl-comment"></span><span class="hl-code">
|
|
</span><span class="hl-var">$odo</span><span class="hl-code">-></span><span class="hl-identifier">SetCenterAreaWidth</span><span class="hl-brackets">(</span><span class="hl-number">0</span><span class="hl-number">.45</span><span class="hl-brackets">)</span><span class="hl-code">;
|
|
|
|
</span><span class="hl-comment">//</span><span class="hl-comment"> Add drop shadow for needle</span><span class="hl-comment"></span><span class="hl-code">
|
|
</span><span class="hl-var">$odo</span><span class="hl-code">-></span><span class="hl-identifier">needle</span><span class="hl-code">-></span><span class="hl-identifier">SetShadow</span><span class="hl-brackets">(</span><span class="hl-brackets">)</span><span class="hl-code">;
|
|
|
|
</span><span class="hl-comment">//</span><span class="hl-comment"> Add the odometer to the graph</span><span class="hl-comment"></span><span class="hl-code">
|
|
</span><span class="hl-var">$graph</span><span class="hl-code">-></span><span class="hl-identifier">Add</span><span class="hl-brackets">(</span><span class="hl-var">$odo</span><span class="hl-brackets">)</span><span class="hl-code">;
|
|
|
|
</span><span class="hl-comment">//</span><span class="hl-comment"> ... and finally stroke and stream the image back to the browser</span><span class="hl-comment"></span><span class="hl-code">
|
|
</span><span class="hl-var">$graph</span><span class="hl-code">-></span><span class="hl-identifier">Stroke</span><span class="hl-brackets">(</span><span class="hl-brackets">)</span><span class="hl-code">;
|
|
|
|
</span><span class="hl-comment">//</span><span class="hl-comment"> EOF</span><span class="hl-comment"></span><span class="hl-code">
|
|
</span><span class="hl-inlinetags">?></span></pre></td></tr></table></div>
|