domains-und-mehr.de Logo
Kundenlogin:
Aktuelles von Golem:
Aktuelles von Heise:
 

PanaChart 2

This is the home page of PanaChart 2, a php charting library which is based on PanaChart. Improvements over PanaChart are the support of TrueType fonts for the title, basic anti-aliasing (very basic) and support for a graph legend at the bottom of the graphs or charts.

Download

Changes

Version 0.2:
  • fixed order of Arguments for addSeries() so PanaChart 2 can replace PanaChart without code changes
  • added a function setAntiAlias() to enable or disable anti aliasing (enabled by default)

Example

You can see an example of PanaChart 2 in action on our German real estate site "Immobilientutor". (Click on the little chart image on the bottom right of the big grey area in the middle column!)

Code Example

//$vCht, $vCht2 and $vCht3 are arrays of numbers

$ochart = new chart(680,440,10, '#eeeeee');

//$ochart->setTitle("grafische Darstellung","#000000",
//	12, "Arial.ttf");
$ochart->setPlotArea (SOLID,"#444444", '#dddddd');
$ochart->setLegend (0, SOLID, "#000000", "#000000", 2);
$ochart->setFormat(0,'.',',');

$ochart->addSeries($vCht1, 'line','Restschuld',
	SOLID,'#0000aa', '#ccccee', '#0000aa');
$ochart->addSeries($vCht2, 'line','Abgezahlt',
	SOLID,'#00aa00', '#cceecc', '#00aa00');
$ochart->addSeries($vCht3, 'line','Zinsaufkommen',
	SOLID,'#aa0000', '#eecccc', '#aa0000');

$ochart->setXAxis('#000000', SOLID, 4, "Jahre");
$ochart->setYAxis('#000000', SOLID, 4, "Euro");
$ochart->setLabels($vLabels, '#000000', 2, HORIZONTAL);
$ochart->setGrid("#bbbbbb", DOTTED, "#bbbbbb", DOTTED);
$ochart->plot('');

Contact

You can contact us at mail@domains-und-mehr.de or use the contact form if you speak German. nach oben zurück
Domainverfügbarkeit:
Domainname:

Um die Verfügbarkeit einer Domain zu prüfen, geben Sie den Namen ein und klicken Sie auf prüfen.

erweitertes Formular
Spruch:
Der brave Mensch grämt sich weit mehr über ein Unrecht, das er getan hat, als über ein solches, das ihm angetan wurde.
-- Berthold Auerbach