wzxii commited on
Commit
1dd32f8
1 Parent(s): 13dcadb

Update chart.js

Browse files
Files changed (1) hide show
  1. chart.js +5 -5
chart.js CHANGED
@@ -331,7 +331,7 @@ function setSymbolSize() {
331
  setSymbolSize()
332
 
333
  Chart.setOption(options[0])
334
- Chart2.setOption(options[1])
335
 
336
 
337
  // button and span
@@ -363,14 +363,14 @@ span_temp0_HumanEval.addEventListener("click", function() {
363
  })
364
 
365
  btn_temp0_HumanEval_ET.addEventListener("click", function() {
366
- Chart.setOption(options[2])
367
  btn_temp0_HumanEval.style.backgroundColor = '#d3d3d3'
368
  span_temp0_HumanEval.style.color = '#d3d3d3'
369
  btn_temp0_HumanEval_ET.style.backgroundColor = '#386df4'
370
  span_temp0_HumanEval_ET.style.color = '#386df4'
371
  })
372
  span_temp0_HumanEval_ET.addEventListener("click", function() {
373
- Chart.setOption(options[2])
374
  btn_temp0_HumanEval.style.backgroundColor = '#d3d3d3'
375
  span_temp0_HumanEval.style.color = '#d3d3d3'
376
  btn_temp0_HumanEval_ET.style.backgroundColor = '#386df4'
@@ -378,14 +378,14 @@ span_temp0_HumanEval_ET.addEventListener("click", function() {
378
  })
379
 
380
  btn_temp0_8_HumanEval.addEventListener("click", function() {
381
- Chart2.setOption(options[1])
382
  btn_temp0_8_HumanEval.style.backgroundColor = '#386df4'
383
  span_temp0_8_HumanEval.style.color = '#386df4'
384
  btn_temp0_8_HumanEval_ET.style.backgroundColor = '#d3d3d3'
385
  span_temp0_8_HumanEval_ET.style.color = '#d3d3d3'
386
  })
387
  span_temp0_8_HumanEval.addEventListener("click", function() {
388
- Chart2.setOption(options[1]);
389
  btn_temp0_8_HumanEval.style.backgroundColor = '#386df4'
390
  span_temp0_8_HumanEval.style.color = '#386df4'
391
  btn_temp0_8_HumanEval_ET.style.backgroundColor = '#d3d3d3'
 
331
  setSymbolSize()
332
 
333
  Chart.setOption(options[0])
334
+ Chart2.setOption(options[2])
335
 
336
 
337
  // button and span
 
363
  })
364
 
365
  btn_temp0_HumanEval_ET.addEventListener("click", function() {
366
+ Chart.setOption(options[1])
367
  btn_temp0_HumanEval.style.backgroundColor = '#d3d3d3'
368
  span_temp0_HumanEval.style.color = '#d3d3d3'
369
  btn_temp0_HumanEval_ET.style.backgroundColor = '#386df4'
370
  span_temp0_HumanEval_ET.style.color = '#386df4'
371
  })
372
  span_temp0_HumanEval_ET.addEventListener("click", function() {
373
+ Chart.setOption(options[1])
374
  btn_temp0_HumanEval.style.backgroundColor = '#d3d3d3'
375
  span_temp0_HumanEval.style.color = '#d3d3d3'
376
  btn_temp0_HumanEval_ET.style.backgroundColor = '#386df4'
 
378
  })
379
 
380
  btn_temp0_8_HumanEval.addEventListener("click", function() {
381
+ Chart2.setOption(options[2])
382
  btn_temp0_8_HumanEval.style.backgroundColor = '#386df4'
383
  span_temp0_8_HumanEval.style.color = '#386df4'
384
  btn_temp0_8_HumanEval_ET.style.backgroundColor = '#d3d3d3'
385
  span_temp0_8_HumanEval_ET.style.color = '#d3d3d3'
386
  })
387
  span_temp0_8_HumanEval.addEventListener("click", function() {
388
+ Chart2.setOption(options[2]);
389
  btn_temp0_8_HumanEval.style.backgroundColor = '#386df4'
390
  span_temp0_8_HumanEval.style.color = '#386df4'
391
  btn_temp0_8_HumanEval_ET.style.backgroundColor = '#d3d3d3'