This commit is contained in:
Krist Wongsuphasawat 2019-01-31 01:30:13 -08:00 committed by Yongjie Zhao
parent 1ab50e3932
commit 668dce9f5c

View File

@ -9,19 +9,76 @@ export default [
chartType="histogram" chartType="histogram"
chartProps={{ chartProps={{
formData: { formData: {
colorScheme: "d3Category10", colorScheme: 'd3Category10',
xAxisLabel: "Score",
yAxisLabel: "Count",
globalOpacity: 1, globalOpacity: 1,
linkLength: 25, linkLength: 25,
normalized: false, normalized: false,
xAxisLabel: 'Score',
yAxisLabel: 'Count',
}, },
height: 600, height: 600,
payload: { payload: {
data: [{ data: [
"key": "Entrance exam", {
"values": [0.87, 0.944, 1.0, 0.879, 0.69, 0.667, 0.794, 0.838, 0.875, 0.385, 0.968, 0.804, 1.0, 0.943, 0.96, 0.333, 0.5, 0.929, 0.863, 0.75, 0.957, 0.914, 1.0, 0.909, 0.742, 0.964, 0.25, 0.75, 0.5, 0.867, 0.909, 0.333, 0.867, 0.952, 0.857, 0.949, 0.857, 0.333, 0.8, 0.707, 0.833, 0.75, 0.88, 0.771, 1.0, 1.0, 0.769, 1.0, 0.769, 0.622, 0.909, 0.725, 0.951, 1.0] key: 'Entrance exam',
}], values: [
0.87,
0.944,
1.0,
0.879,
0.69,
0.667,
0.794,
0.838,
0.875,
0.385,
0.968,
0.804,
1.0,
0.943,
0.96,
0.333,
0.5,
0.929,
0.863,
0.75,
0.957,
0.914,
1.0,
0.909,
0.742,
0.964,
0.25,
0.75,
0.5,
0.867,
0.909,
0.333,
0.867,
0.952,
0.857,
0.949,
0.857,
0.333,
0.8,
0.707,
0.833,
0.75,
0.88,
0.771,
1.0,
1.0,
0.769,
1.0,
0.769,
0.622,
0.909,
0.725,
0.951,
1.0,
],
},
],
}, },
width: 600, width: 600,
}} }}