I received offline-message from Yvan KOENIG with a lot of screen shots (Thanks!).
<AppleScript> tell application "Keynote" tell front document tell current slide add chart row names {"X-Values", "Y-Values", "Y-Values", "Y-Values", "Y-Values", "Y-Values", "Y-Values", "Y-Values"} column names {"April", "May", "June", "July"} data {{1, 2, 4, 0}, {3, 4, 7, 2}, {5, 5, 8, 4}, {6, 8, 11, 6}, {8, 13, 14, 8}, {9, 16, 15, 12}, {11, 18, 17, 15}, {17, 18, 20, 20}} type scatterplot_2d group by chart column end tell end tell end tell </AppleScript>
We can make charts with Keynote document from AppleScript. But I could not make “scatterplot_2d” chart only. Does anyone know the sample to make “scatterplot_2d” ?
<AppleScript> —vertical_bar_2d tell application "Keynote" tell front document tell current slide add chart row names {"area 1", "area 2"} column names {"April", "May", "June", "July"} data {{17, 26, 53, 96}, {55, 43, 70, 58}} type vertical_bar_2d group by chart row end tell end tell end tell </AppleScript>
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
|