first as i said previously sub your page chartobjectname for c
c.ChartOptions.ChartType := 3;//actually byte 0 to 4 valid
you might have to expand a little internaly, the code i gave you an example of was external where "c" was a variable of type tfrchartview.
page2.chart2.chart.chartoptions
also try running script in script of chartobject memo
regards
Comments
regards
I want to change chart settings of page2 from page1
example :
page2.chart1.chart.Type = Pie or page2.chart1.chart.topon = 5 ...
thanks
sub pagenumber.chartobjname for c
c.LegendObj := 'Memo2'; // string vals required
c.ValueObj := 'Memo6';
//c.Top10Label := ''; // takes a string
c.ChartOptions.ChartType := 3;//actually byte 0 to 4 valid
c.ChartOptions.Dim3D := true;
c.ChartOptions.Top10Num := 0;
c.ChartOptions.Colored := true;
c.Top10Label:='Top 10 by';
c.ChartOptions.ShowLegend :=true;
c.ChartOptions.ShowAxis :=true;
c.ChartOptions.ShowMarks := true;
c.ChartOptions.MarksStyle := 0;
hope this helps
regards
I am write onbeforeprint event of page2
c.ChartOptions.ChartType := 3;//actually byte 0 to 4 valid
c.ChartOptions.Dim3D := true;
c.ChartOptions.Top10Num := 0;
c.ChartOptions.Colored := true;
c.Top10Label:='Top 10 by';
c.ChartOptions.ShowLegend :=true;
c.ChartOptions.ShowAxis :=true;
c.ChartOptions.ShowMarks := true;
not work
c.ChartOptions.ChartType := 3;//actually byte 0 to 4 valid
you might have to expand a little internaly, the code i gave you an example of was external where "c" was a variable of type tfrchartview.
page2.chart2.chart.chartoptions
also try running script in script of chartobject memo
regards
aliemreilhan@hotmail.com
thanks