Hi,
Please try this beta version for Chart2Image feature. Currently the supported properties are:
1. ChartType:
AREA, AREA_STACKED, AREA_100PERCENT_STACKED,
BAR_CLUSTERED, BAR_STACKED, BAR_100PERCENT_STACKED,
BUBBLE,
COLUMN_CLUSTERED, COLUMN_STACKED, COLUMN_100PERCENT_STACKED,
DOUGHNUT,
LINE, LINE_STACKED, LINE_100PERCENT_STACKED,
PIE,
SCATTER, SCATTER_CONNECTED_BY_LINES_WITH_DATA_MARKE, SCATTER_CONNECTED_BY_LINES_WITHOUT_DATA_MARKE,
2. Generated Image file format:
PNG, JPEG
3. Properties of Chart: Axis, Title, Legend, DataLabels
The API is:
void com.aspose.cells.Chart.toImage(String file, ImageOptions options)
Converts this chart to image.
- Parameters:
- file the image file to be generated.
- options settings for generating image. If null will use default options, generated image file format is PNG.
Thank you.
Johnson Shi
Developer
Aspose Nanjing Team
About Us Contact Us