Skip to main content

Using TableAdder to create a table with more than 1 content-row results in the rows not being aligned.

I have tried with and without different group-by options.

Inside the tableAdder the error becomes obvious, less so to fix.

Data for placing the boxes in the Y-axis depends on the _count variable, and so the boxes ends up being displaced a half-height for every iteration.

Has there been updates to Counter without TableAdder being udated?

I managed to get the output I wanted, by removing a counter transformer and changing the code for y-placement, but I am left wondering why the plug-n-play transformers are broken?

Hi @mathiku,

 

 

Thanks for calling this to our attention. I'm starting to investigate the strangeness in the iterative box coordinates. Would you be able to assist by sharing your workspace with the changes you made, along with some sample data? If it is sensitive you may also share it directly with the support team by reporting a problem here: https://www.safe.com/support/report-a-problem/. I will work to fix the transformer and update it on the FME Hub.

 

Thanks,

 

Nathan

WS_updatedTableAdder.fmwmapinfofilefortestingtableadder.zip

Thanks for getting back to me.

Now that I changed TableAdder locally I can't see the original anymore.

My changes are minor, but if I recall correctly, all you need to do is to rename the second counter. I believe the original TableAdder would overwrite the counter. Then I made sure that the equation for placing in X- and Y-axis would use different counter-values. Hope it is all in the WS.

 


If you add @floor to the min Y and max Y calculations in the TextBoxAdder_3 this should sort the problem

I suspect it's something to do with values previously being treated as integers but now being treated as floats or similar


Hi,

I am having this exact same issue at the moment! I am using the TableAdder to write to a PDF report - however there is a lot of horizontal displacement occuring throughout the table. The TableAdder is set up with static X,Y values to simplify the settings but this is still occuring.

Has there been any updates to this issue or any manual way to fix this within an FME workbench?

Thanks

Maddy

 

 


Hi,

I am having this exact same issue at the moment! I am using the TableAdder to write to a PDF report - however there is a lot of horizontal displacement occuring throughout the table. The TableAdder is set up with static X,Y values to simplify the settings but this is still occuring.

Has there been any updates to this issue or any manual way to fix this within an FME workbench?

Thanks

Maddy

 

 

Have you tried the edit to TextBoxAdder_3 in the custom transformer as i described below?


Reply