SHARE
TWEET

Untitled

a guest Feb 20th, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE HTML>
  2.  
  3. <html>
  4.     <head>
  5.         <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6.         <meta name="viewport" content="width=device-width, initial-scale=1">
  7.         <title>Highcharts Example</title>
  8.  
  9.         <style type="text/css">
  10.             body {
  11.                 margin:0 100;
  12.                 background:whitesmoke;
  13.             }
  14.         </style>
  15.     </head>
  16.     <body>
  17. <script src="../../../code/highcharts.js"></script>
  18. <script src="../../../code/modules/exporting.js"></script>
  19.  
  20. <div id="container" style="min-width: 310px; height: 400px; max-width: 800px; margin: 0 auto"></div>
  21.  
  22.  
  23.         <script type="text/javascript" src="x_legend_all.txt"></script>
  24.         <script type="text/javascript" src="y_legend_all.txt"></script>
  25.         <script charset=windows-1251 type="text/javascript" src="../your_file.txt"></script>
  26.         <script type="text/javascript">
  27.  
  28. Highcharts.chart('container', {
  29.     chart: {
  30.         type: 'scatter'
  31.     },
  32.     title: {
  33.         text: 'Количество проданных штук'
  34.     },
  35.     subtitle: {
  36.         text: 'ташир'
  37.     },
  38.     xAxis: {
  39.         categories: xa
  40.     },
  41.     legend: {
  42.         layout: 'vertical',
  43.         align: 'left',
  44.         verticalAlign: 'top',
  45.         floating: true,
  46.         backgroundColor: (Highcharts.theme && Highcharts.theme.legendBackgroundColor) || '#FFFFFF',
  47.         borderWidth: 1
  48.     },
  49.     series: [{
  50.         color: 'rgba(223, 83, 83, .5)',
  51.         data: data
  52.     }]
  53. });
  54.  
  55.         </script>
  56.     </body>
  57.     <d3><a href="sold_cnt_msc.html">МОСКВА</a></d3>
  58.     <d3><a href="sold_cnt_rus.html">РОССИЯ</a></d3>
  59. </html>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top