Forum - jschmidt-systemberatung.de
×
php-RGraph and php-rgraph Joomla Content Plugin
Rotate X-axis
Kospas
Topic Author
Visitor
2 years 6 months ago #1275
by Kospas
Hello,
Please help. I draw data into the chart from csv, where the most recent date is at the top and therefore I have the most recent date in the chart on the left. I need to rotate the X-axis in the graph so that the most recent date is to the right.
Thank you
Please Log in or Create an account to join the conversation.
2 years 6 months ago -
2 years 6 months ago #1277
by jochen
hi,
this problem is related to your data and not to php-rgraph. I had the same issue and sovled it this way:
1. edit csv-data e.g. with an Editor like notepad++
2. Use Menu Edit → Line Operations → Sort Lines in Ascending Order
other editors may also provide an ordering feature to sort lines.
Last edit: 2 years 6 months ago by jochen .
Please Log in or Create an account to join the conversation.
Kospas
Topic Author
Visitor
2 years 6 months ago #1278
by Kospas
Hello,
the problem is that I draw data from the same csv file to the table where I need the latest data at the top.
Please Log in or Create an account to join the conversation.
2 years 6 months ago #1279
by jochen
hi,
why can't you use two diffenent files csv-files? First sorted by date for chart, and second unsorted for table..
Please Log in or Create an account to join the conversation.
Kospas
Topic Author
Visitor
2 years 6 months ago #1280
by Kospas
Hello,
csv data is entered by BFU in one place, I can't ask him to enter the same data into two files.
Please Log in or Create an account to join the conversation.
2 years 6 months ago -
2 years 6 months ago #1281
by jochen
Last edit: 2 years 6 months ago by jochen .
Please Log in or Create an account to join the conversation.
Time to create page: 0.334 seconds