Edit!
Hello !
Im searched through questions on here but was unable to find a way how to increase the linepen width of the second chart. Each chart has 6 series. The first six series in the code below, compiles and works for chart 1. However when i use the commented out code there is an error on compiling the code, a break in the code, or it just doesn't work. There isn't anything under the dock manager that would enable me to do this. I've listed the code that i have tried below.
undeclared identifier series1 undeclared identifier linepen compiles and runs but doesn't affect the second chart
series1.linepen.width := series1.linepen.width +1 ;
series2.linepen.width := series2.linepen.width +1 ;
series3.linepen.width := series3.linepen.width +1 ;
series4.linepen.width := series4.linepen.width +1 ;
series5.linepen.width := series5.linepen.width +1 ;
series6.linepen.width := series6.linepen.width +1 ;
//chart2.series1.linepen.width := 10 (this doesn't work)
//chart2.series[1].linepen.width := 10 (this doesn't work)
//series7.linepen.width := 10 (also not working
To assign property specific for TLineSeries
, you have to cast general series type:
TLineSeries(Chart2.SeriesList[0]).linepen.width := 10