Render Type | Supported Formats | Supported Types | |
---|---|---|---|
images | png jpg jpeg webp pdf | base64 url binary |
You can use Comparison Graph Image API using Orshot SDKs
You can customize the template using following modifications
Key | Description | Type |
---|---|---|
title | Chart Title | string |
titleColor | CSS Color Value for Title | string |
description | Chart Description or Subtitle | string |
descriptionColor | CSS Color Value for Description | string |
icon | Icon of your product or service (direct link to icon or base64) | string |
metricNames | Comma-separated list of metric names | string |
currentValues | Comma-separated list of current metric values | string |
previousValues | Comma-separated list of previous metric values | string |
changeValues | Comma-separated list of change percentages (include + or - signs) | string |
metricNameColor | CSS Color Value for Metric Names | string |
currentValueColor | CSS Color Value for Current Values | string |
previousValueColor | CSS Color Value for Previous Values | string |
barPrimaryColor | CSS Color Value for the Metric Bars | string |
barSecondaryColor | CSS Color Value for the Previous Period Bars | string |
graphBackgroundColor | CSS Color Value for the Chart Background | string |
backgroundColor | CSS Color Value for the Image Background | string |
width | Width of output image | number |
padding | Spacing around the chart | number |