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


Recent Events
  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


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 14 Years, 5 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 14 Years, 5 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/03 00:55 By rand486.
The administrator has disabled public write access.
 
#2636
Re:JDataVisualizer 14 Years, 5 Months ago Karma: 747
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 14 Years, 5 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 14 Years, 5 Months ago Karma: 747
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 14 Years, 5 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