Axes disappear - RESOLVED

Get help and support using chartsEngine for LiveCode.

Moderators: heatherlaine, BvG

Post Reply
dglass
Posts: 519
Joined: Thu Sep 24, 2009 9:10 pm
Location: California
Contact:

Axes disappear - RESOLVED

Post by dglass » Wed Jul 06, 2011 8:24 pm

It is entirely possible I'm doing stuff with CE that should not be done, but here we go....

I've linked (too big to attach) a QuickTime Movie of the behavior I'm seeing, because I think it's probably too convoluted to explain clearly in a written post.

http://www.graymattercomputing.com/file ... apz002.mov

Basically, after changing the min and max two times, the axes disappear.
Last edited by dglass on Wed Jul 06, 2011 10:43 pm, edited 1 time in total.

dglass
Posts: 519
Joined: Thu Sep 24, 2009 9:10 pm
Location: California
Contact:

Re: Axes disappear

Post by dglass » Wed Jul 06, 2011 10:43 pm

As proof that the stuff you might think is not relevant probably is, I did some work to fix the X-axis grid label calculations, and the chart now scrolls properly*.

* - for the most part. Still have some graphic anomalies off the left edge after scrolling a bunch, but I'll see if I can work those out on my own.

BvG
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1236
Joined: Sat Apr 08, 2006 1:10 pm
Location: Zurich
Contact:

Re: Axes disappear - RESOLVED

Post by BvG » Fri Jul 08, 2011 3:25 pm

The problem is most likely that you specify something 'illegal'. For example a smaller maxX then minX, or having non-numeric entries in the data. Generally there's not a ton of error checking for false data entry, instead the graph does not draw correctly, as you saw in your example.

If that is not the case, I'd love to see an example stack, showcasing the problem. If your stacks are too sensitive to send them to me, you could try to delete everything but the graph and the code that manipulates it. Sometimes just the "charts" customPropertySet contents could be enough to find the problem, but getting that data into a readable format is not as straight forward as mailing a stack.
Various teststacks and stuff:
http://bjoernke.com

Chat with other RunRev developers:
chat.freenode.net:6666 #livecode

Post Reply

Return to “chartsEngine”