Semi-Transparent Area Charts?

1 posts, 1 answers
  1. Answer
    Emily
    Emily avatar
    1 posts
    Member since:
    Jun 2013

    Posted 27 Jun 2013 Link to this post

    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>
Back to Top