created an attachment (id=166920)
screenshot

description:
the icon for stock chart in legend area is different when there is secondary axis and output series is stock.

build number:
2.6.0.v20100504-0630

steps to reproduce:
1. new a stock chart.
2. new a bar chart with secondary axis and output series is stock. 

expected result:
the icon is the same as when create stock chart.

actual result:
see the screenshot. 

error log:
n/a

the reason is that the line attribute is reset by using first bar outline attribute while setting stock chart as secondary y axis. now fixed by replacing line attribute of stock chart only if the first bar outline attribute is not null
verified in build (2.6.0.v20100512-0630), closed.