Forum - jschmidt-systemberatung.de

× php-RGraph und php-rgraph Joomla Content Plugin

Rotate X-axis

  • Kospas
  • Autor
  • Besucher
  • Besucher
2 Jahre 5 Monate her #1275 von Kospas
Rotate X-axis wurde erstellt von 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

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
2 Jahre 5 Monate her - 2 Jahre 5 Monate her #1277 von jochen
jochen antwortete auf Rotate X-axis
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.
Letzte Änderung: 2 Jahre 5 Monate her von jochen.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

  • Kospas
  • Autor
  • Besucher
  • Besucher
2 Jahre 5 Monate her #1278 von Kospas
Kospas antwortete auf Rotate X-axis
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.
Anhänge:

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
2 Jahre 5 Monate her #1279 von jochen
jochen antwortete auf Rotate X-axis
hi,

why can't you use two diffenent files csv-files? First sorted by date for chart, and second unsorted for table.. 

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

  • Kospas
  • Autor
  • Besucher
  • Besucher
2 Jahre 5 Monate her #1280 von Kospas
Kospas antwortete auf Rotate X-axis
Hello,
csv data is entered by BFU in one place, I can't ask him to enter the same data into two files.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
2 Jahre 5 Monate her - 2 Jahre 5 Monate her #1281 von jochen
jochen antwortete auf Rotate X-axis
hi,
plugin php-rgraph may use data provided by url.

See my sample at: www.jschmidt-systemberatung.de/index.php...5&Itemid=660&lang=en
or
www.jschmidt-systemberatung.de/index.php...6&Itemid=659&lang=en

the sample show how a called url would provide data for a chart. - In your case you would call an url which would create the sorted chart data.
Letzte Änderung: 2 Jahre 5 Monate her von jochen.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Ladezeit der Seite: 0.188 Sekunden
Powered by Kunena Forum
Wir benutzen Cookies

Wir nutzen Cookies auf unserer Website. Einige von ihnen sind essenziell für den Betrieb der Seite, während andere uns helfen, diese Website und die Nutzererfahrung zu verbesssern. Auf keinen Fall werden persönliche oder vertrauliche Daten gespeichert oder weitergegeben.