Hi guys! I have a problem with the captions when I print the map. Some caption items do not appear in the pdf (and others) and I was unable to find a pattern. This caption is generated through a ClassBreakRenderer. I'm forgetting something?
Caption generated with ClassBreakRenderer
Caption when printing
In the above case, the first banner does not appear when printing.
print service includes legends only for features that are currently visible in the current map extent.
I know, but as you can see in the images above, the legend is visible, but part of it is not displayed when printing. Any idea?
I just noticed that when printing some classes do not appear. However, they are on the map. So, I believe that it is not a problem of legend, but the export of classbreaks. Any suggestion?
my apologies I'm afraid I don't understand it entirely
is there anyway you can give some data etc. to repro this on my side?
It would also be helpful to know what version of the ArcGIS API for JavaScript you're using, and what is the version of the print service?
Hi. Thanks for responding. The API version is 4.15. The print server version is 10.5.
Hi. Right now, not because it's internal data, but I'll try to create a similar mass of data and post it later.
I took an example from the API itself and adapted it with the code I'm using (classbreakrenderer). I still intend to create one with my data to have a faithful test case, but maybe this will help. Note that when exporting to PDF the caption is not apparent, even if it appears on the screen.
Unfortunately, the above represents a different issue, and a known print limitation. If the data is sent via image to the print service, then the legend is not generated for the print-out. We have that doc'ed as a known limitation.