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?

GChart (pie) changes to "Other"(gray) if n=0.1%
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: GChart (pie) changes to "Other"(gray) if n=0.1%
#45599
GChart (pie) changes to "Other"(gray) if n=0.1% 10 Years, 8 Months ago Karma: 0
Hi there,

I'm using an ARI Data Table module (1.13.14) set to ARI GChart, pie chart. I ran into a case where one of the chart values was 9 (0.1%) and instead of displaying the correct label it ended up as "Other" with color gray. I simplified everything, tested it and found out if a value ends up being 0.1% the label will be changed to "Other" with color gray. Make that value bigger than 0.1% (even just 0.2%) and it works fine.

My test table has 4 colums: ID = varchar(10), and A,B,C,D which are all decimal(12,2)
Table values are LABEL,47.80,47.90,4.20,1 (one single data row)

Module graphic colors are set to A(blue), B(red), C(green), D(black)

If I do the following query -
SELECT A AS "A", B AS "B", C AS "C", D AS "D" FROM test
there's no "A" on the chart and the colors are all shifted - B(blue), C(red), C(green)

I tried all kinds of things until I added column ID to the query, even though why would I need a column that's not even on the chart?
With this query -
SELECT ID AS "ID", A AS "A", B AS "B", C AS "C", D AS "D" FROM test
everything works fine

Now, change the value for D to 0.1 and "D"(black) becomes "Other"(gray). Have I found a bug? Do I get a cookie?

Updated to 1.13.15, repeated everything and problem persists.

Screenshots here
imgur.com/a/0RZZJ
The administrator has disabled public write access.
 
#45604
Re:GChart (pie) changes to "Other"(gray) if n=0.1% 10 Years, 8 Months ago Karma: 748
Hello,

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

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