Hello,
I noticed that in the Theme Previewer, the customaxes are not visible. Is there a way to draw them in the TDraw3D ?
[Themes previewer] Customaxes are not visible
Hi,
yes, this is by default, I'll put this on our wish list to be considered for further releases.
If you're source code customer you can add them in the PreviewChart adding some lines of code in the InitPreviewChart method, basically you'll have to iterate through alll the Series and custom axis and assign them to the PreviewChart, something like :
PreviewChart.Series[0].CustomVertAxis := Chart.CustomAxes[0].Create(Previewchart);
yes, this is by default, I'll put this on our wish list to be considered for further releases.
If you're source code customer you can add them in the PreviewChart adding some lines of code in the InitPreviewChart method, basically you'll have to iterate through alll the Series and custom axis and assign them to the PreviewChart, something like :
PreviewChart.Series[0].CustomVertAxis := Chart.CustomAxes[0].Create(Previewchart);
Pep Jorge
http://support.steema.com
http://support.steema.com
So, I can say that when I'm using this line :
the Chart.CustomAxes[0] of my real chart is deleted. I guess it's when the themePreviewer is destroyed, it frees all cloned series and axes. This is strange, as we use the function "create" to build a new axis.
Got an idea about it ?
Code: Select all
PreviewChart.Series[0].CustomVertAxis := Chart.CustomAxes[0].Create(Previewchart);
Got an idea about it ?
Hi,
yes, sorry I mistake me, you will have to use the following code (for each custom axis) :
yes, sorry I mistake me, you will have to use the following code (for each custom axis) :
Code: Select all
PreviewChart.CustomAxes.Add;
PreviewChart.CustomAxes[0].Assign(Chart.CustomAxes[0]);
PreviewChart.Series[0].CustomVertAxis:= PreviewChart.CustomAxes[0];
Pep Jorge
http://support.steema.com
http://support.steema.com