• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Keynote scatterplot_2d chart making sample
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Keynote scatterplot_2d chart making sample


  • Subject: Re: Keynote scatterplot_2d chart making sample
  • From: Takaaki Naganoya <email@hidden>
  • Date: Tue, 2 May 2017 08:38:53 +0900

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>

--
Takaaki Naganoya
email@hidden
http://piyocast.com/as/

2017/05/01 21:18、Takaaki Naganoya <email@hidden>のメール:

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>

--
Takaaki Naganoya
email@hidden
http://piyocast.com/as/


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
  • Prev by Date: Re: Sdef editor
  • Next by Date: Re: Copying the path of files selected in Finder
  • Previous by thread: Re: Select next bookmark in a Pages doc
  • Next by thread: Re: Getting Individual Metadata Items with ASObjC
  • Index(es):
    • Date
    • Thread