1// This JavaScript file is created by Cision and holds settings for all our client modules. 2// This file works as a config file for all the modules and here you will find general settings 3// and a specific sektion for each module with its access key that is used to fetch the data from our API. 4 5var cision = cision || {}; 6cision.websolution = cision.websolution || {}; 7cision.websolution.settings = cision.websolution.settings || {}; 8 9cision.websolution.settings = { 10 general: { 11 // Settings that apply to all modules 12 serviceEndpoint: 'https://publish.ne.cision.com/papi/', 13 uiLanguage: 'en', 14 useProxyHandler: false, 15 // proxyHandler: 'ProxyCallsHttpHandler.ashx', 16 startDate: '', 17 endDate: '', 18 pageIndex: 0, 19 pageSize: 50, 20 numberFormatOptions: { 21 thousandSeparator: ' ', 22 decimalSeparator: ',', 23 decimalPrecision: 2 24 }, 25 dateFormatOptions: { 26 dateTimeFormat: 'DD MMM YYYY HH:mm', 27 dateFormat: 'DD MMM YYYY', 28 timeFormat: 'HH:mm' 29 }, 30 31 // Newsfeed specific settings 32 separateFirstRelease: false, 33 introMaxLength: 155, 34 titleMaxLength: null, 35 newsfeedYearsStartYear: 1980, 36 37 // ownership specific settings 38 LargestPieShowCount: 25, 39 LargestListShowCount: 25, 40 41 // Calendar specific settings 42 separateFirstEvent: false, 43 44 // Printed Material specific settings 45 printedMaterialCategory: '', 46 maxAmountOfItems: 10, // max amount of items a user can order in one request 47 48 // Ticker specific settings 49 tickerImageMinus: "/wp-content/plugins/itech-cision/images/stock-arrow-down.svg", 50 tickerImagePlus: "/wp-content/plugins/itech-cision/images/stock-arrow-up.svg", 51 tickerImageUnchanged: "/wp-content/plugins/itech-cision/images/stock-right.svg", 52 53 //Share calculator specific settings 54 startDateYear: 2007, 55 56 // Sharegraph specific settings 57 chartContainerId: 'sharegraph-container', 58 chartTitle: '', 59 backgroundImage: '', 60 lineWidth: 2, 61 gridLineWidth: 0,
62 plotBackgroundColor: 'white', 63 plotBorderWidth: 0, 64 defaultSeriesType: 'spline', //area, areaspline, bar, column, line, pie, scatter, spline, candlestick or ohlc, arearange, areasplinerange and columnrange. 65 chartComparison: 'none', /* Default comparison type */ 66 typeOfChart: 'EndOfDay', 67 showVolume: true, 68 showHorisontalTicker: true, 69 useHighchartsElements: false, // enabling highcharts own exports and range selectors, can be used if cisions custom ones are removed 70 enableLegend: false, 71 enableScrollbar: false, 72 enableNavigator: true, 73 dividendType: 'Annual', // Annual, Bonus, Monthly, Quarterly, HalfYear 74 effectiveYieldSuffix: 'EFFECTIVEYIELD', 75 yAxisSize: { share: { top: 0, height: 250 }, volume: { top: 300, height: 80 } }, // sizes for the share graph and the volume graph. only applies when volume is displayed 76 mainInstruments: [ /* Array of instruments to consider primary while others become Peers and Indexes */ 77 { symbol: 'ITECH', marketPlace: 'FNSE', currency: 'SEK', name: 'I-TECH', hasEffectiveYield: false } 78 ], 79 indexInstruments: [ 80 { symbol: 'FIRSTNORTHSEK', marketPlace: 'XSTO', currency: 'SEK', name: 'First North ALL-Share SEK' } 81 ], 82 peersInstruments: [ 83 //{ symbol: 'TEL2 B', marketPlace: 'XSTO', currency: 'SEK', name: 'Tele 2' } 84 ], 85 instrumentColors: [ 86 { uniqueKey: 'ITECHFNSESEK', preferredColor: '#e84e0f' }, 87 { uniqueKey: 'FIRSTNORTHSEKXSTOSEK', preferredColor: '#e84e0f' }, 88 { uniqueKey: 'ITECHFNSESEKVOLUME', preferredColor: '#e84e0f' } 89 ], 90 // Displaying releases, reports, insiders and dividend in the graph. 91 // If the indicators should be attached to a line in the graph add correct symbol, marketplace and currency as seriesId otherwise it will stick to the bottom 92 // shape = squarepin, flag or circlepin 93 indicatorsOnSeries: [ 94 { uniqueKey: 'Regulatory RPT', translationKey: 'TextReport', seriesId: 'ITECHFNSESEK', shape: 'circlepin', title: 'R', shapeColor: '#f27b7b', shapeOutlineColor: '#f27b7b', shapeTextColor: 'white' }, 95 { uniqueKey: 'Regulatory PRM', translationKey: 'TextPress', seriesId: '', shape: 'circlepin', title: 'P', shapeColor: '#f27b7b', shapeOutlineColor: '#f27b7b', shapeTextColor: 'white' }, 96 //{ uniqueKey: 'INSIDERS', translationKey: 'TextInsider', shape: 'flag', title: 'INS', shapeColor: '#a4c5fc', shapeOutlineColor: '#4970af', shapeTextColor: 'black' }, 97 { uniqueKey: 'DIVIDEND', translationKey: 'TextDividend', shape: 'squarepin', title: 'U', shapeColor: '#ecefbf', shapeOutlineColor: '#bec18d', shapeTextColor: 'black' } 98 ], 99 // Sharegraph releases specific settings 100 showReleaseLink: true, 101 enableReleasesOnIntraday: true, 102 //releaseLinkFormatter: 'https://publish.ne.cision.com/Release/ViewReleaseHtml/', 103 releaseLinkFormatter: 'https://i-tech.se/press-room/release?id=', 104 105 // Estimates specific settings 106 estimateCurrency: '', // should never be necessary, filters out data with specific currency in the same data set 107 field: 'SALES' /* default historical graph choose between SALES/EBIT/DPS/EPS */, 108 valuePrefix: '', 109 valueSuffix: ' SEK', 110 tooltipHeaderEstimate: "Estimate - ", 111 tooltipHeaderReal: "Actual - ", 112 tooltipDateLabel: "", 113 tooltipAmountLabel: "", 114 suffixEstimate: ' FC', 115 suffixActual: '', 116 periodStart: '', 117 periodEnd: '', 118 dateString: "", 119 amountString: "", 120 hideEstimateIfActualExists: true, 121 122 //stores data if ownership tab is rendered 123 ownershipTabLoaded: [], 124 //stores data if estimate tab is rendered 125 estimateTabLoaded: [], 126 cisionChartsColors: [ 127 { uniqueKey: 'gray', preferredColor: '#5C5C61' }, 128 { uniqueKey: 'blue', preferredColor: '#00607f' }, 129 { uniqueKey: 'orange', preferredColor: '#ff6c36' } 130 ] 131 }, 132 133 orderbook: { 134 accessKey: '360FBD1013A64E86A447178884D0CBC0' 135 }, 136 137 ownership: { 138 accessKey: 'E8581513D3E04B25BB4F616A41315FDC' 139 }, 140 141 totalreturn: { 142 accessKey: '' 143 }, 144 145 estimate: { 146 accessKey: '', 147 accessKeyTicker: '' 148 }, 149 150 ticker: { 151 accessKey: 'B7E7027C6A0947029AE0C7160D3F4041' 152 }, 153 154 sharegraph: { 155 accessKey: 'CEE3B6076E914DB48BFB9490FE87F853', 156 shareHistoryKey: '107844F745854DFC84AF5D24C8C6E5FB' 157 }, 158 159 sharecalculator: { 160 accessKey: '' 161 }, 162 163 minisharegraph: { 164 accessKey: 'CEE3B6076E914DB48BFB9490FE87F853' 165 }, 166 167 newsfeed: { 168 accessKey: '5FA6606875FC4A029E0682C3CA898FAA' 169 }, 170 171 mediafeed: { 172 accessKey: '8FDACFE006E243BC9EE5EB46C3951CA3' 173 }, 174 175 insider: { 176 accessKey: '' 177 }, 178 179 calendar: { 180 accessKey: '' 181 }, 182 183 printedMaterial: { 184 accessKey: '' 185 } 186 187}; 188 189// Switch moment language 190try { 191 moment.locale(cision.websolution.settings.general.uiLanguage); 192} catch (e) { 193 console.log(e); 194} 195 196/* 197try { 198 Highcharts.setOptions({ 199 lang: { 200 decimalPoint: cision.websolution.settings.general.numberFormatOptions.decimalSeparator, 201 thousandsSep: cision.websolution.settings.general.numberFormatOptions.thousandSeparator 202 } 203 });
204} catch (e) { 205 console.log(e); 206} 207*/
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.