Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 05/09/2017 BIG Autumn SALE

    Use AUTUMN17 coupon code to buy our WordPress or Joomla! extensions with 25% discount. Hurry up! The offer is valid till 11 September.

  • 14/04/2017 Happy Easter

    Wish a Happy Easter and give 30% discount for all our WordPress and Joomla! extensions. Use EASTER17 coupon code. The offer is valid till 17 April.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

JDataVisualizer
(1 viewing) (1) Guest
Go to bottomPage: 123
TOPIC: JDataVisualizer
#2634
JDataVisualizer 7 Years, 11 Months ago Karma: 0
Hi there! I've been using JDataTable for a few months now and love it. Finally got all the kinks worked out. We are now trying to add a graphical portion to the tables by using JData Visualizer, but I'm having a very hard time getting it to run. The js script keeps crashing.

I am using Joomla 1.5.14, with PHP 5.2.6. I get the message:
"A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete.

Script: localhost/DCCRM/plugins/content/arismartcontent/content/ari_jdata_visualizer4a9d83f9d816d/js/visualize.jQuery.js:11"

With a choice of stopping the script or continuing to wait. This is in Firefox 3.5.4, if it helps.

The following code will bring up a graph, but with the data not appearing properly. I know this is because the data is listed vertically, not horizontally:
{tbs}script=./scripts/reports10.php{/tbs}
<h3>Sales Trend Report</h3>
{arijdatavisualizer type="line" hideTable="false"} {arijdatatable bPaginate="true"}
<table style="text-align: center;" align="center" border="0">
<thead style="text-align: left;">
<tr style="text-align: left;">
<th>Months</th> <th>Revenue</th>
</tr>
</thead>
<tbody style="text-align: left;">
<tr style="text-align: left;">
<td style="text-align: left;">[u.date;block=tr]</td>
<td style="text-align: left;">$[u.SUM(value)]</td>
</tr>
</tbody>
</table>
{/arijdatatable} {/arijdatavisualizer} <br /><br />


This is the result:
The administrator has disabled public write access.
 
#2635
Re:JDataVisualizer 7 Years, 11 Months ago Karma: 0
To further explain: When I add parseDirection="y" to tell it to read down, this is when it crashes:
Code:

{tbs}script=./scripts/reports10.php{/tbs}
<h3>Sales Trend Report</h3>
{arijdatavisualizer type="line" parseDirection="y" hideTable="false"} {arijdatatable bPaginate="true"}        
<table style="text-align: center;" align="center" border="0">
<thead style="text-align: left;">
<tr style="text-align: left;">
<th>Months</th> <th>Revenue</th>
</tr>
</thead>
<tbody style="text-align: left;">
<tr style="text-align: left;">
<td style="text-align: left;">[u.date;block=tr]</td>
<td style="text-align: left;">$[u.SUM(value)]</td>
</tr>
</tbody>
</table>
{/arijdatatable} {/arijdatavisualizer} <br /><br />





To add, the [u.date;block=tr] is part of Tiny But Strong plugin (TBS) but I have gotten it working perfectly with JDataTable, so I suspect I am misunderstanding the usage of the JDataVisualizer. Is that not what parseDirection does? Have I got the syntax correct?

Please understand, I can't give out admin rights to the site, which is why I am trying to provide you with as much information as possible.

Thanks!
Last Edit: 2009/11/02 17:55 By rand486.
The administrator has disabled public write access.
 
#2636
Re:JDataVisualizer 7 Years, 11 Months ago Karma: 667
Hello,

Try to use the following code:

Code:


{tbs}script=./scripts/reports10.php{/tbs}
<h3>Sales Trend Report</h3>
{arijdatatable bPaginate="true"}        
<table style="text-align: center;" align="center" border="0">
<thead style="text-align: left;">
<tr style="text-align: left;">
<th>Months</th> <th>Revenue</th>
</tr>
</thead>
<tbody style="text-align: left;">
<tr style="text-align: left;">
<td style="text-align: left;">[u.date;block=tr]</td>
<td style="text-align: left;">$[u.SUM(value)]</td>
</tr>
</tbody>
</table>
{/arijdatatable} 

<table style="text-align: center;" align="center" border="0" id="tblData">
<thead style="text-align: left;">
<tr style="text-align: left;">
<th>Months</th> <th>Revenue</th>
</tr>
</thead>
<tbody style="text-align: left;">
<tr style="text-align: left;">
<td style="text-align: left;">[u.date;block=tr]</td>
<td style="text-align: left;">[u.SUM(value)]</td>
</tr>
</tbody>
</table>
{arijdatavisualizer type="line" hideTable="true" tableId="tblData"}
{/arijdatavisualizer}

The administrator has disabled public write access.
 
#2638
Re:JDataVisualizer 7 Years, 11 Months ago Karma: 0
Thanks! The result wasn't what I actually wanted, but after a few minutes of adjusting certain cells, I got what I needed! Hopefully this template goes smoothly with the other pages I need to do!
The administrator has disabled public write access.
 
#2639
Re:JDataVisualizer 7 Years, 11 Months ago Karma: 667
We have only provided suggestion how to make your code working. You can change it for your needs. ARI JData Visualizer requires that number cells contain only number without extra characters such as $.

PS: If you have any questions, feel free to ask them.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#2641
Re:JDataVisualizer 7 Years, 11 Months ago Karma: 0
So far, having good luck building the charts. One question though, how do I center the graph that appears? I've tried centering the table, and the {aridatavisualizer} tags, but I can't get it to center in the article.

Randall
The administrator has disabled public write access.
 
Go to topPage: 123