Hi,
I could not find the way how to programmatically set Legend Every in Palette. Of course, I was able to change this number in Chart Editor.
Please see the following code.
void TChartConfig::SetPolygonColor(IMapSeriesPtr tMapSeries)
{
// Set up Palette Steps
tMapSeries->UsePaletteMin = TRUE;
tMapSeries->PaletteSteps = 101;
tMapSeries->PaletteMin = 0;
tMapSeries->PaletteStep = 0.5;
// tMapSeries->LegendEvery = 10; <-----------------------this doesn't work! how can I do this?
// Set up Palette Colors
tMapSeries->UseColorRange = FALSE;
tMapSeries->UsePalette = TRUE;
tMapSeries->PaletteStyle = psPale;
tMapSeries->InvertPalette();
tMapSeries->Pen->Visible = FALSE;
}
Set 'Legend Every' in Palette
Re: Set 'Legend Every' in Palette
Hi Dongsu,
You are right, the LegendEvery property isn't accessible by code in the ActiveX version. I've added it to the wish list to be implemented in future releases (TA05014864).
You are right, the LegendEvery property isn't accessible by code in the ActiveX version. I've added it to the wish list to be implemented in future releases (TA05014864).
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |