rave-library-composite.min.js 305 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135
  1. ;(function(root, factory) {
  2. if (typeof define === 'function' && define.amd) {
  3. define(['rave', 'rave-library', 'rave-utilities', 'rave-layouts', 'rave-legends'], factory);
  4. } else if (typeof exports === 'object') {
  5. module.exports = factory(require('rave'), require('rave-library'), require('rave-utilities'), require('rave-layouts'), require('rave-legends'));
  6. } else {
  7. root.raveLibraryCompositeMin = factory(root.rave, root.raveLibrary, root.raveUtilities, root.raveLayouts, root.raveLegends);
  8. }
  9. }(this, function(rave, raveLibrary, raveUtilities, raveLayouts, raveLegends) {
  10. (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
  11. module.exports=[{"previews":{"image":[{"file":"resources\/preview_composite_small.png","tags":["small","notext"]}],"svg":[{"file":"resources\/preview_composite_small.svg","tags":["small","notext"]}]},"genericMeta":{"copyright":"IBM 2015, 2016","author":"IBM","description":"composite.description","id":"rave-library-composite","label":"composite.label","version":"1.0.0","tags":["composite"]}},{"defaultModel":"tabular","datamodels":[{"description":"datamodel.simple.description","id":"simple","label":"datamodel.simple.label","datasets":[{"dataslots":[{"icon":{"image":"..\/rave-library\/resources\/x_axis_32.png","svg":"..\/rave-library\/resources\/x_axis_32.svg"},"description":"dataslot.x.composite.description","id":"x","label":"dataslot.x.label","cardinality":"1","datatypes":["numeric","string","date"],"tags":["ca.dashboard.defaultSort=ascending"]},{"icon":{"image":"..\/rave-library\/resources\/numeric_value_32.png","svg":"..\/rave-library\/resources\/numeric_value_32.svg"},"description":"dataslot.yLine.composite.description","id":"yLine","label":"dataslot.yLine.label","cardinality":"1","datatypes":["numeric"],"tags":[]},{"icon":{"image":"..\/rave-library\/resources\/numeric_value_32.png","svg":"..\/rave-library\/resources\/numeric_value_32.svg"},"description":"dataslot.yColumn.composite.description","id":"y","label":"dataslot.yColumn.label","cardinality":"1","datatypes":["numeric"],"tags":[]},{"icon":{"image":"..\/rave-library\/resources\/numeric_value_32.png","svg":"..\/rave-library\/resources\/numeric_value_32.svg"},"description":"dataslot.yStart.composite.description","id":"yStart","label":"dataslot.yStart.composite.label","cardinality":"0..1","datatypes":["numeric"]},{"icon":{"image":"..\/rave-library\/resources\/color_by_32.png","svg":"..\/rave-library\/resources\/color_by_32.svg"},"description":"dataslot.color.composite.description","id":"color","label":"dataslot.color.label","cardinality":"0..1","datatypes":["string","numeric"],"tags":[]},{"icon":{"image":"..\/rave-library\/resources\/label_32.png","svg":"..\/rave-library\/resources\/label_32.svg"},"description":"dataslost.label.composite.column.description","id":"label","label":"dataslot.label.label","cardinality":"0..1","datatypes":["string"]},{"icon":{"image":"..\/rave-library\/resources\/primary_key_32.png","svg":"..\/rave-library\/resources\/primary_key_32.svg"},"description":"dataslot.key.description","id":"key","label":"dataslot.key.label","cardinality":"0..1","datatypes":["numeric","string","date"]},{"icon":{"image":"..\/rave-library\/resources\/color_by_32.png","svg":"..\/rave-library\/resources\/color_by_32.svg"},"description":"dataslot.colorLine.composite.line.description","id":"colorLine","label":"dataslot.colorLine.label","cardinality":"0..1","datatypes":["string"],"tags":[]},{"icon":{"image":"..\/rave-library\/resources\/label_32.png","svg":"..\/rave-library\/resources\/label_32.svg"},"description":"dataslot.labelLine.composite.line.description","id":"labelLine","label":"dataslot.labelLine.label","cardinality":"0..1","datatypes":["string"]},{"icon":{"image":"..\/rave-library\/resources\/primary_key_32.png","svg":"..\/rave-library\/resources\/primary_key_32.svg"},"description":"dataslot.keyLine.description","id":"keyLine","label":"dataslot.keyLine.label","cardinality":"0..1","datatypes":["numeric","string","date"]}],"description":"dataset.composite.description","id":"composite","label":"dataset.composite.label","type":"tabular","cardinality":"1"}],"tags":["column","simple","basic"]},{"description":"datamodel.tabular.composite.description","id":"tabular","label":"datamodel.tabular.label","datasets":[{"dataslots":[{"icon":{"image":"..\/rave-library\/resources\/x_axis_32.png","svg":"..\/rave-library\/resources\/x_axis_32.svg"},"description":"dataslot.x.composite.description","id":"x","label":"dataslot.x.label","cardinality":"1","datatypes":["numeric","string","date"],"tags":[]},{"icon":{"image":"..\/rave-library\/resources\/numeric_value_32.png","svg":"..\/rave-library\/resources\/numeric_value_32.svg"},"description":"dataslot.y.composite.description","id":"y","label":"dataslot.y.label","cardinality":"1","datatypes":["numeric"]},{"icon":{"image":"..\/rave-library\/resources\/numeric_value_32.png","svg":"..\/rave-library\/resources\/numeric_value_32.svg"},"description":"dataslot.yStart.composite.description","id":"yStart","label":"dataslot.yStart.composite.label","cardinality":"0..1","datatypes":["numeric"]},{"icon":{"image":"..\/rave-library\/resources\/color_by_32.png","svg":"..\/rave-library\/resources\/color_by_32.svg"},"description":"dataslot.color.composite.description","id":"color","label":"dataslot.color.label","cardinality":"0..1","datatypes":["string","numeric"],"tags":[]},{"icon":{"image":"..\/rave-library\/resources\/label_32.png","svg":"..\/rave-library\/resources\/label_32.svg"},"description":"dataslost.label.composite.column.description","id":"label","label":"dataslot.label.label","cardinality":"0..1","datatypes":["string"]},{"icon":{"image":"..\/rave-library\/resources\/primary_key_32.png","svg":"..\/rave-library\/resources\/primary_key_32.svg"},"description":"dataslot.key.description","id":"key","label":"dataslot.key.label","cardinality":"0..1","datatypes":["numeric","string","date"]}],"description":"dataset.tabular.composite.column.description","id":"column","label":"dataset.tabular.composite.column.label","type":"tabular","cardinality":"1"},{"dataslots":[{"icon":{"image":"..\/rave-library\/resources\/x_axis_32.png","svg":"..\/rave-library\/resources\/x_axis_32.svg"},"description":"dataslot.x.composite.description","id":"x","label":"dataslot.x.label","cardinality":"1","datatypes":["numeric","string","date"],"tags":[]},{"icon":{"image":"..\/rave-library\/resources\/numeric_value_32.png","svg":"..\/rave-library\/resources\/numeric_value_32.svg"},"description":"dataslot.y.composite.description","id":"y","label":"dataslot.y.label","cardinality":"1","datatypes":["numeric"]},{"icon":{"image":"..\/rave-library\/resources\/color_by_32.png","svg":"..\/rave-library\/resources\/color_by_32.svg"},"description":"dataslot.color.composite.line.description","id":"color","label":"dataslot.color.label","cardinality":"0..1","datatypes":["string"],"tags":[]},{"icon":{"image":"..\/rave-library\/resources\/label_32.png","svg":"..\/rave-library\/resources\/label_32.svg"},"description":"dataslot.label.composite.line.description","id":"label","label":"dataslot.label.label","cardinality":"0..1","datatypes":["string"]},{"icon":{"image":"..\/rave-library\/resources\/primary_key_32.png","svg":"..\/rave-library\/resources\/primary_key_32.svg"},"description":"dataslot.key.description","id":"key","label":"dataslot.key.label","cardinality":"0..1","datatypes":["numeric","string","date"]}],"description":"dataset.tabular.composite.line.description","id":"line","label":"dataset.tabular.composite.line.label","type":"tabular","cardinality":"1"}],"tags":["column","simple","basic"]}]},{"actions":[{"args":[{"icon":null,"description":"actions.args.selector.description","id":"selector","label":"actions.args.selector.label","type":"selector","tags":[]},{"icon":null,"description":"actions.args.attributes.description","id":"attrs","label":"actions.args.attributes.label","type":"attributeMap","tags":[]}],"icon":null,"options":[],"description":"actions.applyHighlight.description","binding":[{"event":"mouseover","target":".element-shape"}],"id":"highlight","label":"actions.applyHighlight.label","tags":[]},{"args":[{"icon":null,"description":"actions.args.selector.description","id":"selector","label":"actions.args.selector.label","type":"selector","tags":[]},{"icon":null,"description":"actions.args.attributes.description","id":"attrs","label":"actions.args.attributes.label","type":"attributeMap","tags":[]}],"icon":null,"options":[],"description":"actions.removeHighlight.description","binding":[{"event":"mouseout","target":".element-shape"}],"id":"unhighlight","label":"actions.removeHighlight.label","tags":[]},{"args":[{"icon":null,"description":"actions.args.selector.label","id":"selector","label":"actions.args.selector.label","type":"selector","tags":[]},{"icon":null,"description":"actions.args.attributes.description","id":"attrs","label":"actions.args.attributes.label","type":"attributeMap","tags":[]}],"icon":null,"options":[],"description":"actions.applySelection.description","binding":[{"event":"mouseover","target":".element-shape"}],"id":"select","label":"actions.applySelection.label","tags":[]},{"args":[{"icon":null,"description":"actions.args.selector.description","id":"selector","label":"actions.args.selector.label","type":"selector","tags":[]},{"icon":null,"description":"actions.args.attributes.description","id":"attrs","label":"actions.args.attributes.label","type":"attributeMap","tags":[]}],"icon":null,"options":[],"description":"actions.removeSelection.description","binding":[{"event":"mouseout","target":".element-shape"}],"id":"deselect","label":"actions.removeSelection.label","tags":[]},{"args":[{"icon":null,"description":"actions.args.selector.description","id":"selector","label":"actions.args.selector.label","type":"selector","tags":[]},{"icon":null,"description":"actions.args.attributes.description","id":"attrs","label":"actions.args.attributes.label","type":"attributeMap","tags":[]}],"icon":null,"options":[],"description":"actions.removeAllSelect.description","binding":[{"event":"click","target":".background"}],"id":"deselectAll","label":"actions.removeAllSelect.label","tags":[]},{"args":[{"icon":null,"description":"actions.args.primarySelector.description","id":"PrimarySelector","label":"actions.args.primarySelector.label","type":"selector","tags":[]},{"icon":null,"description":"actions.args.secondarySelector.description","id":"secondarySelector","label":"actions.args.secondarySelector.label","type":"selector","tags":[]},{"icon":null,"description":"actions.args.primaryAttributes.description","id":"PrimaryStyles","label":"actions.args.primaryAttributes.label","type":"attributeMap","tags":[]},{"icon":null,"description":"actions.args.secondaryAttributes.description","id":"SecondarySyles","label":"actions.args.secondaryAttributes.label","type":"attributeMap","tags":[]}],"icon":null,"options":[],"description":"actions.toggleSelect.description","binding":[{"event":"click","target":".element-column.element-shape, .element-point.element-shape"}],"id":"toggleSelect","label":"actions.toggleSelect.label","tags":[]},{"icon":null,"options":[],"description":"actions.zoom.description","binding":[],"id":"zoom","label":"actions.zoom.label","tags":[]}]},{"configurations":[{"dataSlots":[{"dataModelId":"simple","dataSetId":"composite","hidden":true,"dataSlotId":"key"},{"dataModelId":"simple","dataSetId":"composite","hidden":true,"dataSlotId":"keyLine"}],"previews":{"image":[{"file":"resources\/column_and_line_icon_48.png","tags":["small","nocolor"]},{"file":"resources\/column_and_line_preview_320.png","tags":["medium","color"]},{"file":"resources\/column_and_line_preview_500.png","tags":["large","nocolor"]}],"svg":[{"file":"resources\/column_and_line_icon_48.svg","tags":["small","nocolor"]},{"file":"resources\/column_and_line_preview_320.svg","tags":["medium","color"]},{"file":"resources\/column_and_line_preview_500.svg","tags":["large","nocolor"]}]},"genericMeta":{"description":"composite.config.composite.description","id":"composite","label":"composite.config.composite.label","tags":[]},"properties":[{"id":"effect.duration","value":500},{"id":"background.chart.color","value":"transparent"},{"id":"background.elements.color","value":"transparent"},{"id":"legend.position","value":"bottom"},{"id":"layout.padding","value":"padding-top:10;padding-left:10;padding-bottom:10;padding-right:10"},{"id":"layout.axissize.bottom.min","value":"5"},{"id":"layout.axissize.bottom.preferred","value":"15%"},{"id":"layout.axissize.bottom.max","value":"200"},{"id":"layout.axissize.left.min","value":"5"},{"id":"layout.axissize.left.preferred","value":"30%"},{"id":"layout.axissize.left.max","value":"200"},{"id":"layout.axissize.right.min","value":"5"},{"id":"layout.axissize.right.preferred","value":"30%"},{"id":"layout.axissize.right.max","value":"200"},{"id":"alignAxes","value":true}]},{"dataSlots":[{"dataTypes":["numeric"],"dataModelId":"simple","dataSetId":"composite","hidden":false,"dataSlotId":"y"},{"dataTypes":["string"],"dataModelId":"simple","dataSetId":"composite","hidden":false,"dataSlotId":"x"},{"dataTypes":["numeric"],"dataModelId":"simple","dataSetId":"composite","hidden":false,"dataSlotId":"yLine"},{"dataModelId":"simple","dataSetId":"composite","hidden":true,"dataSlotId":"label"},{"dataModelId":"simple","dataSetId":"composite","hidden":true,"dataSlotId":"key"},{"dataModelId":"simple","dataSetId":"composite","hidden":true,"dataSlotId":"color"},{"dataModelId":"simple","dataSetId":"composite","hidden":true,"dataSlotId":"labelLine"},{"dataModelId":"simple","dataSetId":"composite","hidden":true,"dataSlotId":"keyLine"},{"dataModelId":"simple","dataSetId":"composite","hidden":true,"dataSlotId":"yStart"},{"dataModelId":"simple","dataSetId":"composite","hidden":true,"dataSlotId":"colorLine"}],"previews":{"image":[{"file":"resources\/column_and_line_icon_48.png","tags":["small","nocolor"]},{"file":"resources\/column_and_line_preview_320.png","tags":["medium","color"]},{"file":"resources\/column_and_line_preview_500.png","tags":["large","nocolor"]}],"svg":[{"file":"resources\/column_and_line_icon_48.svg","tags":["small","nocolor"]},{"file":"resources\/column_and_line_preview_320.svg","tags":["medium","color"]},{"file":"resources\/column_and_line_preview_500.svg","tags":["large","nocolor"]}]},"genericMeta":{"description":"composite.config.compositeSmoothOneDataSet.description","id":"compositeSmoothOneDataSet","label":"composite.config.compositeSmoothOneDataSet.label","tags":["ca.dashboard","ca.dashboard.legendPosition=true"]},"datamodels":[{"hidden":true,"id":"tabular"}],"properties":[{"id":"effect.duration","value":500},{"id":"background.chart.color","value":"transparent"},{"id":"background.elements.color","value":"transparent"},{"id":"lineWithPoints.interpolate","value":"cardinal"},{"id":"legend.position","value":"bottom"},{"id":"layout.padding","value":"padding-top:10;padding-left:10;padding-bottom:10;padding-right:10"},{"id":"layout.axissize.bottom.min","value":"5"},{"id":"layout.axissize.bottom.preferred","value":"15%"},{"id":"layout.axissize.bottom.max","value":"200"},{"id":"layout.axissize.left.min","value":"5"},{"id":"layout.axissize.left.preferred","value":"30%"},{"id":"layout.axissize.left.max","value":"200"},{"id":"layout.axissize.right.min","value":"5"},{"id":"layout.axissize.right.preferred","value":"30%"},{"id":"layout.axissize.right.max","value":"200"},{"id":"alignAxes","value":true}]},{"dataSlots":[{"dataTypes":["numeric"],"dataModelId":"simple","dataSetId":"composite","hidden":false,"dataSlotId":"y","tags":["ca.chart.definition.supportsRange=true"]},{"dataTypes":["string"],"dataModelId":"simple","dataSetId":"composite","hidden":false,"dataSlotId":"x","tags":["ca.chart.definition.categoryValues=indexedFull"]},{"dataTypes":["numeric"],"dataModelId":"simple","dataSetId":"composite","hidden":false,"dataSlotId":"yLine","tags":["ca.chart.definition.supportsRange=true"]},{"dataTypes":["string"],"dataModelId":"simple","dataSetId":"composite","hidden":false,"dataSlotId":"colorLine","tags":["ca.chart.definition.categoryValues=indexedFull"]},{"dataModelId":"simple","dataSetId":"composite","hidden":true,"dataSlotId":"label"},{"dataModelId":"simple","dataSetId":"composite","hidden":true,"dataSlotId":"key"},{"dataModelId":"simple","dataSetId":"composite","hidden":true,"dataSlotId":"color"},{"dataModelId":"simple","dataSetId":"composite","hidden":true,"dataSlotId":"labelLine"},{"dataModelId":"simple","dataSetId":"composite","hidden":true,"dataSlotId":"keyLine"},{"dataModelId":"simple","dataSetId":"composite","hidden":true,"dataSlotId":"yStart"}],"previews":{"image":[{"file":"resources\/column_and_line_icon_48.png","tags":["small","nocolor"]},{"file":"resources\/column_and_line_preview_320.png","tags":["medium","color"]},{"file":"resources\/column_and_line_preview_500.png","tags":["large","nocolor"]}],"svg":[{"file":"resources\/column_and_line_icon_48.svg","tags":["small","nocolor"]},{"file":"resources\/column_and_line_preview_320.svg","tags":["medium","color"]},{"file":"resources\/column_and_line_preview_500.svg","tags":["large","nocolor"]}]},"genericMeta":{"description":"composite.config.compositeOneDataSet.description","id":"compositeOneDataSet","label":"composite.config.compositeOneDataSet.label","tags":["ca.reporting"]},"datamodels":[{"hidden":true,"id":"tabular"}],"properties":[{"id":"effect.duration","value":500},{"id":"background.chart.color","value":"transparent"},{"id":"background.elements.color","value":"transparent"},{"id":"legend.position","value":"bottom"},{"id":"layout.padding","value":"padding-top:10;padding-left:10;padding-bottom:10;padding-right:10"},{"id":"layout.axissize.bottom.min","value":"5"},{"id":"layout.axissize.bottom.preferred","value":"15%"},{"id":"layout.axissize.bottom.max","value":"200"},{"id":"layout.axissize.left.min","value":"5"},{"id":"layout.axissize.left.preferred","value":"30%"},{"id":"layout.axissize.left.max","value":"200"},{"id":"layout.axissize.right.min","value":"5"},{"id":"layout.axissize.right.preferred","value":"30%"},{"id":"layout.axissize.right.max","value":"200"},{"id":"alignAxes","value":true},{"id":"data.handling","value":"Stacked"}]}]},{"properties":{"alignAxes":{"trueLabel":"alignAxes.trueLabel","default":false,"falseLabel":"alignAxes.falseLabel","resetView":"data","name":"alignAxes.name","description":"alignAxes.description","type":"boolean"},"label.shadow":{"default":false,"resetView":"layout","name":"label.shadow.name","description":"label.shadow.description","type":"boolean"},"data":{"type":"object","properties":{"handling":{"default":"None","resetView":"data","name":"data.handling.name","options":[{"id":"data.handling.options.None","value":"None"},{"id":"data.handling.options.Clustered","value":"Clustered"},{"id":"data.handling.options.Stacked","value":"Stacked"},{"id":"data.handling.options.Stacked100","value":"Stacked100"}],"description":"data.handling.description","type":"string"}}},"color":{"type":"object","properties":{"null":{"default":"silver","name":"color.null.name","description":"color.null.description","type":"color"},"palette":{"type":"object","properties":{"line":{"resetView":"layout","name":"color.palette.line.name","options":["categorical"],"description":"color.palette.line.description","type":"palette"},"column":{"resetView":"layout","name":"color.palette.column.name","options":["categorical","continuous"],"description":"color.palette.column.description","type":"palette"}}}}},"legend":{"type":"object","properties":{"line":{"type":"object","properties":{"display":{"trueLabel":"composite.trueLabel.lineLegend","default":true,"falseLabel":"composite.falseLabel.lineLegend","resetView":"layout","name":"legend.line.display.name","description":"legend.line.display.description","type":"boolean"},"entrystyle":{"type":"object","properties":{"font":{"default":null,"name":"legend.line.entrystyle.font.name","description":"legend.line.entrystyle.font.description","type":"font"}}},"title":{"name":"legend.line.title.name","description":"legend.line.title.description","type":"string"},"titlestyle":{"type":"object","properties":{"fontfamily":{"default":null,"name":"legend.line.titlestyle.fontfamily.name","description":"legend.line.titlestyle.fontfamily.description","type":"string"},"fontsize":{"default":null,"name":"legend.line.titlestyle.fontsize.name","description":"legend.line.titlestyle.fontsize.description","type":"string"},"fill":{"default":null,"name":"legend.line.titlestyle.fill.name","description":"legend.line.titlestyle.fill.description","type":"color"},"font":{"default":null,"name":"legend.line.titlestyle.font.name","description":"legend.line.titlestyle.font.description","type":"font"}}}}},"column":{"type":"object","properties":{"display":{"trueLabel":"composite.trueLabel.columnLegend","default":true,"falseLabel":"composite.falseLabel.columnLegend","resetView":"layout","name":"legend.column.display.name","description":"legend.column.display.description","type":"boolean"},"entrystyle":{"type":"object","properties":{"font":{"default":null,"name":"legend.column.entrystyle.font.name","description":"legend.column.entrystyle.font.description","type":"font"}}},"title":{"name":"legend.column.title.name","description":"legend.column.title.description","type":"string"},"titlestyle":{"type":"object","properties":{"fontfamily":{"default":null,"name":"legend.column.titlestyle.fontfamily.name","description":"legend.column.titlestyle.fontfamily.description","type":"string"},"fontsize":{"default":null,"name":"legend.column.titlestyle.fontsize.name","description":"legend.column.titlestyle.fontsize.description","type":"string"},"fill":{"default":null,"name":"legend.column.titlestyle.fill.name","description":"legend.column.titlestyle.fill.description","type":"color"},"font":{"default":null,"name":"legend.column.titlestyle.font.name","description":"legend.column.titlestyle.font.description","type":"font"}}}}},"position":{"default":"right","resetView":"layout","name":"legend.position.name","options":[{"id":"legend.position.options.top","value":"top"},{"id":"legend.position.options.bottom","value":"bottom"},{"id":"legend.position.options.left","value":"left"},{"id":"legend.position.options.right","value":"right"}],"description":"legend.position.description","type":"string"}}},"labelResolution":{"default":"none","name":"labelResolution.name","options":[{"id":"labelResolution.options.none","value":"none"},{"id":"labelResolution.options.MoveLabels","value":"Move Labels"},{"id":"labelResolution.options.DropLabels","value":"Drop Labels"}],"description":"labelResolution.description","type":"string"},"column":{"type":"object","properties":{"borderColor":{"default":"black","name":"column.borderColor.name","description":"column.borderColor.description","type":"color"},"size":{"default":"10px","resetView":"layout","name":"column.size.name","description":"column.size.description","type":"length"},"borderWidth":{"default":"0px","name":"column.borderWidth.name","description":"column.borderWidth.description","type":"length"},"applysize":{"trueLabel":"composite.trueLabel.applySize","default":false,"falseLabel":"composite.falseLabel.applySize","resetView":"layout","name":"column.applysize.name","description":"column.applysize.description","type":"boolean"}}},"zoom":{"default":"all","resetView":"zoom","name":"zoom.name","options":[{"id":"zoom.options.all","value":"all"},{"id":"zoom.options.x","value":"x"},{"id":"zoom.options.y","value":"y"},{"id":"zoom.options.y2","value":"y2"},{"id":"zoom.options.none","value":"none"}],"description":"zoom.description","type":"string"},"itemLabel":{"trueLabel":"composite.trueLabel.itemLabel","default":true,"falseLabel":"composite.falseLabel.itemLabel","name":"item.label.name","description":"item.label.description","type":"boolean"},"sortX":{"trueLabel":"composite.trueLabel.sortX","default":true,"falseLabel":"composite.falseLabel.sortX","resetView":"data","name":"sortX.name","description":"sortX.description","type":"boolean"},"labelstyle":{"type":"object","properties":{"font":{"default":null,"name":"labelstyle.font.name","description":"labelstyle.font.description","type":"string"}}},"effect":{"type":"object","properties":{"duration":{"default":1000,"min":0,"name":"effect.duration.name","description":"effect.duration.description","type":"numeric"},"delay":{"trueLabel":"composite.trueLabel.delay","default":true,"falseLabel":"composite.falseLabel.delay","name":"effect.delay.name","description":"effect.delay.description","type":"boolean"},"name":{"default":"transition","name":"effect.name.name","options":[{"id":"effect.name.options.transition","value":"transition"},{"id":"effect.name.options.none","value":"none"}],"description":"effect.name.description","type":"string"}}},"contrast":{"type":"object","properties":{"label":{"type":"object","properties":{"color":{"default":false,"resetView":"layout","name":"contrast.label.color.name","description":"contrast.label.color.description","type":"boolean"}}}}},"lineWithPoints":{"type":"object","properties":{"symbol":{"default":"donutPlus","resetView":"layout","name":"lineWithPoints.symbol.name","options":[{"id":"lineWithPoints.symbol.options.circle","value":"circle"},{"id":"lineWithPoints.symbol.options.cross","value":"cross"},{"id":"lineWithPoints.symbol.options.diamond","value":"diamond"},{"id":"lineWithPoints.symbol.options.square","value":"square"},{"id":"lineWithPoints.symbol.options.triangle-down","value":"triangle-down"},{"id":"lineWithPoints.symbol.options.triangle-up","value":"triangle-up"},{"id":"lineWithPoints.symbol.options.horizontal-rectangle","value":"horizontal-rectangle"},{"id":"lineWithPoints.symbol.options.vertical-rectangle","value":"vertical-rectangle"},{"id":"lineWithPoints.symbol.options.triangle-left","value":"triangle-left"},{"id":"lineWithPoints.symbol.options.triangle-right","value":"triangle-right"},{"id":"lineWithPoints.symbol.options.star","value":"star"},{"id":"lineWithPoints.symbol.options.donut","value":"donut"},{"id":"lineWithPoints.symbol.options.donut-plus","value":"donutPlus"}],"description":"lineWithPoints.symbol.description","type":"string"},"showMissingAsGap":{"default":"true","name":"lineWithPoints.showMissingAsGap.name","description":"lineWithPoints.showMissingAsGap.description","type":"boolean"},"size":{"default":"100","resetView":"layout","name":"lineWithPoints.size.name","description":"lineWithPoints.size.description","type":"string"},"display":{"default":"line_points","resetView":"layout","name":"lineWithPoints.display.name","options":[{"id":"lineWithPoints.display.options.linePoints","value":"line_points"},{"id":"lineWithPoints.display.options.line","value":"line"},{"id":"lineWithPoints.display.options.points","value":"points"}],"description":"lineWithPoints.display.description","type":"string"},"interpolate":{"default":"linear","name":"lineWithPoints.interpolate.name","options":[{"id":"lineWithPoints.interpolate.options.linear","value":"linear"},{"id":"lineWithPoints.interpolate.options.step","value":"step"},{"id":"lineWithPoints.interpolate.options.step-before","value":"step-before"},{"id":"lineWithPoints.interpolate.options.step-after","value":"step-after"},{"id":"lineWithPoints.interpolate.options.basis","value":"basis"},{"id":"lineWithPoints.interpolate.options.basis-open","value":"basis-open"},{"id":"lineWithPoints.interpolate.options.cardinal","value":"cardinal"},{"id":"lineWithPoints.interpolate.options.cardinal-open","value":"cardinal-open"},{"id":"lineWithPoints.interpolate.options.monotone","value":"monotone"}],"description":"lineWithPoints.interpolate.description","type":"string"}}},"swapLineColumn":{"trueLabel":"swapLineColumn.trueLabel","default":false,"falseLabel":"swapLineColumn.falseLabel","name":"swapLineColumn.name","description":"swapLineColumn.description","type":"boolean"}}},{"properties":{"axis":{"type":"object","properties":{"labels":{"type":"object","properties":{"truncationText":{"default":"...","name":"axis.labels.truncationText.name","description":"axis.labels.truncationText.description","type":"string"}}}}}}},{"properties":{"layout":{"type":"object","properties":{"axissize":{"type":"object","properties":{"top":{"type":"object","properties":{"min":{"default":"55","resetView":"layout","name":"layout.axissize.top.min.name","description":"layout.axissize.top.min.description","type":"length"},"max":{"default":"55","resetView":"layout","name":"layout.axissize.top.max.name","description":"layout.axissize.top.max.description","type":"length"},"preferred":{"default":"55","resetView":"layout","name":"layout.axissize.top.preferred.name","description":"layout.axissize.top.preferred.description","type":"length"}}}}}}}}},{"properties":{"layout":{"type":"object","properties":{"axissize":{"type":"object","properties":{"left":{"type":"object","properties":{"min":{"default":"65","resetView":"layout","name":"layout.axissize.left.min.name","description":"layout.axissize.left.min.description","type":"length"},"max":{"default":"65","resetView":"layout","name":"layout.axissize.left.max.name","description":"layout.axissize.left.max.description","type":"length"},"preferred":{"default":"65","resetView":"layout","name":"layout.axissize.left.preferred.name","description":"layout.axissize.left.preferred.description","type":"length"}}}}}}}}},{"properties":{"layout":{"type":"object","properties":{"axissize":{"type":"object","properties":{"bottom":{"type":"object","properties":{"min":{"default":"55","resetView":"layout","name":"layout.axissize.bottom.min.name","description":"layout.axissize.bottom.min.description","type":"length"},"max":{"default":"55","resetView":"layout","name":"layout.axissize.bottom.max.name","description":"layout.axissize.bottom.max.description","type":"length"},"preferred":{"default":"55","resetView":"layout","name":"layout.axissize.bottom.preferred.name","description":"layout.axissize.bottom.preferred.description","type":"length"}}}}}}}}},{"properties":{"layout":{"type":"object","properties":{"axissize":{"type":"object","properties":{"right":{"type":"object","properties":{"min":{"default":"65","resetView":"layout","name":"layout.axissize.right.min.name","description":"layout.axissize.right.min.description","type":"length"},"max":{"default":"65","resetView":"layout","name":"layout.axissize.right.max.name","description":"layout.axissize.right.max.description","type":"length"},"preferred":{"default":"65","resetView":"layout","name":"layout.axissize.right.preferred.name","description":"layout.axissize.right.preferred.description","type":"length"}}}}}}}}},{"properties":{"axis":{"type":"object","properties":{"labels":{"type":"object","properties":{"truncationText":{"default":"...","name":"axis.labels.truncationText.name","description":"axis.labels.truncationText.description","type":"string"}}}}}}},{"properties":{"axis":{"type":"object","properties":{"x":{"type":"object","properties":{"ticks":{"type":"object","properties":{"display":{"trueLabel":"axis.x.ticks.display.trueLabel","default":false,"falseLabel":"axis.x.ticks.display.falseLabel","name":"axis.x.ticks.display.name","description":"axis.x.ticks.display.description","type":"boolean"},"style":{"type":"object","properties":{"stroke":{"default":"#eeeeee","name":"axis.x.ticks.style.stroke.name","description":"axis.x.ticks.style.stroke.description","type":"color"}}}}},"line":{"type":"object","properties":{"display":{"trueLabel":"axis.x.line.display.trueLabel","default":false,"falseLabel":"axis.x.line.display.falseLabel","name":"axis.x.line.display.name","description":"axis.x.line.display.description","type":"boolean"},"style":{"type":"object","properties":{"stroke":{"default":"#eeeeee","name":"axis.x.line.style.stroke.name","description":"axis.x.line.style.stroke.description","type":"color"}}}}},"labels":{"type":"object","properties":{"display":{"trueLabel":"axis.x.labels.display.trueLabel","default":true,"falseLabel":"axis.x.labels.display.falseLabel","resetView":"layout","name":"axis.x.labels.display.name","description":"axis.x.labels.display.description","type":"boolean"},"style":{"type":"object","properties":{"font-size":{"default":null,"resetView":"layout","name":"axis.x.labels.style.font-size.name","description":"axis.x.labels.style.font-size.description","type":"string"},"font-family":{"default":null,"name":"axis.x.labels.style.font-family.name","description":"axis.x.labels.style.font-family.description","type":"string"},"fill":{"default":"#3c4646","name":"axis.x.labels.style.fill.name","description":"axis.x.labels.style.fill.description","type":"color"},"font":{"resetView":"layout","name":"axis.x.labels.style.font.name","description":"axis.x.labels.style.font.description","type":"font"}}},"zoomPan":{"trueLabel":"axis.x.labels.zoomPan.trueLabel","default":false,"falseLabel":"axis.x.labels.zoomPan.falseLabel","name":"axis.x.labels.zoomPan.name","description":"axis.x.labels.zoomPan.description","type":"boolean"}}}}}}}}},{"properties":{"axis":{"type":"object","properties":{"x":{"type":"object","properties":{"title":{"type":"object","properties":{"display":{"trueLabel":"axis.x.title.display.trueLabel","default":true,"falseLabel":"axis.x.title.display.falseLabel","resetView":"layout","name":"axis.x.title.display.name","description":"axis.x.title.display.description","type":"boolean"},"style":{"type":"object","properties":{"font-size":{"default":null,"resetView":"layout","name":"axis.x.title.style.font-size.name","description":"axis.x.title.style.font-size.description","type":"string"},"font-family":{"default":null,"name":"axis.x.title.style.font-family.name","description":"axis.x.title.style.font-family.description","type":"string"},"fill":{"default":"#323c3c","name":"axis.x.title.style.fill.name","description":"axis.x.title.style.fill.description","type":"color"},"font":{"resetView":"layout","name":"axis.x.title.style.font.name","description":"axis.x.title.style.font.description","type":"font"}}},"text":{"default":"","resetView":"layout","name":"axis.x.title.text.name","description":"axis.x.title.text.description","type":"string"}}}}}}}}},{"properties":{"axis":{"type":"object","properties":{"x":{"type":"object","properties":{"scale":{"type":"object","properties":{"includeZero":{"trueLabel":"axis.x.scale.includeZero.trueLabel","default":false,"falseLabel":"axis.x.scale.includeZero.falseLabel","resetView":"layout","name":"axis.x.scale.includeZero.name","description":"axis.x.scale.includeZero.description","type":"boolean"},"nice":{"trueLabel":"axis.x.scale.nice.trueLabel","default":false,"falseLabel":"axis.x.scale.nice.falseLabel","resetView":"layout","name":"axis.x.scale.nice.name","description":"axis.x.scale.nice.description","type":"boolean"}}}}}}}}},{"properties":{"axis":{"type":"object","properties":{"x":{"type":"object","properties":{"labels":{"type":"object","properties":{"allowRotate90":{"trueLabel":"axis.x.labels.allowRotate90.trueLabel","default":true,"falseLabel":"axis.x.labels.allowRotate90.falseLabel","resetView":"layout","name":"axis.x.labels.allowRotate90.name","description":"axis.x.labels.allowRotate90.description","type":"boolean"},"layoutMode":{"default":"automatic","resetView":"layout","name":"axis.x.labels.layoutMode.name","options":[{"id":"axis.x.labels.layoutMode.options.automatic","value":"automatic"},{"id":"axis.x.labels.layoutMode.options.horizontal","value":"horizontal"},{"id":"axis.x.labels.layoutMode.options.stagger","value":"stagger"},{"id":"axis.x.labels.layoutMode.options.rotate45","value":"rotate45"},{"id":"axis.x.labels.layoutMode.options.rotate90","value":"rotate90"}],"description":"axis.x.labels.layoutMode.description","type":"string"},"allowRotate45":{"trueLabel":"axis.x.labels.allowRotate45.trueLabel","default":true,"falseLabel":"axis.x.labels.allowRotate45.falseLabel","resetView":"layout","name":"axis.x.labels.allowRotate45.name","description":"axis.x.labels.allowRotate45.description","type":"boolean"},"allowStagger":{"trueLabel":"axis.x.labels.allowStagger.trueLabel","default":true,"falseLabel":"axis.x.labels.allowStagger.falseLabel","resetView":"layout","name":"axis.x.labels.allowStagger.name","description":"axis.x.labels.allowStagger.description","type":"boolean"}}}}}}}}},{"properties":{"axis":{"type":"object","properties":{"x":{"type":"object","properties":{"gridlines":{"type":"object","properties":{"display":{"trueLabel":"axis.x.gridlines.display.trueLabel","default":false,"falseLabel":"axis.x.gridlines.display.falseLabel","name":"axis.x.gridlines.display.name","description":"axis.x.gridlines.display.description","type":"boolean"},"style":{"type":"object","properties":{"stroke-dasharray":{"default":null,"name":"axis.x.gridlines.style.stroke-dasharray.name","description":"axis.x.gridlines.style.stroke-dasharray.description","type":"dasharray"},"stroke":{"default":"#dfe9e9","name":"axis.x.gridlines.style.stroke.name","description":"axis.x.gridlines.style.stroke.description","type":"color"}}}}}}}}}}},{"properties":{"axis":{"type":"object","properties":{"y":{"type":"object","properties":{"ticks":{"type":"object","properties":{"display":{"trueLabel":"axis.y.ticks.display.trueLabel","default":false,"falseLabel":"axis.y.ticks.display.falseLabel","name":"axis.y.ticks.display.name","description":"axis.y.ticks.display.description","type":"boolean"},"style":{"type":"object","properties":{"stroke":{"default":"#eeeeee","name":"axis.y.ticks.style.stroke.name","description":"axis.y.ticks.style.stroke.description","type":"color"}}}}},"line":{"type":"object","properties":{"display":{"trueLabel":"axis.y.line.display.trueLabel","default":false,"falseLabel":"axis.y.line.display.falseLabel","name":"axis.y.line.display.name","description":"axis.y.line.display.description","type":"boolean"},"style":{"type":"object","properties":{"stroke":{"default":"#eeeeee","name":"axis.y.line.style.stroke.name","description":"axis.y.line.style.stroke.description","type":"color"}}}}},"labels":{"type":"object","properties":{"display":{"trueLabel":"axis.y.labels.display.trueLabel","default":true,"falseLabel":"axis.y.labels.display.falseLabel","resetView":"layout","name":"axis.y.labels.display.name","description":"axis.y.labels.display.description","type":"boolean"},"style":{"type":"object","properties":{"font-size":{"default":null,"resetView":"layout","name":"axis.y.labels.style.font-size.name","description":"axis.y.labels.style.font-size.description","type":"string"},"font-family":{"default":null,"name":"axis.y.labels.style.font-family.name","description":"axis.y.labels.style.font-family.description","type":"string"},"fill":{"default":"#3c4646","name":"axis.y.labels.style.fill.name","description":"axis.y.labels.style.fill.description","type":"color"},"font":{"resetView":"layout","name":"axis.y.labels.style.font.name","description":"axis.y.labels.style.font.description","type":"font"}}},"zoomPan":{"trueLabel":"axis.y.labels.zoomPan.trueLabel","default":false,"falseLabel":"axis.y.labels.zoomPan.falseLabel","name":"axis.y.labels.zoomPan.name","description":"axis.y.labels.zoomPan.description","type":"boolean"}}}}}}}}},{"properties":{"axis":{"type":"object","properties":{"y":{"type":"object","properties":{"title":{"type":"object","properties":{"display":{"trueLabel":"axis.y.title.display.trueLabel","default":true,"falseLabel":"axis.y.title.display.falseLabel","resetView":"layout","name":"axis.y.title.display.name","description":"axis.y.title.display.description","type":"boolean"},"style":{"type":"object","properties":{"font-size":{"default":null,"resetView":"layout","name":"axis.y.title.style.font-size.name","description":"axis.y.title.style.font-size.description","type":"string"},"font-family":{"default":null,"name":"axis.y.title.style.font-family.name","description":"axis.y.title.style.font-family.description","type":"string"},"fill":{"default":"#323c3c","name":"axis.y.title.style.fill.name","description":"axis.y.title.style.fill.description","type":"color"},"font":{"resetView":"layout","name":"axis.y.title.style.font.name","description":"axis.y.title.style.font.description","type":"font"}}},"text":{"default":"","resetView":"layout","name":"axis.y.title.text.name","description":"axis.y.title.text.description","type":"string"}}}}}}}}},{"properties":{"axis":{"type":"object","properties":{"y":{"type":"object","properties":{"scale":{"type":"object","properties":{"includeZero":{"trueLabel":"axis.y.scale.includeZero.trueLabel","default":false,"falseLabel":"axis.y.scale.includeZero.falseLabel","resetView":"layout","name":"axis.y.scale.includeZero.name","description":"axis.y.scale.includeZero.description","type":"boolean"},"nice":{"trueLabel":"axis.y.scale.nice.trueLabel","default":false,"falseLabel":"axis.y.scale.nice.falseLabel","resetView":"layout","name":"axis.y.scale.nice.name","description":"axis.y.scale.nice.description","type":"boolean"}}}}}}}}},{"properties":{"axis":{"type":"object","properties":{"y":{"type":"object","properties":{"labels":{"type":"object","properties":{"layoutMode":{"default":"horizontal","resetView":"layout","name":"axis.y.labels.layoutMode.name","options":[{"id":"axis.y.labels.layoutMode.options.horizontal","value":"horizontal"},{"id":"axis.y.labels.layoutMode.options.rotate90","value":"rotate90"}],"description":"axis.y.labels.layoutMode.description","type":"string"}}}}}}}}},{"properties":{"axis":{"type":"object","properties":{"y":{"type":"object","properties":{"gridlines":{"type":"object","properties":{"display":{"trueLabel":"axis.y.gridlines.display.trueLabel","default":true,"falseLabel":"axis.y.gridlines.display.falseLabel","name":"axis.y.gridlines.display.name","description":"axis.y.gridlines.display.description","type":"boolean"},"style":{"type":"object","properties":{"stroke-dasharray":{"default":null,"name":"axis.y.gridlines.style.stroke-dasharray.name","description":"axis.y.gridlines.style.stroke-dasharray.description","type":"dasharray"},"stroke":{"default":"#dfe9e9","name":"axis.y.gridlines.style.stroke.name","description":"axis.y.gridlines.style.stroke.description","type":"color"}}}}}}}}}}},{"properties":{"axis":{"type":"object","properties":{"y2":{"type":"object","properties":{"ticks":{"type":"object","properties":{"display":{"trueLabel":"axis.y2.ticks.display.trueLabel","default":false,"falseLabel":"axis.y2.ticks.display.falseLabel","name":"axis.y2.ticks.display.name","description":"axis.y2.ticks.display.description","type":"boolean"},"style":{"type":"object","properties":{"stroke":{"default":"#eeeeee","name":"axis.y2.ticks.style.stroke.name","description":"axis.y2.ticks.style.stroke.description","type":"color"}}}}},"line":{"type":"object","properties":{"display":{"trueLabel":"axis.y2.line.display.trueLabel","default":false,"falseLabel":"axis.y2.line.display.falseLabel","name":"axis.y2.line.display.name","description":"axis.y2.line.display.description","type":"boolean"},"style":{"type":"object","properties":{"stroke":{"default":"#eeeeee","name":"axis.y2.line.style.stroke.name","description":"axis.y2.line.style.stroke.description","type":"color"}}}}},"title":{"type":"object","properties":{"display":{"trueLabel":"axis.y2.title.display.trueLabel","default":true,"falseLabel":"axis.y2.title.display.falseLabel","resetView":"layout","name":"axis.y2.title.display.name","description":"axis.y2.title.display.description","type":"boolean"},"style":{"type":"object","properties":{"font-size":{"default":null,"resetView":"layout","name":"axis.y2.title.style.font-size.name","description":"axis.y2.title.style.font-size.description","type":"string"},"font-family":{"default":null,"name":"axis.y2.title.style.font-family.name","description":"axis.y2.title.style.font-family.description","type":"string"},"fill":{"default":"#323c3c","name":"axis.y2.title.style.fill.name","description":"axis.y2.title.style.fill.description","type":"color"},"font":{"resetView":"layout","name":"axis.y2.title.style.font.name","description":"axis.y2.title.style.font.description","type":"font"}}},"text":{"default":"","resetView":"layout","name":"axis.y2.title.text.name","description":"axis.y2.title.text.description","type":"string"}}},"labels":{"type":"object","properties":{"display":{"trueLabel":"axis.y2.labels.display.trueLabel","default":true,"falseLabel":"axis.y2.labels.display.falseLabel","resetView":"layout","name":"axis.y2.labels.display.name","description":"axis.y2.labels.display.description","type":"boolean"},"style":{"type":"object","properties":{"font-size":{"default":null,"resetView":"layout","name":"axis.y2.labels.style.font-size.name","description":"axis.y2.labels.style.font-size.description","type":"string"},"font-family":{"default":null,"name":"axis.y2.labels.style.font-family.name","description":"axis.y2.labels.style.font-family.description","type":"string"},"fill":{"default":"#3c4646","name":"axis.y2.labels.style.fill.name","description":"axis.y2.labels.style.fill.description","type":"color"},"font":{"resetView":"layout","name":"axis.y2.labels.style.font.name","description":"axis.y2.labels.style.font.description","type":"font"}}},"zoomPan":{"trueLabel":"axis.y2.labels.zoomPan.trueLabel","default":false,"falseLabel":"axis.y2.labels.zoomPan.falseLabel","name":"axis.y2.labels.zoomPan.name","description":"axis.y2.labels.zoomPan.description","type":"boolean"}}}}}}}}},{"properties":{"axis":{"type":"object","properties":{"y2":{"type":"object","properties":{"scale":{"type":"object","properties":{"includeZero":{"trueLabel":"axis.y2.scale.includeZero.trueLabel","default":false,"falseLabel":"axis.y2.scale.includeZero.falseLabel","resetView":"layout","name":"axis.y2.scale.includeZero.name","description":"axis.y2.scale.includeZero.description","type":"boolean"},"nice":{"trueLabel":"axis.y2.scale.nice.trueLabel","default":false,"falseLabel":"axis.y2.scale.nice.falseLabel","resetView":"layout","name":"axis.y2.scale.nice.name","description":"axis.y2.scale.nice.description","type":"boolean"}}}}}}}}},{"properties":{"axis":{"type":"object","properties":{"y2":{"type":"object","properties":{"labels":{"type":"object","properties":{"layoutMode":{"default":"horizontal","resetView":"layout","name":"axis.y2.labels.layoutMode.name","options":[{"id":"axis.y2.labels.layoutMode.options.horizontal","value":"horizontal"},{"id":"axis.y2.labels.layoutMode.options.rotate90","value":"rotate90"}],"description":"axis.y2.labels.layoutMode.description","type":"string"}}}}}}}}},{"properties":{"axis":{"type":"object","properties":{"y2":{"type":"object","properties":{"gridlines":{"type":"object","properties":{"display":{"trueLabel":"axis.y2.gridlines.display.trueLabel","default":true,"falseLabel":"axis.y2.gridlines.display.falseLabel","name":"axis.y2.gridlines.display.name","description":"axis.y2.gridlines.display.description","type":"boolean"},"style":{"type":"object","properties":{"stroke-dasharray":{"default":null,"name":"axis.y2.gridlines.style.stroke-dasharray.name","description":"axis.y2.gridlines.style.stroke-dasharray.description","type":"dasharray"},"stroke":{"default":"#dfe9e9","name":"axis.y2.gridlines.style.stroke.name","description":"axis.y2.gridlines.style.stroke.description","type":"color"}}}}}}}}}}},{"properties":{"layout":{"type":"object","properties":{"padding":{"default":"10","resetView":"layout","name":"layout.padding.name","description":"layout.padding.description","type":"padding"},"legendsize":{"type":"object","properties":{"min":{"default":"0","resetView":"layout","name":"layout.legendsize.min.name","description":"layout.legendsize.min.description","type":"length"},"max":{"default":"20%","resetView":"layout","name":"layout.legendsize.max.name","description":"layout.legendsize.max.description","type":"length"},"preferred":{"default":"20%","resetView":"layout","name":"layout.legendsize.preferred.name","description":"layout.legendsize.preferred.description","type":"length"}}},"legendchart":{"type":"object","properties":{"gap":{"default":"10","resetView":"layout","name":"layout.legendchart.gap.name","description":"layout.legendchart.gap.description","type":"length"},"align":{"default":false,"resetView":"layout","name":"layout.legendchart.align.name","description":"layout.legendchart.align.description","type":"boolean"}}},"chart":{"type":"object","properties":{"padding":{"type":"object","properties":{"top":{"default":"0","resetView":"layout","name":"layout.chart.padding.top.name","description":"layout.chart.padding.top.description","type":"length"},"left":{"default":"0","resetView":"layout","name":"layout.chart.padding.left.name","description":"layout.chart.padding.left.description","type":"length"},"bottom":{"default":"0","resetView":"layout","name":"layout.chart.padding.bottom.name","description":"layout.chart.padding.bottom.description","type":"length"},"right":{"default":"0","resetView":"layout","name":"layout.chart.padding.right.name","description":"layout.chart.padding.right.description","type":"length"}}}}}}}}},{"properties":{"transpose":{"trueLabel":"transpose.trueLabel","default":false,"falseLabel":"transpose.falseLabel","resetView":"layout","name":"transpose.name","description":"transpose.description","type":"boolean"}}},{"properties":{"data":{"type":"object","properties":{"label":{"type":"object","properties":{"display":{"default":false,"resetView":"layout","name":"data.label.display.name","description":"data.label.display.description","type":"boolean"},"type":{"default":"Value","resetView":"layout","name":"data.label.type.name","options":[{"id":"data.label.type.options.value","value":"Value"},{"id":"data.label.type.options.percentByCategory","value":"PercentOfCategory"},{"id":"data.label.type.options.percentByColor","value":"PercentOfColor"}],"description":"data.label.type.description","type":"string"}}}}}}},{"properties":{"background":{"type":"object","properties":{"elements":{"type":"object","properties":{"color":{"default":"#FFFFFF","name":"background.elements.color.name","description":"background.elements.color.description","type":"color"}}},"chart":{"type":"object","properties":{"color":{"default":"#FFFFFF","name":"background.chart.color.name","description":"background.chart.color.description","type":"color"}}}}}}},{"properties":{"axis":{"type":"object","properties":{"y":{"type":"object","properties":{"scale":{"type":"object","properties":{"includeZero":{"trueLabel":"axis.y.scale.includeZero.trueLabel","default":true,"falseLabel":"axis.y.scale.includeZero.falseLabel","resetView":"layout","name":"axis.y.scale.includeZero.name","description":"axis.y.scale.includeZero.description","type":"boolean"},"nice":{"trueLabel":"axis.y.scale.nice.trueLabel","default":true,"falseLabel":"axis.y.scale.nice.falseLabel","resetView":"layout","name":"axis.y.scale.nice.name","description":"axis.y.scale.nice.description","type":"boolean"}}}}},"y2":{"type":"object","properties":{"scale":{"type":"object","properties":{"includeZero":{"trueLabel":"axis.y2.scale.includeZero.trueLabel","default":true,"falseLabel":"axis.y2.scale.includeZero.falseLabel","resetView":"layout","name":"axis.y2.scale.includeZero.name","description":"axis.y2.scale.includeZero.description","type":"boolean"},"nice":{"trueLabel":"axis.y2.scale.nice.trueLabel","default":true,"falseLabel":"axis.y2.scale.nice.falseLabel","resetView":"layout","name":"axis.y2.scale.nice.name","description":"axis.y2.scale.nice.description","type":"boolean"}}}}}}}}},{"propertyPresentations":[{"presentationItems":[{"propertyID":"color.palette.column"},{"propertyID":"color.palette.line"},{"propertyID":"axis.x.title.display"},{"propertyID":"axis.y.title.display"},{"propertyID":"legend.column.display"},{"propertyID":"legend.line.display"},{"propertyID":"legend.position"},{"propertyID":"lineWithPoints.interpolate"},{"propertyID":"lineWithPoints.symbol"}],"icon":"","description":"propertyPresentation.simple.description","id":"simple","label":"propertyPresentation.simple.label","tags":["Composite","Composite Properties Presentation","Simple","ca.dashboard"]},{"presentationItems":[{"propertyGroup":{"presentationItems":[{"propertyID":"background.chart.color"},{"propertyID":"background.elements.color"},{"propertyID":"color.palette.column"},{"propertyID":"color.palette.line"},{"propertyID":"layout.padding"}],"icon":"","description":"propertyPresentation.advanced.commonProperties.description","id":"commonProperties","label":"propertyPresentation.advanced.commonProperties.label","tags":[]}},{"propertyGroup":{"presentationItems":[{"propertyID":"sortX"},{"propertyID":"column.borderColor"},{"propertyID":"column.borderWidth"},{"propertyID":"alignAxes"},{"propertyID":"lineWithPoints.size"},{"propertyID":"lineWithPoints.display"},{"propertyID":"lineWithPoints.symbol"},{"propertyID":"lineWithPoints.showMissingAsGap"},{"propertyID":"swapLineColumn"},{"propertyID":"transpose"}],"icon":"","description":"composite.propertyPresentation.advanced.compositeSpecificProperties.description","id":"compositeSpecificProperties","label":"composite.propertyPresentation.advanced.compositeSpecificProperties.label","tags":[]}},{"propertyGroup":{"presentationItems":[{"propertyID":"axis.x.gridlines.display"},{"propertyID":"axis.x.gridlines.style.stroke"},{"propertyID":"axis.x.gridlines.style.stroke-dasharray"},{"propertyID":"axis.x.labels.display"},{"propertyID":"axis.x.labels.style.font"},{"propertyID":"axis.x.line.display"},{"propertyID":"axis.x.line.style.stroke"},{"propertyID":"axis.x.ticks.display"},{"propertyID":"axis.x.ticks.style.stroke"},{"propertyID":"axis.x.title.display"},{"propertyID":"axis.x.title.style.font"},{"propertyID":"axis.x.title.text"}],"icon":"","description":"propertyPresentation.advanced.xAxisProperties.description","id":"xAxisProperties","label":"propertyPresentation.advanced.xAxisProperties.label","tags":[]}},{"propertyGroup":{"presentationItems":[{"propertyID":"axis.y.gridlines.display"},{"propertyID":"axis.y.gridlines.style.stroke"},{"propertyID":"axis.y.gridlines.style.stroke-dasharray"},{"propertyID":"axis.y.labels.display"},{"propertyID":"axis.y.labels.style.font"},{"propertyID":"axis.y.line.display"},{"propertyID":"axis.y.line.style.stroke"},{"propertyID":"axis.y.ticks.display"},{"propertyID":"axis.y.ticks.style.stroke"},{"propertyID":"axis.y.title.display"},{"propertyID":"axis.y.title.style.font"},{"propertyID":"axis.y.title.text"}],"icon":"","description":"propertyPresentation.advanced.yAxisProperties.description","id":"yAxisProperties","label":"propertyPresentation.advanced.yAxisProperties.label","tags":[]}},{"propertyGroup":{"presentationItems":[{"propertyID":"axis.y2.gridlines.display"},{"propertyID":"axis.y2.gridlines.style.stroke"},{"propertyID":"axis.y2.gridlines.style.stroke-dasharray"},{"propertyID":"axis.y2.labels.display"},{"propertyID":"axis.y2.labels.style.font"},{"propertyID":"axis.y2.line.display"},{"propertyID":"axis.y2.line.style.stroke"},{"propertyID":"axis.y2.ticks.display"},{"propertyID":"axis.y2.ticks.style.stroke"},{"propertyID":"axis.y2.title.display"},{"propertyID":"axis.y2.title.style.font"},{"propertyID":"axis.y2.title.text"}],"icon":"","description":"composite.propertyPresentation.advanced.y2AxisProperties.description","id":"y2AxisProperties","label":"composite.propertyPresentation.advanced.y2AxisProperties.label","tags":[]}},{"propertyGroup":{"presentationItems":[{"propertyID":"legend.position"},{"propertyID":"legend.line.display"},{"propertyID":"legend.line.title"},{"propertyID":"legend.line.titlestyle.font"},{"propertyID":"legend.line.entrystyle.font"},{"propertyID":"legend.column.display"},{"propertyID":"legend.column.title"},{"propertyID":"legend.column.titlestyle.font"},{"propertyID":"legend.column.entrystyle.font"},{"propertyID":"layout.legendchart.gap"},{"propertyID":"layout.legendchart.align"}],"icon":"","description":"propertyPresentation.advanced.legendProperties.description","id":"legendProperties","label":"propertyPresentation.advanced.legendProperties.label","tags":[]}},{"propertyGroup":{"presentationItems":[{"propertyID":"effect.duration"},{"propertyID":"effect.name"}],"icon":"","description":"propertyPresentation.advanced.clientBehaviorProperties.description","id":"clientBehaviorProperties","label":"propertyPresentation.advanced.clientBehaviorProperties.label","tags":["ca.chart.definition.outputType=interactive"]}}],"icon":"","description":"propertyPresentation.advanced.description","id":"advanced","label":"propertyPresentation.advanced.label","tags":["Composite","Composite Properties Presentation","advanced","ca.reporting"]}]},{"build":"development","name":"rave-library-composite","description":"This is the IBM Rave composite line bar bundle.","ignore":["bower.json"],"main":"bundle.js","version":"1.0.0","dependencies":{"rave-legends":"<2.0.0","rave-library":"<2.0.0","rave":"<3.0.0","rave-layouts":"<2.0.0","rave-utilities":"<2.0.0"}}]
  12. },{}],2:[function(require,module,exports){
  13. module.exports={
  14. "actions.applyHighlight.description": "Highlights a node.",
  15. "actions.applyHighlight.label": "Apply highlight action",
  16. "actions.applySelection.description": "Selects a node.",
  17. "actions.applySelection.label": "Apply selection action",
  18. "actions.args.attributes.description": "Optional map of attribute to value that is applied during the action.",
  19. "actions.args.attributes.label": "Optional attributes function argument",
  20. "actions.args.primaryAttributes.description": "Optional map of primary attributes that are applied during the action.",
  21. "actions.args.primaryAttributes.label": "Optional primary attributes function argument",
  22. "actions.args.primarySelector.description": "Primary selector for the nodes that the action is to apply to.",
  23. "actions.args.primarySelector.label": "Primary selector function argument",
  24. "actions.args.secondaryAttributes.description": "Optional map of secondary attributes that are applied during the action.",
  25. "actions.args.secondaryAttributes.label": "Optional secondary attributes function argument",
  26. "actions.args.secondarySelector.description": "Secondary selector for the nodes that the action is to apply to.",
  27. "actions.args.secondarySelector.label": "Secondary selector function argument",
  28. "actions.args.selector.description": "Selector of the node that the action will apply to.",
  29. "actions.args.selector.label": "Selector function argument",
  30. "actions.breadCrumb.description": "Navigates up and down in detail through a bread crumb.",
  31. "actions.breadCrumb.label": "Bread crumb navigation action",
  32. "actions.chord.selector.description": "Selector for the chords that the action will apply to.",
  33. "actions.chord.selector.label": "Selector function argument for chords",
  34. "actions.chord.toggleSelect.description": "Toggles selection on a chord.",
  35. "actions.chord.toggleSelect.label": "Toggle select on chord action",
  36. "actions.chordGroup.highlight.description": "Highlights a chord group and everything that is connected to it.",
  37. "actions.chordGroup.highlight.label": "Chord group highlight action",
  38. "actions.chordGroup.removeHighlight.description": "Removes highlights from a chord group and everything connected to it.",
  39. "actions.chordGroup.removeHighlight.label": "Chord group remove highlight action",
  40. "actions.chordGroup.selector.description": "Selector for the chord groups that the action will apply to.",
  41. "actions.chordGroup.selector.label": "Selector function argument for chord groups",
  42. "actions.drillDown.description": "Drills down to the next level of detail.",
  43. "actions.drillDown.label": "Drill down action",
  44. "actions.removeAllSelect.description": "Removes all selections from all nodes.",
  45. "actions.removeAllSelect.label": "Remove all selections action",
  46. "actions.removeHighlight.description": "Removes a highlight from a node.",
  47. "actions.removeHighlight.label": "Remove highlight action",
  48. "actions.removeSelection.description": "Removes a selection from a node.",
  49. "actions.removeSelection.label": "Remove selection action",
  50. "actions.toggleSelect.description": "Toggles the selection on a node.",
  51. "actions.toggleSelect.label": "Toggle selection action",
  52. "actions.zoom.args.panX.description": "The amount to pan in the x direction.",
  53. "actions.zoom.args.panX.label": "Zoom x pan amount function argument",
  54. "actions.zoom.args.panY.description": "The amount to pan in the y direction.",
  55. "actions.zoom.args.panY.label": "Zoom y pan amount function argument",
  56. "actions.zoom.args.scale.description": "The scale amount for the zoom action.",
  57. "actions.zoom.args.scale.label": "Zoom scale function argument",
  58. "actions.zoom.description": "Zoom action",
  59. "actions.zoom.label": "Zoom action",
  60. "actions.zoomPackedBubble.description": "Zoom for a packed bubble.",
  61. "actions.zoomPackedBubble.label": "Zoom packed bubble action",
  62. "alignAxes.description": "Aligns the grid lines of dependent axes.",
  63. "alignAxes.falseLabel": "Do not align",
  64. "alignAxes.name": "Align dependent axes on grid",
  65. "alignAxes.trueLabel": "Align",
  66. "axis.labels.truncationText.description": "The text that is placed at the end of labels to indicate truncation.",
  67. "axis.labels.truncationText.name": "Axis truncation text",
  68. "axis.x.gridlines.display.description": "Shows or hides the X-axis gridlines.",
  69. "axis.x.gridlines.display.falseLabel": "Hide",
  70. "axis.x.gridlines.display.name": "Show gridlines",
  71. "axis.x.gridlines.display.trueLabel": "Show",
  72. "axis.x.gridlines.style.stroke-dasharray.description": "The dash pattern that is applied to the X-axis gridlines.",
  73. "axis.x.gridlines.style.stroke-dasharray.name": "Gridline dash pattern",
  74. "axis.x.gridlines.style.stroke.description": "The color of the X-axis gridline.",
  75. "axis.x.gridlines.style.stroke.name": "Gridline color",
  76. "axis.x.labels.allowRotate45.description": "Enables or disables the rotate45 option for labels automatic layout.",
  77. "axis.x.labels.allowRotate45.falseLabel": "Disable rotate45 option",
  78. "axis.x.labels.allowRotate45.name": "Allow rotate 45",
  79. "axis.x.labels.allowRotate45.trueLabel": "Enable rotate45 option",
  80. "axis.x.labels.allowRotate90.description": "Enables or disables the rotate90 option for labels automatic layout.",
  81. "axis.x.labels.allowRotate90.falseLabel": "Disable rotate90 option",
  82. "axis.x.labels.allowRotate90.name": "Allow rotate 90",
  83. "axis.x.labels.allowRotate90.trueLabel": "Enable rotate90 option",
  84. "axis.x.labels.allowStagger.description": "Allows the stagger option for labels automatic layout.",
  85. "axis.x.labels.allowStagger.falseLabel": "X-axis do not allow stagger",
  86. "axis.x.labels.allowStagger.name": "Allow stagger",
  87. "axis.x.labels.allowStagger.trueLabel": "X-axis allow stagger",
  88. "axis.x.labels.display.description": "Shows or hides the X-axis labels.",
  89. "axis.x.labels.display.falseLabel": "Hide",
  90. "axis.x.labels.display.name": "Show labels",
  91. "axis.x.labels.display.trueLabel": "Show",
  92. "axis.x.labels.layoutMode.description": "Configure the layout mode for the X-axis labels.",
  93. "axis.x.labels.layoutMode.name": "Layout Mode",
  94. "axis.x.labels.layoutMode.options.automatic": "Automatic",
  95. "axis.x.labels.layoutMode.options.horizontal": "Horizontal",
  96. "axis.x.labels.layoutMode.options.rotate45": "Rotated 45 degrees",
  97. "axis.x.labels.layoutMode.options.rotate90": "Rotated 90 degrees",
  98. "axis.x.labels.layoutMode.options.stagger": "Stagger",
  99. "axis.x.labels.style.fill.description": "The color of X-axis labels.",
  100. "axis.x.labels.style.fill.name": "Label color",
  101. "axis.x.labels.style.font-family.description": "The font families of the X-axis labels.",
  102. "axis.x.labels.style.font-family.name": "Label font families",
  103. "axis.x.labels.style.font-size.description": "The size of X-axis labels (CSS size).",
  104. "axis.x.labels.style.font-size.name": "Label font size",
  105. "axis.x.labels.style.font.description": "The font properties of X-axis labels (CSS styles).",
  106. "axis.x.labels.style.font.name": "Label font",
  107. "axis.x.labels.zoomPan.description": "Shows or hides X-axis labels when panning and zooming.",
  108. "axis.x.labels.zoomPan.falseLabel": "Show",
  109. "axis.x.labels.zoomPan.name": "Label pan-zoom",
  110. "axis.x.labels.zoomPan.trueLabel": "Hide",
  111. "axis.x.line.display.description": "Shows or hides the X-axis line.",
  112. "axis.x.line.display.falseLabel": "Hide",
  113. "axis.x.line.display.name": "Show line",
  114. "axis.x.line.display.trueLabel": "Show",
  115. "axis.x.line.style.stroke.description": "The color of the X-axis line.",
  116. "axis.x.line.style.stroke.name": "Line color",
  117. "axis.x.scale.includeZero.description": "When set to Yes, includes 0 on the X-axis.",
  118. "axis.x.scale.includeZero.falseLabel": "Do not include",
  119. "axis.x.scale.includeZero.name": "Includes zero",
  120. "axis.x.scale.includeZero.trueLabel": "Include",
  121. "axis.x.scale.max.description": "The maximum value that appears on the X-axis.",
  122. "axis.x.scale.max.name": "Maximum value",
  123. "axis.x.scale.min.description": "The minimum value that appears on the X-axis.",
  124. "axis.x.scale.min.name": "Minimum value",
  125. "axis.x.scale.nice.description": "When set to Yes, uses nice endpoint values on the X-axis.",
  126. "axis.x.scale.nice.falseLabel": "Do not nice",
  127. "axis.x.scale.nice.name": "Nicing",
  128. "axis.x.scale.nice.trueLabel": "Apply nicing",
  129. "axis.x.ticks.display.description": "Shows or hides the X-axis tick marks.",
  130. "axis.x.ticks.display.falseLabel": "Hide",
  131. "axis.x.ticks.display.name": "Show ticks",
  132. "axis.x.ticks.display.trueLabel": "Show",
  133. "axis.x.ticks.style.stroke.description": "The color of the X-axis ticks.",
  134. "axis.x.ticks.style.stroke.name": "Tick color",
  135. "axis.x.title.display.description": "Shows or hides the X-axis title.",
  136. "axis.x.title.display.falseLabel": "Hide",
  137. "axis.x.title.display.name": "Show title",
  138. "axis.x.title.display.trueLabel": "Show",
  139. "axis.x.title.style.fill.description": "The color of the X-axis title.",
  140. "axis.x.title.style.fill.name": "Title color",
  141. "axis.x.title.style.font-family.description": "The font family names of the X-axis title.",
  142. "axis.x.title.style.font-family.name": "Title font families",
  143. "axis.x.title.style.font-size.description": "The X-axis title font size (CSS size).",
  144. "axis.x.title.style.font-size.name": "Title font size",
  145. "axis.x.title.style.font.description": "The X-axis title font properties (CSS style).",
  146. "axis.x.title.style.font.name": "Title font",
  147. "axis.x.title.text.description": "The title of the X-axis.",
  148. "axis.x.title.text.name": "Title",
  149. "axis.y.gridlines.display.description": "Shows or hides the column chart Y-axis gridlines.",
  150. "axis.y.gridlines.display.falseLabel": "Hide",
  151. "axis.y.gridlines.display.name": "Y-axis (column) show gridlines",
  152. "axis.y.gridlines.display.trueLabel": "Show",
  153. "axis.y.gridlines.style.stroke-dasharray.description": "The dash pattern that is applied to the column chart Y-axis gridlines.",
  154. "axis.y.gridlines.style.stroke-dasharray.name": "Y-axis (column) gridline dash pattern",
  155. "axis.y.gridlines.style.stroke.description": "The color of the column chart Y-axis gridline.",
  156. "axis.y.gridlines.style.stroke.name": "Y-axis (column) gridline color",
  157. "axis.y.labels.display.description": "Shows or hides the column chart Y-axis labels.",
  158. "axis.y.labels.display.falseLabel": "Hide",
  159. "axis.y.labels.display.name": "Y-axis (column) show labels",
  160. "axis.y.labels.display.trueLabel": "Show",
  161. "axis.y.labels.hideOverlap.description": "Shows or hides overlapping labels on the column chart Y-axis.",
  162. "axis.y.labels.hideOverlap.falseLabel": "Do not hide",
  163. "axis.y.labels.hideOverlap.name": "Y-axis (column) hide overlapping labels",
  164. "axis.y.labels.hideOverlap.trueLabel": "Hide",
  165. "axis.y.labels.layoutMode.description": "Configure the layout mode for the Y-axis labels.",
  166. "axis.y.labels.layoutMode.name": "Layout Mode",
  167. "axis.y.labels.layoutMode.options.horizontal": "Horizontal",
  168. "axis.y.labels.layoutMode.options.rotate90": "Rotated 90 degrees",
  169. "axis.y.labels.rotation.description": "Rotates the column chart Y-axis labels.",
  170. "axis.y.labels.rotation.name": "Y-axis (column) label rotation",
  171. "axis.y.labels.style.fill.description": "The color of the column chart Y-axis labels.",
  172. "axis.y.labels.style.fill.name": "Y-axis (column) label color",
  173. "axis.y.labels.style.font-family.description": "The font families of the column chart Y-axis labels.",
  174. "axis.y.labels.style.font-family.name": "Y-axis (column) label font families",
  175. "axis.y.labels.style.font-size.description": "The size of the column chart Y-axis labels (CSS size).",
  176. "axis.y.labels.style.font-size.name": "Y-axis (column) label font size",
  177. "axis.y.labels.style.font.description": "The font properties of the column chart Y-axis labels (CSS styles).",
  178. "axis.y.labels.style.font.name": "Y-axis (column) label font",
  179. "axis.y.labels.style.text-anchor.description": "The text anchor position of the column chart Y-axis labels.",
  180. "axis.y.labels.style.text-anchor.name": "Y-axis (column) label text anchor",
  181. "axis.y.labels.style.text-anchor.options.end": "End",
  182. "axis.y.labels.style.text-anchor.options.middle": "Middle",
  183. "axis.y.labels.style.text-anchor.options.start": "Start",
  184. "axis.y.labels.wrap.description": "Enables or disables label wrapping on the column chart Y-axis.",
  185. "axis.y.labels.wrap.falseLabel": "Do not wrap",
  186. "axis.y.labels.wrap.name": "Y-axis (column) label wrap",
  187. "axis.y.labels.wrap.trueLabel": "Wrap",
  188. "axis.y.labels.wrapValignment.description": "Vertically aligns the column chart Y-axis labels.",
  189. "axis.y.labels.wrapValignment.name": "Y-axis (column) wrapped label alignment",
  190. "axis.y.labels.wrapValignment.options.bottom": "Bottom",
  191. "axis.y.labels.wrapValignment.options.middle": "Middle",
  192. "axis.y.labels.wrapValignment.options.top": "Top",
  193. "axis.y.labels.zoomPan.description": "Shows or hides the column chart Y-axis labels when panning and zooming.",
  194. "axis.y.labels.zoomPan.falseLabel": "Show",
  195. "axis.y.labels.zoomPan.name": "Y-axis (column) label hide pan-zoom",
  196. "axis.y.labels.zoomPan.trueLabel": "Hide",
  197. "axis.y.line.display.description": "Shows or hides the column chart Y-axis line.",
  198. "axis.y.line.display.falseLabel": "Hide",
  199. "axis.y.line.display.name": "Y-axis (column) show line",
  200. "axis.y.line.display.trueLabel": "Show",
  201. "axis.y.line.style.stroke.description": "The color of the column chart Y-axis line.",
  202. "axis.y.line.style.stroke.name": "Y-axis (column) line color",
  203. "axis.y.scale.includeZero.description": "When set to Yes, includes 0 on the column chart Y-axis.",
  204. "axis.y.scale.includeZero.falseLabel": "Do not include",
  205. "axis.y.scale.includeZero.name": "Y-axis (column) includes zero",
  206. "axis.y.scale.includeZero.trueLabel": "Include",
  207. "axis.y.scale.max.description": "The maximum value that appears on the column chart Y-axis.",
  208. "axis.y.scale.max.name": "Y-axis (column) maximum value",
  209. "axis.y.scale.min.description": "The minimum value that appears on the column chart Y-axis.",
  210. "axis.y.scale.min.name": "Y-axis (column) minimum value",
  211. "axis.y.scale.nice.description": "When set to Yes, uses nice endpoint values on the column chart Y-axis.",
  212. "axis.y.scale.nice.falseLabel": "Do not nice",
  213. "axis.y.scale.nice.name": "Y-axis (column) nicing",
  214. "axis.y.scale.nice.trueLabel": "Apply nicing",
  215. "axis.y.ticks.display.description": "Shows or hides the column Y-axis tick marks.",
  216. "axis.y.ticks.display.falseLabel": "Hide",
  217. "axis.y.ticks.display.name": "Y-axis (column) show ticks",
  218. "axis.y.ticks.display.trueLabel": "Show",
  219. "axis.y.ticks.style.stroke.description": "The color of the column chart Y-axis ticks.",
  220. "axis.y.ticks.style.stroke.name": "Y-axis (column) tick color",
  221. "axis.y.title.display.description": "Shows or hides the column chart Y-axis title.",
  222. "axis.y.title.display.falseLabel": "Hide",
  223. "axis.y.title.display.name": "Y-axis (column) show title",
  224. "axis.y.title.display.trueLabel": "Show",
  225. "axis.y.title.style.fill.description": "The color of the column chart Y-axis title.",
  226. "axis.y.title.style.fill.name": "Y-axis (column) title color",
  227. "axis.y.title.style.font-family.description": "The font family names of the column chart Y-axis title.",
  228. "axis.y.title.style.font-family.name": "Y-axis (column) title font families",
  229. "axis.y.title.style.font-size.description": "The size of the column chart Y-axis title font (CSS size).",
  230. "axis.y.title.style.font-size.name": "Y-axis (column) title font size",
  231. "axis.y.title.style.font.description": "The font properties of the column chart Y-axis title (CSS styles).",
  232. "axis.y.title.style.font.name": "Y-axis (column) title font",
  233. "axis.y.title.text.description": "The title of the column chart Y-axis.",
  234. "axis.y.title.text.name": "Y-axis (column) title",
  235. "axis.y2.gridlines.display.description": "Shows or hides the line chart Y-axis gridlines.",
  236. "axis.y2.gridlines.display.falseLabel": "Hide",
  237. "axis.y2.gridlines.display.name": "Y-axis (line) show gridlines",
  238. "axis.y2.gridlines.display.trueLabel": "Show",
  239. "axis.y2.gridlines.style.stroke-dasharray.description": "The dash pattern that is applied to the line chart Y-axis gridlines.",
  240. "axis.y2.gridlines.style.stroke-dasharray.name": "Y-axis (line) gridline dash pattern",
  241. "axis.y2.gridlines.style.stroke.description": "The color of the line chart Y-axis gridline.",
  242. "axis.y2.gridlines.style.stroke.name": "Y-axis (line) gridline color",
  243. "axis.y2.labels.display.description": "Shows or hides the line chart Y-axis labels.",
  244. "axis.y2.labels.display.falseLabel": "Hide",
  245. "axis.y2.labels.display.name": "Y-axis (line) show labels",
  246. "axis.y2.labels.display.trueLabel": "Show",
  247. "axis.y2.labels.hideOverlap.description": "Shows or hides overlapping labels on the line chart Y-axis.",
  248. "axis.y2.labels.hideOverlap.falseLabel": "Do not hide",
  249. "axis.y2.labels.hideOverlap.name": "Y-axis (line) hide overlapping labels",
  250. "axis.y2.labels.hideOverlap.trueLabel": "Hide",
  251. "axis.y2.labels.layoutMode.description": "Configure the layout mode for the Y2-axis labels.",
  252. "axis.y2.labels.layoutMode.name": "Layout Mode",
  253. "axis.y2.labels.layoutMode.options.horizontal": "Horizontal",
  254. "axis.y2.labels.layoutMode.options.rotate90": "Rotated 90 degrees",
  255. "axis.y2.labels.rotation.description": "Rotates the line chart Y-axis labels.",
  256. "axis.y2.labels.rotation.name": "Y-axis (line) label rotation",
  257. "axis.y2.labels.style.fill.description": "The color of the line chart Y-axis labels.",
  258. "axis.y2.labels.style.fill.name": "Y-axis (line) label color",
  259. "axis.y2.labels.style.font-family.description": "The font families of the line chart Y-axis labels.",
  260. "axis.y2.labels.style.font-family.name": "Y-axis (line) label font families",
  261. "axis.y2.labels.style.font-size.description": "The size of the line chart Y-axis labels (CSS size).",
  262. "axis.y2.labels.style.font-size.name": "Y-axis (line) label font size",
  263. "axis.y2.labels.style.font.description": "The font properties of the line chart Y-axis labels (CSS styles).",
  264. "axis.y2.labels.style.font.name": "Y-axis (line) label font",
  265. "axis.y2.labels.style.text-anchor.description": "The text anchor position of the line chart Y-axis labels.",
  266. "axis.y2.labels.style.text-anchor.name": "Y-axis (line) label text anchor",
  267. "axis.y2.labels.style.text-anchor.options.end": "End",
  268. "axis.y2.labels.style.text-anchor.options.middle": "Middle",
  269. "axis.y2.labels.style.text-anchor.options.start": "Start",
  270. "axis.y2.labels.wrap.description": "Enables or disables label wrapping on the line chart Y-axis.",
  271. "axis.y2.labels.wrap.falseLabel": "Do not wrap",
  272. "axis.y2.labels.wrap.name": "Y-axis (line) label wrap",
  273. "axis.y2.labels.wrap.trueLabel": "Wrap",
  274. "axis.y2.labels.wrapValignment.description": "Vertically aligns the line chart Y-axis labels.",
  275. "axis.y2.labels.wrapValignment.name": "Y-axis (line) wrapped label alignment",
  276. "axis.y2.labels.wrapValignment.options.bottom": "Bottom",
  277. "axis.y2.labels.wrapValignment.options.middle": "Middle",
  278. "axis.y2.labels.wrapValignment.options.top": "Top",
  279. "axis.y2.labels.zoomPan.description": "Shows or hides the line chart Y-axis labels when panning and zooming.",
  280. "axis.y2.labels.zoomPan.falseLabel": "Show",
  281. "axis.y2.labels.zoomPan.name": "Y-axis (line) label hide pan-zoom",
  282. "axis.y2.labels.zoomPan.trueLabel": "Hide",
  283. "axis.y2.line.display.description": "Shows or hides the line Y-axis line.",
  284. "axis.y2.line.display.falseLabel": "Hide",
  285. "axis.y2.line.display.name": "Y-axis (line) show line",
  286. "axis.y2.line.display.trueLabel": "Show",
  287. "axis.y2.line.style.stroke.description": "The color of the line chart Y-axis line.",
  288. "axis.y2.line.style.stroke.name": "Y-axis (line) line color",
  289. "axis.y2.scale.includeZero.description": "When set to Yes, includes 0 on the line chart Y-axis.",
  290. "axis.y2.scale.includeZero.falseLabel": "Do not include",
  291. "axis.y2.scale.includeZero.name": "Y-axis (line) includes zero",
  292. "axis.y2.scale.includeZero.trueLabel": "Include",
  293. "axis.y2.scale.max.description": "The maximum value that appears on the line Y-axis",
  294. "axis.y2.scale.max.name": "Y-axis (line) maximum value",
  295. "axis.y2.scale.min.description": "The minimum value that appears on the line chart Y-axis.",
  296. "axis.y2.scale.min.name": "Y-axis (line) minimum value",
  297. "axis.y2.scale.nice.description": "When set to Yes, uses nice endpoint values on the line chart Y-axis.",
  298. "axis.y2.scale.nice.falseLabel": "Do not nice",
  299. "axis.y2.scale.nice.name": "Y-axis (line) nicing",
  300. "axis.y2.scale.nice.trueLabel": "Apply nicing",
  301. "axis.y2.ticks.display.description": "Shows or hides the line chart Y-axis tick marks.",
  302. "axis.y2.ticks.display.falseLabel": "Hide",
  303. "axis.y2.ticks.display.name": "Y-axis (line) show ticks",
  304. "axis.y2.ticks.display.trueLabel": "Show",
  305. "axis.y2.ticks.style.stroke.description": "The color of the line chart Y-axis ticks.",
  306. "axis.y2.ticks.style.stroke.name": "Y-axis (line) tick color",
  307. "axis.y2.title.display.description": "Shows or hides the line chart Y-axis title.",
  308. "axis.y2.title.display.falseLabel": "Hide",
  309. "axis.y2.title.display.name": "Y-axis (line) show title",
  310. "axis.y2.title.display.trueLabel": "Show",
  311. "axis.y2.title.style.fill.description": "The color of the line chart Y-axis title.",
  312. "axis.y2.title.style.fill.name": "Y-axis (line) title color",
  313. "axis.y2.title.style.font-family.description": "The font family names of the line chart Y-axis title.",
  314. "axis.y2.title.style.font-family.name": "Y-axis (line) title font families",
  315. "axis.y2.title.style.font-size.description": "The size of the line chart Y-axis title font (CSS size).",
  316. "axis.y2.title.style.font-size.name": "Y-axis (line) title font size",
  317. "axis.y2.title.style.font.description": "The font properties of the line chart Y-axis title (CSS styles).",
  318. "axis.y2.title.style.font.name": "Y-axis (line) title font",
  319. "axis.y2.title.text.description": "The title of the line chart Y-axis.",
  320. "axis.y2.title.text.name": "Y-axis (line) title",
  321. "background.chart.color.description": "The background color of the chart.",
  322. "background.chart.color.name": "Background color",
  323. "background.color.description": "The background color of the chart.",
  324. "background.elements.color.description": "The background color behind the elements of the chart.",
  325. "background.elements.color.name": "Elements background color",
  326. "color.null.description": "The color that is used for null values in the column chart.",
  327. "color.null.name": "Null color for columns",
  328. "color.palette.column.description": "The color palette to use for the column chart.",
  329. "color.palette.column.name": "Column color palette",
  330. "color.palette.line.description": "The color palette to use for the line chart.",
  331. "color.palette.line.name": "Line color palette",
  332. "column.applysize.description": "When set to Yes, the size of the columns is controlled by ordinal scales.",
  333. "column.applysize.name": "Apply size to ordinal columns",
  334. "column.borderColor.description": "The color of borders in the column chart.",
  335. "column.borderColor.name": "Column border color",
  336. "column.borderWidth.description": "The width of the borders in the column chart.",
  337. "column.borderWidth.name": "Column border width",
  338. "column.size.description": "The width (transposed height) of the columns when continuous data is used.",
  339. "column.size.name": "Column size",
  340. "composite.config.composite.description": "A visualization that combines the features of bar visualizations and line visualizations. Combination visualizations overlay a line chart on a column chart to plot multiple data series against one or more categories.",
  341. "composite.config.composite.label": "Advanced line and column",
  342. "composite.config.compositeOneDataSet.description": "A visualization that combines the features of bar visualizations and line visualizations. Combination visualizations overlay a line chart on a column chart.",
  343. "composite.config.compositeOneDataSet.label": "Simple line and column",
  344. "composite.config.compositeSmoothOneDataSet.description": "A visualization that combines the features of bar visualizations and line visualizations. Combination visualizations overlay a line chart on a column chart.",
  345. "composite.config.compositeSmoothOneDataSet.label": "Line and column",
  346. "composite.description": "Composite charts render a combination of a column chart and a line chart. The left axis refers to the column chart and the right axis refers to the line chart.",
  347. "composite.falseLabel.applySize": "Do not apply size",
  348. "composite.falseLabel.columnLegend": "Hide",
  349. "composite.falseLabel.delay": "No stagger",
  350. "composite.falseLabel.itemLabel": "Hide",
  351. "composite.falseLabel.lineLegend": "Hide",
  352. "composite.falseLabel.lineOnly": "Line only",
  353. "composite.falseLabel.sortX": "Do not sort lines (use data ordering)",
  354. "composite.label": "Composite",
  355. "composite.propertyPresentation.advanced.compositeSpecificProperties.description": "Composite-specific properties",
  356. "composite.propertyPresentation.advanced.compositeSpecificProperties.label": "Composite",
  357. "composite.propertyPresentation.advanced.y2AxisProperties.description": "The properties of the second Y axis.",
  358. "composite.propertyPresentation.advanced.y2AxisProperties.label": "Y2-axis",
  359. "composite.trueLabel.applySize": "Apply size",
  360. "composite.trueLabel.columnLegend": "Show",
  361. "composite.trueLabel.delay": "Use stagger",
  362. "composite.trueLabel.itemLabel": "Show",
  363. "composite.trueLabel.lineLegend": "Show",
  364. "composite.trueLabel.lineWithPoints": "Line with points",
  365. "composite.trueLabel.sortX": "Sort lines by x value",
  366. "contrast.label.color.description": "Adjust the label color to contrast with background.",
  367. "contrast.label.color.name": "Contrast label color with background",
  368. "data.handling.description": "The configuration that is used to plot the data.",
  369. "data.handling.name": "Configuration",
  370. "data.handling.options.Clustered": "Clustered",
  371. "data.handling.options.None": "None",
  372. "data.handling.options.Stacked": "Stacked",
  373. "data.handling.options.Stacked100": "Stacked 100%",
  374. "data.label.display.description": "Shows or hides data labels.",
  375. "data.label.display.name": "Data label",
  376. "data.label.type.description": "Type of data labels to display.",
  377. "data.label.type.name": "Data label type",
  378. "data.label.type.options.percentByCategory": "Percentage of category",
  379. "data.label.type.options.percentByColor": "Percentage of color (series)",
  380. "data.label.type.options.value": "Value",
  381. "datamodel.hierarchial.label": "Hierarchical data model",
  382. "datamodel.simple.description": "The data model for the simple composite chart.",
  383. "datamodel.simple.label": "Simple composite chart data model",
  384. "datamodel.tabular.composite.description": "The composite data model, providing separate column and line data sets.",
  385. "datamodel.tabular.label": "Tabular data model",
  386. "dataset.composite.description": "The data set for the composite chart.",
  387. "dataset.composite.label": "Tabular data sets - line and column",
  388. "dataset.hierarchial.label": "Hierarchical data set",
  389. "dataset.tabular.composite.column.description": "The tabular data set for the columns.",
  390. "dataset.tabular.composite.column.label": "Column tabular data set",
  391. "dataset.tabular.composite.line.description": "The tabular data set for the lines.",
  392. "dataset.tabular.composite.line.label": "Line tabular data set",
  393. "dataset.tabular.description": "The tabular data set of rows and columns.",
  394. "dataset.tabular.label": "Tabular data set",
  395. "dataset.tabular.link.description": "Determines the links between the nodes.",
  396. "dataset.tabular.link.label": "Tabular links data set",
  397. "dataset.tabular.node.description": "The tabular data set that defines the nodes.",
  398. "dataset.tabular.node.label": "Tabular node data set",
  399. "dataslost.label.composite.column.description": "The label for the columns.",
  400. "dataslot.categories.label": "Categories",
  401. "dataslot.category.label": "Category",
  402. "dataslot.children.description": "When applied to a tree node, returns the children of that node as an array-list.",
  403. "dataslot.children.label": "Children",
  404. "dataslot.color.composite.description": "The color of the columns.",
  405. "dataslot.color.composite.line.description": "The color of the lines.",
  406. "dataslot.color.description": "Determines the color of the shape.",
  407. "dataslot.color.label": "Color",
  408. "dataslot.colorLine.composite.line.description": "The color of the line.",
  409. "dataslot.colorLine.label": "Color line",
  410. "dataslot.group.composite.line.description": "Group that is used to combine points into lines. If not provided, all points are in one line. Groups are also used for the line color.",
  411. "dataslot.key.description": "Called for each row to match elements. Primarily used for transitions.",
  412. "dataslot.key.label": "Key",
  413. "dataslot.keyLine.description": "The key for the line.",
  414. "dataslot.keyLine.label": "Key line",
  415. "dataslot.label.composite.line.description": "If defined, the label of the point (not the line).",
  416. "dataslot.label.description": "Determines the label of the shape.",
  417. "dataslot.label.label": "Label",
  418. "dataslot.labelLine.composite.line.description": "The label for the line.",
  419. "dataslot.labelLine.label": "Label line",
  420. "dataslot.maximumValue.label": "Maximum value",
  421. "dataslot.source.label": "Source",
  422. "dataslot.sourceValue.label": "Source value",
  423. "dataslot.tabular.id.description": "The identifier for the nodes.",
  424. "dataslot.tabular.id.label": "Identifier",
  425. "dataslot.tabular.size.description": "Determines the size of the shape.",
  426. "dataslot.tabular.size.label": "Size",
  427. "dataslot.target.label": "Target",
  428. "dataslot.targetValue.label": "Target value",
  429. "dataslot.value.label": "Value",
  430. "dataslot.x.composite.description": "The X coordinate of the column. The value can be a number, string, or date.",
  431. "dataslot.x.label": "X axis",
  432. "dataslot.y.composite.description": "The Y value (extent) of the column. The value must be a number.",
  433. "dataslot.y.label": "Y axis",
  434. "dataslot.yColumn.composite.description": "The Y value (extent) of the column. The value must be a number.",
  435. "dataslot.yColumn.label": "Column value",
  436. "dataslot.yLine.composite.description": "The Y value (extent) of the line. The value must be a number.",
  437. "dataslot.yLine.label": "Line value",
  438. "dataslot.yStart.composite.description": "The start position of the column on the Y scale.",
  439. "dataslot.yStart.composite.label": "Y start",
  440. "defaultPalette.description": "Rave2 default description",
  441. "defaultPalette.label": "Rave2 default",
  442. "effect.delay.description": "Staggers (delays) the transitions along the X coordinate.",
  443. "effect.delay.name": "Stagger transition",
  444. "effect.duration.description": "The animation duration, in ms.",
  445. "effect.duration.name": "Animation duration (ms)",
  446. "effect.name.description": "The effect that is used when the chart is drawn.",
  447. "effect.name.name": "Animation",
  448. "effect.name.options.none": "None",
  449. "effect.name.options.transition": "Transition",
  450. "item.label.description": "Shows or hides item labels.",
  451. "item.label.name": "Item labels",
  452. "label.shadow.description": "Show or hide shadow for labels.",
  453. "label.shadow.name": "Label shadow",
  454. "labelResolution.description": "The method to use to resolve label overlaps.",
  455. "labelResolution.name": "Label resolution",
  456. "labelResolution.options.DropLabels": "Drop labels",
  457. "labelResolution.options.MoveLabels": "Move labels",
  458. "labelResolution.options.none": "None",
  459. "labelstyle.font.description": "Font styles for the item labels",
  460. "labelstyle.font.name": "Item label font",
  461. "layout.axissize.bottom.max.description": "The maximum size of the bottom axis, as a CSS size or percentage.",
  462. "layout.axissize.bottom.max.name": "Bottom axis maximum size",
  463. "layout.axissize.bottom.min.description": "The minimum size of the bottom axis, as a CSS size or percentage.",
  464. "layout.axissize.bottom.min.name": "Bottom axis minimum size",
  465. "layout.axissize.bottom.preferred.description": "The preferred size of the bottom axis, as a CSS size or percentage.",
  466. "layout.axissize.bottom.preferred.name": "Bottom axis preferred size",
  467. "layout.axissize.left.max.description": "The maximum size of the left axis, as a CSS size or percentage.",
  468. "layout.axissize.left.max.name": "Left axis maximum size",
  469. "layout.axissize.left.min.description": "The minimum size of the left axis, as a CSS size or percentage.",
  470. "layout.axissize.left.min.name": "Left axis minimum size",
  471. "layout.axissize.left.preferred.description": "The preferred size of the left axis, as a CSS size or percentage.",
  472. "layout.axissize.left.preferred.name": "Left axis preferred size",
  473. "layout.axissize.right.max.description": "The maximum size of the right axis, as a CSS size or percentage.",
  474. "layout.axissize.right.max.name": "Right axis maximum size",
  475. "layout.axissize.right.min.description": "The minimum size of the right axis, as a CSS size or percentage.",
  476. "layout.axissize.right.min.name": "Right axis minimum size",
  477. "layout.axissize.right.preferred.description": "The preferred size of the right axis, as a CSS size or percentage.",
  478. "layout.axissize.right.preferred.name": "Right axis preferred size",
  479. "layout.axissize.top.max.description": "The maximum size of the top axis, as a CSS size or percentage.",
  480. "layout.axissize.top.max.name": "Top axis maximum size",
  481. "layout.axissize.top.min.description": "The minimum size of the top axis, as a CSS size or percentage.",
  482. "layout.axissize.top.min.name": "Top axis minimum size",
  483. "layout.axissize.top.preferred.description": "The preferred size of the top axis, as a CSS size or percentage.",
  484. "layout.axissize.top.preferred.name": "Top axis preferred size",
  485. "layout.chart.padding.bottom.description": "The bottom padding for the chart.",
  486. "layout.chart.padding.bottom.name": "Bottom padding",
  487. "layout.chart.padding.left.description": "The left padding for the chart.",
  488. "layout.chart.padding.left.name": "Left padding",
  489. "layout.chart.padding.right.description": "Right padding for the chart.",
  490. "layout.chart.padding.right.name": "Right padding",
  491. "layout.chart.padding.top.description": "The top padding for the chart.",
  492. "layout.chart.padding.top.name": "Top padding",
  493. "layout.legendchart.align.description": "Whether to align the legend to the interior of the chart.",
  494. "layout.legendchart.align.name": "Align legend to chart",
  495. "layout.legendchart.gap.description": "Space between the chart and the legend, as a CSS size or percentage.",
  496. "layout.legendchart.gap.name": "Space between legend and chart",
  497. "layout.legendsize.max.description": "The maximum size of the legend, as a CSS size or percentage.",
  498. "layout.legendsize.max.name": "Maximum size",
  499. "layout.legendsize.min.description": "The minimum size of the legend, as a CSS size or percentage.",
  500. "layout.legendsize.min.name": "Minimum size",
  501. "layout.legendsize.preferred.description": "The preferred size of the legend, as a CSS size or percentage.",
  502. "layout.legendsize.preferred.name": "Preferred size",
  503. "layout.padding.description": "The padding around the chart and legend.",
  504. "layout.padding.name": "Padding",
  505. "legend.column.display.description": "Shows or hides the legend for the column chart.",
  506. "legend.column.display.name": "Show column legend",
  507. "legend.column.entrystyle.font.description": "The font style of the column chart legend entries.",
  508. "legend.column.entrystyle.font.name": "Column legend entry font",
  509. "legend.column.title.description": "The title of the column chart legend.",
  510. "legend.column.title.name": "Column legend title",
  511. "legend.column.titlestyle.fill.description": "The color of the column chart legend title.",
  512. "legend.column.titlestyle.fill.name": "Column legend title color",
  513. "legend.column.titlestyle.font.description": "The font style of the column chart legend title.",
  514. "legend.column.titlestyle.font.name": "Column legend title font",
  515. "legend.column.titlestyle.fontfamily.description": "The font family of the column chart legend title.",
  516. "legend.column.titlestyle.fontfamily.name": "Column legend title font family",
  517. "legend.column.titlestyle.fontsize.description": "The font size of the column chart legend title.",
  518. "legend.column.titlestyle.fontsize.name": "Column legend title font size",
  519. "legend.display.description": "Shows or hides the legend.",
  520. "legend.display.falseLabel": "Hide",
  521. "legend.display.name": "Show legend",
  522. "legend.display.trueLabel": "Show",
  523. "legend.entrystyle.font.description": "The font properties of the legend entry.",
  524. "legend.entrystyle.font.name": "Entry font",
  525. "legend.line.display.description": "Shows or hides the line chart legend.",
  526. "legend.line.display.name": "Show line legend",
  527. "legend.line.entrystyle.font.description": "The font style of the line chart legend entries.",
  528. "legend.line.entrystyle.font.name": "Line legend entry font",
  529. "legend.line.title.description": "The title of the line chart legend.",
  530. "legend.line.title.name": "Line legend title",
  531. "legend.line.titlestyle.fill.description": "The color of the line chart legend title.",
  532. "legend.line.titlestyle.fill.name": "Line legend title color",
  533. "legend.line.titlestyle.font.description": "The font style of the line chart legend title.",
  534. "legend.line.titlestyle.font.name": "Line legend title font",
  535. "legend.line.titlestyle.fontfamily.description": "The font family of the line chart legend title.",
  536. "legend.line.titlestyle.fontfamily.name": "Line legend title font family",
  537. "legend.line.titlestyle.fontsize.description": "The font size of the line chart legend title.",
  538. "legend.line.titlestyle.fontsize.name": "Line legend title font size",
  539. "legend.position.description": "The position of the legend in the chart.",
  540. "legend.position.name": "Legend position",
  541. "legend.position.options.bottom": "Bottom",
  542. "legend.position.options.left": "Left",
  543. "legend.position.options.right": "Right",
  544. "legend.position.options.top": "Top",
  545. "legend.title.description": "The title of the legend.",
  546. "legend.title.name": "Title",
  547. "legend.titlestyle.fill.description": "The color of the legend title.",
  548. "legend.titlestyle.fill.name": "Title color",
  549. "legend.titlestyle.font.description": "The font properties of the legend title.",
  550. "legend.titlestyle.font.name": "Title font",
  551. "legend.titlestyle.fontfamily.description": "The font family of the legend title.",
  552. "legend.titlestyle.fontfamily.name": "Title font family",
  553. "legend.titlestyle.fontsize.description": "The font size of the legend title.",
  554. "legend.titlestyle.fontsize.name": "Title font size",
  555. "lineWithPoints.display.description": "In the line chart, shows line and points, line only, or points only.",
  556. "lineWithPoints.display.name": "Line chart display mode",
  557. "lineWithPoints.display.options.line": "Line(s) only",
  558. "lineWithPoints.display.options.linePoints": "Line and points",
  559. "lineWithPoints.display.options.points": "Points only",
  560. "lineWithPoints.interpolate.description": "Controls how the line in the line chart is drawn.",
  561. "lineWithPoints.interpolate.name": "Interpolation mode",
  562. "lineWithPoints.interpolate.options.basis": "Basis",
  563. "lineWithPoints.interpolate.options.basis-open": "Basis-open",
  564. "lineWithPoints.interpolate.options.cardinal": "Cardinal",
  565. "lineWithPoints.interpolate.options.cardinal-open": "Cardinal-open",
  566. "lineWithPoints.interpolate.options.linear": "Linear",
  567. "lineWithPoints.interpolate.options.monotone": "Monotone",
  568. "lineWithPoints.interpolate.options.step": "Step",
  569. "lineWithPoints.interpolate.options.step-after": "Step-after",
  570. "lineWithPoints.interpolate.options.step-before": "Step-before",
  571. "lineWithPoints.showMissingAsGap.description": "Show missing data as gap instead of interpolating a line across the missing data",
  572. "lineWithPoints.showMissingAsGap.name": "Show missing data as gap",
  573. "lineWithPoints.size.description": "The size, in square pixels, of the line-with-points symbol.",
  574. "lineWithPoints.size.name": "Line-with-points size",
  575. "lineWithPoints.symbol.description": "The shape that is used for the line-with-points symbol.",
  576. "lineWithPoints.symbol.name": "Line-with-points symbol",
  577. "lineWithPoints.symbol.options.circle": "Circle",
  578. "lineWithPoints.symbol.options.cross": "Cross",
  579. "lineWithPoints.symbol.options.diamond": "Diamond",
  580. "lineWithPoints.symbol.options.donut": "Donut",
  581. "lineWithPoints.symbol.options.donut-plus": "Donut-plus",
  582. "lineWithPoints.symbol.options.horizontal-rectangle": "Horizontal-rectangle",
  583. "lineWithPoints.symbol.options.rectangle": "Rectangle",
  584. "lineWithPoints.symbol.options.square": "Square",
  585. "lineWithPoints.symbol.options.star": "Star",
  586. "lineWithPoints.symbol.options.triangle-down": "Triangle-down",
  587. "lineWithPoints.symbol.options.triangle-left": "Triangle-left",
  588. "lineWithPoints.symbol.options.triangle-right": "Triangle-right",
  589. "lineWithPoints.symbol.options.triangle-up": "Triangle-up",
  590. "lineWithPoints.symbol.options.vertical-rectangle": "Vertical-rectangle",
  591. "propertyPresentation.advanced.axisSizeProperties.description": "Axis size properties.",
  592. "propertyPresentation.advanced.axisSizeProperties.label": "Axis size",
  593. "propertyPresentation.advanced.clientBehaviorProperties.description": "Client side properties.",
  594. "propertyPresentation.advanced.clientBehaviorProperties.label": "Client behavior",
  595. "propertyPresentation.advanced.commonProperties.description": "Common properties.",
  596. "propertyPresentation.advanced.commonProperties.label": "Common",
  597. "propertyPresentation.advanced.description": "Advanced list of all properties in a grouped structure.",
  598. "propertyPresentation.advanced.label": "Advanced",
  599. "propertyPresentation.advanced.labelProperties.description": "Label properties",
  600. "propertyPresentation.advanced.labelProperties.label": "Label",
  601. "propertyPresentation.advanced.legendProperties.description": "Legend properties.",
  602. "propertyPresentation.advanced.legendProperties.label": "Legend",
  603. "propertyPresentation.advanced.xAxisProperties.description": "X-axis properties.",
  604. "propertyPresentation.advanced.xAxisProperties.label": "X-axis",
  605. "propertyPresentation.advanced.yAxisProperties.description": "Y-axis properties.",
  606. "propertyPresentation.advanced.yAxisProperties.label": "Y-axis",
  607. "propertyPresentation.simple.description": "Simple list of the most common properties.",
  608. "propertyPresentation.simple.label": "Simple",
  609. "rave2.colorpalette.blueContinuousSequential.description": "Blue continuous sequential description",
  610. "rave2.colorpalette.blueContinuousSequential.label": "Blue continuous sequential",
  611. "rave2.colorpalette.blueDiscreteSequential.description": "Blue discrete sequential description",
  612. "rave2.colorpalette.blueDiscreteSequential.label": "Blue discrete sequential",
  613. "rave2.colorpalette.blueGreenContinuousDivergent.description": "Blue green continuous divergent description",
  614. "rave2.colorpalette.blueGreenContinuousDivergent.label": "Blue green continuous divergent",
  615. "rave2.colorpalette.blueGreenDiscreteDivergent.description": "Blue green discrete divergent description",
  616. "rave2.colorpalette.blueGreenDiscreteDivergent.label": "Blue green discrete divergent",
  617. "rave2.colorpalette.dark.description": "Dark description",
  618. "rave2.colorpalette.dark.label": "Dark",
  619. "rave2.colorpalette.financial.description": "Financial description",
  620. "rave2.colorpalette.financial.label": "Financial",
  621. "rave2.colorpalette.greenContinuousSequential.description": "Green continuous sequential description",
  622. "rave2.colorpalette.greenContinuousSequential.label": "Green continuous sequential",
  623. "rave2.colorpalette.greenDiscreteSequential.description": "Green discrete sequential description",
  624. "rave2.colorpalette.greenDiscreteSequential.label": "Green discrete sequential",
  625. "rave2.colorpalette.light.description": "Light description",
  626. "rave2.colorpalette.light.label": "Light",
  627. "rave2.colorpalette.medical.description": "Medical description",
  628. "rave2.colorpalette.medical.label": "Medical",
  629. "rave2.colorpalette.orangeContinuousSequential.description": "Orange continuous sequential description",
  630. "rave2.colorpalette.orangeContinuousSequential.label": "Orange continuous sequential",
  631. "rave2.colorpalette.orangeDiscreteSequential.description": "Orange discrete sequential description",
  632. "rave2.colorpalette.orangeDiscreteSequential.label": " Orange discrete sequential",
  633. "rave2.colorpalette.purpleContinuousSequential.description": "Purple continuous sequential description",
  634. "rave2.colorpalette.purpleContinuousSequential.label": "Purple continuous sequential",
  635. "rave2.colorpalette.purpleDiscreteSequential.description": "Purple discrete sequential description",
  636. "rave2.colorpalette.purpleDiscreteSequential.label": "Purple discrete sequential",
  637. "rave2.colorpalette.redBlueContinuousDivergent.description": "Red blue continuous divergent description",
  638. "rave2.colorpalette.redBlueContinuousDivergent.label": "Red blue continuous divergent",
  639. "rave2.colorpalette.redBlueDiscreteDivergent.description": "Red blue discrete divergent description",
  640. "rave2.colorpalette.redBlueDiscreteDivergent.label": "Red blue discrete divergent",
  641. "rave2.colorpalette.redBlueInverseContinuousDivergent.description": "Red blue inverse continuous divergent description",
  642. "rave2.colorpalette.redBlueInverseContinuousDivergent.label": "Red blue inverse continuous divergent",
  643. "rave2.colorpalette.redBlueInverseDiscreteDivergent.description": "Red blue inverse discrete divergent description",
  644. "rave2.colorpalette.redBlueInverseDiscreteDivergent.label": "Red blue inverse discrete divergent",
  645. "rave2.colorpalette.redContinuousSequential.description": "Red continuous sequential description",
  646. "rave2.colorpalette.redContinuousSequential.label": "Red continuous sequential",
  647. "rave2.colorpalette.redDiscreteSequential.description": "Red discrete sequential description",
  648. "rave2.colorpalette.redDiscreteSequential.label": " Red discrete sequential",
  649. "rave2.colorpalette.redGreenContinuousDivergent.description": "Red green continuous divergent description",
  650. "rave2.colorpalette.redGreenContinuousDivergent.label": "Red green continuous divergent",
  651. "rave2.colorpalette.redGreenDiscreteDivergent.description": "Red green discrete divergent description",
  652. "rave2.colorpalette.redGreenDiscreteDivergent.label": "Red green discrete divergent",
  653. "rave2.colorpalette.redGreenInverseContinuousDivergent.description": "Red green inverse continuous divergent description",
  654. "rave2.colorpalette.redGreenInverseContinuousDivergent.label": "Red green inverse continuous divergent",
  655. "rave2.colorpalette.redGreenInverseDiscreteDivergent.description": "Red green inverse discrete divergent description",
  656. "rave2.colorpalette.redGreenInverseDiscreteDivergent.label": "Red green inverse discrete divergent",
  657. "rave2.colorpalette.tealContinuousSequential.description": "Teal continuous sequential description",
  658. "rave2.colorpalette.tealContinuousSequential.label": "Teal continuous sequential",
  659. "rave2.colorpalette.tealDiscreteSequential.description": "Teal discrete sequential description",
  660. "rave2.colorpalette.tealDiscreteSequential.label": "Teal discrete sequential",
  661. "rave2.colorpalette.tealPurpleContinuousDivergent.description": "Teal purple continuous divergent description",
  662. "rave2.colorpalette.tealPurpleContinuousDivergent.label": "Teal purple continuous divergent",
  663. "rave2.colorpalette.tealPurpleDiscreteDivergent.description": "Teal purple discrete divergent description",
  664. "rave2.colorpalette.tealPurpleDiscreteDivergent.label": "Teal purple discrete divergent",
  665. "rave2.colorpalette.violetContinuousSequential.description": "Violet continuous sequential description",
  666. "rave2.colorpalette.violetContinuousSequential.label": "Violet continuous sequential",
  667. "rave2.colorpalette.violetDiscreteSequential.description": "Violet discrete sequential description",
  668. "rave2.colorpalette.violetDiscreteSequential.label": "Violet discrete sequential",
  669. "rave2.colorpalette.yellowContinuousSequential.description": "Yellow continuous sequential description",
  670. "rave2.colorpalette.yellowContinuousSequential.label": "Yellow continuous sequential",
  671. "rave2.colorpalette.yellowDiscreteSequential.description": "Yellow discrete sequential description",
  672. "rave2.colorpalette.yellowDiscreteSequential.label": "Yellow discrete sequential",
  673. "sortX.description": "Sorts the line points by x.",
  674. "sortX.name": "Sort points by x",
  675. "swapLineColumn.description": "When set to Yes, shows the line chart axis on the left and the column chart axis on the right.",
  676. "swapLineColumn.falseLabel": "Do not switch",
  677. "swapLineColumn.name": "Switch line and column axes",
  678. "swapLineColumn.trueLabel": "Switch",
  679. "transpose.description": "When set to Yes, the Y-axis shows the independent scale and the X-axis shows the dependent scale.",
  680. "transpose.falseLabel": "Do not transpose",
  681. "transpose.name": "Switch X and Y axes",
  682. "transpose.trueLabel": "Transpose",
  683. "zoom.description": "Zooms the chart in the X, Y, Y2, or in all directions.",
  684. "zoom.name": "Zoom",
  685. "zoom.options.all": "All",
  686. "zoom.options.none": "None",
  687. "zoom.options.x": "X",
  688. "zoom.options.y": "Y",
  689. "zoom.options.y2": "Y2"
  690. }
  691. },{}],3:[function(require,module,exports){
  692. (function(){var $={};var com_ibm_rave_library_Library=rave["library"];rave["internal"]["Declare"]=rave["_"]["com_ibm_rave_core_nativeImpl_Declare"];rave["internal"]["CSSUtil"]=rave["_"]["com_ibm_rave_core_internal_css_CSSUtil"];var com_ibm_rave_bundles_RaveBundle=rave["internal"]["Declare"](rave["library"]["internal"]["Bundle"],{"loader":null,"constructor":function(){this["loader"]=new com_ibm_rave_bundles_internal_nativeImpl_RaveBundleResourceLoader("/com/ibm/rave/bundles/"+this["getName"]())},"loadResources":function(){this.setMessageCatalog(rave["library"]["internal"]["Bundle"].DEFAULT_LOCALE,
  693. require("./i18n/messages_en.json"));var array=require("./configuration/configuration.json");if(array){var __i_enFor0=0;var __exp_enFor0=array;for(var __len_enFor0=__exp_enFor0.length;__i_enFor0<__len_enFor0;++__i_enFor0){var artifact=__exp_enFor0[__i_enFor0];this.initialize(artifact)}}require("./vizlibrary.css")}});var com_ibm_rave_bundles_internal_nativeImpl_RaveBundleResourceLoader=function(){};var com_ibm_rave_bundles_views_BundleView=rave["internal"]["Declare"](rave["library"]["internal"]["AbstractView"],
  694. {"_backgroundComponent":null,"_layoutComponent":null,"_clip":null,"_axes":null,"_legends":null,"_chart":null,"dataModel":null,"_zoomP":null,"_zoomS":null,"constructor":function(context){},"getGroupStructure":function(){},"setup":function(){rave["library"]["internal"]["AbstractView"].prototype["setup"].call(this);this["_backgroundComponent"]=new com_ibm_rave_bundles_components_BackgroundComponentImpl;this["_layoutComponent"]=new com_ibm_rave_bundles_components_ChartLayoutComponentImpl;this["_clip"]=
  695. new com_ibm_rave_bundles_components_ClipPathComponentImpl(this.context.instanceId()+"clipViewport");if(this["isZoomSupported"]())this["resetZoom"]();this["_legends"]=new com_ibm_rave_bundles_components_LegendsManager(this.context,this["getLegendCount"]());if(this["isAxesManagerRequired"]())this["_axes"]=new com_ibm_rave_bundles_components_AxesManager(this.context);this._groupStructure=this["getGroupStructure"]()},"preDraw":function(chartId){this.cancelTransitions();rave["library"]["internal"]["AbstractView"].createGroupStructure(this.context.node,
  696. this._groupStructure);this["_chart"]=this.context.node.selectAll(chartId)},"resetZoom":function(){this["_zoomP"]=[0,0,0,0];this["_zoomS"]=[1,1,1,1]},"validateDataModel":function(elementsToRemove){if(elementsToRemove!==null||arguments.length>1)elementsToRemove=Array.prototype.slice.call(arguments);this["dataModel"]=this.context["dataModel"]();if(!this["dataValid"]()){var __i_enFor0=0;for(var __len_enFor0=elementsToRemove.length;__i_enFor0<__len_enFor0;++__i_enFor0){var e=elementsToRemove[__i_enFor0];
  697. this["_chart"].selectAll(e).selectAll("*").remove()}this["_legends"]["visible"](false)["draw"]();return false}return true},"dataValid":function(){return this["dataModel"].validate()},"getLegendCount":function(){return 1},"isAxesManagerRequired":function(){return false},"isZoomSupported":function(){return true},"getProperty":function(s){return this.context.getPropertyValue(s)},"getPropertyDefault":function(s){return this.context["getPropertyDefault"](s)},"getBooleanProperty":function(s){var obj=this["getProperty"](s);
  698. return obj},"getDoubleProperty":function(s){var obj=this["getProperty"](s);return+obj},"getIntProperty":function(s){var obj=this["getProperty"](s);return~~obj},"getStringProperty":function(id){var obj=this["getProperty"](id);return obj==null?null:""+obj},"getStringPropertyEmptyAsNull":function(id){var s=this["getStringProperty"](id);return s==null||s.length==0?null:s},"getCSSSizeToPixelNumber":function(id){var cssSize=rave["library"]["internal"]["CSSConverter"].convertCSSSizeToPixelNumber(this.context.getPropertyValue(id),
  699. 100,10);return cssSize==null?0:cssSize},"getEffectDuration":function(effect){var duration=this["getIntProperty"]("effect.duration");if(duration<0||effect==null||"none"==effect)duration=0;return duration},"getTopPadding":function(){return this["getProperty"]("layout.chart.padding.top")},"getLeftPadding":function(){return this["getProperty"]("layout.chart.padding.left")},"getBottomPadding":function(){return this["getProperty"]("layout.chart.padding.bottom")},"getRightPadding":function(){return this["getProperty"]("layout.chart.padding.right")},
  700. "getLayoutPadding":function(){return this["getProperty"]("layout.padding")},"getLegendChartGap":function(){return this["getProperty"]("layout.legendchart.gap")},"getLegendChartAlign":function(){return this["getBooleanProperty"]("layout.legendchart.align")},"getLegendPosition":function(){return this["getStringProperty"]("legend.position")},getPalette$0:function(){return this.getPalette$1("color.palette")},getPalette$1:function(paletteID){var id=this["getStringProperty"](paletteID);var colorPalette=
  701. com_ibm_rave_library_Library.palettes["getPalette"](id);return!colorPalette?com_ibm_rave_library_Library.palettes.getDefaultPalette():colorPalette},getDynamicPalette$0:function(){return this.getDynamicPalette$1("color.palette","color.dynamicPalette.min","color.dynamicPalette.mid","color.dynamicPalette.max")},getDynamicPalette$1:function(paletteID,minId,midId,maxId){var colorPalette;var min=this["getStringProperty"](minId);if(min!=null){var mid=this["getStringProperty"](midId);if(mid!=null){var max=
  702. this["getStringProperty"](maxId);if(max!=null){var fills=[min,mid,max];colorPalette=rave["library"]["internal"]["AbstractView"].getFillPalette(fills)}}}return!colorPalette?this["getPalette"](paletteID):colorPalette},"prepareLayoutComponent":function(){this["_layoutComponent"]["setPreExecute"](this.context.getPreExecute())["overall"](new rave["internal"]["RectStruct"](0,0,this.context["size"].w,this.context["size"].h))["legendPosition"](this["getLegendPosition"]())["padding"](this["getLayoutPadding"]())["chartPadding"](this["getTopPadding"](),
  703. this["getLeftPadding"](),this["getBottomPadding"](),this["getRightPadding"]())["legendChartGap"](this["getLegendChartGap"]())["legendChartAlign"](this["getLegendChartAlign"]())},"prepareLayoutSizables":function(layoutComponent,useX2,useY1,useX1,useY2,useLegend){layoutComponent["removeAxisSizables"]();if(useX1)layoutComponent["addAxisSizable"](this["_axes"]["axisComponent"](0));if(useY1)layoutComponent["addAxisSizable"](this["_axes"]["axisComponent"](2));if(useX2)layoutComponent["addAxisSizable"](this["_axes"]["axisComponent"](1));
  704. if(useY2)layoutComponent["addAxisSizable"](this["_axes"]["axisComponent"](3));layoutComponent["legendSize"](useLegend?this["_legends"]:null)},"resetUpdate":function(){this.updateType=4},"isUpdateNothing":function(){return this.updateType==4},"isShowLegend":function(){return this["getBooleanProperty"]("legend.display")},cancelTransitions:function(){this.context.node.selectAll("*").interrupt()},"setBackgroundProperties":function(elementRect,duration){this["_backgroundComponent"]["setPreExecute"](this.context.getPreExecute())["size"](this.context["size"])["backgroundColor"](this["getStringProperty"]("background.chart.color"));
  705. this.context.node.selectAll("rect.background.chart")["transition"]()["duration"](duration).call(this["_backgroundComponent"]);this["_backgroundComponent"]["setPreExecute"](this.context.getPreExecute())["rect"](elementRect)["backgroundColor"](this["getStringProperty"]("background.elements.color"));this.context.node.selectAll("rect.background.elements")["transition"]()["duration"](duration).call(this["_backgroundComponent"])},"isShowDataLabels":function(){return this["getBooleanProperty"]("data.label.display")},
  706. "isShowDataLabelsAsPercentageOfColor":function(){var dataLabel=this["getStringProperty"]("data.label.type");return"PercentOfColor"==dataLabel},"isShowDataLabelsAsPercentageOfCategory":function(){var dataLabel=this["getStringProperty"]("data.label.type");return"PercentOfCategory"==dataLabel},"getlDataLabelAccessor":function(dataSet,slot,isInterval){var labelAccessor;var labelEntry=dataSet.slot(slot).entry();if(!labelEntry)if(this["isShowDataLabelsAsPercentageOfCategory"]())labelAccessor=isInterval?
  707. com_ibm_rave_bundles_components_IntervalDataUtilities["PERCENT_OF_CATEGORY_ACCESSOR"]:com_ibm_rave_bundles_data_PointDataUtilities["PERCENT_OF_CATEGORY_ACCESSOR"];else if(this["isShowDataLabelsAsPercentageOfColor"]())labelAccessor=isInterval?com_ibm_rave_bundles_components_IntervalDataUtilities["PERCENT_OF_COLOR_ACCESSOR"]:com_ibm_rave_bundles_data_PointDataUtilities["PERCENT_OF_COLOR_ACCESSOR"];else labelAccessor=isInterval?com_ibm_rave_bundles_components_IntervalDataUtilities["VALUE_ACCESSOR"]:
  708. com_ibm_rave_bundles_data_PointDataUtilities["Y_ACCESSOR"];else labelAccessor=rave["library"]["internal"]["AbstractView"].originalDatumAccessor(rave["library"]["internal"]["AbstractView"].accessorOf(labelEntry));return labelAccessor},"getEntryForDataLabelFormatter":function(dataSet,labelSlot,defaultSlot){var labelEntry=dataSet.slot(labelSlot).entry();return labelEntry?labelEntry:dataSet.slot(defaultSlot).entry()},"getBackgroundConstrastLabelStyle":function(){var labelFontStyle=com_ibm_rave_bundles_utilities_FontPropertyParser["parseCSSFont"](this["getStringProperty"]("labelstyle.font"));
  709. if(this["getBooleanProperty"]("contrast.label.color")==false)return labelFontStyle;var defaultFillColor;if(labelFontStyle){defaultFillColor=labelFontStyle["fill"];if(defaultFillColor==null)defaultFillColor=labelFontStyle["color"]}else labelFontStyle={};if(defaultFillColor==null)defaultFillColor="#000000";labelFontStyle["fill"]=com_ibm_rave_bundles_utilities_ColorUtil["getContrastColor"](this["getStringProperty"]("background.elements.color"),defaultFillColor);return labelFontStyle},"getPalette":function(a0){var args=
  710. arguments;if(args.length==0)return this.getPalette$0();if(args.length==1&&(a0==null||typeof a0==="string"))return this.getPalette$1(a0);return rave["library"]["internal"]["AbstractView"].prototype["getPalette"].apply(this,args)},"getDynamicPalette":function(a0,a1,a2,a3){var args=arguments;if(args.length==0)return this.getDynamicPalette$0();return this.getDynamicPalette$1(a0,a1,a2,a3)}});var com_ibm_rave_bundles_components_BundleComponentImpl=rave["internal"]["Declare"]({"_renderCallback":null,_$functionClassMethod:function(){var _$self=
  711. function(args){if(args!==null||arguments.length>1)args=Array.prototype.slice.call(arguments,0);var self=_$self;this.each(function(data,index,groupIndex){self["execute"](rave.select(this))});return null};return _$self},"execute":function(g){},"setPreExecute":function(callback){this._preExecuteCallback=callback;return this},"preExecute":function(){if(this._preExecuteCallback)this._preExecuteCallback(this)},"setRenderCallback":function(callback){this["_renderCallback"]=callback;return this},"type":function(){},
  712. "updateBorder":function(s,borderWidth,borderColor){if(borderWidth!=null)s.each(function(data,index,groupIndex){if(!this.rave_getProperty("selected")&&!this.rave_getProperty("highlighted"))this.rave_setStyle("stroke-width",borderWidth,"")});if(borderColor!=null)s.each(function(data,index,groupIndex){if(!this.rave_getProperty("selected")&&!this.rave_getProperty("highlighted"))this.rave_setStyle("stroke",borderColor,"")})},"getDefaultLabelColor":function(_labelStyle){if(!_labelStyle)return"#000000";
  713. var defaultFillColor;if(_labelStyle){defaultFillColor=_labelStyle["fill"];if(defaultFillColor==null)defaultFillColor=_labelStyle["color"]}if(defaultFillColor==null)defaultFillColor="#000000";return defaultFillColor.toString()}});var com_ibm_rave_bundles_component_BackgroundComponent=rave["internal"]["Declare"].implement();com_ibm_rave_bundles_component_BackgroundComponent["COMPONENT_TYPE"]="BackgroundComponent";var com_ibm_rave_bundles_component_ChartLayoutComponent=rave["internal"]["Declare"].implement();
  714. com_ibm_rave_bundles_component_ChartLayoutComponent["COMPONENT_TYPE"]="ChartLayoutComponent";var com_ibm_rave_bundles_components_LegendsManager=rave["internal"]["Declare"]({_numLegends:0,_doTransition:false,_duration:0,_spaceUsed:0,"constructor":function(context,numLegends){this._context=context;this._numLegends=numLegends;this._comp=new com_ibm_rave_bundles_components_LegendComponentImpl;this._rectangle=new rave["internal"]["RectStruct"](0,0,0,0);this._orient="vertical";this._preExecute=null;this._selectors=
  715. [];this._palettes=[];this._scale=[];this._swatchSizes=[];this._shapes=[];this._titles=[];this._titleFonts=[];this._titleFills=[];this._titleFontSizes=[];this._titleFontFamilies=[];this._entryFonts=[];this._formatters=[];this._lastVisible=[];this._visible=[];this._dataSlotEntries=[];for(var i=0;i<this._numLegends;++i){this._selectors[i]=null;this._palettes[i]=null;this._swatchSizes[i]=null;this._shapes[i]=null;this._titles[i]=null;this._formatters[i]=null;this._lastVisible[i]=false;this._visible[i]=
  716. true}},getLegendComponent:function(){return this._comp},visible$0:function(legendIndex,visible){if(legendIndex<this._visible.length)this._visible[legendIndex]=visible;return this},visible$1:function(visible){for(var i=0;i<this._visible.length;++i)this._visible[i]=visible;return this},"rectangle":function(rect){if(rect)this._rectangle=new rave["internal"]["RectStruct"](rect.x,rect.y,rect.width,rect.height);return this},"orient":function(orient){if("horizontal"==orient||"vertical"==orient)this._orient=
  717. orient;return this},"position":function(position){return this["orient"](com_ibm_rave_bundles_components_LegendComponentImpl["orientationOf"](position))},"transition":function(doTransition,duration){this._doTransition=doTransition;this._duration=duration>=0?duration:0;return this},"setPreExecute":function(callback){this._preExecute=callback;return this},"selector":function(index,selector){if(index>=0&&index<this._numLegends)this._selectors[index]=selector;return this},"palette":function(index,palette){if(index>=
  718. 0&&index<this._numLegends)this._palettes[index]=palette;return this},"shape":function(index,shape){if(index>=0&&index<this._numLegends)this._shapes[index]=shape;return this},"title":function(index,title){if(index>=0&&index<this._numLegends)this._titles[index]=title;return this},"titleFont":function(index,titleFont){if(index>=0&&index<this._numLegends)this._titleFonts[index]=titleFont;return this},"entryFont":function(index,entryFont){if(index>=0&&index<this._numLegends)this._entryFonts[index]=entryFont;
  719. return this},"titleFill":function(index,titleFill){if(index>=0&&index<this._numLegends)this._titleFills[index]=titleFill;return this},"titleFontSize":function(index,titleFontSize){if(index>=0&&index<this._numLegends)this._titleFontSizes[index]=titleFontSize;return this},"titleFontFamily":function(index,titleFontFamily){if(index>=0&&index<this._numLegends)this._titleFontFamilies[index]=titleFontFamily;return this},"scale":function(index,scale){if(index>=0&&index<this._numLegends)this._scale[index]=
  720. scale;return this},"swatchSize":function(index,swatchSize){if(index>=0&&index<this._numLegends)this._swatchSizes[index]=swatchSize;return this},"formatterList":function(index,entries,format,defaultFunction){if(index>=0&&index<this._numLegends)this._formatters[index]=this._context.getCustomFormatterWithFlag(["legend","all"],rave["library"]["internal"]["BundleContext"].makeCustomFormatInfo("legend-label","ROLE_NONE",format,entries),defaultFunction,false);return this},"formatter":function(index,entry){var entries=
  721. [];if(entry)entries.push(entry);return this["formatterList"](index,entries,"none",null)},"anyVisible":function(){for(var i=0;i<this._numLegends;++i)if(this._visible[i]==true&&(this._palettes[i]||this._swatchSizes[i]))return true;return false},"setDataSlot":function(index,entry){if(index>=0&&index<this._numLegends)this._dataSlotEntries[index]=entry;return this["formatter"](index,entry)},preLayout$0:function(layoutComponent){this.preLayout$1(layoutComponent,true);return this},preLayout$1:function(layoutComponent,
  722. axesBeforeLegend){var layoutTransition=this._doTransition;var layoutDuration=this._duration;this._doTransition=false;this._duration=0;var children=[];for(var i=0;i<this._numLegends;++i)children[i]="g.layoutLegend-"+i;rave["library"]["internal"]["AbstractView"].createGroupStructure(this._context.node.select("g.legends-layout"),children);var layoutSelectors=[];var layoutLastVisible=[];for(i=0;i<this._numLegends;++i){layoutSelectors[i]=this._selectors[i];layoutLastVisible[i]=this._lastVisible[i];this._lastVisible[i]=
  723. false;if(this._selectors[i])this._selectors[i]=this._context.node.select("g.layoutLegend-"+i)}layoutComponent["preLayout"](true,!axesBeforeLegend);this["rectangle"](layoutComponent["legendRect"]());this["draw"]();this._doTransition=layoutTransition;this._duration=layoutDuration;this._context.node.select("g.legends-layout").selectAll("*").remove();for(i=0;i<this._numLegends;++i){this._lastVisible[i]=layoutLastVisible[i];this._selectors[i]=layoutSelectors[i]}return this},"draw":function(){var nVisible=
  724. 0;for(var i=0;i<this._numLegends;++i)if((this._swatchSizes[i]||this._palettes[i])&&this._visible[i])nVisible++;var x=this._rectangle.x;var y=this._rectangle.y;var dx;var dy;var size;if(nVisible==0){dx=0;dy=0;size=[this._rectangle.width,this._rectangle.height]}else if("horizontal"==this._orient){dx=this._rectangle.width/nVisible;dy=0;size=[dx,this._rectangle.height]}else{dx=0;dy=this._rectangle.height/nVisible;size=[this._rectangle.width,dy]}this._comp["orient"](this._orient)["size"](size);this._spaceUsed=
  725. 0;for(i=0;i<this._numLegends;++i)if(this._selectors[i]){var visible=this._visible[i]&&(this._palettes[i]||this._swatchSizes[i]);this._comp["visible"](visible)["colorPalette"](this._palettes[i])["orient"](this._orient)["setPreExecute"](this._preExecute)["shape"](this._shapes[i]!=null?this._shapes[i]:"square")["title"](this._titles[i])["titleFill"](this._titleFills[i])["titleFontSize"](this._titleFontSizes[i])["titleFontFamily"](this._titleFontFamilies[i])["labelFormat"](this._formatters[i])["swatchSize"](this._swatchSizes[i])["scale"](this._scale[i]);
  726. var fontStyle=this._context.getPropertyValue("legend.titlestyle.font");if(this._titleFonts[i]!=null&&!(this._titleFonts[i]==""))this._comp["titleFont"](this._titleFonts[i]);else if(fontStyle!=null&&!(fontStyle==""))this._comp["titleFont"](this._context.getPropertyValue("legend.titlestyle.font"));fontStyle=this._context.getPropertyValue("legend.entrystyle.font");if(this._entryFonts[i]!=null)this._comp["entryFont"](this._entryFonts[i]);else if(fontStyle!=null&&!(fontStyle==""))this._comp["entryFont"](this._context.getPropertyValue("legend.entrystyle.font"));
  727. var s=this._doTransition&&this._lastVisible[i]?this._selectors[i]["transition"]("transition")["duration"](this._duration):this._selectors[i];s.attr("transform","translate("+x+","+y+")").call(this._comp);var dataSlotEntries=[];if(this._dataSlotEntries[i])dataSlotEntries.push(this._dataSlotEntries[i]);this._selectors[i].selectAll(".legendTitle").property("dataSlots",dataSlotEntries);if(visible){x+=dx;y+=dy;if(this._comp["getSpaceUsed"]()>this._spaceUsed)this._spaceUsed=this._comp["getSpaceUsed"]()}this._lastVisible[i]=
  728. visible}else this._lastVisible[i]=false;return this},"getSizableType":function(){return 2},"getSizableOrientation":function(){return this._orient},"getPreferredSize":function(){return this._spaceUsed},"getSpillOverSize":function(){return 0},"visible":function(a0,a1){var args=arguments;if(args.length==1)return this.visible$1(a0);return this.visible$0(a0,a1)},"preLayout":function(a0,a1){var args=arguments;if(args.length==1)return this.preLayout$0(a0);return this.preLayout$1(a0,a1)}});var com_ibm_rave_bundles_utilities_FontPropertyParser=
  729. rave["internal"]["Declare"]({});com_ibm_rave_bundles_utilities_FontPropertyParser["parseCSSFont"]=function(fontStyle){if(fontStyle!=null&&fontStyle.length>0){var properties=fontStyle.split(new RegExp(";"));var fontStyles={};var __i_enFor0=0;for(var __len_enFor0=properties.length;__i_enFor0<__len_enFor0;++__i_enFor0){var property=properties[__i_enFor0];var fontMap=property.split(new RegExp(":"));if(fontMap.length==2){var key=fontMap[0].trim();fontStyles[key=="color"?"fill":key]=fontMap[1].trim()}}return fontStyles}return null};
  730. var com_ibm_rave_bundles_components_AxesManager=rave["internal"]["Declare"]({_firstDraw:false,_visible:true,_duration:0,_transpose:false,_swapX:false,_swapY:false,_layoutInProgress:false,_layoutMaxWidth:0,_layoutMaxHeight:0,_xPadding:0,_xOuterPadding:0,_yPadding:0,_yOuterPadding:0,_xPixelPad:0,_yPixelPad:0,_preventStaggerRotate45:false,"constructor":function(context){this._scales=[];this._suppressPanLabels=[];this._drawAxisLabels=[];this._axisComponents=[];this._lastAxisDrawSelectors=[];this._gridComponents=
  731. [];this._lastGridDrawSelectors=[];this._clearAxis=new com_ibm_rave_bundles_components_AxisComponentImpl;this._clearGrid=new com_ibm_rave_bundles_components_GridComponentImpl;this._axisSelectors=[];this._gridSelectors=[];this._axisRects=[];this._elementRect=new rave["internal"]["RectStruct"](0,0,0,0);this._lastAxisDrew=[];this._lastGridDrew=[];this._dataSlotEntries=[];this._layoutAxisOrder=[];this._context=context;for(var i=0;i<4;++i){this._scales[i]=null;this._suppressPanLabels[i]=false;this._axisComponents[i]=
  732. null;this._lastAxisDrawSelectors[i]=null;this._gridComponents[i]=null;this._lastGridDrawSelectors[i]=null;this._axisSelectors[i]=null;this._gridSelectors[i]=null;this._axisRects[i]=new rave["internal"]["RectStruct"](0,0,0,0);this._lastAxisDrew[i]=false;this._lastGridDrew[i]=false;this._dataSlotEntries[i]=[]}},"preLayout":function(layoutComponent,axesBeforeLegend,xPadding,xOuterPadding,xPixelPad,yPadding,yOuterPadding,yPixelPad){this._xPadding=xPadding;this._xOuterPadding=xOuterPadding;this._xPixelPad=
  733. xPixelPad;this._yPadding=yPadding;this._yOuterPadding=yOuterPadding;this._yPixelPad=yPixelPad;this._layoutInProgress=true;var layoutDuration=this._duration;this._duration=0;var children=["g.layoutAxis-bottom","g.layoutAxis-top","g.layoutAxis-left","g.layoutAxis-right","g.layoutGrid-bottom","g.layoutGrid-top","g.layoutGrid-left","g.layoutGrid-right"];rave["library"]["internal"]["AbstractView"].createGroupStructure(this._context.node.select("g.axes-layout"),children);var layoutAxisSelectors=[];var layoutGridSelectors=
  734. [];var layoutLastAxisDrew=[];for(var position=0;position<4;++position){if(this._axisComponents[position])this._axisComponents[position]["preLayout"]();layoutAxisSelectors[position]=this._axisSelectors[position];layoutGridSelectors[position]=this._gridSelectors[position];layoutLastAxisDrew[position]=this._lastAxisDrew[position];if(this._axisSelectors[position])this["axisSelector"](position,this._context.node.select("g.layoutAxis-"+com_ibm_rave_bundles_components_AxesManager.ORIENTATIONS[position]));
  735. if(this._gridSelectors[position])this["gridSelector"](position,this._context.node.select("g.layoutGrid-"+com_ibm_rave_bundles_components_AxesManager.ORIENTATIONS[position]))}layoutComponent["preLayout"](axesBeforeLegend,true);com_ibm_rave_bundles_components_AxesManager.setRect(this._elementRect,layoutComponent["elementRect"]());var countHorz=0;var countVert=0;var axes=[];for(position=0;position<4;++position){var role=this.positionToRole(position);var isHorz=position==1||position==0;if(this._axisSelectors[position]&&
  736. this._scales[role]){if(isHorz)countHorz++;else countVert++;if(this._scales[role].isOrdinal()||this._scales[role].isClustered()){var score=isHorz?4:2;axes.push(new com_ibm_rave_bundles_components_AxesManager.AxisLayout(position,score))}else{score=isHorz?3:1;axes.push(new com_ibm_rave_bundles_components_AxesManager.AxisLayout(position,score))}}else axes.push(new com_ibm_rave_bundles_components_AxesManager.AxisLayout(position,5))}axes.sort(function(a1,a2){var a1value=a1["score"];var a2value=a2["score"];
  737. return a1value<a2value?-1:a1value>a2value?1:0});this._layoutAxisOrder=[];for(var i=0;i<4;++i)this._layoutAxisOrder[i]=axes[i]["position"];this._layoutMaxWidth=this._elementRect.width*(countVert>1?0.5:0.4);this._layoutMaxHeight=this._elementRect.height*(countHorz>1?0.5:0.4);for(var index=0;index<4;++index){position=this._layoutAxisOrder[index];com_ibm_rave_bundles_components_AxesManager.setRect(this._axisRects[position],this._elementRect)}this["draw"]();this._duration=layoutDuration;this._context.node.select("g.axes-layout").selectAll("*").remove();
  738. for(position=0;position<4;++position){this._lastAxisDrew[position]=layoutLastAxisDrew[position];this._axisSelectors[position]=layoutAxisSelectors[position];this._gridSelectors[position]=layoutGridSelectors[position]}this._layoutInProgress=false;return this},getPositionToDraw:function(index){return this._layoutInProgress?this._layoutAxisOrder[index]:index},preDrawAxis:function(index){if(this._layoutInProgress){var position=this._layoutAxisOrder[index];var role=this.positionToRole(position);if(role==
  739. 0||role==1)this.setScaleRangePadded(this._scales[role],false,this._xPadding,this._xOuterPadding,this._xPixelPad);else this.setScaleRangePadded(this._scales[role],true,this._yPadding,this._yOuterPadding,this._yPixelPad);this._axisComponents[role]["allowAutomaticAxisLayoutToChangeOrientation"](true)}},postDrawAxis:function(index){if(this._layoutInProgress){var position=this._layoutAxisOrder[index];var role=this.positionToRole(position);var axis=this._axisComponents[role];var size=axis["getPreferredSize"]();
  740. if(position==1||position==0){if(size>this._layoutMaxHeight)size=this._layoutMaxHeight;this._elementRect.height-=size;if(position==1)this._elementRect.y+=size}else{if(size>this._layoutMaxWidth)size=this._layoutMaxWidth;this._elementRect.width-=size;if(position==2)this._elementRect.x+=size}this._axisComponents[role]["allowAutomaticAxisLayoutToChangeOrientation"](false)}},"draw":function(){for(var role=0;role<4;++role){this._lastAxisDrawSelectors[role]=null;this._lastGridDrawSelectors[role]=null}for(var index=
  741. 0;index<4;++index){var position=this.getPositionToDraw(index);role=this.positionToRole(position);if(!this._visible||!this._axisSelectors[position]||!this._scales[role]){this.clearAxis(position);this.clearGrid(position)}else{this.preDrawAxis(index);this.drawAxis(position,role);this.postDrawAxis(index);if(this._gridSelectors[position])this.drawGrid(position,role)}}this._firstDraw=false},"hideAnyPanZoom":function(){return this._suppressPanLabels[0]||this._suppressPanLabels[1]||this._suppressPanLabels[2]||
  742. this._suppressPanLabels[3]},"redraw":function(panning){for(var role=0;role<4;++role){if(this._axisComponents[role]&&this._lastAxisDrawSelectors[role]){this._axisComponents[role]["displayTickLabels"](this._drawAxisLabels[role]);this._axisComponents[role]["showPanZoomTickLabels"](!panning||!this._suppressPanLabels[role]);var isAllow=this._axisComponents[role]["isAllowAutomaticAxisLayoutToChangeOrientation"]();this._axisComponents[role]["allowAutomaticAxisLayoutToChangeOrientation"](false);this._lastAxisDrawSelectors[role].call(this._axisComponents[role]);
  743. this._axisComponents[role]["allowAutomaticAxisLayoutToChangeOrientation"](isAllow)}if(this._gridComponents[role]&&this._lastGridDrawSelectors[role])this._lastGridDrawSelectors[role].call(this._gridComponents[role])}},"preventStaggerRotate45":function(preventStaggerRotate45){this._preventStaggerRotate45=preventStaggerRotate45},drawAxis:function(position,role){var axisGroup=this._axisSelectors[position];this._lastAxisDrawSelectors[role]=axisGroup;var comp=this["axisComponent"](role);var layoutModeID=
  744. role==2?"axis.y.labels.layoutMode":role==3?"axis.y2.labels.layoutMode":"axis.x.labels.layoutMode";var allowStaggerID=role==2?"axis.y.labels.allowStagger":role==3?"axis.y2.labels.allowStagger":"axis.x.labels.allowStagger";var allowRotate45ID=role==2?"axis.y.labels.allowRotate45":role==3?"axis.y2.labels.allowRotate45":"axis.x.labels.allowRotate45";var allowRotate90ID=role==2?"axis.y.labels.allowRotate90":role==3?"axis.y2.labels.allowRotate90":"axis.x.labels.allowRotate90";var layoutMode=""+this._context.getPropertyValue(layoutModeID);
  745. var allowStagger=!this._preventStaggerRotate45&&this._context.getPropertyValue(allowStaggerID);var allowRotate45=!this._preventStaggerRotate45&&this._context.getPropertyValue(allowRotate45ID);var allowRotate90=this._context.getPropertyValue(allowRotate90ID);var textTruncateIndicator=this._context.getPropertyValue("axis.labels.truncationText");var axisBounds=this._axisRects[position];var orient=com_ibm_rave_bundles_components_AxesManager.ORIENTATIONS[position];var transform=com_ibm_rave_bundles_components_AxisComponentImpl["getTranslation"](axisBounds,
  746. orient);var axisTransform="translate("+transform[0]+","+transform[1]+")";comp["scale"](this._scales[role])["setRole"](com_ibm_rave_bundles_components_AxesManager.ROLES[role])["bounds"](axisBounds)["elementRect"](this._elementRect)["orient"](orient)["layoutMode"](layoutMode)["allowStagger"](allowStagger)["allowRotate45"](allowRotate45)["allowRotate90"](allowRotate90)["setPreExecute"](this._context.getPreExecute())["textTruncateIndicator"](textTruncateIndicator);this._drawAxisLabels[role]=comp["_displayTickLabels"];
  747. var axisGroupUpdate=axisGroup;if(this._duration>0&&!this._firstDraw&&this._lastAxisDrew[position])axisGroupUpdate=axisGroup["transition"]()["duration"](this._duration);axisGroupUpdate.attr("transform",axisTransform);axisGroupUpdate.call(comp);var dataSlotEntryList=this._dataSlotEntries[role];axisGroup.selectAll(".axis-title").property("dataSlots",dataSlotEntryList);this._lastAxisDrew[position]=comp.renderedShapes();if(this._defs){var clipAxis=new com_ibm_rave_bundles_components_ClipPathComponentImpl(this._context.instanceId()+
  748. "clip"+orient);var text=axisGroup.append("text").text("000,000");var bbox=text.node().getBBox();var w=bbox.width;var h=bbox.height;text.remove();var clipRect;if(position==0||position==1){var leftEdge=axisBounds.x+transform[0]*-1;var rightEdge=leftEdge+axisBounds.width;if(!this._scales[role].isOrdinal()&&!this._scales[role].isClustered()){var numericLeftEdge=this._elementRect.x-w+transform[0]*-1;var numericRightEdge=numericLeftEdge+this._elementRect.width+w*2;if(numericLeftEdge<leftEdge)leftEdge=numericLeftEdge;
  749. if(numericRightEdge>rightEdge)rightEdge=numericRightEdge}clipRect=new rave["internal"]["RectStruct"](leftEdge,axisBounds.y+transform[1]*-1,rightEdge-leftEdge,axisBounds.height)}else clipRect=new rave["internal"]["RectStruct"](axisBounds.x+transform[0]*-1,this._elementRect.y-h/2+transform[1]*-1,axisBounds.width,this._elementRect.height+h);clipAxis["clipRect"](clipRect)["applyTo"](axisGroup.select(".axis."+orient)).call(this._defs)}},clearAxis:function(position){if(this._axisSelectors[position]){this._clearAxis["scale"](null);
  750. this._axisSelectors[position].call(this._clearAxis)}this._lastAxisDrew[position]=false},drawGrid:function(position,role){var gridGroup=this._gridSelectors[position];this._lastGridDrawSelectors[role]=gridGroup;var comp=this["gridComponent"](role);var axisBounds=this._axisRects[position];var orient=com_ibm_rave_bundles_components_AxesManager.ORIENTATIONS[position];var transform=com_ibm_rave_bundles_components_AxisComponentImpl["getTranslation"](axisBounds,orient);var axisTransform="translate("+transform[0]+
  751. ","+transform[1]+")";comp["setRole"](com_ibm_rave_bundles_components_AxesManager.ROLES[role])["orient"](orient)["setPreExecute"](this._context.getPreExecute())["bounds"](this._elementRect)["axis"](this._axisComponents[role]["axis"]());if(this._duration<=0||this._firstDraw||!this._lastAxisDrew[position])gridGroup.attr("transform",axisTransform).call(comp);else gridGroup["transition"]()["duration"](this._duration).attr("transform",axisTransform).call(comp);this._lastGridDrew[position]=comp.renderedShapes()},
  752. clearGrid:function(position){if(this._gridSelectors[position]){this._clearGrid["axis"](null);this._gridSelectors[position].call(this._clearGrid)}this._lastGridDrew[position]=false},"visible":function(visible){this._visible=visible;return this},"duration":function(duration){this._duration=duration;return this},"transpose":function(transpose){this._transpose=transpose;return this},"swapX":function(swapX){this._swapX=swapX;return this},"swapY":function(swapY){this._swapY=swapY;return this},"scale":function(role,
  753. scale){this._scales[role]=scale;return this},"suppressPanLabels":function(role,suppressLabels){this._suppressPanLabels[role]=suppressLabels;return this},"axisComponent":function(role){if(!this._axisComponents[role])this._axisComponents[role]=new com_ibm_rave_bundles_components_AxisComponentImpl;return this._axisComponents[role]},"gridComponent":function(role){if(!this._gridComponents[role])this._gridComponents[role]=new com_ibm_rave_bundles_components_GridComponentImpl;return this._gridComponents[role]},
  754. "defsSelector":function(defs){this._defs=com_ibm_rave_bundles_components_AxesManager.checkSelector(defs);return this},"axisSelector":function(position,axisGroup){this._axisSelectors[position]=com_ibm_rave_bundles_components_AxesManager.checkSelector(axisGroup);return this},"gridSelector":function(position,gridGroup){this._gridSelectors[position]=com_ibm_rave_bundles_components_AxesManager.checkSelector(gridGroup);return this},"elementRect":function(elementRect){com_ibm_rave_bundles_components_AxesManager.setRect(this._elementRect,
  755. elementRect);return this},"axisRect":function(position,axisRect){com_ibm_rave_bundles_components_AxesManager.setRect(this._axisRects[position],axisRect);return this},"useDefaultSelectors":function(){this["defsSelector"](this._context.node.select("defs"));this["axisSelector"](0,this._context.node.select("g.axisTransform.bottom"));this["axisSelector"](1,this._context.node.select("g.axisTransform.top"));this["axisSelector"](2,this._context.node.select("g.axisTransform.left"));this["axisSelector"](3,
  756. this._context.node.select("g.axisTransform.right"));this["gridSelector"](0,this._context.node.select("g.grid.bottom"));this["gridSelector"](1,this._context.node.select("g.grid.top"));this["gridSelector"](2,this._context.node.select("g.grid.left"));this["gridSelector"](3,this._context.node.select("g.grid.right"));return this},"useBoundsFromLayout":function(layoutInfo){com_ibm_rave_bundles_components_AxesManager.setRect(this._elementRect,layoutInfo["elementRect"]());com_ibm_rave_bundles_components_AxesManager.setRect(this._axisRects[0],
  757. layoutInfo["bottomRect"]());com_ibm_rave_bundles_components_AxesManager.setRect(this._axisRects[1],layoutInfo["topRect"]());com_ibm_rave_bundles_components_AxesManager.setRect(this._axisRects[2],layoutInfo["leftRect"]());com_ibm_rave_bundles_components_AxesManager.setRect(this._axisRects[3],layoutInfo["rightRect"]());return this},"useDefaultX1Properties":function(setGridParameters){this["axisComponent"](0)["padding"](16)["displayAxisTitle"](this._context.getPropertyValue("axis.x.title.display"))["axisTitle"](this._context.getDataSlotLabel("axis.x.title.text",
  758. this._dataSlotEntries[0]))["displayAxisLine"](this._context.getPropertyValue("axis.x.line.display"))["lineColor"](this._context.getPropertyValue("axis.x.line.style.stroke"))["displayTicks"](this._context.getPropertyValue("axis.x.ticks.display"))["tickColor"](this._context.getPropertyValue("axis.x.ticks.style.stroke"))["displayTickLabels"](this._context.getPropertyValue("axis.x.labels.display"));var titleFontStyle=this._context.getPropertyValue("axis.x.title.style.font");var labelFontStyle=this._context.getPropertyValue("axis.x.labels.style.font");
  759. if(labelFontStyle!=null&&labelFontStyle.length>0)this["axisComponent"](0)["labelStyle"](labelFontStyle);else this["axisComponent"](0)["labelStyle"](this._context.getPropertyValue("axis.x.labels.style.fill"),this._context.getPropertyValue("axis.x.labels.style.font-size"),this._context.getPropertyValue("axis.x.labels.style.font-family"));if(titleFontStyle!=null&&titleFontStyle.length>0)this["axisComponent"](0)["titleStyle"](titleFontStyle);else this["axisComponent"](0)["titleStyle"](this._context.getPropertyValue("axis.x.title.style.fill"),
  760. this._context.getPropertyValue("axis.x.title.style.font-size"),this._context.getPropertyValue("axis.x.title.style.font-family"));if(setGridParameters)this["gridComponent"](0)["displayGridlines"](this._context.getPropertyValue("axis.x.gridlines.display"))["gridlineStyle"](this._context.getPropertyValue("axis.x.gridlines.style.stroke"),this._context.getPropertyValue("axis.x.gridlines.style.stroke-dasharray"));this["suppressPanLabels"](0,this._context.getPropertyValue("axis.x.labels.zoomPan"));return this},
  761. "useDefaultY1Properties":function(setGridParameters){this["axisComponent"](2)["padding"](16)["displayAxisTitle"](this._context.getPropertyValue("axis.y.title.display"))["axisTitle"](this._context.getDataSlotLabel("axis.y.title.text",this._dataSlotEntries[2]))["displayAxisLine"](this._context.getPropertyValue("axis.y.line.display"))["lineColor"](this._context.getPropertyValue("axis.y.line.style.stroke"))["displayTicks"](this._context.getPropertyValue("axis.y.ticks.display"))["tickColor"](this._context.getPropertyValue("axis.y.ticks.style.stroke"))["displayTickLabels"](this._context.getPropertyValue("axis.y.labels.display"));
  762. var titleFontStyle=this._context.getPropertyValue("axis.y.title.style.font");var labelFontStyle=this._context.getPropertyValue("axis.y.labels.style.font");if(labelFontStyle!=null&&labelFontStyle.length>0)this["axisComponent"](2)["labelStyle"](labelFontStyle);else this["axisComponent"](2)["labelStyle"](this._context.getPropertyValue("axis.y.labels.style.fill"),this._context.getPropertyValue("axis.y.labels.style.font-size"),this._context.getPropertyValue("axis.y.labels.style.font-family"));if(titleFontStyle!=
  763. null&&titleFontStyle.length>0)this["axisComponent"](2)["titleStyle"](titleFontStyle);else this["axisComponent"](2)["titleStyle"](this._context.getPropertyValue("axis.y.title.style.fill"),this._context.getPropertyValue("axis.y.title.style.font-size"),this._context.getPropertyValue("axis.y.title.style.font-family"));if(setGridParameters)this["gridComponent"](2)["displayGridlines"](this._context.getPropertyValue("axis.y.gridlines.display"))["gridlineStyle"](this._context.getPropertyValue("axis.y.gridlines.style.stroke"),
  764. this._context.getPropertyValue("axis.y.gridlines.style.stroke-dasharray"));this["suppressPanLabels"](2,this._context.getPropertyValue("axis.y.labels.zoomPan"));return this},"useDefaultY2Properties":function(setGridParameters){this["axisComponent"](3)["padding"](16)["displayAxisTitle"](this._context.getPropertyValue("axis.y2.title.display"))["axisTitle"](this._context.getDataSlotLabel("axis.y2.title.text",this._dataSlotEntries[3]))["displayAxisLine"](this._context.getPropertyValue("axis.y2.line.display"))["lineColor"](this._context.getPropertyValue("axis.y2.line.style.stroke"))["displayTicks"](this._context.getPropertyValue("axis.y2.ticks.display"))["tickColor"](this._context.getPropertyValue("axis.y2.ticks.style.stroke"))["displayTickLabels"](this._context.getPropertyValue("axis.y2.labels.display"));
  765. var titleFontStyle=this._context.getPropertyValue("axis.y2.title.style.font");var labelFontStyle=this._context.getPropertyValue("axis.y2.labels.style.font");if(labelFontStyle!=null&&labelFontStyle.length>0)this["axisComponent"](3)["labelStyle"](labelFontStyle);else this["axisComponent"](3)["labelStyle"](this._context.getPropertyValue("axis.y2.labels.style.fill"),this._context.getPropertyValue("axis.y2.labels.style.font-size"),this._context.getPropertyValue("axis.y2.labels.style.font-family"));if(titleFontStyle!=
  766. null&&titleFontStyle.length>0)this["axisComponent"](3)["titleStyle"](titleFontStyle);else this["axisComponent"](3)["titleStyle"](this._context.getPropertyValue("axis.y2.title.style.fill"),this._context.getPropertyValue("axis.y2.title.style.font-size"),this._context.getPropertyValue("axis.y2.title.style.font-family"));if(setGridParameters)this["gridComponent"](3)["displayGridlines"](this._context.getPropertyValue("axis.y2.gridlines.display"))["gridlineStyle"](this._context.getPropertyValue("axis.y2.gridlines.style.stroke"),
  767. this._context.getPropertyValue("axis.y2.gridlines.style.stroke-dasharray"));this["suppressPanLabels"](3,this._context.getPropertyValue("axis.y2.labels.zoomPan"));return this},"setTickFormatterList":function(role,entries,format,defaultFunction){var fmtRole;switch(role){case 2:fmtRole="ROLE_Y1";break;case 1:fmtRole="ROLE_X2";break;case 3:fmtRole="ROLE_Y2";break;case 0:default:fmtRole="ROLE_X1";break}var fmt=this._context.getCustomFormatterWithFlag([com_ibm_rave_bundles_components_AxesManager.ROLE_FORMATTERS[role],
  768. com_ibm_rave_bundles_components_AxesManager.FORMATTERS[this.roleToPosition(role)],"axis","all"],rave["library"]["internal"]["BundleContext"].makeCustomFormatInfo("axis-label",fmtRole,format,entries),defaultFunction,false);this["axisComponent"](role)["tickFormat"](fmt);var simplefmt=this._context.getCustomFormatterWithFlag([com_ibm_rave_bundles_components_AxesManager.ROLE_FORMATTERS[role],com_ibm_rave_bundles_components_AxesManager.FORMATTERS[this.roleToPosition(role)],"axis","all"],rave["library"]["internal"]["BundleContext"].makeCustomFormatInfo("axis-label",
  769. fmtRole,format,entries),defaultFunction,true);this["axisComponent"](role)["simplifiedTickFormat"](simplefmt);return this},"setTickFormatter":function(role,entry){var entries=[];if(entry)entries.push(entry);return this["setTickFormatterList"](role,entries,"none",null)},"setScaleRanges":function(padding,outerPadding,pixelPad){this["setIndependentScaleRanges"](padding,outerPadding,pixelPad);this["setDependentScaleRanges"](padding,outerPadding,pixelPad);return this},"setIndependentScaleRanges":function(padding,
  770. outerPadding,pixelPad){this.setScaleRangePadded(this._scales[0],false,padding,outerPadding,pixelPad);this.setScaleRangePadded(this._scales[1],false,padding,outerPadding,pixelPad);return this},"setDependentScaleRanges":function(padding,outerPadding,pixelPad){this.setScaleRangePadded(this._scales[2],true,padding,outerPadding,pixelPad);this.setScaleRangePadded(this._scales[3],true,padding,outerPadding,pixelPad);return this},setDataSlot$0:function(role,slot){this.setDataSlot$1(role,[slot]);return this},
  771. setDataSlot$1:function(role,slots){if(role<4&&role>=0){this._dataSlotEntries[role].length=0;if(slots){var __i_enFor0=0;var __exp_enFor0=slots;for(var __len_enFor0=__exp_enFor0.length;__i_enFor0<__len_enFor0;++__i_enFor0){var slot=__exp_enFor0[__i_enFor0];this._dataSlotEntries[role].push(slot)}}}return this},setScaleRangePadded:function(scale,dependent,padding,outerPadding,pixelPad){if(scale){var min;var max;if(dependent==this._transpose){min=this._elementRect.x+pixelPad;max=this._elementRect.x+this._elementRect.width-
  772. pixelPad}else if(scale.isContinuous()){min=this._elementRect.y+this._elementRect.height-pixelPad;max=this._elementRect.y+pixelPad}else{min=this._elementRect.y+pixelPad;max=this._elementRect.y+this._elementRect.height-pixelPad}scale.range(min,max,padding,outerPadding)}},positionToRole:function(position){var r=position;if(this._transpose)r=(r+2)%4;if(this._swapX&&r<2)r=1-r;if(this._swapY&&r>1)r=5-r;return r},roleToPosition:function(role){var p=role;if(this._swapX&&role<2)p=1-p;if(this._swapY&&p>1)p=
  773. 5-p;if(this._transpose)p=(p+2)%4;return p},"scaleTickMagnitude":function(role,tickMagnitude){this["axisComponent"](role)["scaleTickMagnitude"](tickMagnitude);return this},"setDataSlot":function(a0,a1){var args=arguments;if(args.length==2&&typeof a1==="function")return this.setDataSlot$0(a0,a1);return this.setDataSlot$1(a0,a1)}});com_ibm_rave_bundles_components_AxesManager.checkSelector=function(s){return s&&!s.empty()?s:null};com_ibm_rave_bundles_components_AxesManager.setRect=function(target,source){if(source){target.x=
  774. source.x;target.y=source.y;target.width=source.width;target.height=source.height}else{target.x=0;target.y=0;target.width=0;target.height=0}};com_ibm_rave_bundles_components_AxesManager["percentFormat"]=function(n){var digits="."+n+"f";var format=rave.format(digits);return function(value,ix,gix){return format.call(null,value,0,0)+"%"}};com_ibm_rave_bundles_components_AxesManager.AxisLayout=rave["internal"]["Declare"]({"position":0,"score":0,"constructor":function(position,score){this["position"]=position;
  775. this["score"]=score}});com_ibm_rave_bundles_components_AxesManager["X1"]=0;com_ibm_rave_bundles_components_AxesManager["X2"]=1;com_ibm_rave_bundles_components_AxesManager["Y1"]=2;com_ibm_rave_bundles_components_AxesManager["Y2"]=3;com_ibm_rave_bundles_components_AxesManager["BOTTOM"]=0;com_ibm_rave_bundles_components_AxesManager["TOP"]=1;com_ibm_rave_bundles_components_AxesManager["LEFT"]=2;com_ibm_rave_bundles_components_AxesManager["RIGHT"]=3;com_ibm_rave_bundles_components_AxesManager.ROLES=["ROLE_X1",
  776. "ROLE_X2","ROLE_Y1","ROLE_Y2"];com_ibm_rave_bundles_components_AxesManager.ROLE_FORMATTERS=["ROLE_X1","ROLE_X2","ROLE_Y1","ROLE_Y2"];com_ibm_rave_bundles_components_AxesManager.ORIENTATIONS=["bottom","top","left","right"];com_ibm_rave_bundles_components_AxesManager.FORMATTERS=["bottom","top","left","right"];var com_ibm_rave_bundles_component_AxisComponent=rave["internal"]["Declare"].implement();com_ibm_rave_bundles_component_AxisComponent["COMPONENT_TYPE"]="AxisComponent";com_ibm_rave_bundles_component_AxisComponent["ROLE_X1"]=
  777. "ROLE_X1";com_ibm_rave_bundles_component_AxisComponent["ROLE_Y1"]="ROLE_Y1";com_ibm_rave_bundles_component_AxisComponent["ROLE_X2"]="ROLE_X2";com_ibm_rave_bundles_component_AxisComponent["ROLE_Y2"]="ROLE_Y2";var com_ibm_rave_bundles_utilities_TextCrossfader=rave["internal"]["Declare"]({});com_ibm_rave_bundles_utilities_TextCrossfader["textCrossFade"]=function(selection,oldText,newText,fillOpacity,delay){if(!selection.isTransition())return selection.text(newText);var _t=selection.tween("text",function(data,
  778. index,groupIndex){return function(t){this.rave_setText(t<0.5?oldText:newText)}});var t0=Math.max(0,Math.min(0.5,delay));if(t0==0.5||oldText==null&&newText==null||oldText!=null&&oldText==newText)return selection;var opacity=fillOpacity==null?1:+fillOpacity;var tf=1/(0.5-t0);return _t.tween("fill-opacity",function(data,index,groupIndex){return function(t){if(t<=t0||t>=1-t0)this.rave_setStyle("fill-opacity",fillOpacity);else this.rave_setStyle("fill-opacity",opacity*Math.abs(t-0.5)*tf)}})};var com_ibm_rave_bundles_utilities_BundleLabelDropper=
  779. rave["internal"]["Declare"]({labelCount:0,_$functionClassMethod:function(){var _$self=function(args){if(args!==null||arguments.length>1)args=Array.prototype.slice.call(arguments,0);_$self["drop"](args[0],args[1]);return null};return _$self},"constructor":function(){this._dropOverlap=rave.capabilities.extension("position")["drop"]().remove(false);this._dropOverlap.setOverlapGap(4)},"drop":function(labels,removeOverlap){if(!labels.isTransition())this.applyLabelDrop(labels,removeOverlap);else{var steps=
  780. [0,25,75];var self=this;labels.tween("__pointLabelDrop__",function(data,index,groupIndex){if(index==0)return function(t){var currentStep=Math.floor(t*100);if(steps.length>0&&currentStep<100&&currentStep>=steps[0]){steps.splice(0,1);self.applyLabelDrop(labels,removeOverlap)}};return null});this.labelCount=0;labels.each(function(data,index,groupIndex){++self.labelCount}).each("end",function(args){if(args!==null||arguments.length>1)args=Array.prototype.slice.call(arguments,0);if(--self.labelCount==0)self.applyLabelDrop(labels,
  781. removeOverlap);return null})}},applyLabelDrop:function(labels,removeOverlap){if(removeOverlap)labels.call(this._dropOverlap);else this._dropOverlap.reset(labels)},"configureForDataLabels":function(rect){if(rect){var ex=[[rect.x,rect.y],[rect.x+rect.width,rect.y+rect.height]];this._dropOverlap.extent(ex)}this._dropOverlap.noClipping()}});com_ibm_rave_bundles_utilities_BundleLabelDropper.OVERLAP_GAP=4;var com_ibm_rave_bundles_components_StyleStructs=rave["internal"]["Declare"]({});com_ibm_rave_bundles_components_StyleStructs.ShapeStyle=
  782. function(){this._fill=null;this._stroke=null;this._strokeWidth=null};com_ibm_rave_bundles_components_StyleStructs.LineStyle=function(){this._stroke=null;this._strokeWidth=null;this._dashArray=null};var com_ibm_rave_bundles_component_GridComponent=rave["internal"]["Declare"].implement();com_ibm_rave_bundles_component_GridComponent["COMPONENT_TYPE"]="GridComponent";var com_ibm_rave_bundles_components_IntervalDataUtilities=rave["internal"]["Declare"]({});com_ibm_rave_bundles_components_IntervalDataUtilities["simpleBars"]=
  783. function(data,x,xScale,y,yStart,color,label){var result=[];if(!data||data.length==0||!x||!y)return result;data.forEach(function(d,ix,list){var xv=x(d);if(xv!=null&&(!xScale||xScale(xv)!=null)){var yv=y(d);var yvStart=!yStart?0:yStart(d);if(yv!=null&&yvStart!=null){var r=new com_ibm_rave_bundles_components_IntervalDataUtilities.IntervalData;r["key"]=ix;r["ind1"]=xv;r["ind2"]=r["ind1"];r["cind"]=r["ind1"];r["dep1"]=yvStart;r["dep2"]=yv;r["cdep"]=r["dep2"];r["color"]=color?color(d):null;r["label"]=label?
  784. label(d):null;r["value"]=r["dep2"];r["_originalData"]=d;r["valueAsPercentOfCategory"]=100;result.push(r)}}return null});var sum=0;for(var i=0;i<result.length;++i){var iData=result[i];var value=+iData["value"];sum+=Math.abs(value)}if(sum!=0)for(i=0;i<result.length;++i){iData=result[i];value=+iData["value"];iData["valueAsPercentOfColor"]=value/sum*100}return result};com_ibm_rave_bundles_components_IntervalDataUtilities["clusteredBars"]=function(data,x,xScale,y,yStart,color,label){var result=[];if(!data||
  785. data.length==0||!x||x.length==0||!y)return result;var len=x.length;var categories={};var colors={};data.forEach(function(d,ix,list){var OK=true;var ind=[];for(var i=0;i<len;++i){var xv=x[i](d);if(xv==null||xScale[i]&&xScale[i](xv)==null){OK=false;break}ind.push(xv);if(i==0){if(!categories.hasOwnProperty(xv))categories[""+xv]=1}else if(!colors.hasOwnProperty(xv))colors[""+xv]=1}var dep=y(d);var depStart=!yStart?0:yStart(d);if(OK&&dep!=null&&depStart!=null){var r=new com_ibm_rave_bundles_components_IntervalDataUtilities.IntervalData;
  786. r["key"]=ix;r["ind1"]=ind;r["ind2"]=ind;r["cind"]=ind;r["dep1"]=depStart;r["dep2"]=dep;r["cdep"]=r["dep2"];r["color"]=color?color(d):null;r["label"]=label?label(d):null;r["value"]=r["dep2"];r["_originalData"]=d;result.push(r)}return null});var __i_enFor0=0;var __exp_enFor0=Object.keys(categories);for(var __len_enFor0=__exp_enFor0.length;__i_enFor0<__len_enFor0;++__i_enFor0){var o=__exp_enFor0[__i_enFor0];var s=""+o;var sum=0;for(var i$$0=0;i$$0<result.length;++i$$0){var iData=result[i$$0];if(s==iData["ind1"][0]){var value=
  787. +iData["value"];sum+=Math.abs(value)}}if(sum==0)continue;for(i$$0=0;i$$0<result.length;++i$$0){iData=result[i$$0];if(s==iData["ind1"][0]){value=+iData["value"];iData["valueAsPercentOfCategory"]=value/sum*100}}}var __i_enFor1=0;var __exp_enFor1=Object.keys(colors);for(var __len_enFor1=__exp_enFor1.length;__i_enFor1<__len_enFor1;++__i_enFor1){o=__exp_enFor1[__i_enFor1];s=""+o;sum=0;for(i$$0=0;i$$0<result.length;++i$$0){iData=result[i$$0];if(s==iData["color"]){value=+iData["value"];sum+=Math.abs(value)}}if(sum==
  788. 0)continue;for(i$$0=0;i$$0<result.length;++i$$0){iData=result[i$$0];if(s==iData["color"]){value=+iData["value"];iData["valueAsPercentOfColor"]=value/sum*100}}}return result};com_ibm_rave_bundles_components_IntervalDataUtilities["stackedBars"]=function(data,x,xScale,y,color,label,percent){var result=[];if(!data||data.length==0||!x||!y)return result;var stacks={};var categories={};var colors={};data.forEach(function(d,ix,list){var xv=x(d);if(xv!=null&&(!xScale||xScale(xv)!=null)){var yv=y(d);if(yv!=
  789. null){var stack=stacks[xv];if(!stack){stack=new com_ibm_rave_bundles_components_IntervalDataUtilities.Stack;stacks[xv]=stack}var dVal=+yv;if(!percent){var r=new com_ibm_rave_bundles_components_IntervalDataUtilities.IntervalData;r["key"]=ix;r["ind1"]=xv;r["ind2"]=xv;r["cind"]=xv;var sum=dVal<0?stack.negativeSum:stack.positiveSum;r["dep1"]=sum;r["dep2"]=sum+dVal;r["cdep"]=r["dep2"];r["color"]=color?color(d):null;r["label"]=label?label(d):null;r["value"]=dVal;r["_originalData"]=d;result.push(r)}if(dVal<
  790. 0)stack.negativeSum+=dVal;else{stack.positiveCount++;stack.positiveSum+=dVal}if(!categories.hasOwnProperty(xv))categories[""+xv]=1;if(color){var o=color(d);if(o!=null&&!colors.hasOwnProperty(o))colors[""+o]=1}}}return null});if(percent)data.forEach(function(d,ix,list){var xv=x(d);if(xv!=null&&(!xScale||xScale(xv)!=null)){var yv=y(d);if(yv!=null){var stack=stacks[xv];var dVal=+yv;var percent;if(dVal<0)percent=-100*dVal/stack.negativeSum;else if(stack.positiveSum>0)percent=100*dVal/stack.positiveSum;
  791. else percent=100/stack.positiveCount;var r=new com_ibm_rave_bundles_components_IntervalDataUtilities.IntervalData;r["key"]=ix;r["ind1"]=xv;r["ind2"]=xv;r["cind"]=xv;var sum=dVal<0?stack.negativePercent:stack.positivePercent;r["dep1"]=sum;r["dep2"]=sum+percent;r["cdep"]=r["dep2"];r["color"]=color?color(d):null;r["label"]=label?label(d):null;r["value"]=dVal;r["valueAsPercentOfCategory"]=percent;r["_originalData"]=d;result.push(r);if(dVal<0)stack.negativePercent+=percent;else stack.positivePercent+=
  792. percent}}return null});else{var __i_enFor0=0;var __exp_enFor0=Object.keys(categories);for(var __len_enFor0=__exp_enFor0.length;__i_enFor0<__len_enFor0;++__i_enFor0){var o$$0=__exp_enFor0[__i_enFor0];var s=""+o$$0;var sum$$0=0;for(var i=0;i<result.length;++i){var iData=result[i];if(s==iData["ind1"]){var value=+iData["value"];sum$$0+=Math.abs(value)}}if(sum$$0==0)continue;for(i=0;i<result.length;++i){iData=result[i];if(s==iData["ind1"]){value=+iData["value"];iData["valueAsPercentOfCategory"]=value/
  793. sum$$0*100}}}}var __i_enFor1=0;var __exp_enFor1=Object.keys(colors);for(var __len_enFor1=__exp_enFor1.length;__i_enFor1<__len_enFor1;++__i_enFor1){o$$0=__exp_enFor1[__i_enFor1];s=""+o$$0;sum$$0=0;for(i=0;i<result.length;++i){iData=result[i];if(s==iData["color"]){value=+iData["value"];sum$$0+=Math.abs(value)}}if(sum$$0==0)continue;for(i=0;i<result.length;++i){iData=result[i];if(s==iData["color"]){value=+iData["value"];iData["valueAsPercentOfColor"]=value/sum$$0*100}}}return result};com_ibm_rave_bundles_components_IntervalDataUtilities.IntervalData=
  794. rave["internal"]["Declare"]({"key":null,"ind1":null,"ind2":null,"dep1":null,"dep2":null,"value":null,"color":null,"label":null,"cind":null,"cdep":null,"_originalData":null,"valueAsPercentOfCategory":NaN,"valueAsPercentOfColor":NaN,"originalData":function(){return this["_originalData"]},"originalDataList":function(){var list=[];list.push(this["_originalData"]);return list}});com_ibm_rave_bundles_components_IntervalDataUtilities.Stack=function(){this.positiveCount=0;this.positiveSum=0;this.negativeSum=
  795. 0;this.positivePercent=0;this.negativePercent=0};com_ibm_rave_bundles_components_IntervalDataUtilities["CALLOUT_DEPENDENT_ACCESSOR"]=function(data){return data["cdep"]};com_ibm_rave_bundles_components_IntervalDataUtilities["CALLOUT_INDEPENDENT_ACCESSOR"]=function(data){return data["cind"]};com_ibm_rave_bundles_components_IntervalDataUtilities["VALUE_ACCESSOR"]=function(data){return data["value"]};com_ibm_rave_bundles_components_IntervalDataUtilities["PERCENT_OF_CATEGORY_ACCESSOR"]=function(data){var percent=
  796. data["valueAsPercentOfCategory"];return isNaN(percent)?"":percent.toFixed(1)+"%"};com_ibm_rave_bundles_components_IntervalDataUtilities["PERCENT_OF_COLOR_ACCESSOR"]=function(data){var percent=data["valueAsPercentOfColor"];return isNaN(percent)?"":percent.toFixed(1)+"%"};var com_ibm_rave_bundles_data_PointDataUtilities=rave["internal"]["Declare"]({});com_ibm_rave_bundles_data_PointDataUtilities["buildPoints"]=function(data,xAccessor,xScale,yAccessor,yScale){var result=[];if(data){var __i_enFor0=0;
  797. var __exp_enFor0=data;for(var __len_enFor0=__exp_enFor0.length;__i_enFor0<__len_enFor0;++__i_enFor0){var o=__exp_enFor0[__i_enFor0];if(o!=null){var xv=null;if(xAccessor){xv=xAccessor(o);if(xv==null||xScale&&xScale(xv)==null)continue}var yv=null;if(yAccessor){yv=yAccessor(o);if(yv==null||yScale&&yScale(yv)==null)continue}var datum=new com_ibm_rave_bundles_data_PointDataUtilities.PointDatum;datum["_x"]=xv;datum["_y"]=yv;datum["_originalData"]=o;result.push(datum)}}}return result};com_ibm_rave_bundles_data_PointDataUtilities.PointDatum=
  798. rave["internal"]["Declare"]({"_x":null,"_y":null,"_yAsPercentOfCategory":null,"_yAsPercentOfColor":null,"_originalData":null,"originalData":function(){return this["_originalData"]},"originalDataList":function(){var list=[];list.push(this["_originalData"]);return list}});com_ibm_rave_bundles_data_PointDataUtilities["X_ACCESSOR"]=function(d){return d["_x"]};com_ibm_rave_bundles_data_PointDataUtilities["Y_ACCESSOR"]=function(d){return d["_y"]};com_ibm_rave_bundles_data_PointDataUtilities["PERCENT_OF_CATEGORY_ACCESSOR"]=
  799. function(d){var percent=+d["_yAsPercentOfCategory"];return isNaN(percent)?"":percent.toFixed(1)+"%"};com_ibm_rave_bundles_data_PointDataUtilities["PERCENT_OF_COLOR_ACCESSOR"]=function(d){var percent=+d["_yAsPercentOfColor"];return isNaN(percent)?"":percent.toFixed(1)+"%"};var com_ibm_rave_bundles_utilities_ColorUtil=rave["internal"]["Declare"]({});com_ibm_rave_bundles_utilities_ColorUtil.getContrastColor$0=function(bg,fg){var contrastRatio=com_ibm_rave_bundles_utilities_ColorUtil["getContrastRatio"](bg,
  800. fg);if(contrastRatio<4.5){var bgHSL=rave.hsl(bg);var fgHSL=rave.hsl(fg);var brightness=0.33*(rave.rgb(bg).getR()/255)+0.5*(rave.rgb(bg).getG()/255)+0.16*(rave.rgb(bg).getB()/255);if(brightness>0.5)if(bgHSL.getL()>0.5)return rave.hsl(fgHSL.getH(),fgHSL.getS(),Math.min(fgHSL.getL(),bgHSL.getL()-0.4));else return rave.hsl(fgHSL.getH(),fgHSL.getS(),Math.min(fgHSL.getL(),0.1));else if(bgHSL.getL()<0.5)return rave.hsl(fgHSL.getH(),fgHSL.getS(),Math.max(fgHSL.getL(),bgHSL.getL()+0.4));else return rave.hsl(fgHSL.getH(),
  801. fgHSL.getS(),Math.max(fgHSL.getL(),0.9))}return fg};com_ibm_rave_bundles_utilities_ColorUtil.getContrastColor$1=function(labelColor){var labelRGB=rave.rgb(labelColor);return labelRGB.contrastShift(21)};com_ibm_rave_bundles_utilities_ColorUtil["getContrastRatio"]=function(colorA,colorB){var foregroundLuminance=rave.rgb(colorA).getLuminance();var backgroundLuminance=rave.rgb(colorB).getLuminance();var contrastRatio=foregroundLuminance>=backgroundLuminance?(foregroundLuminance+0.05)/(backgroundLuminance+
  802. 0.05):(backgroundLuminance+0.05)/(foregroundLuminance+0.05);return contrastRatio};com_ibm_rave_bundles_utilities_ColorUtil["getContrastColor"]=function(a0,a1){var args=arguments;if(args.length==1)return com_ibm_rave_bundles_utilities_ColorUtil.getContrastColor$1(a0);return com_ibm_rave_bundles_utilities_ColorUtil.getContrastColor$0(a0,a1)};var com_ibm_rave_bundles_component_IntervalComponent=rave["internal"]["Declare"].implement();com_ibm_rave_bundles_component_IntervalComponent["COMPONENT_TYPE"]=
  803. "IntervalComponent";var com_ibm_rave_bundles_utilities_LabelStyleUtil=rave["internal"]["Declare"]({_labelShadow:false,_$functionClassMethod:function(){var _$self=function(args){if(args!==null||arguments.length>1)args=Array.prototype.slice.call(arguments,0);if(_$self._labelFontStyle){var __i_enFor0=0;var __exp_enFor0=Object.keys(_$self._labelFontStyle);for(var __len_enFor0=__exp_enFor0.length;__i_enFor0<__len_enFor0;++__i_enFor0){var stylenName=__exp_enFor0[__i_enFor0];if(stylenName=="fill"||stylenName==
  804. "color"&&_$self._labelFillColor||stylenName=="font-size"&&_$self._labelFontSize||stylenName=="text-shadow"&&_$self._labelShadow==true)continue;this.style(stylenName,_$self._labelFontStyle[stylenName])}}if(_$self._labelFillColor)this.style("fill",_$self._labelFillColor);if(_$self._labelFontSize)this.style("font-size",_$self._labelFontSize);var labels=this.selectAll("*");if(labels.length==0)labels=this;if(_$self._labelShadow){var self=_$self;var defaultLabelFill=_$self["getDefaultLabelColor"](_$self._labelFontStyle);
  805. _$self._contrastLabelColorfilter=new com_ibm_rave_bundles_components_FilterComponentImpl("contrast_label_drop_shadow");_$self._contrastLabelColorfilter["setDropshadow"]("1px","1px","0px",rave.rgb(com_ibm_rave_bundles_utilities_ColorUtil["getContrastColor"](defaultLabelFill)));_$self._sameLabelColorfilter=new com_ibm_rave_bundles_components_FilterComponentImpl("same_label_drop_shadow");_$self._sameLabelColorfilter["setDropshadow"]("1px","1px","0px",rave.rgb(defaultLabelFill));var owner=this.node().rave_getOwner();
  806. rave.select(owner).select("defs").call(_$self._contrastLabelColorfilter);rave.select(owner).select("defs").call(_$self._sameLabelColorfilter);this.each(function(data,index,groupIndex){if(self._labelFillColor){var contrastRatio=com_ibm_rave_bundles_utilities_ColorUtil["getContrastRatio"](rave.rgb(self._labelFillColor.call(this,data,index,groupIndex)),defaultLabelFill);if(contrastRatio<4.5)this.setAttribute("filter","url(#"+self._contrastLabelColorfilter["getId"]()+")");else this.setAttribute("filter",
  807. "url(#"+self._sameLabelColorfilter["getId"]()+")")}else this.setAttribute("filter","url(#"+self._contrastLabelColorfilter["getId"]()+")")});labels.each(function(data,index,groupIndex){if(self._labelFillColor)this.rave_setProperty("_rave_drop_shadow","1px 1px 0px "+com_ibm_rave_bundles_utilities_ColorUtil["getContrastColor"](self._labelFillColor.call(this,data,index,groupIndex)).toString());else this.rave_setProperty("_rave_drop_shadow","1px 1px 0px "+com_ibm_rave_bundles_utilities_ColorUtil["getContrastColor"](defaultLabelFill).toString())})}else{labels.each(function(data,
  808. index,groupIndex){this.rave_setProperty("_rave_drop_shadow",null)});this.attr("filter",null)}return null};return _$self},"labelFont":function(labelFontStyle){this._labelFontStyle=labelFontStyle;return this},"labelFillColor":function(_labelFillColor){this._labelFillColor=_labelFillColor;return this},"labelFontSize":function(_labelFontSize){this._labelFontSize=_labelFontSize;return this},"labelShadow":function(labelShadow){this._labelShadow=labelShadow;return this},"getDefaultLabelColor":function(_labelStyle){if(!_labelStyle)return"#000000";
  809. var defaultFillColor;if(_labelStyle){defaultFillColor=_labelStyle["fill"];if(defaultFillColor==null)defaultFillColor=_labelStyle["color"]}if(defaultFillColor==null)defaultFillColor="#000000";return defaultFillColor.toString()}});var com_ibm_rave_bundles_component_LabelCollisionComponent=rave["internal"]["Declare"].implement();com_ibm_rave_bundles_component_LabelCollisionComponent["COMPONENT_TYPE"]="LabelCollisionComponent";var com_ibm_rave_bundles_utilities_PathUtils=rave["internal"]["Declare"]({});
  810. com_ibm_rave_bundles_utilities_PathUtils["fadeOutIn"]=function(selection,pathFunction){if(selection.isTransition()){var transition=selection;transition.ease("linear").styleTween("opacity",function(data,index,value){var path=rave.select(this);if(!this.rave_hasProperty("__rave_originalOpacity__"))this.rave_setProperty("__rave_originalOpacity__",path.style("opacity"));var styleOpacity=this.rave_getProperty("__rave_originalOpacity__");var opacity=styleOpacity!=null?parseFloat(""+styleOpacity):1;var mid1=
  811. 0.45;var mid2=0.55;var s=rave["scale"].linear().domain([0,mid1,mid2,1]).range([opacity,0,0,opacity]);var setPath=[];setPath[0]=false;return function(t){if(t>mid1&&!setPath[0]){path.attr("d",pathFunction);setPath[0]=true}return+s.call(null,t,0,0)}});transition.each("end",function(args){if(args!==null||arguments.length>1)args=Array.prototype.slice.call(arguments,0);this.rave_removeProperty("__rave_originalOpacity__");return null})}else selection.attr("d",pathFunction)};var com_ibm_rave_bundles_component_LineComponent=
  812. rave["internal"]["Declare"].implement();com_ibm_rave_bundles_component_LineComponent["COMPONENT_TYPE"]="LineComponent";var com_ibm_rave_bundles_data_LineDataUtilities=rave["internal"]["Declare"]({});com_ibm_rave_bundles_data_LineDataUtilities["buildLines"]=function(data,xAccessor,xScale,yAccessor,groupAccessor){var result=[];if(!data||data.length==0)return result;var categories={};var noGroup;var lines={};var __i_enFor0=0;var __exp_enFor0=data;for(var __len_enFor0=__exp_enFor0.length;__i_enFor0<__len_enFor0;++__i_enFor0){var datum=
  813. __exp_enFor0[__i_enFor0];if(datum==null)continue;var xValue=xAccessor(datum);if(xValue!=null&&(!xScale||xScale(xValue)!=null)){if(!categories.hasOwnProperty(xValue))categories[""+xValue]=1;var group=groupAccessor?groupAccessor(datum):null;var line;if(group==null){if(!noGroup){noGroup=new com_ibm_rave_bundles_data_LineDataUtilities.LineDatum(null);result.push(noGroup)}line=noGroup}else{line=lines[group];if(!line){line=new com_ibm_rave_bundles_data_LineDataUtilities.LineDatum(group);lines[group]=line;
  814. result.push(line)}}line.addPoint(datum,xValue,yAccessor(datum))}}var __i_enFor1=0;var __exp_enFor1=Object.keys(categories);for(var __len_enFor1=__exp_enFor1.length;__i_enFor1<__len_enFor1;++__i_enFor1){var o=__exp_enFor1[__i_enFor1];var s=""+o;var sum=0;for(var i=0;i<result.length;++i){var lineDatum=result[i];for(var j=0;j<lineDatum._pointData.length;++j){var pointDatum=lineDatum._pointData[j];if(s==pointDatum["_x"]){pointDatum["_yAsPercentOfCategory"]=NaN;var value=+pointDatum["_y"];sum+=Math.abs(value)}}}if(sum==
  815. 0)continue;for(i=0;i<result.length;++i){lineDatum=result[i];for(j=0;j<lineDatum._pointData.length;++j){pointDatum=lineDatum._pointData[j];if(s==pointDatum["_x"]){value=+pointDatum["_y"];pointDatum["_yAsPercentOfCategory"]=value/sum*100}}}}for(i=0;i<result.length;++i){sum=0;lineDatum=result[i];for(j=0;j<lineDatum._pointData.length;++j){pointDatum=lineDatum._pointData[j];pointDatum["_yAsPercentOfColor"]=NaN;value=+pointDatum["_y"];sum+=Math.abs(value)}if(sum!=0)for(j=0;j<lineDatum._pointData.length;++j){pointDatum=
  816. lineDatum._pointData[j];value=+pointDatum["_y"];pointDatum["_yAsPercentOfColor"]=value/sum*100}}return result};com_ibm_rave_bundles_data_LineDataUtilities.get=function(val,data){for(var i=0;i<data.length;++i){var entry=data[i];if(entry["key"]===val)return entry}return null};com_ibm_rave_bundles_data_LineDataUtilities["buildLinesForStacking"]=function(data,xAccessor,yAccessor,groupAccessor){if(!data||data.length==0)return[];var keyToOriginalValue={};var stacks=[];var nest=rave.nest();nest["key"](function(d){var keyValue=
  817. xAccessor(d);var strKeyValue=keyValue;keyToOriginalValue[strKeyValue]=keyValue;return strKeyValue});nest["key"](function(d){var stack=groupAccessor(d).toString();if(!(stacks.indexOf(stack)>-1))stacks.push(stack);return stack});var result=nest.entries(data);var missingValue=new Number(0);var stackData=stacks.map(function(name,index$$0,array$$0){var line=new com_ibm_rave_bundles_data_LineDataUtilities.LineDatum(array$$0[index$$0].valueOf());result.forEach(function(currentValue,index,array){var values=
  818. currentValue.values;var currentElement=com_ibm_rave_bundles_data_LineDataUtilities.get(line["group"],values);var datum=null;var yValue=null;if(!currentElement)yValue=missingValue;else{datum=currentElement.values[0];yValue=yAccessor(datum);if(yValue==null)yValue=missingValue}line.addPoint(datum,keyToOriginalValue[currentValue["key"]],yValue);return null});return line});return stackData};com_ibm_rave_bundles_data_LineDataUtilities["sortLines"]=function(lines,scale){var comp=function(a,b){var av=scale.center(a["_x"]);
  819. if(av==null)return 1;var bv=scale.center(b["_x"]);if(bv==null)return-1;var v=av-bv;return v<0?-1:v>0?1:0};var __i_enFor0=0;var __exp_enFor0=lines;for(var __len_enFor0=__exp_enFor0.length;__i_enFor0<__len_enFor0;++__i_enFor0){var line=__exp_enFor0[__i_enFor0];line.sort(comp)}};com_ibm_rave_bundles_data_LineDataUtilities["getLineWithPoints"]=function(lines){var result=[];var __i_enFor0=0;var __exp_enFor0=lines;for(var __len_enFor0=__exp_enFor0.length;__i_enFor0<__len_enFor0;++__i_enFor0){var line=__exp_enFor0[__i_enFor0];
  820. line["getLineWithPoints"](result)}return result};com_ibm_rave_bundles_data_LineDataUtilities["getNPNPoints"]=function(lines){var result=[];var __i_enFor0=0;var __exp_enFor0=lines;for(var __len_enFor0=__exp_enFor0.length;__i_enFor0<__len_enFor0;++__i_enFor0){var line=__exp_enFor0[__i_enFor0];line["getNPNPoints"](result)}return result};com_ibm_rave_bundles_data_LineDataUtilities.LineDatum=rave["internal"]["Declare"]({"group":null,"points":null,"constructor":function(group){this["group"]=group;this["points"]=
  821. [];this._pointData=[];this["_originalData"]=[]},"originalData":function(){return this["_originalData"]},"originalDataList":function(){return this["_originalData"]},addPoint:function(originalData,x,y){var point=new com_ibm_rave_bundles_data_PointDataUtilities.PointDatum;point["_x"]=x;point["_y"]=y;point["_originalData"]=originalData;this["points"].push([x,y]);this._pointData.push(point);this["_originalData"].push(originalData)},sort:function(comp){this._pointData.sort(comp);var N=this._pointData.length;
  822. for(var i=0;i<N;++i){var d=this._pointData[i];var p=this["points"][i];p[0]=d["_x"];p[1]=d["_y"];this["_originalData"][i]=d["_originalData"]}},"getLineWithPoints":function(result){var __i_enFor0=0;var __exp_enFor0=this._pointData;for(var __len_enFor0=__exp_enFor0.length;__i_enFor0<__len_enFor0;++__i_enFor0){var point=__exp_enFor0[__i_enFor0];if(point["_y"]!=null)result.push(point)}},"getNPNPoints":function(result){var N=this._pointData.length;var lastY;for(var i=0;i<N;++i){var point=this._pointData[i];
  823. if(point["_y"]!=null){var nextY=i<N-1?this._pointData[i+1]["_y"]:null;if(lastY==null&&nextY==null)result.push(point)}lastY=point["_y"]}}});com_ibm_rave_bundles_data_LineDataUtilities["GROUP_ACCESSOR"]=function(d){return d["group"]};com_ibm_rave_bundles_data_LineDataUtilities["POINTS_ACCESSOR"]=function(d){return d["points"]};var com_ibm_rave_bundles_component_PointComponent=rave["internal"]["Declare"].implement();com_ibm_rave_bundles_component_PointComponent["COMPONENT_TYPE"]="PointComponent";var com_ibm_rave_bundles_components_AlignAxisTicksComponent=
  824. rave["internal"]["Declare"]({});com_ibm_rave_bundles_components_AlignAxisTicksComponent["alignAxisScales"]=function(scale1,scale2){if(scale1.isLinear()&&scale2.isLinear()){com_ibm_rave_bundles_components_AlignAxisTicksComponent["alignScaleZero"](scale1,scale2);var count1=com_ibm_rave_bundles_components_AlignAxisTicksComponent["alignScale"](scale1,null);var count2=com_ibm_rave_bundles_components_AlignAxisTicksComponent["alignScale"](scale2,null);if(count1>count2)com_ibm_rave_bundles_components_AlignAxisTicksComponent["alignScale"](scale2,
  825. count1);else if(count1<count2)com_ibm_rave_bundles_components_AlignAxisTicksComponent["alignScale"](scale1,count2)}};com_ibm_rave_bundles_components_AlignAxisTicksComponent["alignScaleZero"]=function(scale1,scale2){var extent1=rave["internal"]["AbstractScale"].scaleExtent(scale1["scale"]().domain());var extent2=rave["internal"]["AbstractScale"].scaleExtent(scale2["scale"]().domain());var min1=+extent1[0];var min2=+extent2[0];if(min1>=0&&min2>=0)return;var max1=+extent1[1];var max2=+extent2[1];if(max1<=
  826. 0&&max2<=0)return;var ratio1=0;var ratio2=0;if(min1<0){ratio1=max1/Math.abs(min1);if(min2<0){ratio2=max2/Math.abs(min2);if(ratio1>ratio2)extent2[1]=Math.abs(min2)*ratio1;if(ratio2>ratio1)extent1[1]=Math.abs(min1)*ratio2}else if(ratio1>0)extent2[0]=-max2/ratio1;else{ratio1=Math.abs(min1)/max2;ratio1=ratio1>4?4:ratio1;ratio1=ratio1<0.25?0.25:ratio1;extent1[1]=-min1/ratio1;extent2[0]=-max2*ratio1}}else if(min2<0)if(max2>0){ratio2=max2/Math.abs(min2);extent1[0]=-max1/ratio2}else{ratio2=Math.abs(min2)/
  827. max1;ratio2=ratio2>4?4:ratio2;ratio2=ratio2<0.25?0.25:ratio2;extent2[1]=-min2/ratio2;extent1[0]=-max1*ratio2}var exList=[];exList.splice(0,0,extent2[0]);exList.splice(1,0,extent2[1]);scale2["scale"]().domain(exList);exList.length=0;exList.splice(0,0,extent1[0]);exList.splice(1,0,extent1[1]);scale1["scale"]().domain(exList)};com_ibm_rave_bundles_components_AlignAxisTicksComponent["alignScale"]=function(coordScale,tickCount){var m=10;var extent=rave["internal"]["AbstractScale"].scaleExtent(coordScale["scale"]().domain());
  828. var span=+extent[1]-+extent[0];var step=Math.pow(10,Math.floor(Math.log(span/m)/Math.log(10)));var err=m/span*step;if(err<=0.15)step*=10;else if(err<=0.35)step*=5;else if(err<=0.75)step*=2;var min=+extent[0];var max=+extent[1];var numSteps=(max-min)/step;if(tickCount!=null&&numSteps<tickCount){var negSteps=0;if(min<0)negSteps=Math.abs(min)/step;var posSteps=max/step;negSteps=negSteps*tickCount/numSteps;posSteps=posSteps*tickCount/numSteps;var exList=[];exList.splice(0,0,-negSteps*step);exList.splice(1,
  829. 0,posSteps*step);coordScale["scale"]().domain(exList);numSteps=tickCount}return numSteps};com_ibm_rave_bundles_components_AlignAxisTicksComponent.LINEAR_DEFAULT_TICKS=10;var com_ibm_rave_bundles_components_ComponentConfiguration=rave["internal"]["Declare"]({});com_ibm_rave_bundles_components_ComponentConfiguration["configureZoom"]=function(chart,zoom,xScale,yScale,x2Scale,y2Scale,scaleExtent,chartRect,p,s,zoomOps,callback){var z=zoom?zoom:rave.behavior.zoom();var z1=(x2Scale||y2Scale)&&zoomOps=="all"?
  830. rave.behavior.zoom():null;var dummyScale=rave["scale"].linear();z.x(dummyScale);z.y(dummyScale);if(xScale&&zoomOps=="x"){z.x(xScale["scale"]());z["scale"](s[0]);z.translate([p[0],0])}if(yScale&&zoomOps=="y"){z.y(yScale["scale"]());z["scale"](s[1]);z.translate([0,p[1]])}if(x2Scale&&zoomOps=="x2"){z.x(x2Scale["scale"]());z["scale"](s[2]);z.translate([p[2],0])}if(y2Scale&&zoomOps=="y2"){z.y(y2Scale["scale"]());z["scale"](s[3]);z.translate([0,p[3]])}if(zoomOps=="all"){if(xScale)z.x(xScale["scale"]());
  831. if(yScale)z.y(yScale["scale"]());z["scale"](1);z.translate([0,0]);if(z1){if(x2Scale)z1.x(x2Scale["scale"]());if(y2Scale)z1.y(y2Scale["scale"]());z1["scale"](1);z1.translate([0,0])}}z.scaleExtent(scaleExtent?scaleExtent:[1,Infinity]).on("zoom.default",function(args){if(args!==null||arguments.length>1)args=Array.prototype.slice.call(arguments,0);var event=args[3];var scale=event["scale"];var translate=event.translate;var scaledX=chartRect.x*(scale-1);var scaledXExtent=chartRect.width*(1-scale)-scaledX;
  832. translate[0]=Math.min(-scaledX,Math.max(scaledXExtent,translate[0]));var scaledY=chartRect.y*(scale-1);var scaledYExtent=chartRect.height*(1-scale)-scaledY;translate[1]=Math.min(-scaledY,Math.max(scaledYExtent,translate[1]));z.translate([translate[0],translate[1]]);if(z1){z1.translate([translate[0],translate[1]]);z1["scale"](scale)}if(zoomOps=="x"){p[0]=translate[0];s[0]=scale}else if(zoomOps=="y"){p[1]=translate[1];s[1]=scale}else if(zoomOps=="x2"){p[2]=translate[0];s[2]=scale}else if(zoomOps=="y2"){p[3]=
  833. translate[1];s[3]=scale}else if(zoomOps=="all"){p[0]=translate[0];p[1]=translate[1];p[2]=translate[0];p[3]=translate[1];s[0]=scale;s[1]=scale;s[2]=scale;s[3]=scale}return callback.apply(this,args)});return z};var com_ibm_rave_bundles_compositeBundle_CompositeBundle=rave["internal"]["Declare"](com_ibm_rave_bundles_RaveBundle,{"getName":function(){return com_ibm_rave_bundles_compositeBundle_CompositeBundle.BUNDLE_NAME},"createView":function(ctx){return new com_ibm_rave_bundles_compositeBundle_CompositeView(ctx)}});
  834. com_ibm_rave_bundles_compositeBundle_CompositeBundle["init"]=function(){if(!com_ibm_rave_library_Library.bundle.isRegistered(com_ibm_rave_bundles_compositeBundle_CompositeBundle.BUNDLE_NAME)){var bundle;com_ibm_rave_library_Library.bundle.extension(com_ibm_rave_bundles_compositeBundle_CompositeBundle.BUNDLE_NAME,function(){if(!bundle){bundle=new com_ibm_rave_bundles_compositeBundle_CompositeBundle;bundle["loadResources"]();require("./vizlibrary-composite.css")}return bundle})}return com_ibm_rave_bundles_compositeBundle_CompositeBundle.BUNDLE_NAME};
  835. com_ibm_rave_bundles_compositeBundle_CompositeBundle.BUNDLE_NAME="compositeBundle";com_ibm_rave_bundles_compositeBundle_CompositeBundle["init"]();if(!com_ibm_rave_library_Library.bundle[com_ibm_rave_bundles_compositeBundle_CompositeBundle.BUNDLE_NAME])com_ibm_rave_library_Library.bundle[com_ibm_rave_bundles_compositeBundle_CompositeBundle.BUNDLE_NAME]=function(){if(!bundle){bundle=new com_ibm_rave_bundles_compositeBundle_CompositeBundle;bundle["loadResources"]();require("./vizlibrary-composite.css")}return bundle};
  836. else;var com_ibm_rave_bundles_views_AbstractColumnView=rave["internal"]["Declare"](com_ibm_rave_bundles_views_BundleView,{"datasetId":null,"_intervalComponent":null,"constructor":function(context){this["datasetId"]="data"},"setup":function(){com_ibm_rave_bundles_views_BundleView.prototype["setup"].call(this);this["_intervalComponent"]=new com_ibm_rave_bundles_components_IntervalComponentImpl;this["_intervalComponent"]["keyAccessor"](function(data){return data["key"]})["independent1Accessor"](function(data){return data["ind1"]})["independent2Accessor"](function(data){return data["ind2"]})["dependent1Accessor"](function(data){return data["dep1"]})["dependent2Accessor"](function(data){return data["dep2"]})["valueAccessor"](com_ibm_rave_bundles_components_IntervalDataUtilities["VALUE_ACCESSOR"])},
  837. "dataValid":function(){if(!this["dataModel"].validate())return false;var dataHandling=this["getStringProperty"]("data.handling");var dataSet=this["dataModel"].dataset(this["datasetId"]);var yAccessor=dataSet.slot("y").entry();var yStart=dataSet.slot("yStart");var yStartAccessor=yStart?yStart.entry():null;if(dataHandling=="Stacked"||dataHandling=="Stacked100")if(yStartAccessor||yAccessor["type"]()=="date"){com_ibm_rave_library_Library.logError(408,"Column chart isn't stackable when ystart is defined or y is date");
  838. return false}if(yStartAccessor&&!(yStartAccessor["type"]()==yAccessor["type"]())){com_ibm_rave_library_Library.logError(409,"y and ystart slot must have the same data type in Column data");return false}return true},"makeData":function(dataModel,_data){if(!_data||_data.length==0)return[];var dataSet=dataModel.dataset(this["datasetId"]);var xAccessor=dataSet.slot("x").entry();var yAccessor=dataSet.slot("y").entry();var colorAccessor=dataSet.slot("color").entry();var labelAccessor=dataSet.slot("label").entry();
  839. var yStart=dataSet.slot("yStart");var yStartAccessor=yStart?yStart.entry():null;var dataHandling=this["getStringProperty"]("data.handling");if("Clustered"==dataHandling&&colorAccessor)return com_ibm_rave_bundles_components_IntervalDataUtilities["clusteredBars"](_data,[xAccessor,colorAccessor],[rave["library"]["internal"]["AbstractView"].domainCheckerOf(_data,xAccessor),rave["library"]["internal"]["AbstractView"].domainCheckerOf(_data,colorAccessor)],yAccessor,yStartAccessor,colorAccessor,labelAccessor);
  840. if("Stacked"==dataHandling)return com_ibm_rave_bundles_components_IntervalDataUtilities["stackedBars"](_data,xAccessor,rave["library"]["internal"]["AbstractView"].domainCheckerOf(_data,xAccessor),yAccessor,colorAccessor,labelAccessor,false);if("Stacked100"==dataHandling)return com_ibm_rave_bundles_components_IntervalDataUtilities["stackedBars"](_data,xAccessor,rave["library"]["internal"]["AbstractView"].domainCheckerOf(_data,xAccessor),yAccessor,colorAccessor,labelAccessor,true);return com_ibm_rave_bundles_components_IntervalDataUtilities["simpleBars"](_data,
  841. xAccessor,rave["library"]["internal"]["AbstractView"].domainCheckerOf(_data,xAccessor),yAccessor,yStartAccessor,colorAccessor,labelAccessor)},"configureDataLabels":function(dataSet,colorDataSlotEntry){if(!this["isShowDataLabels"]()){this["_intervalComponent"]["itemLabel"](false);this["_intervalComponent"]["itemLabelPosition"](null);this["_intervalComponent"]["labelFont"](null);this["_intervalComponent"]["labelAccessor"](null);this["_intervalComponent"]["labelFormatter"](null);return}var dataHandling=
  842. this["getStringProperty"]("data.handling");var isStacked=colorDataSlotEntry&&("Stacked"==dataHandling||"Stacked100"==dataHandling);var dataLabelPosition=function(data,index,groupIndex){if(isStacked)return 1;else{var iData=data;var value=+iData["value"];return value>=0?0:2}};var labelAccessor=this["getlDataLabelAccessor"](dataSet,"label",true);var labelEntry=this["getEntryForDataLabelFormatter"](dataSet,"label","y");this["_intervalComponent"]["itemLabel"](true);this["_intervalComponent"]["itemOverlap"](true);
  843. this["_intervalComponent"]["itemLabelPosition"](dataLabelPosition);var labelFontStyle=com_ibm_rave_bundles_utilities_FontPropertyParser["parseCSSFont"](this["getStringProperty"]("labelstyle.font"));if(!isStacked)labelFontStyle=this["getBackgroundConstrastLabelStyle"]();this["_intervalComponent"]["labelFont"](labelFontStyle);this["_intervalComponent"]["labelAccessor"](labelAccessor);this["_intervalComponent"]["labelContrast"](this["getBooleanProperty"]("contrast.label.color"));this["_intervalComponent"]["labelFormatter"](this.context.getCustomFormatterForElementLabels(labelEntry,
  844. dataSet.slot("label").entry()?"ROLE_NONE":"ROLE_Y1"));this["_intervalComponent"]["labelContrast"](this["getBooleanProperty"]("contrast.label.color"));this["_intervalComponent"]["labelShadow"](this["getBooleanProperty"]("label.shadow"))}});com_ibm_rave_bundles_views_AbstractColumnView["DATAMODEL_TABULAR"]="tabular";com_ibm_rave_bundles_views_AbstractColumnView["DATASET_DATA"]="data";com_ibm_rave_bundles_views_AbstractColumnView["DATASLOT_X"]="x";com_ibm_rave_bundles_views_AbstractColumnView["DATASLOT_Y"]=
  845. "y";com_ibm_rave_bundles_views_AbstractColumnView["DATASLOT_Y_START"]="yStart";com_ibm_rave_bundles_views_AbstractColumnView["DATASLOT_COLOR"]="color";com_ibm_rave_bundles_views_AbstractColumnView["DATASLOT_LABEL"]="label";var com_ibm_rave_bundles_compositeBundle_CompositeView=rave["internal"]["Declare"](com_ibm_rave_bundles_views_AbstractColumnView,{"_labelCollisionComponent":null,_transpose:false,_pendingLabelTimer:false,_cancelLabelTimers:0,"constructor":function(context){this["datasetId"]="column";
  846. this._columnColorAccessor=function(data){return data["color"]}},"getLegendCount":function(){return 2},"isAxesManagerRequired":function(){return true},"setup":function(){com_ibm_rave_bundles_views_AbstractColumnView.prototype["setup"].call(this);this._pendingLabelTimer=false;this._cancelLabelTimers=0;this["_labelCollisionComponent"]=new com_ibm_rave_bundles_components_LabelCollisionComponentImpl;rave["library"]["internal"]["BundleUtils"].setupDefaultActions(this.context,".chart ."+"element-shape",
  847. null);this._lineComponent=new com_ibm_rave_bundles_components_LineComponentImpl;this._lineComponent["pointsAccessor"](function(data){return data["points"]})["groupAccessor"](com_ibm_rave_bundles_data_LineDataUtilities["GROUP_ACCESSOR"]);this._pointComponent=new com_ibm_rave_bundles_components_PointComponentImpl;this._pointComponent["independentAccessor"](com_ibm_rave_bundles_data_PointDataUtilities["X_ACCESSOR"])["dependentAccessor"](com_ibm_rave_bundles_data_PointDataUtilities["Y_ACCESSOR"])},"draw":function(){if(this["isUpdateNothing"]())return;
  848. this["preDraw"]("g.vizlibrary-composite");this["dataModel"]=this.context["dataModel"]();if(this["dataModel"].getDescriptor()["id"]()==com_ibm_rave_bundles_compositeBundle_CompositeView.DATAMODEL_SIMPLE)this["datasetId"]="composite";else this["datasetId"]="column";if(!this["validateDataModel"]("g.element-group","g.grid","g.axis"))return;this["setActionsWithBorder"]();this["stopLabelCollisions"]();var columnDataSet;var lineDataSet;if(this["dataModel"].getDescriptor()["id"]()==com_ibm_rave_bundles_compositeBundle_CompositeView.DATAMODEL_SIMPLE){columnDataSet=
  849. this["dataModel"].dataset("composite");lineDataSet=this["dataModel"].dataset("composite")}else{columnDataSet=this["dataModel"].dataset(this["datasetId"]);lineDataSet=this["dataModel"].dataset("line")}if(!this.compatibleDomains(columnDataSet,lineDataSet)){this["_chart"].selectAll("g.element-group").selectAll("*").remove();this["_chart"].selectAll("g.element-label-group").selectAll("*").remove();this["_chart"].selectAll("g.grid").selectAll("*").remove();this["_chart"].selectAll("g.axis").selectAll("*").remove();
  850. this["_legends"]["visible"](false)["draw"]()}var effect=this["getStringProperty"]("effect.name");var duration=this["getEffectDuration"](effect);this._transpose=this["getBooleanProperty"]("transpose");var columnData=columnDataSet["data"]();var lineModelData=lineDataSet["data"]();var useLineLegend=this["getBooleanProperty"]("legend.line.display");var useColumnLegend=this["getBooleanProperty"]("legend.column.display");var legendPosition=this["getLegendPosition"]();var columnXDataSlotEntry=columnDataSet.slot("x").entry();
  851. var columnYDataSlotEntry=columnDataSet.slot("y").entry();var columnColorDataSlotEntry=columnDataSet.slot("color").entry();if(!columnColorDataSlotEntry&&columnYDataSlotEntry)columnDataSet.slot("color").overrideLabel(columnYDataSlotEntry["label"]());var lineXDataSlotEntry=lineDataSet.slot("x").entry();var lineYDataSlotEntry;var lineColorDataSlotEntry;var lineYSlotName="y";var lineColorSlotName="color";if(this["dataModel"].getDescriptor()["id"]()==com_ibm_rave_bundles_compositeBundle_CompositeView.DATAMODEL_SIMPLE){lineYSlotName+=
  852. "Line";lineColorSlotName+="Line"}lineYDataSlotEntry=lineDataSet.slot(lineYSlotName).entry();lineColorDataSlotEntry=lineDataSet.slot(lineColorSlotName).entry();if(!lineColorDataSlotEntry&&lineYDataSlotEntry)lineDataSet.slot(lineColorSlotName).overrideLabel(lineYDataSlotEntry["label"]());if(this.updateType==0){this._intervalData=this["makeData"](this["dataModel"],columnData);this._lineData=com_ibm_rave_bundles_data_LineDataUtilities["buildLines"](lineModelData,rave["library"]["internal"]["AbstractView"].accessorOf(lineXDataSlotEntry),
  853. rave["library"]["internal"]["AbstractView"].domainCheckerOf(lineModelData,lineXDataSlotEntry),rave["library"]["internal"]["AbstractView"].accessorOf(lineYDataSlotEntry),rave["library"]["internal"]["AbstractView"].accessorOf(lineColorDataSlotEntry));this.context.actions.action("deselectAll")(this.context.node.selectAll("."+"element-shape"))}var columnColorPalette=this["getPalette"]("color.palette.column");columnColorPalette.setData(columnDataSet,"color");columnColorPalette.setAccessor(this._columnColorAccessor);
  854. columnColorPalette.setNullColor(this["getStringProperty"]("color.null"));var swap=this["getBooleanProperty"]("swapLineColumn");var lineColorPalette=this["getPalette"]("color.palette.line");lineColorPalette.setData(lineDataSet,lineColorSlotName);lineColorPalette.setAccessor(com_ibm_rave_bundles_data_LineDataUtilities["GROUP_ACCESSOR"]);var drawLineOrPoints=this["getStringProperty"]("lineWithPoints.display");var drawPoints="line_points"==drawLineOrPoints||"points"==drawLineOrPoints;var drawLine="line_points"==
  855. drawLineOrPoints||"line"==drawLineOrPoints;this.configureLegends(effect,duration,useLineLegend,useColumnLegend,legendPosition,columnColorDataSlotEntry,lineColorDataSlotEntry,columnColorPalette,lineColorPalette,drawPoints);this.doLayout(columnDataSet,lineDataSet,duration,lineModelData,columnXDataSlotEntry,columnYDataSlotEntry,lineXDataSlotEntry,lineYDataSlotEntry,swap);if(this.updateType==0&&this._independentScale&&this["getBooleanProperty"]("sortX"))com_ibm_rave_bundles_data_LineDataUtilities["sortLines"](this._lineData,
  856. this._independentScale);if(this.updateType==0){this._pointData=com_ibm_rave_bundles_data_LineDataUtilities["getLineWithPoints"](this._lineData);this._pointNPNData=com_ibm_rave_bundles_data_LineDataUtilities["getNPNPoints"](this._lineData)}var elementRect=this["_layoutComponent"]["elementRect"]();this["_clip"]["clipRect"](elementRect)["applyTo"](this["_chart"].select(".content1")).call(this.context.node.select("defs"));this["_clip"]["clipRect"](elementRect)["applyTo"](this["_chart"].select(".content2")).call(this.context.node.select("defs"));
  857. this["_chart"].select("rect.background.elements").attr("x",elementRect.x).attr("y",elementRect.y).attr("width",elementRect.width).attr("height",elementRect.height);this["_legends"]["rectangle"](this["_layoutComponent"]["legendRect"]());this["setBackgroundProperties"](elementRect,duration);this["configureDataLabels"](columnDataSet,columnColorDataSlotEntry);this.drawLinesAndPoints(columnDataSet,lineDataSet,effect,duration,lineColorDataSlotEntry,lineColorSlotName,columnColorPalette,lineColorPalette,
  858. drawPoints,drawLine,elementRect);this.drawAxes(duration,columnXDataSlotEntry,columnYDataSlotEntry,lineYDataSlotEntry);this["_legends"]["draw"]();this.zoom(swap,elementRect);this["runLabelCollisions"](this["_chart"],elementRect,duration,this.delayFunction(duration,this._independentScale));this["resetUpdate"]();this["_chart"].selectAll(".element-shape").classed("bundle-shape",true);this["_chart"].selectAll(".legendShape").classed("bundle-shape",true)},drawAxes:function(duration,columnXDataSlotEntry,
  859. columnYDataSlotEntry,lineYDataSlotEntry){var stacked100="Stacked100"==this["getStringProperty"]("data.handling");var subDomainDivisionColumn=columnYDataSlotEntry.subDomainDivision();var scaleDivisionColumn=subDomainDivisionColumn==null?null:+subDomainDivisionColumn;var subDomainDivisionLine=lineYDataSlotEntry.subDomainDivision();var scaleDivisionLine=subDomainDivisionLine==null?null:+subDomainDivisionLine;this["_axes"]["visible"](true)["duration"](duration)["useDefaultSelectors"]()["useDefaultX1Properties"](true)["useDefaultY1Properties"](true)["useDefaultY2Properties"](true)["scaleTickMagnitude"](2,
  860. scaleDivisionColumn)["scaleTickMagnitude"](3,scaleDivisionLine)["setTickFormatterList"](0,[columnXDataSlotEntry,columnYDataSlotEntry],"none",null)["setTickFormatterList"](2,[columnYDataSlotEntry],stacked100?"percent":"none",stacked100?com_ibm_rave_bundles_components_AxesManager["percentFormat"](0):null)["setTickFormatter"](3,lineYDataSlotEntry);this["_axes"]["draw"]()},doLayout:function(columnDataSet,lineDataSet,duration,lineModelData,columnXDataSlotEntry,columnYDataSlotEntry,lineXDataSlotEntry,lineYDataSlotEntry,
  861. swap){var legendPosition;if(this.updateType<=1){this._independentScale=this.makeIndependentScale(columnDataSet,lineDataSet);this._intervalDependentScale=this.makeIntervalDependentScale(columnDataSet.slot("y").entry(),this._intervalData);this._lineDependentScale=rave["library"]["internal"]["ScaleManager"].makeCoordinateScale(lineModelData,lineYDataSlotEntry);var subDomainDivisionColumn=columnYDataSlotEntry.subDomainDivision();var scaleDivisionColumn=subDomainDivisionColumn==null?null:+subDomainDivisionColumn;
  862. var subDomainDivisionLine=lineYDataSlotEntry.subDomainDivision();var scaleDivisionLine=subDomainDivisionLine==null?null:+subDomainDivisionLine;this["_axes"]["visible"](true)["duration"](duration)["transpose"](this._transpose)["swapY"](swap^this._transpose)["scale"](0,this._independentScale)["scale"](2,this._intervalDependentScale)["scale"](3,this._lineDependentScale)["scaleTickMagnitude"](2,scaleDivisionColumn)["scaleTickMagnitude"](3,scaleDivisionLine)["setDataSlot"](0,[columnXDataSlotEntry,lineXDataSlotEntry])["setDataSlot"](2,
  863. columnYDataSlotEntry)["setDataSlot"](3,lineYDataSlotEntry)["useDefaultSelectors"]()["useDefaultX1Properties"](true)["useDefaultY1Properties"](true)["useDefaultY2Properties"](true);this["prepareLayoutComponent"]();this["prepareLayoutSizables"](this["_layoutComponent"],false,true,true,true,this["_legends"]["anyVisible"]());legendPosition=this["_layoutComponent"]["legendPosition"]();var isLegendLeftOrRight="left"==legendPosition||"right"==legendPosition;if(isLegendLeftOrRight){this["_legends"]["preLayout"](this["_layoutComponent"],
  864. false);this["_axes"]["preLayout"](this["_layoutComponent"],false,0.1,0.05,0,0.1,0,0)}else{this["_axes"]["preLayout"](this["_layoutComponent"],true,0.1,0.05,0,0.1,0,0);this["_legends"]["preLayout"](this["_layoutComponent"],true)}this["_layoutComponent"]["layout"]();this["_legends"]["position"](legendPosition);this["_axes"]["useBoundsFromLayout"](this["_layoutComponent"])["setIndependentScaleRanges"](0.1,0.05,0)["setDependentScaleRanges"](0.1,0,0);if(this._independentScale){var csize=this["getCSSSizeToPixelNumber"]("column.size");
  865. this._independentScale.setWidth(csize);this._independentScale.applyWidth(this["getBooleanProperty"]("column.applysize"));this._independentScale.expandZeroExtent(false);this._independentScale.expandPixels(csize/2+1,false);if(this["getBooleanProperty"]("axis.x.scale.nice"))this._independentScale.nice();if(this["getBooleanProperty"]("axis.x.scale.includeZero"))this._independentScale.includeZero();this.indepScale=this._independentScale["scale"]().copy()}var intervalDomainmax=0;if(this._intervalDependentScale){intervalDomainmax=
  866. +this._intervalDependentScale["scale"]().domain()[1];if(this["getBooleanProperty"]("axis.y.scale.includeZero"))this._intervalDependentScale.includeZero();this._intervalDependentScale.expandZeroExtent(true);if(this["getBooleanProperty"]("axis.y.scale.nice"))this._intervalDependentScale.nice(scaleDivisionColumn)}var lineDomainmax=0;if(this._lineDependentScale){lineDomainmax=+this._lineDependentScale["scale"]().domain()[1];if(this["getBooleanProperty"]("axis.y2.scale.includeZero"))this._lineDependentScale.includeZero();
  867. this._lineDependentScale.expandZeroExtent(true);if(this["getBooleanProperty"]("axis.y2.scale.nice"))this._lineDependentScale.nice(scaleDivisionLine)}var isLineOnly="line"==this["getStringProperty"]("lineWithPoints.display");var linePadding=isLineOnly?2:Math.max(2,2+Math.sqrt(this["getCSSSizeToPixelNumber"]("lineWithPoints.size")));var intervalPadding=2;if(this["getBooleanProperty"]("data.label.display")){if(this._lineDependentScale){var lineNiceScaleDomain=this._lineDependentScale["scale"]().domain();
  868. var lineRange=this._lineDependentScale["scale"]().range();var pixelPerUnit=Math.abs(+lineRange[1]-+lineRange[0])/Math.abs(+lineNiceScaleDomain[1]-+lineNiceScaleDomain[0]);linePadding=20-Math.abs(+lineNiceScaleDomain[1]-lineDomainmax)*pixelPerUnit}var columnColorDataSlotEntry=columnDataSet.slot("color").entry();var dataHandling=this["getStringProperty"]("data.handling");var isStacked=columnColorDataSlotEntry&&("Stacked"==dataHandling||"Stacked100"==dataHandling);if(this._intervalDependentScale&&!isStacked){var intervalNiceScaleDomain=
  869. this._intervalDependentScale["scale"]().domain();var intervalRange=this._intervalDependentScale["scale"]().range();var dependentScaleLengthPx=Math.abs(+intervalRange[1]-+intervalRange[0]);var intervalPixelPerUnit=dependentScaleLengthPx/Math.abs(+intervalNiceScaleDomain[1]-+intervalNiceScaleDomain[0]);var paddingNeeded=20;if(this._transpose&&(""+intervalDomainmax).length*12<dependentScaleLengthPx/4)paddingNeeded=(""+intervalDomainmax).length*12;intervalPadding=paddingNeeded-Math.abs(+intervalNiceScaleDomain[1]-
  870. intervalDomainmax)*intervalPixelPerUnit}}if(this._intervalDependentScale&&this._lineDependentScale&&this["getBooleanProperty"]("alignAxes"))com_ibm_rave_bundles_components_AlignAxisTicksComponent["alignAxisScales"](this._intervalDependentScale,this._lineDependentScale);if(this.isSameDomain()||this["getBooleanProperty"]("alignAxes")){this._intervalDependentScale.expandPixels(Math.max(linePadding,intervalPadding),true);this._lineDependentScale.expandPixels(Math.max(linePadding,intervalPadding),true)}else{if(this._intervalDependentScale)this._intervalDependentScale.expandPixels(intervalPadding,
  871. true);if(this._lineDependentScale)this._lineDependentScale.expandPixels(linePadding,true)}if(this._intervalDependentScale)this.intervalScale=this._intervalDependentScale["scale"]().copy();if(this._lineDependentScale)this.lineScale=this._lineDependentScale["scale"]().copy();this["resetZoom"]()}},isSameDomain:function(){if(!this._intervalDependentScale||!this._lineDependentScale)return false;var y1Domain=this._intervalDependentScale["scale"]().domain();var y1Min=Math.floor(+y1Domain[0]);var y1Max=Math.ceil(+y1Domain[1]);
  872. var y2Domain=this._lineDependentScale["scale"]().domain();var y2Min=Math.floor(+y2Domain[0]);var y2Max=Math.ceil(+y2Domain[1]);var minDifferent=y1Min<y2Min||y1Min>y2Min;var maxDifferent=y1Max<y2Max||y1Max>y2Max;return minDifferent||maxDifferent?false:true},zoom:function(swap,elementRect){if(this.updateType<=2){var ops=this["getStringProperty"]("zoom");if(this._independentScale&&(ops=="all"||ops=="x"))this._independentScale["scale"]().domain(this.indepScale.domain());if(this._intervalDependentScale&&
  873. (ops=="all"||ops=="y"))this._intervalDependentScale["scale"]().domain(this.intervalScale.domain());if(this._lineDependentScale&&(ops=="all"||ops=="y2"))this._lineDependentScale["scale"]().domain(this.lineScale.domain());var xScale=this._transpose?swap?this._lineDependentScale:this._intervalDependentScale:this._independentScale;var x2Scale=this._transpose?swap?this._intervalDependentScale:this._lineDependentScale:null;var yScale=this._transpose?this._independentScale:swap?this._lineDependentScale:
  874. this._intervalDependentScale;var y2Scale=this._transpose?null:this._lineDependentScale;var self=this;var zoom=this.context.actions.action("zoom").get("zoom");com_ibm_rave_bundles_components_ComponentConfiguration["configureZoom"](this["_chart"],zoom,xScale,yScale,x2Scale,y2Scale,null,elementRect,this["_zoomP"],this["_zoomS"],this.convertZoomOps(swap),function(args){if(args!==null||arguments.length>1)args=Array.prototype.slice.call(arguments,0);self["_chart"].selectAll("g.element-column").call(self["_intervalComponent"]);
  875. self["_chart"].selectAll("g.element-line").call(self._lineComponent);if(self._pointComponent)self["_chart"].selectAll("g.element-point").call(self._pointComponent);self["_axes"]["redraw"](true);self["_chart"].call(self["_labelCollisionComponent"]);return self["_chart"]});zoom.on("zoomend.hideLabels",function(args){if(args!==null||arguments.length>1)args=Array.prototype.slice.call(arguments,0);if(self["_axes"]["hideAnyPanZoom"]()){if(self.zoomendedTimer!=null)clearTimeout(self.zoomendedTimer);self.zoomendedTimer=
  876. setTimeout(function(){self.zoomendedTimer=null;self["_axes"]["redraw"](false);self["_chart"].call(self["_labelCollisionComponent"])},300)}return null})}},drawLinesAndPoints:function(columnDataSet,lineDataSet,effect,duration,lineColorDataSlotEntry,lineColorSlotName,columnColorPalette,lineColorPalette,drawPoints,drawLine,elementRect){this["_intervalComponent"]["data"](this._intervalData)["key"](rave["library"]["internal"]["AbstractView"].originalDatumAccessor(rave["library"]["internal"]["AbstractView"].accessorOf(columnDataSet.slot("key").entry())))["independentScale"](this._independentScale)["dependentScale"](this._intervalDependentScale)["transpose"](this._transpose)["colorPalette"](columnColorPalette)["delay"](this.delayFunction(duration,
  877. this._independentScale))["setPreExecute"](this.context.getPreExecute())["borderWidth"](this.context.convertCSSSizeToPixels(this.context.getPropertyValue("column.borderWidth")))["borderColor"](this.context.getPropertyValue("column.borderColor"))["bounds"](this["_layoutComponent"]["elementRect"]());this["_chart"].selectAll("g.element-column")["transition"]("transition")["duration"](duration).call(this["_intervalComponent"]);var lineKeyDataSlotEntry=lineDataSet.slot("key").entry();if(drawLine)this._lineComponent["data"](this._lineData);
  878. else this._lineComponent["data"](null);var showMissingAsGap=this["getBooleanProperty"]("lineWithPoints.showMissingAsGap");this._lineComponent["key"](rave["library"]["internal"]["AbstractView"].originalDatumAccessor(rave["library"]["internal"]["AbstractView"].accessorOf(lineKeyDataSlotEntry)))["independentScale"](this._independentScale)["dependentScale"](this._lineDependentScale)["transpose"](this._transpose)["colorPalette"](lineColorPalette)["effect"](effect)["showMissingAsGap"](showMissingAsGap)["setPreExecute"](this.context.getPreExecute())["interpolate"](this["getStringProperty"]("lineWithPoints.interpolate"));
  879. this["_chart"].selectAll("g.element-line")["transition"]("transition")["duration"](duration).call(this._lineComponent);if(drawPoints||this["isShowDataLabels"]())this._pointComponent["data"](this._pointData);else this._pointComponent["data"](showMissingAsGap?this._pointNPNData:null);this["configureLineDataLabels"](lineDataSet);var pointsColorPalette=this["getPalette"]("color.palette.line");pointsColorPalette.setData(lineDataSet,lineColorSlotName);pointsColorPalette.setAccessor(rave["library"]["internal"]["AbstractView"].originalDatumAccessor(rave["library"]["internal"]["AbstractView"].accessorOf(lineColorDataSlotEntry)));
  880. this._pointComponent["key"](rave["library"]["internal"]["AbstractView"].originalDatumAccessor(rave["library"]["internal"]["AbstractView"].accessorOf(lineKeyDataSlotEntry)))["bounds"](elementRect)["independentScale"](this._independentScale)["dependentScale"](this._lineDependentScale)["colorPalette"](pointsColorPalette)["labelContrast"](this["getBooleanProperty"]("contrast.label.color"))["labelShadow"](this["getBooleanProperty"]("label.shadow"))["transpose"](this._transpose)["effect"](effect)["setPreExecute"](this.context.getPreExecute())["defaultSize"](this["getCSSSizeToPixelNumber"]("lineWithPoints.size"))["symbol"](drawPoints?
  881. this["getStringProperty"]("lineWithPoints.symbol"):null)["itemOverlap"](false);this["_chart"].selectAll("g.element-point")["transition"]("transition")["duration"](duration).call(this._pointComponent)},configureLegends:function(effect,duration,useLineLegend,useColumnLegend,legendPosition,columnColorDataSlotEntry,lineColorDataSlotEntry,columnColorPalette,lineColorPalette,drawPoints){var lineTitleString=this.context.getPropertyValue("legend.line.titlestyle.font");if(lineTitleString!=null)this["_legends"]["titleFont"](0,
  882. lineTitleString);var lineEntryString=this.context.getPropertyValue("legend.line.entrystyle.font");if(lineEntryString!=null)this["_legends"]["entryFont"](0,lineEntryString);var columnTitleString=this.context.getPropertyValue("legend.column.titlestyle.font");if(columnTitleString!=null)this["_legends"]["titleFont"](1,columnTitleString);var columnEntryString=this.context.getPropertyValue("legend.column.entrystyle.font");if(columnEntryString!=null)this["_legends"]["entryFont"](1,columnEntryString);this["_legends"]["position"](legendPosition)["transition"](!("none"==
  883. effect),duration)["setPreExecute"](this.context.getPreExecute())["visible"](0,useLineLegend)["selector"](0,this.context.node.selectAll("g.legend.line"))["palette"](0,lineColorPalette)["shape"](0,drawPoints?this["getStringProperty"]("lineWithPoints.symbol"):"compositeViewLegendLineSymbol")["title"](0,this.context.getDataSlotLabel("legend.line.title",lineColorDataSlotEntry))["titleFill"](0,this.context.getPropertyValue("legend.line.titlestyle.fill"))["titleFontSize"](0,this.context.getPropertyValue("legend.line.titlestyle.fontsize"))["titleFontFamily"](0,
  884. this.context.getPropertyValue("legend.line.titlestyle.fontfamily"))["setDataSlot"](0,lineColorDataSlotEntry)["visible"](1,useColumnLegend)["selector"](1,this.context.node.selectAll("g.legend.column"))["palette"](1,columnColorPalette)["shape"](1,"square")["title"](1,this.context.getDataSlotLabel("legend.column.title",columnColorDataSlotEntry))["titleFill"](1,this.context.getPropertyValue("legend.column.titlestyle.fill"))["titleFontSize"](1,this.context.getPropertyValue("legend.column.titlestyle.fontsize"))["titleFontFamily"](1,
  885. this.context.getPropertyValue("legend.column.titlestyle.fontfamily"))["setDataSlot"](1,columnColorDataSlotEntry)},compatibleDomains:function(columnDataSet,lineDataSet){var columnDataSlotEntry=columnDataSet.slot("x").entry();var lineDataSlotEntry=lineDataSet.slot("x").entry();if(columnDataSlotEntry&&lineDataSlotEntry&&!(columnDataSlotEntry["type"]()==lineDataSlotEntry["type"]())){com_ibm_rave_library_Library.logError(101,"The column bundle X accessors must be the same type");return false}return true},
  886. makeIndependentScale:function(columnDataSet,lineDataSet){var columnData=columnDataSet["data"]();var lineData=lineDataSet["data"]();var columnXAccessor=columnDataSet.slot("x").entry();var lineXAccessor=lineDataSet.slot("x").entry();if(!columnXAccessor||!lineXAccessor)return null;var columnScale=rave["library"]["internal"]["ScaleManager"].makeCoordinateScale(columnData,columnXAccessor);var lineScale=rave["library"]["internal"]["ScaleManager"].makeCoordinateScale(lineData,lineXAccessor);var isClustered=
  887. "Clustered"==this["getStringProperty"]("data.handling");if(isClustered||"string"==columnXAccessor["type"]()){var intervalDomain=rave["library"]["internal"]["ScaleManager"].ordinalDomain(columnData,columnXAccessor);var lineDomain=rave["library"]["internal"]["ScaleManager"].ordinalDomain(lineData,lineXAccessor);var uniqueValues=[];var originalDomainMap=rave["internal"]["ES6Map"].create();if(intervalDomain){var __i_enFor0=0;var __exp_enFor0=intervalDomain;for(var __len_enFor0=__exp_enFor0.length;__i_enFor0<
  888. __len_enFor0;++__i_enFor0){var v=__exp_enFor0[__i_enFor0];if(v!=null){var datum=originalDomainMap.get(v);if(!datum){uniqueValues.push(v);datum=originalDomainMap.set(v,new rave["library"]["internal"]["OrdinalCoordinateScaleDatum"](v))}}}}if(lineDomain){var __i_enFor1=0;var __exp_enFor1=lineDomain;for(var __len_enFor1=__exp_enFor1.length;__i_enFor1<__len_enFor1;++__i_enFor1){v=__exp_enFor1[__i_enFor1];if(v!=null){datum=originalDomainMap.get(v);if(!datum){uniqueValues.push(v);datum=originalDomainMap.set(v,
  889. new rave["library"]["internal"]["OrdinalCoordinateScaleDatum"](v))}}}}var __i_enFor2=0;var __exp_enFor2=columnData;for(var __len_enFor2=__exp_enFor2.length;__i_enFor2<__len_enFor2;++__i_enFor2){var o=__exp_enFor2[__i_enFor2];var key$$0=columnXAccessor(o);datum=originalDomainMap.get(key$$0);if(datum)datum.push(o)}var __i_enFor3=0;var __exp_enFor3=lineData;for(var __len_enFor3=__exp_enFor3.length;__i_enFor3<__len_enFor3;++__i_enFor3){o=__exp_enFor3[__i_enFor3];key$$0=lineXAccessor(o);datum=originalDomainMap.get(key$$0);
  890. if(datum)datum.push(o)}var originalDomain=[];var __i_enFor4=0;var __exp_enFor4=uniqueValues;for(var __len_enFor4=__exp_enFor4.length;__i_enFor4<__len_enFor4;++__i_enFor4){var d=__exp_enFor4[__i_enFor4];originalDomain.push(originalDomainMap.get(d))}if(isClustered){var colorAccessor=columnDataSet.slot("color").entry();var domains=[];domains.push(uniqueValues);domains.push(rave["library"]["internal"]["ScaleManager"].ordinalDomain(columnData,colorAccessor));columnScale=rave["library"]["internal"]["ClusteredCoordinateScale"].create(domains,
  891. originalDomain)}else columnScale=rave["library"]["internal"]["OrdinalCoordinateScale"].create(uniqueValues,originalDomain)}else{intervalDomain=columnScale["scale"]().domain();lineDomain=lineScale["scale"]().domain();if(intervalDomain.length==0&&!lineDomain)return null;var domain;if(intervalDomain.length==0&&lineDomain)domain=lineDomain;else if(!lineDomain&&intervalDomain.length>0)domain=intervalDomain;else domain=[rave.min([intervalDomain[0],lineDomain[0]]),rave.max([intervalDomain[1],lineDomain[1]])];
  892. var type=lineXAccessor["type"]();if("numeric"==type)columnScale=rave["library"]["internal"]["LinearCoordinateScale"].create(domain);else columnScale=rave["library"]["internal"]["TimeCoordinateScale"].create(domain)}if(columnScale)columnScale.originalDomainLabelAccessor(function(data,index,groupIndex){var key=data["key"]();return""+key});return columnScale},makeIntervalDependentScale:function(columnYDataSlotEntry,data$$0){var domain=columnYDataSlotEntry.domain();if(domain)return rave["library"]["internal"]["LinearCoordinateScale"].create(domain);
  893. var omax=rave.max(data$$0,function(data,ix,gix){var dep1=+data["dep1"];var dep2=+data["dep2"];return dep1!=0?Math.max(dep1,dep2):dep2});if(omax==null)return null;var omin=rave.min(data$$0,function(data,ix,gix){var dep1=+data["dep1"];var dep2=+data["dep2"];return dep1!=0?Math.min(dep1,dep2):dep2});var scale=rave["library"]["internal"]["LinearCoordinateScale"].create([omin,omax]);return scale},"getCoordinateScale":function(role){if("ROLE_X1"==role)return this._independentScale;if("ROLE_Y1"==role)return this._intervalDependentScale;
  894. if("ROLE_Y2"==role)return this._lineDependentScale;return null},convertZoomOps:function(swap){var zoom=this["getStringProperty"]("zoom");if(this._transpose)if("x"==zoom)zoom="y";else if("y"==zoom)if(swap)zoom="x2";else zoom="x";else if("y2"==zoom)if(swap)zoom="x";else zoom="x2";return zoom},delayFunction:function(duration,independentScale){if(duration>0&&independentScale&&this["getBooleanProperty"]("effect.delay")){var range=independentScale["scale"]().range();if(range&&range.length>1){var rmin=+range[0];
  895. var rmax=+range[range.length-1];if(rmin!=rmax){var scaling=duration/(rmax-rmin);return function(data,index,groupIndex){return(+independentScale.center(data["ind1"])-rmin)*scaling}}}}return null},"requireUpdate":function(property){if(property=="axis.y2.title.text"&&!this["getBooleanProperty"]("axis.y2.title.display"))return 4;if(property=="legend.title.column"&&!this["isShowLegend"]())return 4;if(property=="legend.title.line"&&!this["isShowLegend"]())return 4;if(property=="swapLineColumn")return 1;
  896. return rave["library"]["internal"]["AbstractView"].prototype["requireUpdate"].call(this,property)},"setActionsWithBorder":function(){var self=this;var borderWidth=this.context.convertCSSSizeToPixels(this.context.getPropertyValue("column.borderWidth"));var v=this["getProperty"]("column.borderColor");var borderColor=v==null?null:""+v;var style={};style["stroke-width"]=borderWidth;style["stroke"]=borderColor;var highlightAction=this.context.actions.action("highlight");var unhighlightAction=this.context.actions.action("unhighlight");
  897. var deselectAllAction=this.context.actions.action("deselectAll");var lineHighlightEventListener=function(data,index,groupIndex,event){if(this.rave_getParentNode().rave_containsClass("element-line")&&this.rave_containsClass("element-shape"))rave.select(this).style("stroke-width",4);else highlightAction(rave.select(this))};highlightAction.setBindFn(rave["library"]["internal"]["BundleUtils"].bindOrUnbindActionFunctionCreater(this.context,".element-point .element-shape, .element-line .element-shape, .element-column .element-shape",
  898. ["mouseenter.default"],lineHighlightEventListener));var unhighlightEventListener=function(data,index,groupIndex,event){if(this.rave_getParentNode().rave_containsClass("element-line")&&this.rave_containsClass("element-shape"))rave.select(this).style("stroke-width",2);else if(this.rave_getParentNode().rave_containsClass("element-point")&&this.rave_containsClass("element-shape"))rave.select(this).style("stroke-width",0);else if(this.rave_getParentNode().rave_getParentNode().rave_containsClass("element-column")&&
  899. this.rave_containsClass("element-shape"))highlightAction(rave.select(this),style)};unhighlightAction.setBindFn(rave["library"]["internal"]["BundleUtils"].bindOrUnbindActionFunctionCreater(this.context,".element-point .element-shape, .element-line .element-shape, .element-column .element-shape",["mouseout.default"],unhighlightEventListener));var deselectAllEventListener=function(data,index,groupIndex,event){self.context.node.selectAll(".element-point .element-shape").style("stroke-width",0).style("opacity",
  900. 1).property("selected",null);self.context.node.selectAll(".element-line .element-shape").style("stroke-width",2).style("opacity",1).property("selected",null);self.context.node.selectAll(".element-column .element-shape").style(style).style("opacity",1).property("selected",null)};deselectAllAction.setBindFn(rave["library"]["internal"]["BundleUtils"].bindOrUnbindActionFunctionCreater(this.context,".background",["click.default","touchstart.default"],deselectAllEventListener))},"configureLineDataLabels":function(dataSet){if(!this["isShowDataLabels"]()){this._pointComponent["itemLabel"](false);
  901. this._pointComponent["itemLabelPosition"](null);this._pointComponent["labelFont"](null);this._pointComponent["labelAccessor"](null);this._pointComponent["labelFormatter"](null);return}var self=this;var dataLabelPosition=function(data,index,groupIndex){var currentData=data;var prevData=index==0?null:self._pointData[index-1];var nextData=index==self._pointData.length-1?null:self._pointData[index+1];if(!prevData||!nextData)return 0;var angleWithPreviousPoint=Math.atan2(self._lineDependentScale.center(prevData["_y"])-
  902. self._lineDependentScale.center(currentData["_y"]),self._independentScale.center(prevData["_x"])-self._independentScale.center(currentData["_x"]));var angleWithNextPoint=Math.atan2(self._lineDependentScale.center(nextData["_y"])-self._lineDependentScale.center(currentData["_y"]),self._independentScale.center(nextData["_x"])-self._independentScale.center(currentData["_x"]));if(angleWithNextPoint<=0&&angleWithPreviousPoint<=0)return 2;if(angleWithNextPoint>=0&&angleWithPreviousPoint>=0||180-Math.abs(angleWithPreviousPoint*
  903. (180/Math.PI))<30&&Math.abs(angleWithNextPoint*(180/Math.PI))<30)return 0;if(180-Math.abs(angleWithPreviousPoint*(180/Math.PI))>30)return 3;return 4};var labelAccessor=this["getlDataLabelAccessor"](dataSet,"label",false);var labelEntry=this["getEntryForDataLabelFormatter"](dataSet,"label","y");this._pointComponent["itemLabel"](true);this._pointComponent["labelFont"](this["getBackgroundConstrastLabelStyle"]());this._pointComponent["labelFormatter"](this.context.getCustomFormatterForElementLabels(labelEntry,
  904. dataSet.slot("label").entry()?"ROLE_NONE":"ROLE_Y2"));this._pointComponent["labelAccessor"](labelAccessor);this._pointComponent["itemLabelPosition"](dataLabelPosition)},"runLabelCollisions":function(chart,chartRect,duration,delayFunction){if(!this["isShowDataLabels"]())return;var self=this;var staggeredTransitions=delayFunction==null?false:true;this._pendingLabelTimer=true;var labelCollideCallback=function(elapsed){if(self._cancelLabelTimers>0){self._cancelLabelTimers--;return true}self["_labelCollisionComponent"]["bounds"](chartRect)["numberOfSweeps"](1E3)["labelResolution"]("Drop Labels");
  905. chart.call(self["_labelCollisionComponent"]);self._pendingLabelTimer=false;return true};if(staggeredTransitions)rave.timer(labelCollideCallback,duration*2);else rave.timer(labelCollideCallback,duration)},"stopLabelCollisions":function(){this["_labelCollisionComponent"]["labelResolution"]("none");if(this._pendingLabelTimer)this._cancelLabelTimers++},"getGroupStructure":function(){return["defs","g.vizlibrary vizlibrary-composite","(","rect.background chart","g.chart","(","rect.background elements",
  906. "g.gridlines","(","g.grid left","g.grid right","g.grid top","g.grid bottom",")","g.content1","(","g.element-column","(","g.element-group","g.element-label-group",")",")","g.axes","(","g.axes-layout","g.axisTransform left","g.axisTransform right","g.axisTransform top","g.axisTransform bottom",")","g.content2","(","g.elements2","(","g.element-group element-line","g.element-point","(","g.element-group","g.element-label-group",")",")",")","g.axis-callout",")","g.legends","(","g.legends-layout","g.legend line",
  907. "g.legend column",")",")"]}});com_ibm_rave_bundles_compositeBundle_CompositeView.SCALE_PADDING=2;com_ibm_rave_bundles_compositeBundle_CompositeView["GRID_ALIGN_DEPENDENT_AXES"]="alignAxes";com_ibm_rave_bundles_compositeBundle_CompositeView.DATASET_COMPOSITE="composite";com_ibm_rave_bundles_compositeBundle_CompositeView.DATAMODEL_SIMPLE="simple";var com_ibm_rave_bundles_components_BackgroundComponentImpl=rave["internal"]["Declare"](com_ibm_rave_bundles_components_BundleComponentImpl,{"constructor":function(){this._rect=
  908. new rave["internal"]["RectStruct"](0,0,0,0)},"execute":function(g){this["preExecute"]();g.style("fill",this._backgroundColor!=null?this._backgroundColor:"#FFFFFF").style("fill-opacity",1);g.attr("x",this._rect.x).attr("y",this._rect.y).attr("width",this._rect.width).attr("height",this._rect.height)},"type":function(){return com_ibm_rave_bundles_component_BackgroundComponent["COMPONENT_TYPE"]},backgroundColor$0:function(){return this._backgroundColor},backgroundColor$1:function(backgroundColor){this._backgroundColor=
  909. backgroundColor;return this},"size":function(size){this._rect.x=0;this._rect.y=0;this._rect.width=size.w;this._rect.height=size.h;return this},"rect":function(rect){var r=new rave["internal"]["RectStruct"](rect.x,rect.y,rect.width,rect.height);this._rect=r;return this},"backgroundColor":function(a0){var args=arguments;if(args.length==0)return this.backgroundColor$0();return this.backgroundColor$1(a0)}});var com_ibm_rave_bundles_components_ChartLayoutComponentImpl=rave["internal"]["Declare"](com_ibm_rave_bundles_components_BundleComponentImpl,
  910. {_leftPadding:0,_topPadding:0,_rightPadding:0,_bottomPadding:0,_legendChartAlign:false,_preLegendAtMax:false,_preAxesAtZero:false,"constructor":function(){this._axisSizables=[];this._padding=0;this._topPadding=0;this._leftPadding=0;this._bottomPadding=0;this._rightPadding=0;this._topChartPadding=0;this._leftChartPadding=0;this._bottomChartPadding=0;this._rightChartPadding=0;this._legendChartGap=0;this._legendPosition="right";this._overallRect=new rave["internal"]["RectStruct"](0,0,0,0);this._legendRect=
  911. new rave["internal"]["RectStruct"](0,0,0,0);this._chartRect=new rave["internal"]["RectStruct"](0,0,0,0);this._topRect=new rave["internal"]["RectStruct"](0,0,0,0);this._leftRect=new rave["internal"]["RectStruct"](0,0,0,0);this._bottomRect=new rave["internal"]["RectStruct"](0,0,0,0);this._rightRect=new rave["internal"]["RectStruct"](0,0,0,0);this._elementRect=new rave["internal"]["RectStruct"](0,0,0,0);this._legendChartAlign=true},"execute":function(g){this["layout"]()},"preLayout":function(legendAtMax,
  912. axesAtZero){this._preLegendAtMax=legendAtMax;this._preAxesAtZero=axesAtZero;this["layout"]();this._preLegendAtMax=false;this._preAxesAtZero=false},"layout":function(){this["preExecute"]();com_ibm_rave_bundles_components_ChartLayoutComponentImpl.copyRect(this._chartRect,this._overallRect);com_ibm_rave_bundles_components_ChartLayoutComponentImpl.copyRect(this._legendRect,this._overallRect);var x=this._overallRect.x;var y=this._overallRect.y;var w=this._overallRect.width;var h=this._overallRect.height;
  913. var maxWH=Math.max(w,h);var tbLegend="top"==this._legendPosition||"bottom"==this._legendPosition;var legendPercent=this._axisSizables.length==0?0.5:0.3;var legendMaxSize=(tbLegend?this._legendRect.height:this._legendRect.width)*legendPercent;var legendDynamicSize=this._legendSizable?this._preLegendAtMax?maxWH:this._legendSizable["getPreferredSize"]():0;if(legendDynamicSize>legendMaxSize)legendDynamicSize=legendMaxSize;var isLegendTop=false;var isLegendBottom=false;var isLegendLeft=false;var isLegendRight=
  914. false;if("top"==this._legendPosition){this._legendRect.height=legendDynamicSize;this._chartRect.height-=this._legendRect.height;this._chartRect.y+=this._legendRect.height;isLegendTop=true}else if("bottom"==this._legendPosition){this._legendRect.height=legendDynamicSize;this._chartRect.height-=this._legendRect.height;this._legendRect.y=y+h-this._legendRect.height;isLegendBottom=true}else if("left"==this._legendPosition){this._legendRect.width=legendDynamicSize;this._chartRect.width-=this._legendRect.width;
  915. this._chartRect.x+=this._legendRect.width;isLegendLeft=true}else{this._legendRect.width=legendDynamicSize;this._chartRect.width-=this._legendRect.width;this._legendRect.x=x+w-this._legendRect.width;isLegendRight=true}if(this.evaluatePadding(this._padding,w,h)){var lrgap=com_ibm_rave_bundles_components_ChartLayoutComponentImpl.evaluateSize(this._legendChartGap,w);var tbgap=com_ibm_rave_bundles_components_ChartLayoutComponentImpl.evaluateSize(this._legendChartGap,h);var chartTop=isLegendTop&&this._legendSizable?
  916. tbgap:this._topPadding;var chartLeft=isLegendLeft&&this._legendSizable?lrgap:this._leftPadding;var chartBottom=isLegendBottom&&this._legendSizable?tbgap:this._bottomPadding;var chartRight=isLegendRight&&this._legendSizable?lrgap:this._rightPadding;com_ibm_rave_bundles_components_ChartLayoutComponentImpl.inset(this._chartRect,chartTop,chartLeft,chartBottom,chartRight)}else{var lrpadding=com_ibm_rave_bundles_components_ChartLayoutComponentImpl.evaluateSize(this._padding,w);var tbpadding=com_ibm_rave_bundles_components_ChartLayoutComponentImpl.evaluateSize(this._padding,
  917. h);chartTop=tbpadding+com_ibm_rave_bundles_components_ChartLayoutComponentImpl.evaluateSize(this._topChartPadding,h);chartLeft=lrpadding+com_ibm_rave_bundles_components_ChartLayoutComponentImpl.evaluateSize(this._leftChartPadding,w);chartBottom=tbpadding+com_ibm_rave_bundles_components_ChartLayoutComponentImpl.evaluateSize(this._bottomChartPadding,h);chartRight=lrpadding+com_ibm_rave_bundles_components_ChartLayoutComponentImpl.evaluateSize(this._rightChartPadding,w);com_ibm_rave_bundles_components_ChartLayoutComponentImpl.inset(this._chartRect,
  918. chartTop,chartLeft,chartBottom,chartRight);this._topPadding=tbpadding;this._leftPadding=lrpadding;this._bottomPadding=tbpadding;this._rightPadding=lrpadding}if(this._legendSizable)if(isLegendRight){this._legendRect.x-=this._rightPadding;this._chartRect.width-=this._rightPadding;this._legendRect.y+=this._topPadding;this._legendRect.height-=this._topPadding+this._bottomPadding}else if(isLegendLeft){this._legendRect.x+=this._leftPadding;this._chartRect.x+=this._leftPadding;this._chartRect.width-=this._leftPadding;
  919. this._legendRect.y+=this._topPadding;this._legendRect.height-=this._topPadding+this._bottomPadding}else if(isLegendTop){this._legendRect.y+=this._topPadding;this._chartRect.y+=this._topPadding;this._chartRect.height-=this._topPadding;this._legendRect.x+=this._leftPadding;this._legendRect.width-=this._leftPadding+this._rightPadding}else{this._legendRect.y-=this._bottomPadding;this._chartRect.height-=this._bottomPadding;this._legendRect.x+=this._leftPadding;this._legendRect.width-=this._leftPadding+
  920. this._rightPadding}x=this._chartRect.x;y=this._chartRect.y;w=this._chartRect.width;h=this._chartRect.height;var bottomH=0;var topH=0;var leftW=0;var rightW=0;var tbSO=0;var lrSO=0;if(!this._preAxesAtZero){var countHorz=0;var countVert=0;for(var i=0;i<this._axisSizables.length;++i){var sizable=this._axisSizables[i];if(sizable){var orientation=sizable["getSizableOrientation"]();if("top"==orientation||"bottom"==orientation)countHorz++;else countVert++}}for(i=0;i<this._axisSizables.length;++i){sizable=
  921. this._axisSizables[i];if(sizable){orientation=sizable["getSizableOrientation"]();var tbAxis="top"==orientation||"bottom"==orientation;var axisDynamicSize=sizable["getPreferredSize"]();var spillOver=sizable["getSpillOverSize"]();if(tbAxis){var axisPercent=countHorz>1?0.4:0.5;if(axisDynamicSize>this._chartRect.height*axisPercent)axisDynamicSize=this._chartRect.height*axisPercent;if("top"==orientation)topH=axisDynamicSize;else bottomH=axisDynamicSize;if(spillOver>lrSO)lrSO=spillOver}else{axisPercent=
  922. countVert>1?0.4:0.5;if(axisDynamicSize>this._chartRect.width*axisPercent)axisDynamicSize=this._chartRect.width*axisPercent;if("left"==orientation)leftW=axisDynamicSize;else rightW=axisDynamicSize;if(spillOver>tbSO)tbSO=spillOver}}}}if(lrSO>leftW)leftW=lrSO;if(lrSO>rightW)rightW=lrSO;if(tbSO>topH)topH=tbSO;if(tbSO>bottomH)bottomH=tbSO;this._leftRect.x=x;this._leftRect.width=leftW;this._leftRect.y=y;this._leftRect.height=h;this._rightRect.x=x+w-rightW;this._rightRect.width=rightW;this._rightRect.y=
  923. y;this._rightRect.height=h;this._topRect.y=y;this._topRect.height=topH;this._topRect.x=x;this._topRect.width=w;this._bottomRect.y=y+h-bottomH;this._bottomRect.height=bottomH;this._bottomRect.x=x;this._bottomRect.width=w;this._elementRect.x=x+leftW;this._elementRect.y=y+topH;this._elementRect.width=w-(leftW+rightW);this._elementRect.height=h-(topH+bottomH);if(this._legendSizable&&this._legendChartAlign)if(tbLegend){this._legendRect.x=this._elementRect.x;this._legendRect.width=this._elementRect.width}else{this._legendRect.y=
  924. this._elementRect.y;this._legendRect.height=this._elementRect.height}},evaluatePadding:function(padding,horizontalExtent,verticalExtent){if(padding==null)return false;var paddingString=padding+"";if(paddingString.length==0)return false;this._topPadding=0;this._leftPadding=0;this._bottomPadding=0;this._rightPadding=0;var items=paddingString.split(new RegExp(";"));var __i_enFor0=0;for(var __len_enFor0=items.length;__i_enFor0<__len_enFor0;++__i_enFor0){var item=items[__i_enFor0];var parts=item.split(new RegExp(":"));
  925. if(items.length==1&&parts.length!=2)return false;if(parts.length==2)if(0<=parts[0].indexOf("top"))this._topPadding=com_ibm_rave_bundles_components_ChartLayoutComponentImpl.evaluateSize(parts[1],verticalExtent);else if(0<=parts[0].indexOf("left"))this._leftPadding=com_ibm_rave_bundles_components_ChartLayoutComponentImpl.evaluateSize(parts[1],horizontalExtent);else if(0<=parts[0].indexOf("bottom"))this._bottomPadding=com_ibm_rave_bundles_components_ChartLayoutComponentImpl.evaluateSize(parts[1],verticalExtent);
  926. else if(0<=parts[0].indexOf("right"))this._rightPadding=com_ibm_rave_bundles_components_ChartLayoutComponentImpl.evaluateSize(parts[1],horizontalExtent)}return true},"legendRect":function(){return this._legendRect},"chartRect":function(){return this._chartRect},"topRect":function(){return this._topRect},"leftRect":function(){return this._leftRect},"bottomRect":function(){return this._bottomRect},"rightRect":function(){return this._rightRect},"elementRect":function(){return this._elementRect},"overall":function(overall){com_ibm_rave_bundles_components_ChartLayoutComponentImpl.copyRect(this._overallRect,
  927. overall);return this},padding$0:function(){return this._padding},legendChartAlign$0:function(){return this._legendChartAlign},legendChartGap$0:function(){return this._legendChartGap},topPadding$0:function(){return this._topChartPadding},leftPadding$0:function(){return this._leftChartPadding},bottomPadding$0:function(){return this._bottomChartPadding},rightPadding$0:function(){return this._rightChartPadding},legendPosition$0:function(){return this._legendPosition},topPadding$1:function(padding){this._topChartPadding=
  928. padding;return this},leftPadding$1:function(padding){this._leftChartPadding=padding;return this},bottomPadding$1:function(padding){this._bottomChartPadding=padding;return this},rightPadding$1:function(padding){this._rightChartPadding=padding;return this},"type":function(){return com_ibm_rave_bundles_component_ChartLayoutComponent["COMPONENT_TYPE"]},padding$1:function(value){this._padding=value;return this},"chartPadding":function(top,left,bottom,right){this._topChartPadding=top;this._leftChartPadding=
  929. left;this._bottomChartPadding=bottom;this._rightChartPadding=right;return this},legendChartAlign$1:function(legendChartAlign){this._legendChartAlign=legendChartAlign;return this},legendChartGap$1:function(value){this._legendChartGap=value;return this},legendPosition$1:function(position){if("top"==position||"bottom"==position||"left"==position||"right"==position)this._legendPosition=position;return this},"legendSize":function(sizable){this._legendSizable=sizable;return this},"removeAxisSizables":function(){this._axisSizables.length=
  930. 0;return this},"addAxisSizable":function(sizable){this._axisSizables.push(sizable);return this},"padding":function(a0){var args=arguments;if(args.length==0)return this.padding$0();return this.padding$1(a0)},"legendChartAlign":function(a0){var args=arguments;if(args.length==0)return this.legendChartAlign$0();return this.legendChartAlign$1(a0)},"legendChartGap":function(a0){var args=arguments;if(args.length==0)return this.legendChartGap$0();return this.legendChartGap$1(a0)},"topPadding":function(a0){var args=
  931. arguments;if(args.length==0)return this.topPadding$0();return this.topPadding$1(a0)},"leftPadding":function(a0){var args=arguments;if(args.length==0)return this.leftPadding$0();return this.leftPadding$1(a0)},"bottomPadding":function(a0){var args=arguments;if(args.length==0)return this.bottomPadding$0();return this.bottomPadding$1(a0)},"rightPadding":function(a0){var args=arguments;if(args.length==0)return this.rightPadding$0();return this.rightPadding$1(a0)},"legendPosition":function(a0){var args=
  932. arguments;if(args.length==0)return this.legendPosition$0();return this.legendPosition$1(a0)}});com_ibm_rave_bundles_components_ChartLayoutComponentImpl.copyRect=function(t,s){t.x=s.x;t.y=s.y;t.width=s.width;t.height=s.height;return t};com_ibm_rave_bundles_components_ChartLayoutComponentImpl.inset=function(r,top,left,bottom,right){var ileft=Math.max(0,left);var iright=Math.max(0,right);if(ileft+iright<=r.width){r.x+=ileft;r.width-=ileft+iright}var itop=Math.max(0,top);var ibottom=Math.max(0,bottom);
  933. if(itop+ibottom<=r.height){r.y+=itop;r.height-=itop+ibottom}return r};com_ibm_rave_bundles_components_ChartLayoutComponentImpl.evaluateSize=function(value,extent){var v=rave["library"]["internal"]["CSSConverter"].convertCSSSizeToPixelNumber(value,extent,10);var d=v!=null?v:0;return Math.max(0,Math.min(d,extent))};com_ibm_rave_bundles_components_ChartLayoutComponentImpl["MAX_AXIS_PERCENT"]=0.4;com_ibm_rave_bundles_components_ChartLayoutComponentImpl["MAX_AXIS_PERCENT_SINGLE_PER_ORIENTATION"]=0.5;com_ibm_rave_bundles_components_ChartLayoutComponentImpl["MAX_LEGEND_PERCENT"]=
  934. 0.3;com_ibm_rave_bundles_components_ChartLayoutComponentImpl["MAX_LEGEND_PERCENT_NO_AXIS"]=0.5;var com_ibm_rave_bundles_components_ClipPathComponentImpl=rave["internal"]["Declare"](com_ibm_rave_bundles_components_BundleComponentImpl,{"constructor":function(id){this._clipRect=new rave["internal"]["RectStruct"](0,0,100,100);this._id=id},"type":function(){return"ClipPathComponent"},"clipRect":function(rect){this._clipRect=new rave["internal"]["RectStruct"](rect.x-1,rect.y-1,rect.width+2,rect.height+
  935. 2);return this},"applyTo":function(s){s.attr("clip-path","url("+this["url"]()+")");return this},"id":function(){return this._id},"url":function(){return"#"+this._id},"execute":function(g){var clipPath=g.selectAll("#"+this._id)["data"]([0]);clipPath.enter().append("clipPath").attr("id",this._id).append("rect");rave["transition"](clipPath.select("rect")).attr("x",this._clipRect.x).attr("y",this._clipRect.y).attr("width",this._clipRect.width).attr("height",this._clipRect.height)}});var com_ibm_rave_bundles_components_LegendComponentImpl=
  936. rave["internal"]["Declare"](com_ibm_rave_bundles_components_BundleComponentImpl,{_visible:false,_swatchSize:0,"constructor":function(){this._visible=true;this._size=null;this._colorPalette=null;this._orient="horizontal";this._swatchSize=16*16;this._swatchSizeFunc=null;this._scale=null;this._shape="square";this._title=null;this["_titleStyle"]={};this._entryStyle={};this._labelFormat=null;this._swatchLegend=null;this._continuousLegend=null;this._legendType=null},"type":function(){return"LegendComponent"},
  937. "execute":function(g){if(this._colorPalette)if("continuous"==this._colorPalette.getType()){if(!this._continuousLegend)this._continuousLegend=rave.capabilities.extension("legend").continuous();this._legendType="ContinuousLegend"}else{if(!this._swatchLegend)this._swatchLegend=rave.capabilities.extension("legend").swatch();this._legendType="SwatchLegend"}else if(this._swatchSizeFunc){if(!this._swatchLegend)this._swatchLegend=rave.capabilities.extension("legend").swatch();this._legendType="SwatchLegend"}else this._legendType=
  938. null;this["preExecute"]();if(!this._visible||!this._colorPalette&&!this._swatchSizeFunc||!this._size||this._size[0]<=0||this._size[1]<=0){g.selectAll("*").remove();return}var fontChecker=rave.capabilities.extension("fontchecker");if(this._colorPalette&&"continuous"==this._colorPalette.getType()){this._continuousLegend.shapeRectSize("horizontal"==this._orient?[-1,16]:[16,-1])["size"](this._size)["scale"](this._colorPalette.getScale())["orient"](this._orient)["title"](this._title)["titleFill"](this["_titleStyle"]["fill"])["titleFontSize"](this["_titleStyle"]["font-size"])["titleFontFamily"](this["_titleStyle"]["font-Family"]).titleAlignment("start")["labelFormat"](this._labelFormat);
  939. var legend=g.call(this._continuousLegend);if(this._entryStyle)legend.selectAll(".legendLabel").style(this._entryStyle);if(this["_titleStyle"])legend.selectAll(".legendTitle").style(this["_titleStyle"]);if(fontChecker){legend.selectAll(".legendLabel").call(fontChecker);legend.selectAll(".legendTitle").call(fontChecker)}}else{var insets={};insets["bottom"]=5;var swatchSize=this._swatchSize;var scale=null;var labelFormatter=this._labelFormat;if(this._swatchSizeFunc&&this._scale){swatchSize=this._swatchSizeFunc;
  940. scale=this._scale}if(this._colorPalette){scale=this._colorPalette.getScale();var originalDomain=this._colorPalette.originalDomain();if(originalDomain){scale.domain(originalDomain);var f=this._colorPalette.originalDomainLabelAccessor();if(this._labelFormat){var self=this;labelFormatter=function(data,index,groupIndex){return self._labelFormat.call(this,f.call(this,data,index,groupIndex),index,groupIndex)}}else labelFormatter=f}}this._swatchLegend.labelPadding(8)["size"](this._size)["scale"](scale)["orient"](this._orient)["swatchSize"](swatchSize)["shape"](this._shape)["title"](this._title)["titleFill"](this["_titleStyle"]["fill"])["titleFontSize"](this["_titleStyle"]["font-size"])["titleFontFamily"](this["_titleStyle"]["font-family"]).titleAlignment("start")["labelFormat"](labelFormatter).titleInsets(insets);
  941. legend=g.call(this._swatchLegend);if(this._entryStyle)legend.selectAll(".legendLabel").style(this._entryStyle);if(this["_titleStyle"])legend.selectAll(".legendTitle").style(this["_titleStyle"]);if(fontChecker){legend.selectAll(".legendLabel").call(fontChecker);legend.selectAll(".legendTitle").call(fontChecker)}}},"legend":function(){if("ContinuousLegend"==this._legendType)return this._continuousLegend;if("SwatchLegend"==this._legendType)return this._swatchLegend;return null},"legendType":function(){return this._legendType},
  942. "visible":function(visible){this._visible=visible;return this},"isVisible":function(){return this._visible},"size":function(size){this._size=size;return this},"colorPalette":function(colorPalette){this._colorPalette=colorPalette;return this},"orient":function(orient){if("horizontal"==orient||"vertical"==orient)this._orient=orient;return this},"position":function(position){return this["orient"](com_ibm_rave_bundles_components_LegendComponentImpl["orientationOf"](position))},swatchSize$0:function(swatchSize){if(swatchSize>=
  943. 0&&swatchSize!=null)this._swatchSize=swatchSize;return this},"scale":function(scale){this._scale=scale;return this},swatchSize$1:function(swatchSize){if(swatchSize)this._swatchSizeFunc=swatchSize;return this},"shape":function(shape){this._shape=shape;return this},"title":function(title){this._title=title!=null&&title.length>0?title:null;return this},"titleFill":function(titleFill){this["_titleStyle"]["fill"]=titleFill;return this},"titleFontSize":function(titleFontSize){this["_titleStyle"]["font-size"]=
  944. titleFontSize;return this},"titleFontFamily":function(titleFontFamily){this["_titleStyle"]["font-family"]=titleFontFamily;return this},"labelFormat":function(labelFormat){this._labelFormat=labelFormat;return this},"titleFont":function(titleFontStyle){this["_titleStyle"]=com_ibm_rave_bundles_utilities_FontPropertyParser["parseCSSFont"](titleFontStyle);return this},"entryFont":function(entryFontStyle){this._entryStyle=com_ibm_rave_bundles_utilities_FontPropertyParser["parseCSSFont"](entryFontStyle);
  945. return this},"getSpaceUsed":function(){if(this._colorPalette&&"continuous"==this._colorPalette.getType())return this._continuousLegend.getUsedSize()+2;else return this._swatchLegend.getUsedSize()+2},"swatchSize":function(a0){var args=arguments;if(args.length==1&&typeof a0==="function")return this.swatchSize$1(a0);return this.swatchSize$0(a0)}});com_ibm_rave_bundles_components_LegendComponentImpl["orientationOf"]=function(position){if("top"==position||"bottom"==position)return"horizontal";return"vertical"};
  946. com_ibm_rave_bundles_components_LegendComponentImpl.BAR_THINKNESS=16;com_ibm_rave_bundles_components_LegendComponentImpl.SWATCH_SIZE=16;com_ibm_rave_bundles_components_LegendComponentImpl["TOP"]="top";com_ibm_rave_bundles_components_LegendComponentImpl["BOTTOM"]="bottom";com_ibm_rave_bundles_components_LegendComponentImpl["LEFT"]="left";com_ibm_rave_bundles_components_LegendComponentImpl["RIGHT"]="right";com_ibm_rave_bundles_components_LegendComponentImpl["ADJUSTABLE"]=-1;var com_ibm_rave_bundles_components_AxisComponentImpl=
  947. rave["internal"]["Declare"](com_ibm_rave_bundles_components_BundleComponentImpl,{"_axisTitle":null,"_titleStyle":null,"_lineColor":null,"_tickColor":null,"_labelStyle":null,"_displayAxisTitle":false,"_displayAxisLine":false,"_displayTicks":false,"_displayTickLabels":false,"_showPanZoomTickLabels":false,_rotateLabels:false,_staggerCellWidth:0,_staggerAlignFirstAtStart:false,_staggerAlignLastAtEnd:false,_layoutTimerId:0,_layoutTitleSize:0,_layoutLabelSize:0,_layoutLabelHeight:0,_layoutAverageDigitWidth:0,
  948. _layoutSpillOver:0,"_hideOverlappingLabels":false,_pendingLabelTimer:false,_padding:0,_renderedShapes:false,_layoutMode:-1,_allowAutoAxisLayoutToChangeOrientaiton:true,_lastAutomaticAxisLayoutOrientation:-1,_allowStagger:false,_allowRotate45:false,_allowRotate90:false,"constructor":function(){var self=this;this._axisLineProperties=function(args){if(args!==null||arguments.length>1)args=Array.prototype.slice.call(arguments,0);var line=this.selectAll("path.domain");if(self["_lineColor"]!=null)line.style("stroke",
  949. self["_lineColor"]);if(self["_displayAxisLine"])line.attr("visibility",null);else line.attr("visibility","hidden");return null};this._axisTickProperties=function(args){if(args!==null||arguments.length>1)args=Array.prototype.slice.call(arguments,0);var tickLines=this.selectAll("line");if(self["_displayTicks"])tickLines.attr("visibility",null);else tickLines.attr("visibility","hidden");if(self["_lineColor"]!=null)tickLines.style("stroke",self["_tickColor"]);return null};this._axisTickLabelProperties=
  950. function(args){if(args!==null||arguments.length>1)args=Array.prototype.slice.call(arguments,0);var labels=this.selectAll("text");labels.each(self._displayHideLabels);labels.each(self._panZoomLabels);labels.style(self["_labelStyle"]);self._axis.ticksHandler(null);return null};this._displayHideLabels=function(obj,group,index){if(self["_displayTickLabels"]){if(this.rave_hasProperty("__tickLabelHidden__")){this.rave_removeProperty("__tickLabelHidden__");var count=~~this.rave_getProperty("__hiddenCount__");
  951. if(count<=1){this.rave_removeProperty("__hiddenCount__");this.removeAttribute("visibility")}else this.rave_setProperty("__hiddenCount__",count-1)}}else if(!this.rave_hasProperty("__tickLabelHidden__")){this.setAttribute("visibility","hidden");this.rave_setProperty("__tickLabelHidden__","hidden");count=~~this.rave_getProperty("__hiddenCount__");this.rave_setProperty("__hiddenCount__",count+1)}};this._panZoomLabels=function(obj,group,index){if(self["_showPanZoomTickLabels"]){if(this.rave_hasProperty("__panZoomHidden__")){this.rave_removeProperty("__panZoomHidden__");
  952. var count=~~this.rave_getProperty("__hiddenCount__");if(count<=1){this.rave_removeProperty("__hiddenCount__");this.removeAttribute("visibility")}else this.rave_setProperty("__hiddenCount__",count-1)}}else if(!this.rave_hasProperty("__panZoomHidden__")){this.setAttribute("visibility","hidden");this.rave_setProperty("__panZoomHidden__","hidden");count=~~this.rave_getProperty("__hiddenCount__");this.rave_setProperty("__hiddenCount__",count+1)}};this._tickHandler=new com_ibm_rave_bundles_components_AxisComponentImpl.AxisTickHandler(this._axisTickLabelProperties,
  953. this._axisTickProperties);this._axis=null;this._role=null;this._scale=null;this._orient="bottom";this._bounds=null;this["_displayAxisTitle"]=true;this["_axisTitle"]=null;this["_titleStyle"]={};this["_displayAxisLine"]=true;this["_lineColor"]=null;this["_displayTicks"]=true;this["_tickColor"]=null;this["_displayTickLabels"]=true;this["_labelStyle"]={};this._rotateLabels=false;this["_hideOverlappingLabels"]=true;this._dropOverlap=new com_ibm_rave_bundles_utilities_BundleLabelDropper;this._tickFormat=
  954. null;this["_showPanZoomTickLabels"]=true;this._pendingLabelTimer=false;this._padding=16;this._textFlow=rave.capabilities.extension("textflow");this._fontChecker=rave.capabilities.extension("fontchecker");this._renderedShapes=false},"type":function(){return com_ibm_rave_bundles_component_AxisComponent["COMPONENT_TYPE"]},"role":function(){return this._role},"execute":function(g){this["preExecute"]();if(!this._scale){g.selectAll("*").remove();this._renderedShapes=false;return}this._renderedShapes=true;
  955. if(this._scale.isOrdinal()||this._scale.isClustered()){this["_hideOverlappingLabels"]=false;this._rotateLabels=true}else{this["_hideOverlappingLabels"]=true;this._rotateLabels=true}this.drawTitle(g);this.drawAxis(g);this.handleAxisText(g);this.drawTitle(g)},handleAxisText:function(g){this.stopLabelDroppingUpdate();var duration=0;var delay=0;var g2=rave["transition"](g);if(g2.isTransition()){var t2=g2;duration=t2["duration"]();delay=t2["delay"]()}var axisSelector=g.selectAll("g.axis");var labels=axisSelector.selectAll("g.tick").filter(rave["library"]["internal"]["BundleUtils"].notExit).selectAll("text");
  956. var fontChecker=rave.capabilities.extension("fontchecker");labels.style(this["_labelStyle"]);if(fontChecker)labels.call(fontChecker);var mode=this._allowAutoAxisLayoutToChangeOrientaiton?this.determineWhichAutoMode(g):this._lastAutomaticAxisLayoutOrientation;this.configureStaggerData(g,mode);this.handleLabelsRotationAndPosition(g,labels,mode);this.hashingNumericScales(labels,this["labelExtent"](g),mode);if(duration==0){this.doLabelWrapping(g,mode);this.handleLabelsRotationAndPosition(g,labels,mode)}this._lastAutomaticAxisLayoutOrientation=
  957. mode;if(!this._scale.isOrdinal()&&!this._scale.isClustered()){var isHorizontal=this._orient=="bottom"||this._orient=="top";var tick=axisSelector.append("g").classed("tick",true);var tickText=tick.append("text");if(labels["size"]()==0){var singleValue=this._scale["scale"]().domain()[0];var formatter=this._tickFormat;if(!formatter){var tickFunc=this._scale["scale"]()["tickFormat"];if(tickFunc)formatter=tickFunc.apply(tickFunc,[singleValue])}var node=tickText[0][0];var stringValue=formatter?formatter.call(node,
  958. singleValue,0,0):""+singleValue;tickText.text(stringValue);var dim=node.getBBox();this._layoutLabelSize=isHorizontal?dim.height:dim.width;if(!isHorizontal||mode!=0){tickText.text(".0");this._layoutLabelSize+=node.getBBox().width}}if(!isHorizontal||mode!=0){tickText.text(".0");node=tickText[0][0];dim=node.getBBox();this._layoutAverageDigitWidth=dim.width}tick.remove()}if(this["_hideOverlappingLabels"]&&duration>0)this.updateLabelDropping(labels,duration,delay);if(duration>0)this.doLabelWrappingAfterAnimation(g,
  959. labels,mode,duration,delay);if(!this["_displayTickLabels"]){this._layoutLabelSize=0;this._layoutAverageDigitWidth=0}},handleLabelsRotationAndPosition:function(g,labels,mode){if(mode==2||mode==1)if(this._orient=="bottom")this.rotateLabels(g,labels,"end",mode);else if(this._orient=="top")this.rotateLabels(g,labels,"start",mode);else this.rotateLabels(g,labels,"middle",mode);else if(this._orient=="bottom"||this._orient=="top")this.rotateLabels(g,labels,"middle",mode);else if(this._orient=="right")this.rotateLabels(g,
  960. labels,"start",mode);else this.rotateLabels(g,labels,"end",mode)},hashingNumericScales:function(labels,extent,mode){if(!labels||!extent)return;if(!this._scale.isOrdinal()&&!this._scale.isClustered()){var isHorizontal=this._orient=="bottom"||this._orient=="top";var tickSpace=mode==1?extent[1]:extent[0];this._textTruncationIndicator="";this._layoutLabelSize=0;for(var i=0;i<labels["size"]();++i){var node=labels[i][0];var dim=node.getBBox();var width=dim.width;var height=dim.height;var size=!isHorizontal||
  961. mode==1?width:height;if(size>this._layoutLabelSize)this._layoutLabelSize=size;if(width>=tickSpace)if(this._simplifiedTickFormat){var newText=this._simplifiedTickFormat.call(null,node.rave_getData(),0,0);if(newText!=null)node.rave_setText(newText);if(node.getBBox().width>=tickSpace)node.rave_setText(this.stringOfSize(node.rave_getText().length,"#"))}else node.rave_setText(this.stringOfSize(node.rave_getText().length,"#"))}}},stringOfSize:function(size,ch){var returnString="";for(var i=0;i<size;++i)returnString+=
  962. ch;return returnString},configureStaggerData:function(g,mode){if(mode==3||mode==2){var horizontalDimensions=this["labelExtent"](g);var cellWidth=horizontalDimensions[0];var axisSelector=g.selectAll("g.axis");var labels=axisSelector.selectAll("text");var domain=this._scale["scale"]().domain();var originalDataLabelAccessor=this._scale.originalDomainLabelAccessor();this._staggerRotate45Nodes=[];this._staggerFirstNode=null;this._staggerLastNode=null;for(var i=0;i<labels["size"]();++i){var node=labels[0][i];
  963. if(this.isValid(node.rave_getData())){var domainIndex=-1;if(mode==3){var domainLabel=!this._tickFormat?node.rave_getText():originalDataLabelAccessor.call(node,node.rave_getData(),0,0);for(var index=0;index<domain.length;++index)if(domain[index].toString()==domainLabel){domainIndex=index;break}}this._staggerRotate45Nodes.push(new com_ibm_rave_bundles_components_AxisComponentImpl.NodeIndex(node,domainIndex));if(domainIndex==0)this._staggerFirstNode=node;if(domainIndex==domain.length-1)this._staggerLastNode=
  964. node}}this._staggerCellWidth=cellWidth*2;this._staggerAlignFirstAtStart=this._staggerFirstNode?this._staggerFirstNode.getBBox().width>cellWidth:false;this._staggerAlignLastAtEnd=this._staggerLastNode?this._staggerLastNode.getBBox().width>cellWidth:false}},getStaggerIndex:function(node){for(var index=0;index<this._staggerRotate45Nodes.length;++index)if(this._staggerRotate45Nodes[index]["contains"](node)){var domainIndex=this._staggerRotate45Nodes[index]["getIndex"]();return domainIndex==-1?0:domainIndex}return-1},
  965. getStaggerCount:function(){var domain=this._scale["scale"]().domain();return domain.length},determineWhichAutoMode:function(g){var isHorizontal=this._orient=="bottom"||this._orient=="top";var axisSelector=g.selectAll("g.axis");var labels=axisSelector.selectAll("text");var dim=this["labelExtent"](g);var cellWidth=dim[0];var cellWidth90=dim[1];var layoutLabelHeight=0;var layoutLabelWidth=0;var horizontalScore=0;var staggerScore=0;var rotate45Score=0;var rotate90Score=0;var validNodes=[];for(var i=0;i<
  966. labels["size"]();++i){var node=labels[0][i];if(this.isValid(node.rave_getData()))validNodes.push(node)}var labelCount=validNodes.length;if(!this._scale.isOrdinal()&&!this._scale.isClustered()){var mode=0;if(isHorizontal){mode=this._layoutMode==1?1:0;var tick=axisSelector.append("g").classed("tick",true);var tickText=tick.append("text");tickText.style(this["_labelStyle"]);tickText.text(",0");node=tickText[0][0];var zeroWidth=node.getBBox().width;tick.remove();var widestLabel=0;for(i=0;i<labelCount;++i){node=
  967. validNodes[i];var nodeRect=node.getBBox();if(nodeRect.width>widestLabel)widestLabel=nodeRect.width;if(nodeRect.height>this._layoutLabelHeight)this._layoutLabelHeight=nodeRect.height}widestLabel+=zeroWidth;this._layoutSpillOver=mode==1?this._layoutLabelHeight/2:widestLabel/2+2}else{for(i=0;i<labelCount;++i){node=validNodes[i];nodeRect=node.getBBox();if(nodeRect.height>this._layoutLabelHeight)this._layoutLabelHeight=nodeRect.height}this._layoutSpillOver=this._layoutLabelHeight/2}return mode}var originalDataLabelAccessor=
  968. this._scale.originalDomainLabelAccessor();var staggerStringsWontMatch=this._tickFormat&&!originalDataLabelAccessor;var calcStagger=(this._allowStagger&&this._layoutMode==-1||this._layoutMode==3)&&!staggerStringsWontMatch;var calcRotate45=this._allowRotate45&&this._layoutMode==-1||this._layoutMode==2;var calcRotate90=this._allowRotate90&&this._layoutMode==-1||this._layoutMode==1;var spaceFor45Label=0;for(i=0;i<labelCount;++i){node=validNodes[i];nodeRect=node.getBBox();layoutLabelHeight=nodeRect.height;
  969. var labelWidth=nodeRect.width;if(labelWidth>layoutLabelWidth)layoutLabelWidth=labelWidth;horizontalScore+=labelWidth<=cellWidth?1:cellWidth/labelWidth;if(isHorizontal){if(calcStagger){var spaceForLabel=cellWidth*2;if(i==0&&i==labelCount-1)spaceForLabel*=0.5;else if(i==0||i==labelCount-1)spaceForLabel*=0.75;staggerScore+=labelWidth<=spaceForLabel?1:spaceForLabel/labelWidth}if(calcRotate45){if(spaceFor45Label==0)spaceFor45Label=cellWidth90/0.7071-layoutLabelHeight;var space=this.calculate45DegreeSpace(node,
  970. spaceFor45Label);rotate45Score+=labelWidth<=space?1:space/labelWidth}if(calcRotate90)rotate90Score+=labelWidth<=cellWidth90?1:cellWidth90/labelWidth}}mode=0;if(this._layoutMode==-1){if(isHorizontal&&this._allowStagger){horizontalScore*=1.1;staggerScore*=1.1}if(staggerScore>horizontalScore&&staggerScore>=rotate45Score&&staggerScore>=rotate90Score)mode=3;else if(rotate45Score>horizontalScore&&rotate45Score>=rotate90Score)mode=2;else if(rotate90Score>horizontalScore)mode=1}else if(this._layoutMode==
  971. 3&&staggerStringsWontMatch||!isHorizontal)mode=0;else mode=this._layoutMode;if(isHorizontal)switch(mode){case 3:this._layoutLabelSize=layoutLabelHeight*2;break;case 2:this._layoutLabelSize=(layoutLabelWidth+layoutLabelHeight)*0.7071;break;case 1:this._layoutLabelSize=layoutLabelWidth;break;case 0:default:this._layoutLabelSize=layoutLabelHeight;break}else this._layoutLabelSize=layoutLabelWidth;this._layoutLabelHeight=layoutLabelHeight;return mode},calculate45DegreeSpace:function(node,maxWidth){var width=
  972. maxWidth;var tfm=node.rave_getParentNode().getAttribute("transform");if(tfm!=null){var tfmString=tfm.toString();var indexOfTrans=tfmString.indexOf("translate(");if(indexOfTrans!=-1){indexOfTrans+=10;var indexOfComma=tfmString.indexOf(",",indexOfTrans);if(indexOfComma!=-1){var xAmount=tfmString.substring(indexOfTrans,indexOfComma);var xLabelPos=+xAmount;var width45Degrees=node.getBBox().width;var xLabelWidth=width45Degrees*0.7071;var isBottom=this._orient=="bottom";if(isBottom){xLabelPos-=node.getBBox().height/
  973. 4;if(xLabelPos-xLabelWidth<this._bounds.x){xLabelWidth=xLabelPos-this._bounds.x;width=xLabelWidth/0.7071}}else if(xLabelPos+xLabelWidth>this._bounds.x+this._bounds.width){xLabelWidth=this._bounds.x+this._bounds.width-xLabelPos;width=xLabelWidth/0.7071}if(width>maxWidth)width=maxWidth}}}return width},rotateLabels:function(g,labels,textAnchor,mode){if(this._rotateLabels){var self=this;var positioning=function(data,index,groupIndex){var x=0;var y=0;var rotation_cy=0;var isBottom=self._orient=="bottom";
  974. if(mode==3){var cellIndex=self.getStaggerIndex(this);if(cellIndex!=-1){if(cellIndex%2==1){var staggerDirection=isBottom?1:-1;y+=self._layoutLabelHeight*staggerDirection}if(cellIndex==0&&self._staggerAlignFirstAtStart)x-=self._staggerCellWidth/4;else if(cellIndex==self.getStaggerCount()-1&&self._staggerAlignLastAtEnd)x+=self._staggerCellWidth/4}}else if(mode==2)if(isBottom)x-=self._layoutLabelHeight;else x+=self._layoutLabelHeight/2;else if(mode==1)if(isBottom){x-=this.getBBox().height/2+self._layoutLabelHeight/
  975. 4;rotation_cy=~~(self._padding/4+self._axis.tickSize())}else{x-=this.getBBox().height/2-self._layoutLabelHeight;rotation_cy=~~-(self._padding/4+self._axis.tickSize())}var rotationDegrees=mode==1?-90:mode==2?-45:0;return"translate("+x+","+y+") rotate("+rotationDegrees+",0,"+rotation_cy+")"};labels.attr("transform",positioning).style("text-anchor",textAnchor);if(mode==3){if(this._staggerAlignFirstAtStart)this._staggerFirstNode.rave_setStyle("text-anchor","start");if(this._staggerAlignLastAtEnd)this._staggerLastNode.rave_setStyle("text-anchor",
  976. "end")}}},"axis":function(){return this._axis},drawAxis:function(g){var axisSelector=g.selectAll("g.axis")["data"]([0]);axisSelector.enter().append("g").classed("axis",true).classed(this._orient,true);if(!this._axis)this._axis=new rave["internal"]["Axis"];if(this["_hideOverlappingLabels"])this._textFlow.valignment("top").dropTextOnFail(false);this._axis.ticksHandler(this._tickHandler);this._axis["orient"](this._orient);this._axis["tickFormat"](this._tickFormat);this._axis.tickPadding(10);if(this._scale.isOrdinal()||
  977. this._scale.isClustered()){var labelHeight=20;var isHorizontal=this._orient=="bottom"||this._orient=="top";if(isHorizontal)labelHeight/=0.7071;var range=this._scale["scale"]().rangeExtent();var extent=+range[1]-+range[0];this._axis.ticks(extent/labelHeight)}else if(this._tickMagnitude==null)this._axis.ticks(10);else this._axis.ticks.apply(this._axis,[10,this._scale["scale"]().getTickFormat(),this._tickMagnitude]);var s=this._scale["scale"]();if(this._scale.originalDomain()){var sOrdinal=s.copy();
  978. sOrdinal.domain(this._scale.originalDomain());s=sOrdinal;var self=this;var originalDataLabelAccessor=self._scale.originalDomainLabelAccessor();var tickFormatter;if(originalDataLabelAccessor)if(this._tickFormat)tickFormatter=function(data,index,groupIndex){return self._tickFormat.call(this,originalDataLabelAccessor.call(this,data,index,groupIndex),index,groupIndex)};else tickFormatter=originalDataLabelAccessor;else tickFormatter=this._tickFormat;this._axis["tickFormat"](tickFormatter)}this._axis["scale"](s);
  979. axisSelector.call(this._axis);var g2=rave["transition"](axisSelector);if(!g2.isTransition())axisSelector.selectAll("text").call(this._dropOverlap,this["_hideOverlappingLabels"]);axisSelector.selectAll("path.domain").classed("axis-line",true);axisSelector.selectAll("g.tick line").classed("axis-tick",true);if(this._fontChecker)axisSelector.selectAll("g.tick text").classed("axis-label",true).call(this._fontChecker);else axisSelector.selectAll("g.tick text").classed("axis-label",true);axisSelector.call(this._axisLineProperties)},
  980. drawTitle:function(g){if(!this["_displayAxisTitle"]||this["_axisTitle"]==null||this["_axisTitle"].trim().length==0||!this._bounds){g.selectAll("text.axis-title."+this._orient).remove();return}var x=0;var y=0;var dy="";var transform;if("top"==this._orient){x=this._elementRect.x+this._elementRect.width/2;y=-this._bounds.height+this._padding/4;dy="0.75em"}else if("bottom"==this._orient){x=this._elementRect.x+this._elementRect.width/2;y=this._bounds.height-this._padding/4;dy="-0.25em"}else if("left"==
  981. this._orient){x=-this._elementRect.y-this._elementRect.height/2;y=-this._bounds.width+this._padding/4;dy="0.75em";transform="rotate(-90)"}else{x=this._elementRect.y+this._elementRect.height/2;y=-this._bounds.width+this._padding/4;dy="0.75em";transform="rotate(90)"}var fillOpacity;var tmp=g.append("text").attr("class","axis-title "+this._orient);fillOpacity=tmp.style("fill-opacity");tmp.remove();var label=g.selectAll("text.axis-title."+this._orient);if(label["size"]()==0){label["data"]([0]).enter().append("text").attr("class",
  982. "axis-title "+this._orient).style("text-anchor","middle").attr("x",x).attr("y",y).attr("transform",transform).attr("dy",dy).style(this["_titleStyle"]).text(this["_axisTitle"]);if(this._fontChecker)g.selectAll("text.axis-title."+this._orient).call(this._fontChecker)}com_ibm_rave_bundles_utilities_TextCrossfader["textCrossFade"](rave["transition"](label),label.text(),this["_axisTitle"],fillOpacity,0.25).style("text-anchor","middle").attr("x",x).attr("y",y).attr("transform",transform).attr("dy",dy).style(this["_titleStyle"])},
  983. getUnZoomedScale:function(scale){var s=scale.copy();if(s.getZoomTransform())s.getZoomTransform()(1,0);return s},isValid:function(data){var s=this.getUnZoomedScale(this._axis["scale"]());var v=+s.call(null,data,0,0);var range=this._axis["scale"]().range();if(this._axis["scale"]().range().indexOf(v)>-1)return true;if(range[0]<v&&v<range[1])return true;if(range[0]>v&&v>range[1])return true;return false},doLabelWrapping:function(g,mode){if(this["_displayTickLabels"]){this._textFlow.valignment("top");
  984. if(!this["_hideOverlappingLabels"])this._textFlow.dropTextOnFail(true);var d=this["labelExtent"](g);if(!d||d[0]<0||d[1]<0)return;var w=~~d[0];var h=~~d[1];if(mode==2){w=~~(d[1]/0.7071-this._layoutLabelHeight);h=~~(this._layoutLabelHeight/0.7071)}else if(mode==1){var tmp=w;w=h;h=tmp}var allowWrap=mode==1;if(this._scale.isOrdinal()||this._scale.isClustered()){var hActual=~~(this._layoutLabelHeight*1.2);if(hActual>h)h=hActual;var isHorizontal=this._orient=="bottom"||this._orient=="top";if(mode==0&&!isHorizontal)allowWrap=
  985. true}var self=this;var cellWidth=w;var cellHeight=h;this._textFlow.wrap(allowWrap).truncate(true)["textTruncateIndicator"](this._textTruncationIndicator!=null?this._textTruncationIndicator:"...").spacing(1.2).extent(function(data,index,groupIndex){var width=cellWidth;var height=cellHeight;if(mode==2){var cellIndex=self.getStaggerIndex(this);if(cellIndex!=-1)width=~~self.calculate45DegreeSpace(this,cellWidth)}else if(mode==3){cellIndex=self.getStaggerIndex(this);if(cellIndex!=-1){if(cellIndex==0&&
  986. cellIndex==self.getStaggerCount()-1)width=cellWidth;else if(cellIndex==0||cellIndex==self.getStaggerCount()-1)width=cellWidth*3/2;else width=cellWidth*2;height=cellHeight/2}}return[width,height]});g.selectAll("g.tick \x3e text").call(this._textFlow)}},"labelExtent":function(g){var isHorizontal=this._orient=="bottom"||this._orient=="top";var w=this._bounds.width;var h=this._bounds.height;if(this._scale["scale"]().rangeBand){var rangeBandValue=+this._scale["scale"]().rangeBand();if(isHorizontal)w=rangeBandValue;
  987. else h=rangeBandValue}this.calcTitleExtent(g);if(isHorizontal){h-=this._axis.tickSize();h-=this._padding/2;if(this._layoutTitleSize!=0){h-=this._layoutTitleSize;h-=this._padding/2}}else{w-=this._axis.tickSize();w-=this._padding/2;if(this._layoutTitleSize!=0){w-=this._layoutTitleSize;w-=this._padding/2}}return[w,h]},calcTitleExtent:function(g){this._layoutTitleSize=0;var title=g.selectAll("text.axis-title");if(title["size"]()>0){var textHeight=title[0][0].getBBox().height;this._layoutTitleSize=textHeight}},
  988. "setRole":function(role){this._role=role;return this},"scaleTickMagnitude":function(tickMagnitude){this._tickMagnitude=tickMagnitude;return this},"scale":function(scale){this._scale=scale?scale:null;return this},orient$0:function(orient){if("left"==orient||"bottom"==orient||"right"==orient||"top"==orient){this._orient=orient;if(this._role==null)if("left"==orient)this._role="ROLE_Y1";else if("bottom"==orient)this._role="ROLE_X1";else if("right"==orient)this._role="ROLE_Y2";else this._role="ROLE_X2"}return this},
  989. orient$1:function(){return this._orient},"bounds":function(bounds){this._bounds=bounds;return this},"elementRect":function(elementRect){this._elementRect=elementRect;return this},tickFormat$0:function(tickFormat){this._tickFormat=tickFormat;return this},tickFormat$1:function(){return this._tickFormat},simplifiedTickFormat$0:function(tickFormat){this._simplifiedTickFormat=tickFormat;return this},simplifiedTickFormat$1:function(){return this._simplifiedTickFormat},"displayAxisTitle":function(displayAxisTitle){this["_displayAxisTitle"]=
  990. displayAxisTitle;return this},"displayAxisLine":function(displayAxisLine){this["_displayAxisLine"]=displayAxisLine;return this},"displayTicks":function(displayTicks){this["_displayTicks"]=displayTicks;return this},"displayTickLabels":function(displayTickLabels){this["_displayTickLabels"]=displayTickLabels;return this},"allowAutomaticAxisLayoutToChangeOrientation":function(state){this._allowAutoAxisLayoutToChangeOrientaiton=state;return this},"isAllowAutomaticAxisLayoutToChangeOrientation":function(){return this._allowAutoAxisLayoutToChangeOrientaiton},
  991. "showPanZoomTickLabels":function(showPanZoomTickLabels){this["_showPanZoomTickLabels"]=showPanZoomTickLabels;return this},"axisTitle":function(axisTitle){this["_axisTitle"]=axisTitle;return this},"axisColor":function(axisColor){this["_lineColor"]=axisColor;this["_tickColor"]=axisColor;return this},"lineColor":function(lineColor){this["_lineColor"]=lineColor;return this},"tickColor":function(tickColor){this["_tickColor"]=tickColor;return this},"labelColor":function(labelColor){this["_labelStyle"]["fill"]=
  992. labelColor;return this},labelStyle$0:function(fill,fontSize,fontFamily){this["_labelStyle"]["fill"]=fill;this["_labelStyle"]["font-size"]=fontSize;this["_labelStyle"]["font-family"]=fontFamily;return this},"titleColor":function(titleColor){this["_titleStyle"]["fill"]=titleColor;return this},titleStyle$0:function(fill,fontSize,fontFamily){this["_titleStyle"]["fill"]=fill;this["_titleStyle"]["font-size"]=fontSize;this["_titleStyle"]["font-family"]=fontFamily;return this},"padding":function(padding){this._padding=
  993. padding;return this},"layoutMode":function(layoutMode){this._layoutMode=-1;if(layoutMode!=null)if(layoutMode=="horizontal")this._layoutMode=0;else if(layoutMode=="stagger")this._layoutMode=3;else if(layoutMode=="rotate45")this._layoutMode=2;else if(layoutMode=="rotate90")this._layoutMode=1;return this},"allowStagger":function(allow){this._allowStagger=allow;return this},"allowRotate45":function(allow){this._allowRotate45=allow;return this},"allowRotate90":function(allow){this._allowRotate90=allow;
  994. return this},renderedShapes:function(){return this._renderedShapes},labelStyle$1:function(fontStyle){this["_labelStyle"]=com_ibm_rave_bundles_utilities_FontPropertyParser["parseCSSFont"](fontStyle);return this},titleStyle$1:function(fontStyle){this["_titleStyle"]=com_ibm_rave_bundles_utilities_FontPropertyParser["parseCSSFont"](fontStyle);return this},isAxisSwapped:function(){return(this._role=="ROLE_Y1"||this._role=="ROLE_Y2")&&(this._orient=="top"||this._orient=="bottom")||(this._role=="ROLE_X1"||
  995. this._role=="ROLE_X2")&&(this._orient=="right"||this._orient=="left")},"textTruncateIndicator":function(indicator){this._textTruncationIndicator=indicator;return this},stopLabelDroppingUpdate:function(){this._pendingLabelTimer=false},updateLabelDropping:function(labels,duration,delay){var self=this;var start=delay+duration;var labelCollideCallback=function(elapsed){if(!self._pendingLabelTimer)return true;labels.call(self._dropOverlap,self["_hideOverlappingLabels"]);if(elapsed>=start){self._pendingLabelTimer=
  996. false;return true}return false};if(duration>0){this._pendingLabelTimer=true;rave.timer(labelCollideCallback,start)}},doLabelWrappingAfterAnimation:function(g,labels,mode,duration,delay){this._layoutTimerId++;var timerId=this._layoutTimerId;var self=this;var wrapCallback=function(elapsed){if(self._layoutTimerId==timerId){self.doLabelWrapping(g,mode);self.handleLabelsRotationAndPosition(g,labels,mode)}return true};rave.timer(wrapCallback,delay+duration)},"preLayout":function(){this._layoutTitleSize=
  997. 0;this._layoutLabelSize=0;this._layoutLabelHeight=0;this._layoutAverageDigitWidth=0;this._layoutSpillOver=0},"getSizableType":function(){return this._scale.isOrdinal()||this._scale.isClustered()?1:0},"getSizableOrientation":function(){return this._orient},"getPreferredSize":function(){var layoutPaddingSize=0;if(this._axis){layoutPaddingSize=this._axis.tickSize();if(this._layoutLabelSize!=0)layoutPaddingSize+=this._padding/2;if(this._layoutTitleSize!=0)layoutPaddingSize+=this._padding/2}return this._layoutLabelSize+
  998. this._layoutAverageDigitWidth+this._layoutTitleSize+layoutPaddingSize+2},"getSpillOverSize":function(){return this._layoutSpillOver},"orient":function(a0){var args=arguments;if(args.length==0)return this.orient$1();return this.orient$0(a0)},"tickFormat":function(a0){var args=arguments;if(args.length==0)return this.tickFormat$1();return this.tickFormat$0(a0)},"simplifiedTickFormat":function(a0){var args=arguments;if(args.length==0)return this.simplifiedTickFormat$1();return this.simplifiedTickFormat$0(a0)},
  999. "labelStyle":function(a0,a1,a2){var args=arguments;if(args.length==1)return this.labelStyle$1(a0);return this.labelStyle$0(a0,a1,a2)},"titleStyle":function(a0,a1,a2){var args=arguments;if(args.length==1)return this.titleStyle$1(a0);return this.titleStyle$0(a0,a1,a2)}});com_ibm_rave_bundles_components_AxisComponentImpl["getTranslation"]=function(bounds,orient){if("left"==orient)return[bounds.x+bounds.width,0];if("right"==orient)return[bounds.x,0];if("top"==orient)return[0,bounds.y+bounds.height];return[0,
  1000. bounds.y]};com_ibm_rave_bundles_components_AxisComponentImpl.NodeIndex=rave["internal"]["Declare"]({_domainIndex:0,"constructor":function(node,domainIndex){this._node=node;this._domainIndex=domainIndex},"contains":function(node){return node==this._node},"getIndex":function(){return this._domainIndex}});com_ibm_rave_bundles_components_AxisComponentImpl.AxisTickHandler=rave["internal"]["Declare"](rave["internal"]["AbstractTickHandler"],{_$functionClassMethod:function(){var _$self=function(args){if(args!==
  1001. null||arguments.length>1)args=Array.prototype.slice.call(arguments,0);_$self["handle"](args[0]);return null};return _$self},"constructor":function(label,tick){this._label=label;this._tick=tick},"handle":function(ticks){ticks.call(this._tick);ticks.call(this._label)}});com_ibm_rave_bundles_components_AxisComponentImpl["LABEL_HIDDEN_FLAG"]="__tickLabelHidden__";com_ibm_rave_bundles_components_AxisComponentImpl["PANZOOM_HIDDEN_FLAG"]="__panZoomHidden__";com_ibm_rave_bundles_components_AxisComponentImpl["HIDDEN_COUNT"]=
  1002. "__hiddenCount__";com_ibm_rave_bundles_components_AxisComponentImpl["PREFERRED_SPACE_PER_TICK"]=20;com_ibm_rave_bundles_components_AxisComponentImpl["PREFERRED_TICK_COUNT"]=10;com_ibm_rave_bundles_components_AxisComponentImpl["TICK_PADDING"]=10;com_ibm_rave_bundles_components_AxisComponentImpl.HORIZONTAL=0;com_ibm_rave_bundles_components_AxisComponentImpl.ROTATE90=1;com_ibm_rave_bundles_components_AxisComponentImpl.ROTATE45=2;com_ibm_rave_bundles_components_AxisComponentImpl.STAGGER=3;com_ibm_rave_bundles_components_AxisComponentImpl.TEXTFLOW_SPACING=
  1003. 1.2;com_ibm_rave_bundles_components_AxisComponentImpl["BOTTOM_ORIENTATION"]="bottom";com_ibm_rave_bundles_components_AxisComponentImpl["TOP_ORIENTATION"]="top";com_ibm_rave_bundles_components_AxisComponentImpl["LEFT_ORIENTATION"]="left";com_ibm_rave_bundles_components_AxisComponentImpl["RIGHT_ORIENTATION"]="right";com_ibm_rave_bundles_components_AxisComponentImpl.AUTOMODE=-1;var com_ibm_rave_bundles_components_GridComponentImpl=rave["internal"]["Declare"](com_ibm_rave_bundles_components_BundleComponentImpl,
  1004. {_displayGridlines:false,_renderedShapes:false,"constructor":function(){this._axis=null;this._role=null;this._orient="bottom";this._bounds=null;this._displayGridlines=true;this._gridlineStyle=new com_ibm_rave_bundles_components_StyleStructs.LineStyle;this._renderedShapes=false},"type":function(){return com_ibm_rave_bundles_component_GridComponent["COMPONENT_TYPE"]},"role":function(){return this._role},"execute":function(g){this["preExecute"]();if(!this._displayGridlines||!this._axis||!this._bounds){g.selectAll("*").remove();
  1005. this._renderedShapes=false;return}this._renderedShapes=true;var size="bottom"==this._orient||"top"==this._orient?this._bounds.height:this._bounds.width;var ticksHandler=this._axis.ticksHandler();var tickSize=this._axis.tickSize();var outerTickSize=this._axis.outerTickSize();var tickFormat=this._axis["tickFormat"]();var ax=this._axis.tickSize(-size,0)["tickFormat"]("").ticksHandler(null);g.call(ax);this._axis.tickSize(tickSize,outerTickSize)["tickFormat"](tickFormat).ticksHandler(ticksHandler);g.selectAll("g.tick line").classed("grid-tick",
  1006. true);g.selectAll(".grid-tick").style("stroke",this._gridlineStyle._stroke).style("stroke-dasharray",this._gridlineStyle._dashArray);g.selectAll("path.domain").remove()},"axis":function(axis){this._axis=axis;return this},"setRole":function(role){this._role=role;return this},orient$0:function(orient){if("left"==orient||"right"==orient||"bottom"==orient||"top"==orient)this._orient=orient;return this},"bounds":function(bounds){this._bounds=bounds;return this},displayGridlines$0:function(displayGridlines){this._displayGridlines=
  1007. displayGridlines;return this},"gridlineStyle":function(gridlineColor,dashArray){this["gridlineColor"](gridlineColor);this["dashArray"](dashArray);return this},gridlineColor$0:function(gridlineColor){this._gridlineStyle._stroke=gridlineColor!=null&&gridlineColor.length>0?gridlineColor:null;return this},dashArray$0:function(dashArray){this._gridlineStyle._dashArray=dashArray!=null&&dashArray.length>0?dashArray:null;return this},orient$1:function(){return this._orient},displayGridlines$1:function(){return this._displayGridlines},
  1008. gridlineColor$1:function(){return this._gridlineStyle._stroke},dashArray$1:function(){return this._gridlineStyle._dashArray},renderedShapes:function(){return this._renderedShapes},"orient":function(a0){var args=arguments;if(args.length==0)return this.orient$1();return this.orient$0(a0)},"displayGridlines":function(a0){var args=arguments;if(args.length==0)return this.displayGridlines$1();return this.displayGridlines$0(a0)},"gridlineColor":function(a0){var args=arguments;if(args.length==0)return this.gridlineColor$1();
  1009. return this.gridlineColor$0(a0)},"dashArray":function(a0){var args=arguments;if(args.length==0)return this.dashArray$1();return this.dashArray$0(a0)}});var com_ibm_rave_bundles_components_KeyedBundleComponentImpl=rave["internal"]["Declare"](com_ibm_rave_bundles_components_BundleComponentImpl,{"key":function(keyFunction){this.keyFunction=keyFunction;return this},"getKey":function(){if(!this.keyFunction)return null;var self=this;return function(datum,index,groupIndex){return self.keyFunction(datum)}}});
  1010. var com_ibm_rave_bundles_components_IntervalComponentImpl=rave["internal"]["Declare"](com_ibm_rave_bundles_components_KeyedBundleComponentImpl,{_transpose:false,_itemLabel:false,_itemOverlap:true,_labelLayerClass:".element-label-group",_elementLayerClass:".element-group",_labelContrast:false,_labelShadow:false,"constructor":function(){this._dropOverlap=new com_ibm_rave_bundles_utilities_BundleLabelDropper;this._delay=function(data,index,groupIndex){return 0};this._labelFontStyle={};this._labelStyleUtil=
  1011. new com_ibm_rave_bundles_utilities_LabelStyleUtil},"type":function(){return com_ibm_rave_bundles_component_IntervalComponent["COMPONENT_TYPE"]},"execute":function(g){this["preExecute"]();var elementGroupSelector=g.selectAll(this._elementLayerClass);var elementLabelGroupSelector=g.selectAll(this._labelLayerClass);if(g.classed(this._elementLayerClass)||elementGroupSelector["size"]()==0||elementLabelGroupSelector["size"]()==0){elementGroupSelector=g;elementLabelGroupSelector=g}if(!this._data||!this._independent1Accessor||
  1012. !this._independent2Accessor||!this._independentScale||!this._dependent1Accessor||!this._dependent2Accessor||!this._dependentScale){elementGroupSelector.selectAll("*").remove();elementLabelGroupSelector.selectAll("*").remove();return}var self=this;var labelText=!this._labelFormatter?function(data,index,groupIndex){if(Math.max(+self._dependentScale.upper(self._dependent1Accessor(data)),+self._dependentScale.upper(self._dependent2Accessor(data)))-Math.min(+self._dependentScale.lower(self._dependent1Accessor(data)),
  1013. +self._dependentScale.lower(self._dependent2Accessor(data)))<0.001)return null;return self._labelAccessor(data)}:function(data,index,groupIndex){var v=self._labelAccessor(data);return v==null?null:self._labelFormatter.call(this,v,index,groupIndex)};var keyFunction=!this._keyAccessor?null:function(datum,ix,gix){return self._keyAccessor(datum)};var labelsOn=this._itemLabel&&this._labelAccessor;if(!labelsOn)g.selectAll("text.element-label").remove();var elementSelector=elementGroupSelector.selectAll(".element")["data"](this._data,
  1014. this["getKey"]()?this["getKey"]():keyFunction);elementSelector.exit().remove();var elementEnter=elementSelector.enter().append("g").attr("class","element");elementEnter.append("rect").attr("class","element-shape").attr("x",this._specialTransition==null?this.rectangleCoord$0(true,true,true):this.rectangleCoord$0(true,false,true)).attr("width",this._specialTransition==null?this.rectangleSize(true,true,true):this.rectangleSize(true,false,true)).attr("y",this.rectangleCoord$0(false,true,true)).attr("height",
  1015. 0).style("fill",this._colorPalette);if(labelsOn){var elementLabelSelector=elementLabelGroupSelector.selectAll(".element-label")["data"](this._data,this["getKey"]()?this["getKey"]():keyFunction);elementLabelSelector.exit().remove();elementLabelSelector.enter().append("text").attr("class","element-label");this.addLabels(elementLabelSelector).text(labelText)}var shapes=elementSelector.select(".element-shape");var t=rave["transition"](shapes);if(t!=shapes&&this._delay)t["delay"](this._delay);t.style("fill",
  1016. this._colorPalette);this["updateBorder"](t,this._borderWidth,this._borderColor);var fontChecker=rave.capabilities.extension("fontchecker");if(this._specialTransition==null)t.attr("x",this.rectangleCoord$0(true,false,false)).attr("width",this.rectangleSize(true,false,false)).attr("y",this.rectangleCoord$0(false,false,false)).attr("height",this.rectangleSize(false,false,false));else if(this.isXYanimation())t.attr("y",this.rectangleCoord$0(false,false,false)).attr("height",this.rectangleSize(false,false,
  1017. false))["transition"]().attr("x",this.rectangleCoord$0(true,false,false)).attr("width",this.rectangleSize(true,false,false));else t.attr("x",this.rectangleCoord$0(true,false,false)).attr("width",this.rectangleSize(true,false,false))["transition"]().attr("y",this.rectangleCoord$0(false,false,false)).attr("height",this.rectangleSize(false,false,false));if(this["_renderCallback"])t.call(this["_renderCallback"],"elements");if(labelsOn){var labels=g.selectAll(".element-label");var t2=rave["transition"](labels);
  1018. if(fontChecker)labels.call(fontChecker);if(t2!=labels&&this._delay)t2["delay"](this._delay);t2.attr("x",this.getXPosition()).attr("dx",this.getXOffset()).attr("y",this.getYPosition()).attr("dy",this.getYOffset()).style("text-anchor",this.getAnchor());var labelColor=this["getDefaultLabelColor"](this._labelFontStyle);this._labelStyleUtil["labelFont"](this._labelFontStyle)["labelFillColor"](this._labelContrast?this.getLabelFill():function(data,index,groupIndex){return labelColor})["labelShadow"](this._labelShadow);
  1019. labels.call(this._labelStyleUtil);t2.text(labelText);this._dropOverlap["configureForDataLabels"](this._bounds);t2.call(this._dropOverlap,this._itemOverlap)}},addLabels:function(s){return s.selectAll("element-label").attr("x",this.rectangleCenter(true,true,true)).attr("y",this.rectangleCenter(false,true,true)).attr("dy",".3em").style("text-anchor","middle")},getAnchor:function(){var self=this;return function(data,index,groupIndex){if(!self._transpose||!self._itemLabelPosition)return"middle";var labelPosition=
  1020. self._itemLabelPosition.call(this,data,index,groupIndex);if(0==labelPosition)return"start";else if(1==labelPosition)return"middle";else return"end"}},getLabelFill:function(){var self=this;var labelColor=this["getDefaultLabelColor"](this._labelFontStyle);return function(data,index,groupIndex){if(!self._itemLabelPosition)return com_ibm_rave_bundles_utilities_ColorUtil["getContrastColor"](self._colorPalette.call(this,data,index,groupIndex),labelColor).toString();var labelPosition=self._itemLabelPosition.call(this,
  1021. data,index,groupIndex);if(1==labelPosition)return com_ibm_rave_bundles_utilities_ColorUtil["getContrastColor"](self._colorPalette.call(this,data,index,groupIndex),labelColor).toString();return labelColor}},getXOffset:function(){var self=this;return function(data,index,groupIndex){if(!self._transpose||!self._itemLabelPosition)return"0em";var labelPosition=self._itemLabelPosition.call(this,data,index,groupIndex);if(0==labelPosition)return".3em";else if(1==labelPosition)return"0em";else return"-.3em"}},
  1022. getYOffset:function(){var self=this;return function(data,index,groupIndex){if(self._transpose||!self._itemLabelPosition)return".3em";var labelPosition=self._itemLabelPosition.call(this,data,index,groupIndex);if(0==labelPosition)return"-.3em";else if(1==labelPosition)return".3em";else return"1.1em"}},getXPosition:function(){var self=this;return function(data,index,groupIndex){if(!self._transpose||!self._itemLabelPosition)return self.rectangleCenter(true,false,false).call(this,data,index,groupIndex);
  1023. var labelPosition=self._itemLabelPosition.call(this,data,index,groupIndex);if(0==labelPosition)return self.rectangleCoord$1(true,false,false,true).call(this,data,index,groupIndex);else if(1==labelPosition)return self.rectangleCenter(true,false,false).call(this,data,index,groupIndex);else return self.rectangleCoord$1(true,false,false,false).call(this,data,index,groupIndex)}},getYPosition:function(){var self=this;return function(data,index,groupIndex){if(self._transpose||!self._itemLabelPosition)return self.rectangleCenter(false,
  1024. false,false).call(this,data,index,groupIndex);var labelPosition=self._itemLabelPosition.call(this,data,index,groupIndex);if(0==labelPosition)return self.rectangleCoord$1(false,false,false,false).call(this,data,index,groupIndex);else if(1==labelPosition)return self.rectangleCenter(false,false,false).call(this,data,index,groupIndex);else return self.rectangleCoord$1(false,false,false,true).call(this,data,index,groupIndex)}},rectangleCoord$0:function(xdim,fromBase,enter){return this.rectangleCoord$1(xdim,
  1025. fromBase,enter,false)},rectangleCoord$1:function(xdim,fromBase,enter,useMax){var useDependent=xdim==this._transpose;var scale=useDependent?this._dependentScale:this._independentScale;if(fromBase&&useDependent&&this._dependentScale.isLinear()){var value=scale.lower(0);return function(data,index,groupIndex){return value}}var a1=useDependent?this._dependent1Accessor:this._independent1Accessor;var a2=useDependent?this._dependent2Accessor:this._independent2Accessor;if(enter&&this.isCTShandling())return function(data,
  1026. index,groupIndex){return scale.center(a1(data))};return function(data,index,groupIndex){if(useMax)return Math.max(+scale.upper(a1(data)),+scale.upper(a2(data)));else return Math.min(+scale.lower(a1(data)),+scale.lower(a2(data)))}},rectangleSize:function(xdim,fromBase,enter){var useDependent=xdim==this._transpose;var scale=useDependent?this._dependentScale:this._independentScale;if(fromBase&&useDependent&&this._dependentScale.isLinear()||enter&&this.isCTShandling())return function(data,index,groupIndex){return 0.001};
  1027. var a1=useDependent?this._dependent1Accessor:this._independent1Accessor;var a2=useDependent?this._dependent2Accessor:this._independent2Accessor;return function(data,index,groupIndex){return Math.max(0.001,Math.max(+scale.upper(a1(data)),+scale.upper(a2(data)))-Math.min(+scale.lower(a1(data)),+scale.lower(a2(data))))}},isXYanimation:function(){return"XY_CTS"==this._specialTransition||"XY_STC"==this._specialTransition},isCTShandling:function(){return"XY_CTS"==this._specialTransition||"YX_CTS"==this._specialTransition},
  1028. rectangleCenter:function(xdim,fromBase,enter){var useDependent=xdim==this._transpose;var scale=useDependent?this._dependentScale:this._independentScale;if(fromBase&&useDependent&&this._dependentScale.isLinear()){var value=scale.lower(0);return function(data,index,groupIndex){return value}}var a1=useDependent?this._dependent1Accessor:this._independent1Accessor;var a2=useDependent?this._dependent2Accessor:this._independent2Accessor;if(enter&&this.isCTShandling())return function(data,index,groupIndex){return+scale.center(a1(data))};
  1029. return function(data,index,groupIndex){var val=(Math.max(+scale.upper(a1(data)),+scale.upper(a2(data)))+Math.min(+scale.lower(a1(data)),+scale.lower(a2(data))))/2;if(isNaN(val))val=0;return val}},"data":function(data){this._data=data;return this},"keyAccessor":function(keyAccessor){this._keyAccessor=keyAccessor;return this},"independent1Accessor":function(independent1Accessor){this._independent1Accessor=independent1Accessor;return this},"independent2Accessor":function(independent2Accessor){this._independent2Accessor=
  1030. independent2Accessor;return this},"independentScale":function(independentScale){this._independentScale=independentScale;return this},"dependent1Accessor":function(dependent1Accessor){this._dependent1Accessor=dependent1Accessor;return this},"dependent2Accessor":function(dependent2Accessor){this._dependent2Accessor=dependent2Accessor;return this},"dependentScale":function(dependentScale){this._dependentScale=dependentScale;return this},"colorPalette":function(colorPalette){this._colorPalette=colorPalette;
  1031. return this},"labelAccessor":function(labelAccessor){this._labelAccessor=labelAccessor;return this},"labelFormatter":function(labelFormatter){this._labelFormatter=labelFormatter;return this},"transpose":function(transpose){this._transpose=transpose;return this},"itemLabel":function(itemLabel){this._itemLabel=itemLabel;return this},"itemLabelPosition":function(labelPosition){this._itemLabelPosition=labelPosition;return this},"itemOverlap":function(_itemOverlap){this._itemOverlap=_itemOverlap;return this},
  1032. "valueAccessor":function(valueAccessor){this._valueAccessor=valueAccessor;return this},"specialTransition":function(specialTransition){this._specialTransition=specialTransition;return this},"delay":function(delayFunction){this._delay=delayFunction;return this},"borderWidth":function(width){this._borderWidth=width;return this},"borderColor":function(color){this._borderColor=color;return this},"labelFont":function(labelFontStyle){this._labelFontStyle=labelFontStyle;return this},"bounds":function(bounds){this._bounds=
  1033. bounds;return this},"labelLayerClassName":function(className){this._labelLayerClass=className;return this},"elementLayerClassName":function(className){this._elementLayerClass=className;return this},"labelContrast":function(labelContrast){this._labelContrast=labelContrast;return this},"labelShadow":function(labelShadow){this._labelShadow=labelShadow;return this},rectangleCoord:function(a0,a1,a2,a3){var args=arguments;if(args.length==3)return this.rectangleCoord$0(a0,a1,a2);return this.rectangleCoord$1(a0,
  1034. a1,a2,a3)}});com_ibm_rave_bundles_components_IntervalComponentImpl["LABEL_POSITION_TOP"]=0;com_ibm_rave_bundles_components_IntervalComponentImpl["LABEL_POSITION_CENTER"]=1;com_ibm_rave_bundles_components_IntervalComponentImpl["LABEL_POSITION_BOTTOM"]=2;var com_ibm_rave_bundles_components_FilterComponentImpl=rave["internal"]["Declare"](com_ibm_rave_bundles_components_BundleComponentImpl,{offset_x:0,offset_y:0,blur_radius:0,"constructor":function(id){this._id=id},"setDropshadow":function(offset_x,offset_y,
  1035. radius,rgb){this.offset_x=this.getValue(offset_x);this.offset_y=this.getValue(offset_y);this.blur_radius=this.getValue(radius);this["color"]=rgb},getValue:function(s){if(s==null)return 0;return+s.substring(0,s.length-2)},"execute":function(g){var s=g.selectAll("#"+this._id)["data"]([0]);var filter=s.enter().append("filter").attr("id",this._id).attr("height","500%").attr("width","500%");filter.append("feGaussianBlur").attr("in","SourceAlpha");filter.append("feOffset").attr("result","offsetBlur");filter.append("feFlood");
  1036. filter.append("feComposite").attr("in2","offsetBlur").attr("operator","in");var merge=filter.append("feMerge");merge.append("feMergeNode");merge.append("feMergeNode").attr("in","SourceGraphic");s.select("feGaussianBlur").attr("stdDeviation",this.blur_radius);s.select("feOffset").attr("dx",this.offset_x).attr("dy",this.offset_y);s.select("feFlood").attr("flood-color",!this["color"]?"black":this["color"])},"type":function(){return"FilterComponent"},"getId":function(){return this._id}});var com_ibm_rave_bundles_components_LabelCollisionComponentImpl=
  1037. rave["internal"]["Declare"](com_ibm_rave_bundles_components_BundleComponentImpl,{_labelClass:".element-label",_numberOfSweeps:1E3,"execute":function(chart){var labels=chart.selectAll(this._labelClass);if(this._handleLabelCollisions=="Move Labels")this.resolveLabelCollisions(labels);else if(this._handleLabelCollisions=="Drop Labels")this.dropLabels(labels);else this.resetLabels(labels)},"type":function(){return com_ibm_rave_bundles_component_LabelCollisionComponent["COMPONENT_TYPE"]},resetLabels:function(labels){var position=
  1038. rave.capabilities.extension("position");position["drop"]().reset(labels)},dropLabels:function(labels){var position=rave.capabilities.extension("position");var drop=position["drop"]();if(this._bounds){var ex=[[this._bounds.x,this._bounds.y],[this._bounds.x+this._bounds.width,this._bounds.y+this._bounds.height]];drop.extent(ex)}drop.remove(false);drop.noClipping();drop.dropOverlap(labels)},resolveLabelCollisions:function(labels){var self=this;var labelBoxes=[];var anchorPoints=[];labels.each(function(data,
  1039. index,groupIndex){var labelBox={};labelBox["x"]=+this.getAttribute("x");labelBox["y"]=+this.getAttribute("y");labelBox["width"]=+this.getBBox().width;labelBox["height"]=+this.getBBox().height;labelBoxes.push(labelBox);var anchorPoint={};anchorPoint["x"]=labelBox["x"];anchorPoint["y"]=labelBox["y"];anchorPoint["r"]=5;anchorPoints.push(anchorPoint)});labels["data"](labelBoxes);var position=rave.capabilities.extension("position");var repositionLabels=function(args){if(args!==null||arguments.length>1)args=
  1040. Array.prototype.slice.call(arguments,0);if(self._handleLabelCollisions=="Move Labels")labels["transition"]()["duration"](110).attr("x",function(data,index,groupIndex){return data["x"]}).attr("y",function(data,index,groupIndex){return data["y"]});return this};this._labelPositioning=position.place()["label"](labelBoxes);this._labelPositioning.anchor(anchorPoints).width(this._bounds.width).height(this._bounds.height)["numberOfSweeps"](this._numberOfSweeps).start().on("tick",repositionLabels)},"labelClassName":function(className){this._labelClass=
  1041. className;return this},"labelResolution":function(resolve){this._handleLabelCollisions=resolve;if(this._labelPositioning&&this._handleLabelCollisions!=null)this._labelPositioning.stop();return this},"bounds":function(bounds){this._bounds=bounds;return this},"numberOfSweeps":function(numberOfSweeps){this._numberOfSweeps=numberOfSweeps;return this}});com_ibm_rave_bundles_components_LabelCollisionComponentImpl["MOVE_LABELS"]="Move Labels";com_ibm_rave_bundles_components_LabelCollisionComponentImpl["DROP_LABELS"]=
  1042. "Drop Labels";com_ibm_rave_bundles_components_LabelCollisionComponentImpl["NONE"]="none";var com_ibm_rave_bundles_components_AbstractPathComponent=rave["internal"]["Declare"](com_ibm_rave_bundles_components_KeyedBundleComponentImpl,{"_interpolateMode":null,"_previousInterpolateMode":null,"constructor":function(){this["_interpolateMode"]=rave["internal"]["SVGLine"].r2_svg_lineLinear["getKey"]();this["_previousInterpolateMode"]=this["_interpolateMode"]},"updatePath":function(updateSelection,pathFunction){if(this["_interpolateMode"]!=
  1043. null&&!(this["_interpolateMode"]==this["_previousInterpolateMode"]))com_ibm_rave_bundles_utilities_PathUtils["fadeOutIn"](updateSelection,pathFunction);else updateSelection.attr("d",pathFunction);this["_previousInterpolateMode"]=this["_interpolateMode"]}});var com_ibm_rave_bundles_components_LineComponentImpl=rave["internal"]["Declare"](com_ibm_rave_bundles_components_AbstractPathComponent,{_transpose:false,_showMissingAsGap:false,"constructor":function(){this._data=null;this["_interpolateMode"]=
  1044. null;this._pointsAccessor=function(data){return data["points"]};this._groupAccessor=null;this._independentAccessor=function(data){return data[0]};this._independentScale=null;this._dependentAccessor=function(data){return data[1]};var self=this;this._definedAccessor=function(data){return self._dependentAccessor(data)!=null&&self._independentAccessor(data)!=null};this._dependentScale=null;this._colorPalette=null;this._transpose=false;this._effect=null;this._showMissingAsGap=true},"type":function(){return com_ibm_rave_bundles_component_LineComponent["COMPONENT_TYPE"]},
  1045. "execute":function(g){this["preExecute"]();if(!this._data||!this._pointsAccessor||!this._independentAccessor||!this._independentScale||!this._dependentAccessor||!this._dependentScale){g.selectAll("*").remove();return}var self=this;var independent=function(data,index,groupIndex){return self._independentScale.center(self._independentAccessor(data))};var dependent=function(data,index,groupIndex){return self._dependentScale.center(self._dependentAccessor(data))};var definedAccessorY=function(data,index,
  1046. groupIndex){return self._definedAccessor(data)};var line=rave.svg.line().x(this._transpose?dependent:independent).y(this._transpose?independent:dependent)["showMissingAsGap"](this._showMissingAsGap);var lineFunction=function(d,index,groupIndex){return line.call(this,self._pointsAccessor(d),index,groupIndex)};line.defined(definedAccessorY);line["interpolate"](this["_interpolateMode"]);var lines=g.selectAll("path.element-shape")["data"](this._data,this._groupAccessor?function(data,index,groupIndex){return self._groupAccessor(data)}:
  1047. null);lines.exit().remove();var enter=lines.enter();if(enter["size"]()>0){enter=enter.append("path").attr("class","element-shape").style("stroke",this._colorPalette);if("fromBase"==this._effect){var dependentZero=function(data,index,groupIndex){return self._dependentScale.center(0)};var zeroLine=rave.svg.line().x(this._transpose?dependentZero:independent).y(this._transpose?independent:dependentZero);zeroLine.defined(definedAccessorY);enter.attr("d",function(d,index,groupIndex){return zeroLine.call(this,
  1048. self._pointsAccessor(d),index,groupIndex)})}else enter.attr("d",lineFunction)}var linesUpdate=rave["transition"](lines).style("stroke",this._colorPalette);this["updatePath"](linesUpdate,lineFunction);this._effect=null},"data":function(data){this._data=data;return this},"pointsAccessor":function(pointsAccessor){this._pointsAccessor=pointsAccessor;return this},"groupAccessor":function(groupAccessor){this._groupAccessor=groupAccessor;return this},"independentAccessor":function(independentAccessor){this._independentAccessor=
  1049. independentAccessor;return this},"independentScale":function(independentScale){this._independentScale=independentScale;return this},"dependentAccessor":function(dependentAccessor){this._dependentAccessor=dependentAccessor;return this},"definedAccessor":function(definedAccessor){this._definedAccessor=definedAccessor;return this},"dependentScale":function(dependentScale){this._dependentScale=dependentScale;return this},"colorPalette":function(colorPalette){this._colorPalette=colorPalette?colorPalette:
  1050. null;return this},"transpose":function(transpose){this._transpose=transpose;return this},"effect":function(effect){this._effect=effect;return this},"showMissingAsGap":function(state){this._showMissingAsGap=state;return this},"interpolate":function(mode){this["_interpolateMode"]=mode;return this}});var com_ibm_rave_bundles_components_PointComponentImpl=rave["internal"]["Declare"](com_ibm_rave_bundles_components_KeyedBundleComponentImpl,{_transpose:false,_defaultSize:0,_itemLabel:false,_itemOverlap:false,
  1051. _labelLayerClass:".element-label-group",_elementLayerClass:".element-group",_labelContrast:false,_labelShadow:false,"constructor":function(){this._labelFontStyle={};this._data=null;this._independentAccessor=null;this._independentScale=null;this._dependentAccessor=null;this._dependentScale=null;this._colorPalette=null;this._sizeAccessor=null;this._sizeScale=null;this._labelAccessor=null;this._labelFormatter=null;this._bounds=null;this._transpose=false;this._defaultSize=400;this._symbol=null;this._prevSymbol=
  1052. null;this._itemLabel=true;this._itemOverlap=true;this._effect=null;this._dropOverlap=new com_ibm_rave_bundles_utilities_BundleLabelDropper;this._borderWidth=null;this._borderColor=null;this._labelStyleUtil=new com_ibm_rave_bundles_utilities_LabelStyleUtil;if(!(rave.svg.symbolTypes.indexOf("donutPlus")>-1))rave.svg.symbolCreator("donutPlus",rave["library"]["internal"]["CommonPropertyConstants"].DONUT_PLUS);if(!(rave.svg.symbolTypes.indexOf("donut-thin")>-1))rave.svg.symbolCreator("donut-thin",rave["library"]["internal"]["CommonPropertyConstants"].DONUT_THIN)},
  1053. "type":function(){return com_ibm_rave_bundles_component_PointComponent["COMPONENT_TYPE"]},"execute":function(g){this["preExecute"]();var elementGroupSelector=g.selectAll(this._elementLayerClass);var labelGroupSelector=g.selectAll(this._labelLayerClass);if(g.classed(this._elementLayerClass)||elementGroupSelector["size"]()==0||labelGroupSelector["size"]()==0){elementGroupSelector=g;labelGroupSelector=g}if(!this._data||!this._bounds&&(!this._independentAccessor||!this._independentScale||!this._dependentAccessor||
  1054. !this._dependentScale)){elementGroupSelector.selectAll("*").remove();labelGroupSelector.selectAll("*").remove();return}elementGroupSelector.selectAll("*").remove();labelGroupSelector.selectAll("*").remove();var self=this;var enterTransform=this.pointTransform(true);var finalTransform=this.pointTransform(false);var symbols=[];if(this._symbol==null)elementGroupSelector.selectAll("*").remove();else if(this._symbol=="donutPlus"){var s=(new rave["internal"]["Symbol"])["type"]("circle");symbols.push(s);
  1055. s=(new rave["internal"]["Symbol"])["type"]("donut-thin");symbols.push(s)}else{s=(new rave["internal"]["Symbol"])["type"](this._symbol);symbols.push(s);elementGroupSelector.selectAll("."+com_ibm_rave_bundles_components_PointComponentImpl["SECONDARY_ELEMENT"]).remove()}for(var i=0;i<symbols.length;++i){var type=i==0?"element-shape":com_ibm_rave_bundles_components_PointComponentImpl["SECONDARY_ELEMENT"];var shapes=elementGroupSelector.selectAll("."+type)["data"](this._data,this["getKey"]());shapes.exit().remove();
  1056. var symbol=symbols[i];var fillStyle=this.symbolFill(type);shapes.enter().append("path").attr("class",type).attr("transform",enterTransform).attr("d",symbol["size"](this.enterSize(this._defaultSize,type))).style("fill",fillStyle).style("stroke",fillStyle).style("stroke-width","0px");s=rave["transition"](shapes).attr("transform",finalTransform).style("fill",fillStyle);this["updateBorder"](s,this._borderWidth,this._borderColor);symbol["size"](this.finalSize(this._defaultSize,type));if(this._prevSymbol!=
  1057. null&&!(this._prevSymbol==this._symbol))com_ibm_rave_bundles_utilities_PathUtils["fadeOutIn"](s,symbol);else s.attr("d",symbol)}if(this._itemLabel&&this._labelAccessor){var elementLabelGroupSelector=g.selectAll(this._labelLayerClass);if(elementLabelGroupSelector["size"]()==0)elementLabelGroupSelector=g;var labels=elementLabelGroupSelector.selectAll("element-label")["data"](this._data,this["getKey"]());labels.exit().remove();var labelText=!this._labelFormatter?function(data,index,groupIndex){return self._labelAccessor(data)}:
  1058. function(data,index,groupIndex){var v=self._labelAccessor(data);return v==null?null:self._labelFormatter.call(this,v,index,groupIndex)};var fontChecker=rave.capabilities.extension("fontchecker");labels.enter().append("text").attr("class","element-label").attr("x",this.positionX(true)).attr("y",this.positionY(true)).attr("dx",this.getXOffset()).attr("dy",this.getYOffset()).style("text-anchor",this.getAnchor()).text(labelText);var labelColor=this["getDefaultLabelColor"](this._labelFontStyle);this._labelStyleUtil["labelFont"](this._labelFontStyle)["labelFillColor"](this._labelContrast?
  1059. this.getLabelFill():function(data,index,groupIndex){return labelColor})["labelShadow"](this._labelShadow);labels.call(this._labelStyleUtil);if(fontChecker)labels.call(fontChecker);var labelTransition=rave["transition"](labels).attr("x",this.positionX(false)).attr("y",this.positionY(false)).attr("dx",this.getXOffset()).attr("dy",this.getYOffset()).style("text-anchor",this.getAnchor()).text(labelText);this._dropOverlap["configureForDataLabels"](this._bounds);labelTransition.call(this._dropOverlap,this._itemOverlap)}else{elementLabelGroupSelector=
  1060. g.selectAll(this._labelLayerClass);if(elementLabelGroupSelector["size"]()==0)elementLabelGroupSelector=g;elementLabelGroupSelector.selectAll("text.element-label").remove()}},symbolFill:function(type){var self=this;return function(d,index,groupIndex){if(self._symbol=="donutPlus"&&type==com_ibm_rave_bundles_components_PointComponentImpl["SECONDARY_ELEMENT"])return"white";return!self._colorPalette?null:self._colorPalette.call(null,d,0,0)}},pointTransform:function(enter){var useDependentZero=enter&&("fromBase"==
  1061. this._effect||"growfromBase"==this._effect);var dependent=useDependentZero?this.dependentZero():this.dependent();var independent=this.independent();if(this._transpose)return function(data,index,groupIndex){return"translate("+dependent.call(this,data,index,groupIndex)+","+independent.call(this,data,index,groupIndex)+")"};return function(data,index,groupIndex){return"translate("+independent.call(this,data,index,groupIndex)+","+dependent.call(this,data,index,groupIndex)+")"}},positionX:function(enter){var useDependentZero=
  1062. enter&&("fromBase"==this._effect||"growfromBase"==this._effect);var dependent=useDependentZero?this.dependentZero():this.dependent();var independent=this.independent();if(this._transpose)return function(data,index,groupIndex){return dependent.call(this,data,index,groupIndex)};return function(data,index,groupIndex){return independent.call(this,data,index,groupIndex)}},positionY:function(enter){var useDependentZero=enter&&("fromBase"==this._effect||"growfromBase"==this._effect);var dependent=useDependentZero?
  1063. this.dependentZero():this.dependent();var independent=this.independent();if(this._transpose)return function(data,index,groupIndex){return independent.call(this,data,index,groupIndex)};return function(data,index,groupIndex){return dependent.call(this,data,index,groupIndex)}},independent:function(){if(this._independentAccessor&&this._independentScale){var self=this;return function(data,index,groupIndex){return self._independentScale.center(self._independentAccessor(data))}}var midpoint=this._transpose?
  1064. this._bounds.y+this._bounds.height/2:this._bounds.x+this._bounds.width/2;return function(data,index,groupIndex){return midpoint}},dependent:function(){if(this._dependentAccessor&&this._dependentScale){var self=this;return function(data,index,groupIndex){return self._dependentScale.center(self._dependentAccessor(data))}}var midpoint=this._transpose?this._bounds.x+this._bounds.width/2:this._bounds.y+this._bounds.height/2;return function(data,index,groupIndex){return midpoint}},dependentZero:function(){if(!this._dependentScale||
  1065. !this._dependentScale.isLinear())return this.dependent();var self=this;return function(data,index,groupIndex){return self._dependentScale.center(0)}},enterSize:function(size,type){if("grow"==this._effect||"growfromBase"==this._effect)return function(data,index,groupIndex){return 0};return this.finalSize(size,type)},finalSize:function(size,type){var self=this;var ratio=self._symbol=="donutPlus"&&type==com_ibm_rave_bundles_components_PointComponentImpl["SECONDARY_ELEMENT"]?0.6:1;if(this._sizeAccessor&&
  1066. this._sizeScale)return function(d,index,groupIndex){var v=self._sizeAccessor(d);return v!=null?+self._sizeScale.call(null,v,0,0)*ratio:size*ratio};return function(d,index,groupIndex){return size*ratio}},getAnchor:function(){var self=this;return function(data,index,groupIndex){if(!self._itemLabelPosition)return"middle";var labelPosition=self._itemLabelPosition.call(this,data,index,groupIndex);if(0==labelPosition||2==labelPosition||1==labelPosition)return"middle";else if(3==labelPosition)return"end";
  1067. else if(4==labelPosition||5==labelPosition)return"start";return"middle"}},getLabelFill:function(){var self=this;var labelColor=this["getDefaultLabelColor"](this._labelFontStyle);return function(data,index,groupIndex){if(!self._colorPalette||!self._itemLabelPosition)return labelColor;var labelPosition=self._itemLabelPosition.call(this,data,index,groupIndex);if(1==labelPosition){var elementColor=self._colorPalette.call(this,data,index,groupIndex);if(elementColor!=null)return com_ibm_rave_bundles_utilities_ColorUtil["getContrastColor"](elementColor,
  1068. labelColor).toString()}return labelColor}},getXOffset:function(){var self=this;return function(data,index,groupIndex){var padding=5;if(!self._itemLabelPosition)return"0em";var labelPosition=self._itemLabelPosition.call(this,data,index,groupIndex);if(3==labelPosition)return"-"+(Math.sqrt(self.finalSize(self._defaultSize,self._symbol).call(this,data,index,groupIndex))/2+padding)+"px";if(4==labelPosition)return""+(Math.sqrt(self.finalSize(self._defaultSize,self._symbol).call(this,data,index,groupIndex))/
  1069. 2+padding)+"px";if(5==labelPosition)return""+Math.sqrt(self.finalSize(self._defaultSize,self._symbol).call(this,data,index,groupIndex))/2+"px";return"0em"}},getYOffset:function(){var self=this;return function(data,index,groupIndex){var padding=5;if(!self._itemLabelPosition)return"0.3em";var labelPosition=self._itemLabelPosition.call(this,data,index,groupIndex);if(0==labelPosition)return"-"+(Math.sqrt(self.finalSize(self._defaultSize,self._symbol).call(this,data,index,groupIndex))/2+padding)+"px";
  1070. if(2==labelPosition){var fontHeight=rave["library"]["internal"]["CSSConverter"].convertCSSSizeToPixelNumber("1em",100,10);return""+(Math.sqrt(self.finalSize(self._defaultSize,self._symbol).call(this,data,index,groupIndex))/2+fontHeight+padding)+"px"}if(5==labelPosition)return"-"+Math.sqrt(self.finalSize(self._defaultSize,self._symbol).call(this,data,index,groupIndex))/2+"px";return"0.3em"}},"data":function(data){this._data=data;return this},"independentAccessor":function(independentAccessor){this._independentAccessor=
  1071. independentAccessor;return this},"independentScale":function(independentScale){this._independentScale=independentScale;return this},"dependentAccessor":function(dependentAccessor){this._dependentAccessor=dependentAccessor;return this},"dependentScale":function(dependentScale){this._dependentScale=dependentScale;return this},"colorPalette":function(colorPalette){this._colorPalette=colorPalette;return this},"sizeAccessor":function(sizeAccessor){this._sizeAccessor=sizeAccessor;return this},"sizeScale":function(sizeScale){this._sizeScale=
  1072. sizeScale;return this},"labelAccessor":function(labelAccessor){this._labelAccessor=labelAccessor;return this},"labelFormatter":function(labelFormatter){this._labelFormatter=labelFormatter;return this},"itemLabelPosition":function(labelPosition){this._itemLabelPosition=labelPosition;return this},"bounds":function(bounds){this._bounds=bounds;return this},"transpose":function(transpose){this._transpose=transpose;return this},"defaultSize":function(defaultSize){this._defaultSize=defaultSize;return this},
  1073. "itemLabel":function(itemLabel){this._itemLabel=itemLabel;return this},"labelFont":function(labelFont){this._labelFontStyle=labelFont;return this},"itemOverlap":function(itemOverlap){this._itemOverlap=itemOverlap;return this},"symbol":function(symbol){this._prevSymbol=this._symbol;this._symbol=symbol;return this},"effect":function(effect){this._effect=effect;return this},"borderWidth":function(borderWidth){this._borderWidth=borderWidth;return this},"borderColor":function(borderColor){this._borderColor=
  1074. borderColor;return this},"labelLayerClassName":function(className){this._labelLayerClass=className;return this},"elementLayerClassName":function(className){this._elementLayerClass=className;return this},"labelContrast":function(labelContrast){this._labelContrast=labelContrast;return this},"labelShadow":function(labelShadow){this._labelShadow=labelShadow;return this}});com_ibm_rave_bundles_components_PointComponentImpl["SECONDARY_ELEMENT"]="element-shape-secondary";com_ibm_rave_bundles_components_PointComponentImpl["LABEL_POSITION_TOP"]=
  1075. 0;com_ibm_rave_bundles_components_PointComponentImpl["LABEL_POSITION_CENTER"]=1;com_ibm_rave_bundles_components_PointComponentImpl["LABEL_POSITION_BOTTOM"]=2;com_ibm_rave_bundles_components_PointComponentImpl["LABEL_POSITION_LEFT"]=3;com_ibm_rave_bundles_components_PointComponentImpl["LABEL_POSITION_RIGHT"]=4;com_ibm_rave_bundles_components_PointComponentImpl["LABEL_POSITION_TOP_RIGHT"]=5})();
  1076. },{"./configuration/configuration.json":1,"./i18n/messages_en.json":2,"./vizlibrary-composite.css":4,"./vizlibrary.css":5}],4:[function(require,module,exports){
  1077. var css = ".vizlibrary-composite g.element-column .element-shape {\n fill: #ccc;\n fill-opacity: 1.0;\n stroke-width: 0.0px;\n shape-rendering: crispEdges;\n}\n.vizlibrary-composite g.element-line path.element-shape {\n fill: none;\n stroke: black;\n stroke-width: 2;\n stroke-opacity: 1;\n}\n.vizlibrary-composite g.element-column .element-shape.dim {\n fill-opacity: 0.3;\n stroke-width: 0.0px;\n}\n.vizlibrary-composite g.element-line path.element-shape.dim {\n stroke-width: 2;\n stroke-opacity: 0.3;\n}\n.vizlibrary-composite .element-label {\n pointer-events: none;\n}\n.vizlibrary-composite .element-shape-secondary {\n pointer-events: none;\n}\n"; (require("browserify-css").createStyle(css, { "href": "dist/bundles/rave-library-composite/node/rave-library-composite/vizlibrary-composite.css"})); module.exports = css;
  1078. },{"browserify-css":6}],5:[function(require,module,exports){
  1079. var css = ".vizlibrary {\n font-family: Arial, Tahoma, 'Arial Unicode MS', 'Andale WT', 'MS UI Gothic', Gulim, SimSun, PMingLiU, Raghu8, sans-serif;\n font-style: normal;\n}\n/*\n * Chart background rectangle, transparent\n */\n.vizlibrary rect.background.elements {\n fill-opacity: 0.0;\n}\n/*\n * Axes.\n */\n.vizlibrary .axis .tick text {\n font-weight: 300;\n font-size: 14px;\n fill: #3c4646;\n}\n.vizlibrary .axis .tick line {\n fill: none;\n stroke: #eee;\n}\n.vizlibrary .axis path {\n fill: none;\n stroke: #eee;\n}\n/*Axis title\n*/\n.vizlibrary .axis .axislabel {\n font-weight: 500;\n font-size: 14px;\n fill: #323c3c;\n}\n/*\n * Axis callout.\n */\n.vizlibrary .axis-callout {\n pointer-events: none;\n /* Prevent the callout lines from intercepting mouseover events on the element shapes */\n}\n.vizlibrary .callout line {\n stroke: #3c4646;\n stroke-dasharray: 5,5;\n}\n.vizlibrary .callout .label path {\n fill: #3c4646;\n stroke-width: 0px;\n}\n.vizlibrary .callout .label text {\n font-weight: 300;\n font-size: 14px;\n fill: white;\n}\n/*Grid lines*/\n.vizlibrary g.grid g.tick {\n stroke: #dfe9e9;\n stroke-width: 1px;\n}\n/*Legend title*/\n.vizlibrary .legendTitle {\n font-weight: 500;\n font-size: 18px;\n fill: #323c3c;\n}\n/*Legend label*/\n.vizlibrary .legendLabel {\n font-weight: 300;\n font-size: 14px;\n fill: #3c4646;\n}\n.vizlibrary .legendBBox {\n pointer-events: none;\n}\n"; (require("browserify-css").createStyle(css, { "href": "dist/bundles/rave-library-composite/node/rave-library-composite/vizlibrary.css"})); module.exports = css;
  1080. },{"browserify-css":6}],6:[function(require,module,exports){
  1081. 'use strict';
  1082. // For more information about browser field, check out the browser field at https://github.com/substack/browserify-handbook#browser-field.
  1083. module.exports = {
  1084. // Create a <link> tag with optional data attributes
  1085. createLink: function(href, attributes) {
  1086. var head = document.head || document.getElementsByTagName('head')[0];
  1087. var link = document.createElement('link');
  1088. link.href = href;
  1089. link.rel = 'stylesheet';
  1090. for (var key in attributes) {
  1091. if ( ! attributes.hasOwnProperty(key)) {
  1092. continue;
  1093. }
  1094. var value = attributes[key];
  1095. link.setAttribute('data-' + key, value);
  1096. }
  1097. head.appendChild(link);
  1098. },
  1099. // Create a <style> tag with optional data attributes
  1100. createStyle: function(cssText, attributes) {
  1101. var head = document.head || document.getElementsByTagName('head')[0],
  1102. style = document.createElement('style');
  1103. style.type = 'text/css';
  1104. for (var key in attributes) {
  1105. if ( ! attributes.hasOwnProperty(key)) {
  1106. continue;
  1107. }
  1108. var value = attributes[key];
  1109. style.setAttribute('data-' + key, value);
  1110. }
  1111. if (style.sheet) { // for jsdom and IE9+
  1112. style.innerHTML = cssText;
  1113. style.sheet.cssText = cssText;
  1114. head.appendChild(style);
  1115. } else if (style.styleSheet) { // for IE8 and below
  1116. head.appendChild(style);
  1117. style.styleSheet.cssText = cssText;
  1118. } else { // for Chrome, Firefox, and Safari
  1119. style.appendChild(document.createTextNode(cssText));
  1120. head.appendChild(style);
  1121. }
  1122. }
  1123. };
  1124. },{}]},{},[3]);
  1125. return rave.library.bundle.extension('compositeBundle');
  1126. }));