This topic is locked

Multiple x axes

10/18/2016 12:11:43 AM
PHPRunner General questions
S
snuffi01 author

Hi,

Need to replicate an chart like this:


Is this possible to replicate in Phprunner?
As seen in the picture above the Y axes is the value from the field "HighestTrunkGroupUsage" of the records in the table.

Tha X axes is from field "Time" of the records in the table.

The actual line in the chart should come from the field "TrunkGroupID" of the records in the table.'
My data look like this:


/ Kristian

S
snuffi01 author 10/25/2016



Hi,

Need to replicate an chart like this:


Is this possible to replicate in Phprunner?
As seen in the picture above the Y axes is the value from the field "HighestTrunkGroupUsage" of the records in the table.

Tha X axes is from field "Time" of the records in the table.

The actual line in the chart should come from the field "TrunkGroupID" of the records in the table.'
My data look like this:


/ Kristian


Guess not <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=80515&image=3&table=forumreplies' class='bbc_emoticon' alt=':(' />

S
steveh 10/25/2016



Guess not <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=80518&image=1&table=forumreplies' class='bbc_emoticon' alt=':(' />


It's quite easy, you can use the chart javascript to add new series and data and use the proxy variables to pass it over.
You can now use any example you find at anychart.com and anything in their documentation.
On my copy I've also enabled the UI which has been forgotten for some reason so you get back the print, export etc.
There's a blog posting showing how to do this, have a search.
Steve

S
snuffi01 author 11/1/2016



It's quite easy, you can use the chart javascript to add new series and data and use the proxy variables to pass it over.
You can now use any example you find at anychart.com and anything in their documentation.
On my copy I've also enabled the UI which has been forgotten for some reason so you get back the print, export etc.
There's a blog posting showing how to do this, have a search.
Steve


Hi, thanks for your answer!
Have tried to figure out how i can acccomplish what i want with the "Chart Page-Before display" and "Chart Page-Javascript Chart Modify"

But i cant get it to work <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=80575&image=1&table=forumreplies' class='bbc_emoticon' alt=':(' />
In the blog post there is an example where usersession is passed to the Chart Modify side with this code:



$pageObject->setProxyValue("name", $_SESSION["UserID"]);


How would this look lik ein my example above?

Also in the "Javascript Chart Modify" what would my code look like?
I would really appreciate any help!!!

S
snuffi01 author 11/3/2016



Hi, thanks for your answer!
Have tried to figure out how i can acccomplish what i want with the "Chart Page-Before display" and "Chart Page-Javascript Chart Modify"

But i cant get it to work <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=80586&image=1&table=forumreplies' class='bbc_emoticon' alt=':(' />
In the blog post there is an example where usersession is passed to the Chart Modify side with this code:



$pageObject->setProxyValue("name", $_SESSION["UserID"]);


How would this look lik ein my example above?

Also in the "Javascript Chart Modify" what would my code look like?
I would really appreciate any help!!!


Isn't there anyone that could give some hints on this topic?