Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Axis Name not set for the index 1 #63

Open
circuitmamu opened this issue Oct 18, 2019 · 1 comment
Open

Axis Name not set for the index 1 #63

circuitmamu opened this issue Oct 18, 2019 · 1 comment

Comments

@circuitmamu
Copy link

I tried to set the axis name in bar chart but unfortunately only index 0 is set and can't set axis name for index 1
http://wiki.pchart.net/doc.chart.drawbarchart.html

$data = new Data();
$data->addPoints([-4, VOID, VOID, 12, 8, 3], "Probe 1");
$data->addPoints([3, 12, 15, 8, 5, -5], "Probe 2");
$data->addPoints([2, 0, 5, 18, 19, 22], "Probe 3");
$data->setSerieTicks("Probe 2", 4);
$data->setAxisName(0, "Temperatures");
$data->addPoints(["Jan", "Feb", "Mar", "Apr", "May", "Jun"], "Labels");
$data->setSerieDescription("Labels", "Months");
$data->setAxisName(1, "Months");
$data->setAbscissa("Labels");

Actually when I check print_r($data); and exit; then I seen that index 1 is not set when I called that function so request you to please fix that issue

@szymach
Copy link
Owner

szymach commented Oct 22, 2019

Hello,

I am sorry, but as I have written in the README, I no longer actively develop new features or solve bugs for this library. It would be more than welcome if you submitted a PR that solves this issue, though.

Again, sorry for not providing a solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants