This is a migrated thread and some comments may be shown as answers.

Semi-Transparent Area Charts?

0 Answers 99 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Emily
Top achievements
Rank 1
Emily asked on 27 Jun 2013, 04:37 PM
This may be an easy question but
When I create an area, the area is opaque but in the examples on http://demos.kendoui.com/themebuilder/dataviz.html
they are transparent. How do I adjust the area chart's transparency to allow the grid lines to show through?
Is it something I am missiong in my .kendoChart function?

Edit: Found the seriesDefault for area.

<div id="chart"></div>
<script>
$("#chart").kendoChart({
seriesDefaults: {
area: {
color: "red",
opacity: 0.1
}
},
series: [
{ type: "area", data: [1, 2] },
{ data: [3, 4] }
]
});
</script>

No answers yet. Maybe you can help?

Tags
Charts
Asked by
Emily
Top achievements
Rank 1
Share this question
or