Render Animated Transit Chart (SVG) - v2
GET
/api/chart2/animated-transit.svg
Render an animated transit chart with CSS keyframe animations.
Required parameters:
- width, height: Chart dimensions
- dateTime: Natal date/time (YYYY-MM-DDTHH:mm)
- location.longitude, location.latitude, location.timezone: Natal location
- transit.dateTime: Start transit date/time
- target.dateTime: End transit date/time (animation target)
- animation.duration: Animation duration in milliseconds
Optional parameters:
- animation.easing: Easing function (linear, easeIn, easeOut, easeInOut, bounce)
- animation.loop: Loop animation (true/false)
Authorizations
ApiKeyAuth
API key for authentication. Get your API key from the dashboard.
Type
API Key (header: X-Api-Key)
Parameters
Query Parameters
width*
Type
Requiredstring
height*
Type
Requiredstring
location.longitude*
Type
Requiredstring
location.latitude*
Type
Requiredstring
location.timezone*
Type
Requiredstring
dateTime*
Type
Requiredstring
transit.dateTime*
Type
Requiredstring
transit.timezone
Type
string
transit.longitude
Type
string
transit.latitude
Type
string
animation.duration*
Type
Requiredstring
animation.easing
Type
string
Valid values
"linear""easeIn""easeOut""easeInOut""bounce"animation.loop
Type
string
target.dateTime*
Type
Requiredstring
target.timezone
Type
string
Responses
Animated chart rendered successfully
image/svg+xml
JSON
[
]