Ei muokkausyhteenvetoa |
Ei muokkausyhteenvetoa |
||
| Rivi 428: | Rivi 428: | ||
memo.options.series.push( { type: 'scatter', pointType: 'circle', pointSize: 9, color: '#3366cc' } ); | memo.options.series.push( { type: 'scatter', pointType: 'circle', pointSize: 9, color: '#3366cc' } ); | ||
memo.options.trendlines[ memo.options.series.length - 1 ] = { type: 'linear', title: i18n.trendline, color: colors.trend }; | |||
memo.options.trendlines[ memo.options.series.length - 1 ] = { type: 'linear', color: colors.trend }; | |||
} else if ( memo.seriesA[ s ].type == 'candlestick' ) { | } else if ( memo.seriesA[ s ].type == 'candlestick' ) { | ||
| Rivi 1 215: | Rivi 1 213: | ||
// add dash to trendlines | // add dash to trendlines | ||
jQuery( document.getElementById(memo.id) ).find( 'path[stroke="' + colors.trend + '"]' ).each( function() { | jQuery( document.getElementById(memo.id) ).find( 'path[stroke="' + colors.trend + '"]' ).each( function() { | ||
jQuery( this ).attr('stroke-dasharray', '5, 5'); | jQuery( this ).attr('stroke-dasharray', '5, 5'); | ||
}); | }); | ||


