voidlabs / elycharts

Interactive Javascript (SVG|VML) Charting Library
http://elycharts.com
Other
10 stars 6 forks source link

Enhancement to allow charts to be placed in embedded SVG images. #40

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The attached zip file gives some patches and a test file to
allow use of elycharts to place a chart in a rectangular area
in an SVG graphic that is embedded in the web page via 'iframe'.

For example:

  <iframe src="drawing.svg" id="chart"></iframe>

You can designate rectangular areas in the svg to receive the chart.

For eg:

<script>
$(window).load(function() {

    $($.svgfind('chart','plot1')).chart({
    ....
</script>

In the attached zip, elycharts-4.png shows what that looks like.

Original issue reported on code.google.com by nmho...@gmail.com on 3 Apr 2014 at 3:09

Attachments: