forked from highcharts/highcharts
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c9ef901
commit af43c97
Showing
9 changed files
with
73 additions
and
29 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
4 changes: 2 additions & 2 deletions
4
samples/highcharts/issues/2466/demo.details → ...k/rangeselector/datagrouping/demo.details
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,5 +1,5 @@ | ||
--- | ||
name: Highcharts Demo | ||
name: Highcharts Stock Demo | ||
authors: | ||
- Torstein Hønsi | ||
... | ||
... |
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<div id="container" style="height: 400px; min-width: 600px; max-width: 800px; margin: 0 auto"></div> | ||
|
||
<script src="http://code.highcharts.com/stock/highstock.js"></script> | ||
<script src="http://code.highcharts.com/stock/modules/exporting.js"></script> |
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 |
---|---|---|
@@ -0,0 +1,63 @@ | ||
$(function () { | ||
|
||
$.getJSON('http://www.highcharts.com/samples/data/jsonp.php?filename=aapl-c.json&callback=?', function (data) { | ||
// Create the chart | ||
$('#container').highcharts('StockChart', { | ||
|
||
rangeSelector : { | ||
allButtonsEnabled: true, | ||
buttons: [{ | ||
type: 'month', | ||
count: 3, | ||
text: 'Day', | ||
dataGrouping: { | ||
forced: true, | ||
units: [['day', [1]]] | ||
} | ||
}, { | ||
type: 'year', | ||
count: 1, | ||
text: 'Week', | ||
dataGrouping: { | ||
forced: true, | ||
units: [['week', [1]]] | ||
} | ||
}, { | ||
type: 'all', | ||
text: 'Month', | ||
dataGrouping: { | ||
forced: true, | ||
units: [['month', [1]]] | ||
} | ||
}], | ||
buttonTheme: { | ||
width: 60 | ||
}, | ||
selected: 2 | ||
}, | ||
|
||
title : { | ||
text : 'AAPL Stock Price' | ||
}, | ||
|
||
subtitle: { | ||
text: 'Custom data grouping tied to range selector' | ||
}, | ||
|
||
series : [{ | ||
name : 'AAPL', | ||
data : data, | ||
marker: { | ||
enabled: null, // auto | ||
radius: 3, | ||
lineWidth: 1, | ||
lineColor: '#FFFFFF' | ||
}, | ||
tooltip: { | ||
valueDecimals: 2 | ||
} | ||
}] | ||
}); | ||
}); | ||
|
||
}); |
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