September 27, 200916 yr Just bought your chart plugin. I just need very simple things like a bar chart to display boys and girls in a classrrom. Can someone make it simple for me to understand? I guess you'll need to create a calculation field in Classes table, something like that Set Variable [ $result = Let( debug = pieChartCreate( "Gender distribution" ) and pieChartSetDataPoint( "boys" ; Class::Class_total boys ) and pieChartSetDataPoint( "girls" ; Class::Class_total girls ); pieChartShowGraphic( 360; 360 ) ) Please make it simple for me to understand, without error messagens and stuff. Thanks Test_Chart.zip
September 27, 200916 yr Author Ok, Im getting better, need some retouch with variables as bars wont display. Aid appreciated Test_Chart__2_.zip
September 27, 200916 yr Author Ok, charts working now but I have a problem with the colours, as barChartSetSeriesColor doenst work at all. Test_Chart_3.zip
September 28, 200916 yr Two issues: You were calling barChartSetSeriesColor, but you're creating a pie chart, you should use pieChartSetSeriesColor. Second, the data points were added with a leading space, but the series name passed to pieChartSetSeriesColor was missing this space. Here's the final version I have Let( debug = pieChartCreate( "Quoted Hours Worked " & Get(CurrentTime) ) and pieChartSetDataPoint(" boys" ; Class_total boys ) and pieChartSetDataPoint(" girls" ; Class_total girls ) and // set colours pieChartSetSeriesColor(" boys" ; 100 ; 100 ; 255 ; 255 ) and pieChartSetSeriesColor( " girls" ; 200 ; 100 ; 100 ; 255 ) ; pieChartShowGraphic( 360; 360 ))
September 29, 200916 yr Author Thanks you for the support. You have a wonderfull plugin and the alpha makes a really cool effect.
September 29, 200916 yr Author Ok. Another questions please: How can I costumize that chart title? I found that bold black font quite heavy...
September 29, 200916 yr Your best bet there is to pass an empty title in to the chart, and use a FileMaker text field to display the chart title.
Create an account or sign in to comment