Forum - jschmidt-systemberatung.de

× php-RGraph and php-rgraph Joomla Content Plugin

Liniendiagramm teilweise gestrichelt

  • Luma
  • Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
More
4 years 1 month ago #1183 by Luma
Hallo,

ich hätte gern einen Teil der Linie im Liniendiagramm gestrichelt (siehe Bild).
Wie kann man das umsetzen?
Attachments:

Please Log in or Create an account to join the conversation.

More
4 years 1 month ago #1184 by jochen
Replied by jochen on topic Liniendiagramm teilweise gestrichelt
hi,

mit dem parameter "combine_chart" kann man zwei charts kombinieren/überlagern. Der erste chart ist dann das Diagramm mit druchgezogener Linie, der zweite stellt die gestrichelte Linie dar.

Siehe auch mein Beispiel dazu:  www.jschmidt-systemberatung.de/index.php...5&Itemid=660&lang=de

Please Log in or Create an account to join the conversation.

  • Luma
  • Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
More
4 years 1 month ago #1185 by Luma
Replied by Luma on topic Liniendiagramm teilweise gestrichelt
Hallo Jochen,
danke für die schnelle Antwort. Aber mit welchem Attribut stelle ich die Linie auf gestrichelt? Und wie erreiche ich, dass nur die einzelnen Abschnitte der Linie dargestellt werden?

Please Log in or Create an account to join the conversation.

More
4 years 1 month ago #1186 by jochen
Replied by jochen on topic Liniendiagramm teilweise gestrichelt
hi,

parameter "dashed" oder "dotted" (z.B. dashed="true"). welche Abschnitte mit den jeweiligen Linien versehen werden, hängt von den Daten ab.
Z. B. chart1: data="10,20,30,40",  chart2 (gestrichelt):. data=",,,,50,60"  

Please Log in or Create an account to join the conversation.

  • Luma
  • Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
More
4 years 1 month ago #1187 by Luma
Replied by Luma on topic Liniendiagramm teilweise gestrichelt
Die Parameter "dashed" und "dotted" habe ich ausprobiert. Aber sie haben keinerlei Auswirkung. Die Linie bleibt immer durchgängig.

Please Log in or Create an account to join the conversation.

More
4 years 1 month ago #1188 by jochen
Replied by jochen on topic Liniendiagramm teilweise gestrichelt
hi,

ich hab das überprüft und zwei bugs gefunden (1 in meiner phü-lib und 1 in rGraphs javascript lib). Sie können die korrigierte Version downloaden/stallieren  (oder via "Extensions" -> "update" installiereen). Danach sollte "dashed" oder "dotted" funktionieren
The following user(s) said Thank You: Luma

Please Log in or Create an account to join the conversation.

Time to create page: 0.176 seconds
Powered by Kunena Forum
We use cookies

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.