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?

Ari GChart Baseline 0 does not work
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Ari GChart Baseline 0 does not work
#27447
Ari GChart Baseline 0 does not work 12 Years ago Karma: 0
i canґt get to the other content, so this might be an doublepost...

Hello, i use Ari Gchart (BarChart) to show up values. (Ari Datatables 1.7)

The Baseline should always be 0.
Itґs also set to 0 in the Backend.

If i have 2 or more values that are equal high (e.g. 140 and 150) the Baseline changes to 100 or something like that.
If i set the Baseline to 1 in the Backend, the Frontend-Baseline changes to 1 as in the Backend set.

If the difference between the values is high (e.g. 10 and 150) everything is fine, the Baseline is 0 as it should be.
A friend of mine checked out the Googlecode and found out tht there must be an entry of "minValue:0" on the axis to set the Baseline always to 0.

Is it possible to fix this shortly or do you have to create a new release.

Greetings from germany
The administrator has disabled public write access.
 
#27448
Re:Ari GChart Baseline 0 does not work 12 Years ago Karma: 748
Hello,

Could you provide a link to a page where we can see described problem?

Regards,
ARI Soft
The administrator has disabled public write access.
 
#27449
Re:Ari GChart Baseline 0 does not work 12 Years ago Karma: 0
Sorry, its an Intranetside of our company, but check this Google-Developer-Link .

Without minValue:0 it looks like that (paste this code):
Code:

function drawVisualization() {
  // Create and populate the data table.
  var data = google.visualization.arrayToDataTable([
    ['vertical', 'horizontal1', 'horizontal2'],
    ['',  140,    150]
  ]);

  // Create and draw the visualization.
  new google.visualization.BarChart(document.getElementById('visualization')).
      draw(data,
           {title:"Yearly Coffee Consumption by Country",
            width:600, height:400,
            vAxis: {title: "vertical"},
            hAxis: {title: "horizontal"}}
      );
}




and with minValue:0 it looks like that: (paste Code):
Code:

function drawVisualization() {
  // Create and populate the data table.
  var data = google.visualization.arrayToDataTable([
    ['vertical', 'horizontal1', 'horizontal2'],
    ['',  140,    150]
  ]);

  // Create and draw the visualization.
  new google.visualization.BarChart(document.getElementById('visualization')).
      draw(data,
           {title:"Yearly Coffee Consumption by Country",
            width:600, height:400,
            vAxis: {title: "vertical"},
            hAxis: {title: "horizontal",minValue:0}}
      );
}



There you can see the Difference of the Baseline, without minValue:0 it starts at 138 an with it starts at 0.
The administrator has disabled public write access.
 
#27455
Re:Ari GChart Baseline 0 does not work 12 Years ago Karma: 748
Download and upgrade "ARI Data Tables" module. New version supports ability to define "Min value" and "Max value" parameters and supports "0" for "Baseline", "Min value" and "Max value" parameters.

Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 1