-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added fix for multiseries max stack size exceeding issue for fusiontime
- Loading branch information
Showing
6 changed files
with
159 additions
and
146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,70 +1,81 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>My first vue app</title> | ||
<script type="text/javascript" src="https://unpkg.com/[email protected]"></script> | ||
<script type="text/javascript" src="../node_modules/fusioncharts/fusioncharts.js"></script> | ||
<script type="text/javascript" src="../node_modules/fusioncharts/fusioncharts.charts.js"></script> | ||
<script type="text/javascript" src="../node_modules/fusioncharts/themes/fusioncharts.theme.fint.js"></script> | ||
<script type="text/javascript" src="../dist/vue-fusioncharts.min.js"></script> | ||
<head> | ||
<title>My first vue app</title> | ||
<script type="text/javascript" src="https://unpkg.com/[email protected]"></script> | ||
<script | ||
type="text/javascript" | ||
src="../node_modules/fusioncharts/fusioncharts.js" | ||
></script> | ||
<script | ||
type="text/javascript" | ||
src="../node_modules/fusioncharts/fusioncharts.charts.js" | ||
></script> | ||
<script | ||
type="text/javascript" | ||
src="../node_modules/fusioncharts/themes/fusioncharts.theme.fint.js" | ||
></script> | ||
<script | ||
type="text/javascript" | ||
src="../dist/vue-fusioncharts.min.js" | ||
></script> | ||
<style type="text/css"> | ||
.message-box { | ||
text-align: center; | ||
margin-top: 0px; | ||
background-color: #F5FBFF; | ||
width: 500px; | ||
color: #006BB8; | ||
padding: 5px 10px; | ||
box-sizing: border-box; | ||
border: 1px solid #B8E1FF; | ||
} | ||
.message-box { | ||
text-align: center; | ||
margin-top: 0px; | ||
background-color: #f5fbff; | ||
width: 500px; | ||
color: #006bb8; | ||
padding: 5px 10px; | ||
box-sizing: border-box; | ||
border: 1px solid #b8e1ff; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
|
||
<!-- demo root element --> | ||
</head> | ||
<body> | ||
<!-- demo root element --> | ||
<div id="chart1"> | ||
<fusioncharts | ||
:type="type" | ||
:dataformat="dataFormat" | ||
:datasource="dataSource" | ||
:width="width" | ||
:height="height" | ||
:events="events" | ||
|
||
ref="fusioncharts" | ||
> | ||
</fusioncharts> | ||
<p class="message-box">The value that you have selected is: {{displayValue}} </p> | ||
<fusioncharts | ||
:type="type" | ||
:dataformat="dataFormat" | ||
:datasource="dataSource" | ||
:width="width" | ||
:height="height" | ||
:events="events" | ||
ref="fusioncharts" | ||
> | ||
</fusioncharts> | ||
<p class="message-box"> | ||
The value that you have selected is: {{ displayValue }} | ||
</p> | ||
</div> | ||
|
||
<script type="text/javascript"> | ||
Vue.use(VueFusionCharts); | ||
Vue.use(VueFusionCharts); | ||
|
||
// bootstrap the demo | ||
var chart = new Vue({ | ||
el: '#chart1', | ||
data: { | ||
type: 'Column2D', | ||
width: '500', | ||
height: '300', | ||
dataFormat: 'json', | ||
dataSource: { | ||
chart: { | ||
caption: 'Vue FusionCharts Sample', | ||
theme: 'fint' | ||
}, | ||
data: [{value: 1.9}, {value: 2.3}, {value: 2.1}] | ||
}, | ||
displayValue: 'nothing', | ||
events: { | ||
dataplotRollover: function (ev, props) { | ||
chart.displayValue = props.displayValue | ||
} | ||
} | ||
// bootstrap the demo | ||
var chart = new Vue({ | ||
el: '#chart1', | ||
data: { | ||
type: 'Column2D', | ||
width: '500', | ||
height: '300', | ||
dataFormat: 'json', | ||
dataSource: { | ||
chart: { | ||
caption: 'Vue FusionCharts Sample', | ||
theme: 'fint' | ||
}, | ||
data: [{ value: 1.9 }, { value: 2.3 }, { value: 2.1 }] | ||
}, | ||
displayValue: 'nothing', | ||
events: { | ||
dataplotRollover: function(ev, props) { | ||
chart.displayValue = props.displayValue; | ||
} | ||
}); | ||
} | ||
} | ||
}); | ||
</script> | ||
|
||
</body> | ||
</html> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
var path = require('path'); | ||
|
||
module.exports = { | ||
entry: './example/index.js', | ||
output: { | ||
filename: 'bundle.js', | ||
library: "FC", | ||
path: path.resolve(__dirname, './') | ||
}, | ||
devtool: 'source-map', | ||
resolve: { | ||
alias: { | ||
vue: 'vue/dist/vue.js' | ||
} | ||
}, | ||
devServer: { | ||
'contentBase': './example', | ||
// open: true | ||
entry: './example/index.js', | ||
output: { | ||
filename: 'bundle.js', | ||
library: 'FC', | ||
path: path.resolve(__dirname, './') | ||
}, | ||
devtool: 'source-map', | ||
resolve: { | ||
alias: { | ||
vue: 'vue/dist/vue.js' | ||
} | ||
}, | ||
devServer: { | ||
contentBase: './example' | ||
// open: true | ||
} | ||
}; |
Oops, something went wrong.