Version 1.1.1 Released

Get help and support using chartsEngine for LiveCode.

Moderators: heatherlaine, BvG

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

Version 1.1.1 Released

Post by BvG » Tue Feb 08, 2011 6:42 pm

Get it here

Excerpt from the ChangeLog 1.1.1

ChartsEngine is now owned and maintained by Björnke von Gierke
No features where added, but the documentation was remade, and a stack containing the same data as the PDF was added.

Bugs fixed: 1,2,13,15,16
  • using yMax and yMin with linesStacked produced false charts
  • Values of charts that could have them where drawn below neighbouring tiles (all but the two line types can have values)
  • Barsstacked couldn't handle negative values at all (partly fixed, can't mix positive and negative values within one datapoint, see also docu)
  • iOS compatibility was ensured
Various teststacks and stuff:
http://bjoernke.com

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

mblackman
Posts: 21
Joined: Fri Apr 14, 2006 12:02 pm
Location: Perth

Re: Version 1.1.1 Released

Post by mblackman » Mon Feb 14, 2011 1:08 am

Thats good news Bjornke!
Glad to see from your article on RevUp that you will be doing scatter graphs. See my post of Feb '09 for associated requests.
I havent used chartsengine for a while but does it do logarithmic scales? That would be a good one to add if not.
cheers
Martin

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

Re: Version 1.1.1 Released

Post by BvG » Mon Feb 14, 2011 7:47 am

ChartsEngine has no way to input equations directly. But as it accepts any row of data lines, you can easily calculate anything, logarithmic or not, and then set the data of a graph to that. For example:

Code: Select all

on mouseUp
  repeat with x = 1 to 10
    put ln(x) into y
    put y & return after theData
  end repeat
  set the charts["data"] of group "example chart" to theData
  chartsRefresh the long id of group "example chart"
end mouseUp
Various teststacks and stuff:
http://bjoernke.com

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

mblackman
Posts: 21
Joined: Fri Apr 14, 2006 12:02 pm
Location: Perth

Re: Version 1.1.1 Released

Post by mblackman » Mon Feb 14, 2011 12:22 pm

BvG,
the trouble with your solution is that the axis will not display the original values but instead the logarithmic values..

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

Re: Version 1.1.1 Released

Post by BvG » Mon Feb 14, 2011 1:15 pm

Ah I see, and you can't set the y axis value description... I guess that's a feature request then :)
Various teststacks and stuff:
http://bjoernke.com

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

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

Re: Version 1.1.1 Released

Post by BvG » Tue Feb 15, 2011 5:41 pm

Hi

I added an image from wikipedia (below). I assume you want to create charts as seen on the bottom and/or right, with the values not being linear, but instead having scaled scales on either or both the axis? I just want to make clear I understod what you meant. Obviously the graph on the top left is possible with chartsEngine.

Image
image linked from the "logarithmic scale" Wikipedia entry.
Various teststacks and stuff:
http://bjoernke.com

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

mblackman
Posts: 21
Joined: Fri Apr 14, 2006 12:02 pm
Location: Perth

Re: Version 1.1.1 Released

Post by mblackman » Sat Feb 26, 2011 4:16 am

BvG
yes that is correct.
Maybe telling you how to suck eggs but take a look at Excel for other charting features if you're looking for ideas :)

Post Reply

Return to “chartsEngine”