JSFiddle - React, Tailwind, and code Playground
by Kondal Durgam
HTML
<script src="http://code.highcharts.com/highcharts.js"></script>
<script src="http://code.highcharts.com/modules/exporting.js"></script>
<div id="ChartContainer" style="min-width: 400px; height: 400px; margin: 0 auto"></div>
JavaScript
$(function() {
var chart;
$(document).ready(function() {
chart = new Highcharts.Chart({
chart: {
renderTo: 'ChartContainer',
type: "spline",
title: {text: ""}
},
title: {text: ""},
yAxis: {
title: {
text: null
},
},
});
chart.setTitle({
useHTML: true,
text: "Testing" + " " + "<img src='https://www.google.co.in/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png' alt='' />"
})
});
});