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

Formatting the axis on a line chart #171

Closed
developerMediaXray opened this issue Jan 21, 2016 · 9 comments
Closed

Formatting the axis on a line chart #171

developerMediaXray opened this issue Jan 21, 2016 · 9 comments

Comments

@developerMediaXray
Copy link

developerMediaXray commented Jan 21, 2016

Is there a way to make it show every 7th data label on the line charts axis? I have data being pulled for everyday of the month, and to reduce clutter (currently it shows every other day) I would like to have it only show the first day and every 7 days after that on the label only ( I still want to keep the data the same).

@Progi1984 Progi1984 modified the milestone: 0.7.0 Jan 24, 2016
@Progi1984
Copy link
Member

@developerMediaXray Do you know how to do it in PowerPoint / LibreOffice ?

If yes, could you give us some screenshots and a sample with the feature. Thanks.

@Progi1984 Progi1984 modified the milestones: Waiting For Answer, 0.7.0 Mar 11, 2016
@Progi1984
Copy link
Member

@developerMediaXray PhpPresentation 0.8.0 has been released. I would like to solve your issue for 0.9.0. Could you answer to my question ?

@kailashgajara
Copy link

@Progi1984 I found this issue just now. I also want to have similar feature where I can set interval unit. I will try explaining what @developerMediaXray was asking and how to do it in powerpoint.

Say on X-Axis, I have 6000 values. So my line chart shows all values. Of course I do not have space to show all values on x-axis. (say my x-axis is timestamp). So I want to show only 5-6 values on horizontal axis but my graph should plot all values. See image below:

php-presentation-example

Is that something you think we can do with current version of php-presentation?

@kailashgajara
Copy link

@Progi1984 Please find attached live pptx file which has 1000 values in x-axis. I have created this manually. In powerpoint, under Axis Points, under Labels, I have specified 100 for "Specify interval unit" option.
Presentation1.pptx

@Progi1984
Copy link
Member

Progi1984 commented May 23, 2017

@kailashgajara : Hi, Could you

Thanks

@kailashgajara
Copy link

@Progi1984 Yes, interval unit is 5. I verified it on windows. Although it did ask to repair. Btw on mac office 2008, even after repair, all slides were empty. In windows all slides came out to be fine.

@Progi1984
Copy link
Member

@kailashgajara :

@Progi1984 Yes, interval unit is 5. I verified it on windows. Although it did ask to repair. Btw on mac office 2008, even after repair, all slides were empty. In windows all slides came out to be fine.

Did the generated file on PowerPoint on Windows asked you to repair ?
Did the generated file on PowerPoint on Mac asked you to repair ?

@kailashgajara
Copy link

@Progi1984 Yes, both windows and mac asked me to repair. In windows, after repair (there were like 3-4 popups), it showed all charts fine but in mac even after repair, all slides where empty. Full white.

Progi1984 added a commit to Progi1984/PHPPresentation that referenced this issue May 30, 2017
@Progi1984 Progi1984 removed this from the Waiting For Answer milestone Oct 3, 2018
Progi1984 added a commit to Progi1984/PHPPresentation that referenced this issue Jul 28, 2021
Progi1984 added a commit to Progi1984/PHPPresentation that referenced this issue Jul 29, 2021
Progi1984 added a commit to Progi1984/PHPPresentation that referenced this issue Jul 29, 2021
@Progi1984 Progi1984 added this to the 1.0.0 milestone Jul 29, 2021
@Progi1984 Progi1984 self-assigned this Jul 29, 2021
@Progi1984
Copy link
Member

Fixed in #546

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

No branches or pull requests

3 participants