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

Background Image with HtmlChart

1 Answer 64 Views
Chart (HTML5)
This is a migrated thread and some comments may be shown as answers.
Tim Johnson
Top achievements
Rank 1
Tim Johnson asked on 12 Jul 2012, 10:50 PM
Hi,

Is it possible to set a background image for an HtmlChart? Or has that functionality not been built in yet?

Thanks

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 13 Jul 2012, 07:39 AM
Hello,

Try the following code snippet to set background-image for RadHtmlChart.

JS:
<script type="text/javascript">
    $(document).ready(function () {
         $("#RadHtmlChart1").attr('style', "background-image:url('../Images/Image.jpg')");
    });
</script>

Hope this helps.

Thanks,
Princy.
Tags
Chart (HTML5)
Asked by
Tim Johnson
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or