Skip to content

Commit

Permalink
OTWO-7219 Upgrade highcharts to 11.4.1 & 9.3.3 (#1784)
Browse files Browse the repository at this point in the history
  • Loading branch information
Priya5 authored Apr 18, 2024
1 parent 29a6ef8 commit efa6b2d
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 863 deletions.
9 changes: 7 additions & 2 deletions app/assets/javascripts/api/vulnerability.js.coffee
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#= require highcharts/highstock
#= require jquery3
#= require jquery/jquery-ui.min
#= require js.cookie
Expand Down Expand Up @@ -93,9 +92,15 @@ setDefaultChartOptions = ->
min: 0
max: 10
title: text: null
labels: style: fontSize: 11, color: '#666666'
xAxis:
labels: style: fontSize: 11, color: '#666666'
legend: enabled: false
plotOptions:
series: enableMouseTracking: false
series:
enableMouseTracking: false
dataLabels:
style: fontSize: 11, color: '#000000'
column:
pointPadding: 0.3
borderWidth: 0
Expand Down
8 changes: 4 additions & 4 deletions app/assets/javascripts/application.js.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
#= require twitter/bootstrap
#= require underscore-min
#= require jquery/chosen.jquery.min
#= require highcharts/highstock
#= require highcharts/highcharts-more
#= require highcharts/solid-gauge
#= require highcharts/exporting
#= require highcharts/highstock.min
#= require highcharts/highcharts-more.min
#= require highcharts/solid-gauge.min
#= require highcharts/exporting.min
#= require app
#= require_tree .
#= require d3.min
Expand Down
2 changes: 2 additions & 0 deletions app/views/layouts/vulnerability.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
%meta{ charset: 'utf-8' }
%title Black Duck | Open Hub
%meta{ content: 'width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no', name: 'viewport' }
%script{ src: 'https://cdnjs.cloudflare.com/ajax/libs/highcharts/11.4.1/highstock.min.js' }
%script{ src: 'https://cdnjs.cloudflare.com/ajax/libs/highcharts/11.4.1/modules/accessibility.min.js' }
= stylesheet_link_tag 'api/vulnerability', media: 'all'
= javascript_include_tag 'api/vulnerability'
%link{ href: '//fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic' }
Expand Down
39 changes: 0 additions & 39 deletions vendor/assets/javascripts/highcharts/exporting.js

This file was deleted.

1 change: 1 addition & 0 deletions vendor/assets/javascripts/highcharts/exporting.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit efa6b2d

Please sign in to comment.