shaileshnk101 commented on issue #9469: echarts : tooltip is now working on markpoint when trigger set to be axis URL: https://github.com/apache/incubator-echarts/issues/9469#issuecomment-441648396 var option = { title : { text: 'Regional Evaporation and Precipitation', subtext: 'Fictitious' }, tooltip : { trigger: 'axis' }, legend: { data:['Evaporation','Precipitation'] }, toolbox: { show : true, feature : { mark : {show: true}, dataView : {show: true, readOnly: false}, magicType : {show: true, type: ['line', 'bar']}, restore : {show: true}, saveAsImage : {show: true} } }, calculable : true, xAxis : [ { type : 'category', data : ['1 Month','2 Months','3 Months','4 Months','5 Months','6 Months','7 Months','8 Months','9 Months','10 Months','11 Months','12 Months'] } ], yAxis : [ { type : 'value' } ], series : [ { name:'Evaporation', type:'line', data:[2.0, 4.9, 7.0, 23.2, 25.6, 76.7, 135.6, 162.2, 32.6, 20.0, 6.4, 3.3], markPoint : { data : [ {type : 'max', name: 'Max'}, {type : 'min', name: 'Min'} ] }, markLine : { data : [ {type : 'average', name: 'Average Value'} ] } }, { name:'Precipitation', type:'line', data:[2.6, 5.9, 9.0, 26.4, 28.7, 70.7, 175.6, 182.2, 48.7, 18.8, 6.0, 2.3], markPoint : { data : [ {name : 'Annual Maximum', value : 182.2, xAxis: 7, yAxis: 183}, {name : 'Minimum', value : 2.3, xAxis: 11, yAxis: 3} ] }, markLine : { data : [ {type : 'average', name : 'Average Value'} ] } } ] };
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
