Developer's Guide © 2007 Emprise Corporation. All Rights Reserved. I Emprise JavaScript Charts Table of Contents Part I Getting Started 1 1 Overview ................................................................................................................................... 1 2 Implementatio.n... .I.n..s..t.r..u..c..t.i.o..n..s.. .......................................................................................................... 2 3 Creating Your. .F..i.r.s..t.. .C..h..a..r..t. ............................................................................................................... 4 4 Customizing. .Y..o..u..r.. .C...h..a..r.t. ............................................................................................................... 11 Titlebar .......................................................................................................................................................... 13 Y Axis .......................................................................................................................................................... 14 X Axis .......................................................................................................................................................... 14 Hint .......................................................................................................................................................... 15 Chart Body .......................................................................................................................................................... 15 Legend .......................................................................................................................................................... 16 Part II Deployment 16 Part III Changes 16 1 Changes in v.e..r..s..i.o..n.. .1....2.. ................................................................................................................. 16 2 Changes in v.e..r..s..i.o..n.. .1....1.. ................................................................................................................. 18 3 Changes in v.e..r..s..i.o..n.. .1....0....1.. .............................................................................................................. 19 4 Changes in v.e..r..s..i.o..n.. .1....0.. ................................................................................................................. 20 Part IV Data Formats 21 1 XML - Full ................................................................................................................................... 22 2 XML - Short ................................................................................................................................... 23 3 XML - Compa..c..t. .............................................................................................................................. 23 Part V API Reference 23 1 EJSC ................................................................................................................................... 23 Properties .......................................................................................................................................................... 24 DefaultIm.a..g..e..P..a..t.h............................................................................................................................................. 24 DefaultCo.l.o..r.s.................................................................................................................................................... 24 DefaultBa.r.C...o..l.o..r.s.............................................................................................................................................. 24 DefaultPie..C...o..lo..r..s.............................................................................................................................................. 25 2 EJSC.Chart ................................................................................................................................... 26 Properties .......................................................................................................................................................... 26 allow_inte.r..a..c.t.i.v..i.t.y............................................................................................................................................. 26 allow_mo.u..s.e.._..w...h..e..e..l._..z.o..o..m................................................................................................................................ 27 allow_zoo.m........................................................................................................................................................ 27 allow_hide.._..e..r.r..o..r.............................................................................................................................................. 27 auto_find_..p..o..i.n..t._..b..y.._..x....................................................................................................................................... 28 auto_zoom......................................................................................................................................................... 28 force_stat.i.c.._..p..o..i.n..t.s........................................................................................................................................... 29 © 2007 Emprise Corporation. All Rights Reserved. Contents II force_stat.i.c.._..p..o..i.n..t.s._..x........................................................................................................................................ 29 force_stat.i.c.._..p..o..i.n..t.s._..y........................................................................................................................................ 30 legendTitl.e........................................................................................................................................................ 30 proximity_..s..n..a.p.................................................................................................................................................. 30 show_cro.s..s.h..a..i.r.s............................................................................................................................................... 31 show_grid......................................................................................................................................................... 31 show_hin.t.s....................................................................................................................................................... 31 show_lege..n..d..................................................................................................................................................... 32 show_me.s..s.a..g..e..s............................................................................................................................................... 32 show_mo.u..s..e.._..p..o..s.i.t.i.o..n...................................................................................................................................... 32 show_title.b..a..r.................................................................................................................................................... 33 show_x_a.x..i.s..................................................................................................................................................... 33 show_y_a.x..i.s..................................................................................................................................................... 33 title ......................................................................................................................................................... 34 x_axis_ca.p..t.i.o..n.................................................................................................................................................. 34 x_axis_cla..s..s..N..a..m...e............................................................................................................................................ 34 x_axis_ex.t.r..e..m...e..s._..t.i.c..k..s..................................................................................................................................... 35 x_axis_fo.r.m...a..t.t.e..r.............................................................................................................................................. 35 x_axis_m.in..o..r.._..t.ic..k..s........................................................................................................................................... 36 x_axis_siz..e....................................................................................................................................................... 36 x_axis_sta..g..g..e..r.._..t.ic..k..s........................................................................................................................................ 37 x_axis_tic.k.._..c..l.a..s.s..N...a..m...e.................................................................................................................................... 37 x_axis_tic.k.._..c..o..u..n..t............................................................................................................................................ 37 x_cursor_.p..o..s..i.t.i.o..n.._..c.a..p..t.i.o..n................................................................................................................................ 38 x_cursor_.p..o..s..i.t.i.o..n.._..f.o..r.m...a..t.t.e..r............................................................................................................................ 38 x_max ......................................................................................................................................................... 38 x_min ......................................................................................................................................................... 39 x_value_h..i.n..t._.c..a..p..t.i.o..n........................................................................................................................................ 39 x_zero_pl.a..n..e.................................................................................................................................................... 39 y_axis_ca.p..t.i.o..n.................................................................................................................................................. 40 y_axis_cla..s..s..N..a..m...e............................................................................................................................................ 40 y_axis_ex.t.r..e..m...e..s._..t.i.c..k..s..................................................................................................................................... 41 y_axis_fo.r.m...a..t.t.e..r.............................................................................................................................................. 41 y_axis_m.in..o..r.._..t.ic..k..s........................................................................................................................................... 41 y_axis_siz..e....................................................................................................................................................... 42 y_axis_tic.k.._..c..l.a..s.s..N...a..m...e.................................................................................................................................... 42 y_axis_tic.k.._..c..o..u..n..t............................................................................................................................................ 43 y_cursor_.p..o..s..i.t.i.o..n.._..c.a..p..t.i.o..n................................................................................................................................ 43 y_cursor_.p..o..s..i.t.i.o..n.._..f.o..r.m...a..t.t.e..r............................................................................................................................ 43 y_max ......................................................................................................................................................... 43 y_min ......................................................................................................................................................... 44 y_value_h..i.n..t._..c.a..p..t.i.o..n........................................................................................................................................ 44 y_zero_pl.a..n..e.................................................................................................................................................... 44 Methods .......................................................................................................................................................... 45 acquireSe..r.i.e..s................................................................................................................................................... 45 addSeries......................................................................................................................................................... 46 addXAxisB...i.n..................................................................................................................................................... 46 addYAxis.B..i.n..................................................................................................................................................... 47 convertPix..e..l.T..o..P...o..in..t......................................................................................................................................... 48 convertPo..in..t.T...o..P..i.x.e..l......................................................................................................................................... 48 findCloses..t.P...o..in..t.I.n..S...e..r.i.e..s.................................................................................................................................. 48 getMinMa.x..Y..I.n..X...R..a..n..g..e...................................................................................................................................... 48 getXExtre.m...e..s................................................................................................................................................... 49 getYExtre.m...e..s................................................................................................................................................... 49 © 2007 Emprise Corporation. All Rights Reserved. II III Emprise JavaScript Charts getZoom......................................................................................................................................................... 49 getZoomB..o..x..C..o..o..r..d..in..a..t.e..s.................................................................................................................................. 49 hideGrid ......................................................................................................................................................... 50 hideTitleb.a..r...................................................................................................................................................... 50 hideXAxis......................................................................................................................................................... 50 hideYAxis......................................................................................................................................................... 50 redraw ......................................................................................................................................................... 51 remove ......................................................................................................................................................... 51 removeSe..r.i.e..s................................................................................................................................................... 51 removeXA..x..i.s..B..i.n............................................................................................................................................... 51 removeYA..x..i.s..B..i.n............................................................................................................................................... 52 selectClos..e..s..t.P..o..i.n..t........................................................................................................................................... 52 setCrossh..a..ir..s................................................................................................................................................... 52 setLegend..T..i.t.l.e.................................................................................................................................................. 52 setTitle ......................................................................................................................................................... 52 setXAxisC..a..p..t.i.o..n............................................................................................................................................... 53 setXExtre.m...e..s................................................................................................................................................... 53 setYAxisC..a..p..t.i.o..n............................................................................................................................................... 53 setYExtre.m...e..s................................................................................................................................................... 53 setZoom......................................................................................................................................................... 54 setZoomB..o..x..C..o..o..r.d..i.n..a..t.e..s.................................................................................................................................. 54 showGrid......................................................................................................................................................... 54 showTitle.b..a.r..................................................................................................................................................... 54 showXAxi.s........................................................................................................................................................ 54 showYAxi.s........................................................................................................................................................ 55 Events .......................................................................................................................................................... 55 onAfterDr.a..w...................................................................................................................................................... 55 onAfterMo..v..e..................................................................................................................................................... 55 onAfterSe.l.e..c..t.P..o..i.n..t........................................................................................................................................... 55 onAfterSh.o..w...C...r.o..s..s.h..a..i.r.s.................................................................................................................................... 56 onAfterUn..s.e..l.e..c..t.P..o..i.n..t....................................................................................................................................... 56 onAfterZo.o..m...................................................................................................................................................... 56 onBeforeB..e..g..i.n..Z..o..o..m.......................................................................................................................................... 56 onBeforeD...b..lC...l.i.c.k.............................................................................................................................................. 56 onBeforeD..r..a..w................................................................................................................................................... 57 onBeforeE..n..d..Z...o..o..m............................................................................................................................................ 57 onBeforeS..e..l.e..c..t.P..o..i.n..t........................................................................................................................................ 57 onBeforeU...n..s.e..l.e..c..t.P..o..i.n..t.................................................................................................................................... 57 onDblClic.k..P..o..i.n..t............................................................................................................................................... 58 onShowC.r.o..s..s..h..a..i.r.s........................................................................................................................................... 58 onShowH.i.n..t..................................................................................................................................................... 58 onShowM.e..s..s..a..g..e.............................................................................................................................................. 59 onXAxisN.e..e..d..s..T..i.c..k.s.......................................................................................................................................... 59 onYAxisN.e..e..d..s..T..i.c..k..s......................................................................................................................................... 60 3 Series Types. .................................................................................................................................. 61 EJSC.AreaSer..i.e..s.. ................................................................................................................................................... 61 Properties......................................................................................................................................................... 61 autosort (inherite..d..)..................................................................................................................................... 61 color (inherited)......................................................................................................................................... 62 coloredLegend (.i.n..h..e..r.i.t.e..d..).......................................................................................................................... 62 drawPoints (inhe..r.i.t.e..d..)................................................................................................................................ 62 legendIsVisible (.i.n..h..e..r.i.t.e..d..).......................................................................................................................... 62 lineOpacity (inhe..r.i.t.e..d..)................................................................................................................................ 63 lineWidth (inheri.t.e..d..)................................................................................................................................... 63 © 2007 Emprise Corporation. All Rights Reserved. Contents IV opacity (inherited..)....................................................................................................................................... 63 pointBorderColo.r. .(.i.n..h..e..r.i.t.e..d..)....................................................................................................................... 63 pointBorderSize. (..in..h..e..r..it.e..d..)......................................................................................................................... 63 pointColor (inher.i.t.e..d..).................................................................................................................................. 64 pointSize (inheri.t.e..d..)................................................................................................................................... 64 title (inherited) ......................................................................................................................................... 64 visible (inherited.)........................................................................................................................................ 64 x_axis_formatter.. (..in..h..e..r..it.e..d..)........................................................................................................................ 65 y_axis_formatter.. (..in..h..e..r..it.e..d..)........................................................................................................................ 65 Methods ......................................................................................................................................................... 65 getDataHandler .(.i.n..h..e..r.i.t.e..d..)......................................................................................................................... 65 getVisibility (inhe..r.i.t.e..d..)................................................................................................................................ 65 hide (inherited) ......................................................................................................................................... 66 hideLegend (inh.e..r.i.t.e..d..)............................................................................................................................... 66 reload (inherited.)........................................................................................................................................ 66 setColor (inherite..d..)..................................................................................................................................... 66 setColoredLegen..d.. .(.i.n..h..e..r.i.t.e..d..)..................................................................................................................... 66 setDataHandler .(.i.n..h..e..r.i.t.e..d..)......................................................................................................................... 67 setLineWidth (in.h..e..r.i.t.e..d..)............................................................................................................................. 67 setOpacity (inhe.r.i.t.e..d..)................................................................................................................................. 67 setTitle (inherite.d..)...................................................................................................................................... 67 show (inherited)......................................................................................................................................... 67 showLegend (inh..e..r.i.t.e..d..).............................................................................................................................. 68 Events ......................................................................................................................................................... 68 onAfterDataAvai.l.a..b..l.e.. .(.i.n..h..e..r.i.t.e..d..)................................................................................................................ 68 onAfterVisibilityC..h..a..n..g..e.. .(.i.n..h..e..r.i.t.e..d..)............................................................................................................. 68 onBeforeVisibilit.y..C..h..a..n..g..e.. .(.i.n..h..e..r.i.t.e..d..).......................................................................................................... 68 EJSC.AnalogG...a..u..g..e..S...e..r.i.e..s.. .................................................................................................................................... 69 Properties......................................................................................................................................................... 69 anchor ......................................................................................................................................... 69 axis ......................................................................................................................................... 70 fillColor ......................................................................................................................................... 70 fillOpacity ......................................................................................................................................... 71 height ......................................................................................................................................... 71 label ......................................................................................................................................... 71 legendIsVisible (.i.n..h..e..r.i.t.e..d..).......................................................................................................................... 72 lock ......................................................................................................................................... 72 marker_position......................................................................................................................................... 72 max ......................................................................................................................................... 73 min ......................................................................................................................................... 73 minorTick ......................................................................................................................................... 73 needle ......................................................................................................................................... 73 position ......................................................................................................................................... 74 range ......................................................................................................................................... 74 range_degrees ......................................................................................................................................... 75 ranges ......................................................................................................................................... 75 start_degree ......................................................................................................................................... 75 tick ......................................................................................................................................... 76 tickCount ......................................................................................................................................... 76 title (inherited) ......................................................................................................................................... 76 visible (inherited.)........................................................................................................................................ 77 width ......................................................................................................................................... 77 x_axis_formatter.. (..in..h..e..r..it.e..d..)........................................................................................................................ 77 Methods ......................................................................................................................................................... 77 © 2007 Emprise Corporation. All Rights Reserved. IV V Emprise JavaScript Charts getDataHandler .(.i.n..h..e..r.i.t.e..d..)......................................................................................................................... 77 getVisibility (inhe..r.i.t.e..d..)................................................................................................................................ 77 hide (inherited) ......................................................................................................................................... 78 hideLegend (inh.e..r.i.t.e..d..)............................................................................................................................... 78 reload (inherited.)........................................................................................................................................ 78 setDataHandler .(.i.n..h..e..r.i.t.e..d..)......................................................................................................................... 78 setTitle (inherite.d..)...................................................................................................................................... 79 show (inherited)......................................................................................................................................... 79 showLegend (inh..e..r.i.t.e..d..).............................................................................................................................. 79 Events ......................................................................................................................................................... 79 onAfterDataAvai.l.a..b..l.e.. .(.i.n..h..e..r.i.t.e..d..)................................................................................................................ 79 onAfterVisibilityC..h..a..n..g..e.. .(.i.n..h..e..r.i.t.e..d..)............................................................................................................. 79 onBeforeVisibilit.y..C..h..a..n..g..e.. .(.i.n..h..e..r.i.t.e..d..).......................................................................................................... 80 EJSC.BarSeri.e..s.. ..................................................................................................................................................... 80 Properties......................................................................................................................................................... 81 autosort (inherite..d..)..................................................................................................................................... 81 color (inherited)......................................................................................................................................... 81 coloredLegend (.i.n..h..e..r.i.t.e..d..).......................................................................................................................... 81 defaultColors ......................................................................................................................................... 81 groupedBars ......................................................................................................................................... 82 intervalOffset ......................................................................................................................................... 82 legendIsVisible (.i.n..h..e..r.i.t.e..d..).......................................................................................................................... 82 lineOpacity (inhe..r.i.t.e..d..)................................................................................................................................ 83 lineWidth (inheri.t.e..d..)................................................................................................................................... 83 opacity (inherited..)....................................................................................................................................... 83 orientation ......................................................................................................................................... 83 ranges ......................................................................................................................................... 84 title (inherited) ......................................................................................................................................... 84 treeLegend ......................................................................................................................................... 84 useColorArray ......................................................................................................................................... 85 visible (inherited.)........................................................................................................................................ 85 x_axis_formatter.. (..in..h..e..r..it.e..d..)........................................................................................................................ 85 y_axis_formatter.. (..in..h..e..r..it.e..d..)........................................................................................................................ 86 Methods ......................................................................................................................................................... 86 addRange ......................................................................................................................................... 86 clearRanges ......................................................................................................................................... 86 deleteRange ......................................................................................................................................... 86 getDataHandler .(.i.n..h..e..r.i.t.e..d..)......................................................................................................................... 86 getVisibility (inhe..r.i.t.e..d..)................................................................................................................................ 87 hide (inherited) ......................................................................................................................................... 87 hideLegend (inh.e..r.i.t.e..d..)............................................................................................................................... 87 reload (inherited.)........................................................................................................................................ 87 setColor (inherite..d..)..................................................................................................................................... 87 setColoredLegen..d.. .(.i.n..h..e..r.i.t.e..d..)..................................................................................................................... 88 setDataHandler .(.i.n..h..e..r.i.t.e..d..)......................................................................................................................... 88 setDefaultColors......................................................................................................................................... 88 setGroupedBars......................................................................................................................................... 89 setIntervalOffset......................................................................................................................................... 89 setLineWidth (in.h..e..r.i.t.e..d..)............................................................................................................................. 89 setOpacity (inhe.r.i.t.e..d..)................................................................................................................................. 89 setTitle (inherite.d..)...................................................................................................................................... 89 show (inherited)......................................................................................................................................... 90 showLegend (inh..e..r.i.t.e..d..).............................................................................................................................. 90 Events ......................................................................................................................................................... 90 © 2007 Emprise Corporation. All Rights Reserved. Contents VI onAfterDataAvai.l.a..b..l.e.. .(.i.n..h..e..r.i.t.e..d..)................................................................................................................ 90 onAfterVisibilityC..h..a..n..g..e.. .(.i.n..h..e..r.i.t.e..d..)............................................................................................................. 90 onBarNeedsColo..r....................................................................................................................................... 90 onBeforeVisibilit.y..C..h..a..n..g..e.. .(.i.n..h..e..r.i.t.e..d..).......................................................................................................... 91 EJSC.Functio.n..S...e..r.i.e..s.. ............................................................................................................................................ 91 Properties......................................................................................................................................................... 92 color (inherited)......................................................................................................................................... 92 coloredLegend (.i.n..h..e..r.i.t.e..d..).......................................................................................................................... 92 legendIsVisible (.i.n..h..e..r.i.t.e..d..).......................................................................................................................... 93 lineOpacity (inhe..r.i.t.e..d..)................................................................................................................................ 93 lineWidth (inheri.t.e..d..)................................................................................................................................... 93 title (inherited) ......................................................................................................................................... 93 visible (inherited.)........................................................................................................................................ 93 x_axis_formatter.. (..in..h..e..r..it.e..d..)........................................................................................................................ 94 y_axis_formatter.. (..in..h..e..r..it.e..d..)........................................................................................................................ 94 Methods ......................................................................................................................................................... 94 getVisibility (inhe..r.i.t.e..d..)................................................................................................................................ 94 hide (inherited) ......................................................................................................................................... 94 hideLegend (inh.e..r.i.t.e..d..)............................................................................................................................... 95 reload (inherited.)........................................................................................................................................ 95 setColor (inherite..d..)..................................................................................................................................... 95 setColoredLegen..d.. .(.i.n..h..e..r.i.t.e..d..)..................................................................................................................... 95 setLineWidth (in.h..e..r.i.t.e..d..)............................................................................................................................. 95 setTitle (inherite.d..)...................................................................................................................................... 96 show (inherited)......................................................................................................................................... 96 showLegend (inh..e..r.i.t.e..d..).............................................................................................................................. 96 Events ......................................................................................................................................................... 96 onAfterVisibilityC..h..a..n..g..e.. .(.i.n..h..e..r.i.t.e..d..)............................................................................................................. 96 onBeforeVisibilit.y..C..h..a..n..g..e.. .(.i.n..h..e..r.i.t.e..d..).......................................................................................................... 97 EJSC.LineSer.i.e..s.. .................................................................................................................................................... 97 Properties......................................................................................................................................................... 98 autosort (inherite..d..)..................................................................................................................................... 98 color (inherited)......................................................................................................................................... 98 coloredLegend (.i.n..h..e..r.i.t.e..d..).......................................................................................................................... 98 drawPoints ......................................................................................................................................... 98 legendIsVisible (.i.n..h..e..r.i.t.e..d..).......................................................................................................................... 99 lineOpacity (inhe..r.i.t.e..d..)................................................................................................................................ 99 lineWidth (inheri.t.e..d..)................................................................................................................................... 99 pointBorderColo.r........................................................................................................................................ 99 pointBorderSize......................................................................................................................................... 99 pointColor ......................................................................................................................................... 100 pointSize ......................................................................................................................................... 100 title (inherited)......................................................................................................................................... 100 visible (inherite.d..)...................................................................................................................................... 100 x_axis_formatte..r.. (..in..h..e..r..it.e..d..)...................................................................................................................... 101 y_axis_formatte..r.. (..in..h..e..r..it.e..d..)...................................................................................................................... 101 Methods......................................................................................................................................................... 101 getDataHandle.r. .(.i.n..h..e..r.i.t.e..d..)....................................................................................................................... 101 getVisibility (inh..e..r.i.t.e..d..).............................................................................................................................. 101 hide (inherited)......................................................................................................................................... 102 hideLegend (in.h..e..r.i.t.e..d..)............................................................................................................................. 102 reload (inherite.d..)...................................................................................................................................... 102 setColor (inheri.t.e..d..)................................................................................................................................... 102 setColoredLege..n..d.. .(.i.n..h..e..r.i.t.e..d..)................................................................................................................... 102 © 2007 Emprise Corporation. All Rights Reserved. VI VII Emprise JavaScript Charts setDataHandle.r. .(.i.n..h..e..r.i.t.e..d..)....................................................................................................................... 103 setLineWidth (i.n..h..e..r.i.t.e..d..)........................................................................................................................... 103 setTitle (inherit.e..d..).................................................................................................................................... 103 show (inherited.)........................................................................................................................................ 103 showLegend (in..h..e..r.i.t.e..d..)............................................................................................................................ 103 Events ......................................................................................................................................................... 104 onAfterDataAva..i.l.a..b..l.e.. .(.i.n..h..e..r.i.t.e..d..).............................................................................................................. 104 onAfterVisibility..C..h..a..n..g..e.. .(.i.n..h..e..r.i.t.e..d..)........................................................................................................... 104 onBeforeVisibil.i.t.y..C..h..a..n..g..e.. .(.i.n..h..e..r.i.t.e..d..)........................................................................................................ 104 EJSC.PieSer.i.e..s.. .................................................................................................................................................... 104 Propertie..s....................................................................................................................................................... 105 defaultColors ......................................................................................................................................... 105 height ......................................................................................................................................... 105 legendIsVisible. .(.i.n..h..e..r.i.t.e..d..)........................................................................................................................ 105 lineOpacity (inh..e..r.i.t.e..d..).............................................................................................................................. 106 lineWidth (inhe.r.i.t.e..d..)................................................................................................................................. 106 opacity (inherite..d..)..................................................................................................................................... 106 position ......................................................................................................................................... 106 title (inherited)......................................................................................................................................... 107 total_value ......................................................................................................................................... 107 treeLegend ......................................................................................................................................... 107 visible (inherite.d..)...................................................................................................................................... 107 width ......................................................................................................................................... 108 x_axis_formatte..r.. (..in..h..e..r..it.e..d..)...................................................................................................................... 108 Methods......................................................................................................................................................... 108 findCenter ......................................................................................................................................... 108 getDataHandle.r. .(.i.n..h..e..r.i.t.e..d..)....................................................................................................................... 108 getPoints ......................................................................................................................................... 109 getTotalValue ......................................................................................................................................... 109 getVisibility (inh..e..r.i.t.e..d..).............................................................................................................................. 109 hide (inherited)......................................................................................................................................... 109 hideLegend (in.h..e..r.i.t.e..d..)............................................................................................................................. 109 reload (inherite.d..)...................................................................................................................................... 110 resetTotalValue......................................................................................................................................... 110 setDataHandle.r. .(.i.n..h..e..r.i.t.e..d..)....................................................................................................................... 110 setDefaultColo.r.s....................................................................................................................................... 110 setLineWidth (i.n..h..e..r.i.t.e..d..)........................................................................................................................... 111 setOpacity (inh.e..r.i.t.e..d..)............................................................................................................................... 111 setTitle (inherit.e..d..).................................................................................................................................... 111 setTotalValue ......................................................................................................................................... 111 show (inherited.)........................................................................................................................................ 112 showLegend (in..h..e..r.i.t.e..d..)............................................................................................................................ 112 Events ......................................................................................................................................................... 112 onAfterDataAva..i.l.a..b..l.e.. .(.i.n..h..e..r.i.t.e..d..).............................................................................................................. 112 onAfterVisibility..C..h..a..n..g..e.. .(.i.n..h..e..r.i.t.e..d..)........................................................................................................... 112 onBeforeVisibil.i.t.y..C..h..a..n..g..e.. .(.i.n..h..e..r.i.t.e..d..)........................................................................................................ 113 onPieceNeedsC...o..l.o..r................................................................................................................................. 113 EJSC.Scatte.r.S...e..r.i.e..s.. ............................................................................................................................................. 113 Propertie..s....................................................................................................................................................... 114 autosort (inheri.t.e..d..)................................................................................................................................... 114 color (inherited.)........................................................................................................................................ 114 coloredLegend. .(.i.n..h..e..r.i.t.e..d..)........................................................................................................................ 114 legendIsVisible. .(.i.n..h..e..r.i.t.e..d..)........................................................................................................................ 115 lineOpacity (inh..e..r.i.t.e..d..).............................................................................................................................. 115 © 2007 Emprise Corporation. All Rights Reserved. Contents VIII lineWidth (inhe.r.i.t.e..d..)................................................................................................................................. 115 opacity (inherite..d..)..................................................................................................................................... 115 pointSize ......................................................................................................................................... 115 pointStyle ......................................................................................................................................... 116 title (inherited)......................................................................................................................................... 116 visible (inherite.d..)...................................................................................................................................... 116 x_axis_formatte..r.. (..in..h..e..r..it.e..d..)...................................................................................................................... 116 y_axis_formatte..r.. (..in..h..e..r..it.e..d..)...................................................................................................................... 117 Methods......................................................................................................................................................... 117 getDataHandle.r. .(.i.n..h..e..r.i.t.e..d..)....................................................................................................................... 117 getVisibility (inh..e..r.i.t.e..d..).............................................................................................................................. 117 hide (inherited)......................................................................................................................................... 117 hideLegend (in.h..e..r.i.t.e..d..)............................................................................................................................. 118 reload (inherite.d..)...................................................................................................................................... 118 setColor (inheri.t.e..d..)................................................................................................................................... 118 setColoredLege..n..d.. .(.i.n..h..e..r.i.t.e..d..)................................................................................................................... 118 setDataHandle.r. .(.i.n..h..e..r.i.t.e..d..)....................................................................................................................... 118 setLineWidth (i.n..h..e..r.i.t.e..d..)........................................................................................................................... 119 setOpacity (inh.e..r.i.t.e..d..)............................................................................................................................... 119 setPointStyle ......................................................................................................................................... 119 setTitle (inherit.e..d..).................................................................................................................................... 119 show (inherited.)........................................................................................................................................ 120 showLegend (in..h..e..r.i.t.e..d..)............................................................................................................................ 120 Events ......................................................................................................................................................... 120 onAfterDataAva..i.l.a..b..l.e.. .(.i.n..h..e..r.i.t.e..d..).............................................................................................................. 120 onAfterVisibility..C..h..a..n..g..e.. .(.i.n..h..e..r.i.t.e..d..)........................................................................................................... 120 onBeforeVisibil.i.t.y..C..h..a..n..g..e.. .(.i.n..h..e..r.i.t.e..d..)........................................................................................................ 121 EJSC.TrendS..e..r..i.e..s.. ............................................................................................................................................... 121 Propertie..s....................................................................................................................................................... 122 color (inherited.)........................................................................................................................................ 122 coloredLegend. .(.i.n..h..e..r.i.t.e..d..)........................................................................................................................ 122 legendIsVisible. .(.i.n..h..e..r.i.t.e..d..)........................................................................................................................ 122 lineOpacity (inh..e..r.i.t.e..d..).............................................................................................................................. 122 lineWidth (inhe.r.i.t.e..d..)................................................................................................................................. 123 title (inherited)......................................................................................................................................... 123 visible (inherite.d..)...................................................................................................................................... 123 x_axis_formatte..r.. (..in..h..e..r..it.e..d..)...................................................................................................................... 123 y_axis_formatte..r.. (..in..h..e..r..it.e..d..)...................................................................................................................... 124 Methods......................................................................................................................................................... 124 getVisibility (inh..e..r.i.t.e..d..).............................................................................................................................. 124 hide (inherited)......................................................................................................................................... 124 hideLegend (in.h..e..r.i.t.e..d..)............................................................................................................................. 124 reload (inherite.d..)...................................................................................................................................... 124 setColor (inheri.t.e..d..)................................................................................................................................... 125 setColoredLege..n..d.. .(.i.n..h..e..r.i.t.e..d..)................................................................................................................... 125 setLineWidth (i.n..h..e..r.i.t.e..d..)........................................................................................................................... 125 setTitle (inherit.e..d..).................................................................................................................................... 125 show (inherited.)........................................................................................................................................ 126 showLegend (in..h..e..r.i.t.e..d..)............................................................................................................................ 126 Events ......................................................................................................................................................... 126 onAfterVisibility..C..h..a..n..g..e.. .(.i.n..h..e..r.i.t.e..d..)........................................................................................................... 126 onBeforeVisibil.i.t.y..C..h..a..n..g..e.. .(.i.n..h..e..r.i.t.e..d..)........................................................................................................ 126 4 Data Handle..r.s.. .............................................................................................................................. 127 EJSC.XMLDa..t.a..H...a..n..d..l.e..r.. ....................................................................................................................................... 127 © 2007 Emprise Corporation. All Rights Reserved. VIII IX Emprise JavaScript Charts Propertie..s....................................................................................................................................................... 127 requestType (in..h..e..r.i.t.e..d..)............................................................................................................................ 127 url (inherited) ......................................................................................................................................... 127 urlData (inherite..d..)..................................................................................................................................... 128 Methods......................................................................................................................................................... 128 getUrl (inherited..)....................................................................................................................................... 128 loadData (inher.i.t.e..d..).................................................................................................................................. 128 setRequestTyp.e.. .(.i.n..h..e..r.i.t.e..d..)...................................................................................................................... 128 setUrl (inherited..)....................................................................................................................................... 129 setUrlData (inh.e..r.i.t.e..d..)............................................................................................................................... 129 setXMLData (in..h..e..r.i.t.e..d..)............................................................................................................................ 129 Events ......................................................................................................................................................... 130 onDataAvailabl.e.. .(.i.n..h..e..r.i.t.e..d..)...................................................................................................................... 130 onNeedsData (.i.n..h..e..r.i.t.e..d..).......................................................................................................................... 130 EJSC.XMLSt.r..i.n..g..D...a..t.a..H..a..n...d..l.e..r. ............................................................................................................................. 130 Methods......................................................................................................................................................... 131 getXML ......................................................................................................................................... 131 loadData (inher.i.t.e..d..).................................................................................................................................. 131 setXML ......................................................................................................................................... 131 Events ......................................................................................................................................................... 132 onDataAvailabl.e.. .(.i.n..h..e..r.i.t.e..d..)...................................................................................................................... 132 EJSC.ArrayD..a..t.a..H...a..n..d..l.e..r. ...................................................................................................................................... 132 Methods......................................................................................................................................................... 132 getArray ......................................................................................................................................... 132 loadData (inher.i.t.e..d..).................................................................................................................................. 132 setArray ......................................................................................................................................... 133 Events ......................................................................................................................................................... 133 onDataAvailabl.e.. .(.i.n..h..e..r.i.t.e..d..)...................................................................................................................... 133 EJSC.CSVFi.l.e..D..a..t.a..H...a..n..d..l.e..r.. ................................................................................................................................. 133 Propertie..s....................................................................................................................................................... 133 requestType (in..h..e..r.i.t.e..d..)............................................................................................................................ 133 url (inherited) ......................................................................................................................................... 134 urlData (inherite..d..)..................................................................................................................................... 134 Methods......................................................................................................................................................... 134 getUrl (inherited..)....................................................................................................................................... 134 loadData (inher.i.t.e..d..).................................................................................................................................. 134 setRequestTyp.e.. .(.i.n..h..e..r.i.t.e..d..)...................................................................................................................... 135 setUrl (inherited..)....................................................................................................................................... 135 setUrlData (inh.e..r.i.t.e..d..)............................................................................................................................... 135 setXMLData (in..h..e..r.i.t.e..d..)............................................................................................................................ 135 Events ......................................................................................................................................................... 136 onDataAvailabl.e.. .(.i.n..h..e..r.i.t.e..d..)...................................................................................................................... 136 onNeedsData (.i.n..h..e..r.i.t.e..d..).......................................................................................................................... 136 EJSC.CSVSt.r.i.n...g..D..a..t..a..H..a..n..d...l.e..r. ............................................................................................................................. 137 Methods......................................................................................................................................................... 137 getCSV ......................................................................................................................................... 137 loadData (inher.i.t.e..d..).................................................................................................................................. 137 setCSV ......................................................................................................................................... 137 Events ......................................................................................................................................................... 138 onDataAvailabl.e.. .(.i.n..h..e..r.i.t.e..d..)...................................................................................................................... 138 5 Label Forma..t..t.e..r.s.. ......................................................................................................................... 138 EJSC.Numbe..r..F..o..r.m....a..t.t.e..r. ...................................................................................................................................... 138 Propertie..s....................................................................................................................................................... 138 currency_align......................................................................................................................................... 138 © 2007 Emprise Corporation. All Rights Reserved.
Description: