Core Plot Code Generator

24 views
Skip to first unread message

jj

unread,
May 22, 2012, 1:06:55 AM5/22/12
to coreplot...@googlegroups.com
We have updated our core plot code generator to work with Core Plot 1.0. (free after registration).

Our code generator is based on a simple Domain Specific Language. You create a graph descriptor such as this one and you get a full Xcode project including all the core plot code that is needed to create the corresponding graph.

graph myGraph (0, 80, 320, 330) {

        plot scatter plot1 { blue gradient ; ellipse(5) ; } ;
        plot scatter plot2 { red gradient ; dash(3) ; } ;
        plot scatter plot3 { green ; ellipse(5) ; } ;
        plot scatter plot4 { orange ; dash(3) ; } ;
        plot bar plot5 { green ; ellipse(5) ; } ;
        plot bar plot6 { orange ; dash(5) ; } ;

        title 'My First Graph' ;
        axes {
                x { title 'x axis' ; scale 0,1,7 ; binding day; custom ; }
                y { title 'y axis' ; scale 0,100,900 ; }
        } ;
} ;


The Canappi team
http://www.canappi.com
Reply all
Reply to author
Forward
0 new messages