Extension talk:WikiPlot

From MediaWiki.org
Jump to: navigation, search

[edit] height / width

There seems to be a problem with these parameters. Try using height and width with the same value. --GunterS 21:58, 10 March 2007 (UTC)

I'm aware of the issue, it's reported here: Issue 12, please report bugs to the google code tracker... I'm not actively developing WikiPlot anymore, but I'll fix the bug once I find the time to push a new release... (Anyone wants to take over the project or do further development, is welcome to contact me by mail: jopsen@gmail.com)
--Jopsen 16:54, 26 April 2007 (UTC)

[edit] Image does not display

  1. Check the paths in WikiPlotSettings.php
  2. Check if a file is generated, looking into the cache-directory.
  3. Hover over the image icon, check the path.
  4. Reload the page. In my wiki, the graph never displays on first load.

[edit] For Windows

Here is my configuration.--Courant 02:09, 19 March 2007 (UTC)

Environment

Windows XP, XAMPP1.6.0a(Apache2.2.4,PHP5.2.1), MediaWiki 1.10alpha(C:\xampp\xampp\htdocs\mediawiki), WikiPlot revesion102


LocalSettings.php

require_once("extensions/wikiplot/src/WikiPlot.php");

wikiplot/WikiPlotSettings.php

define("WikiPlotCachePath","/mediawiki/images/cache/");
define("WikiPlotCacheURL","http://localhost/mediawiki/images/cache");

PlotClass/evalmath.class.php

Remove <? and ?> tags in SYNOPSIS comment.

before:

SYNOPSIS
<?
include(’evalmath.class.php’);
$m = new EvalMath;

...

$m->evaluate(’f(x,y) = x^2 + y^2 - 2x*y + 1′);
// and then use them
$result = $m->evaluate(’3*f(42,a)’);
?>

after:

SYNOPSIS
include(’evalmath.class.php’);
$m = new EvalMath;

...

$m->evaluate(’f(x,y) = x^2 + y^2 - 2x*y + 1′);
// and then use them
$result = $m->evaluate(’3*f(42,a)’);
Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Print/export
Toolbox