Dear,
I want to increase the font size of a custom map object, but couldn't find anything.
I've created a custom map object for my library to show it in our map.
Currently the library is present in the map but the font size is to small so I wan't it to be a little bit bigger.
Could you please tell me how I can do this?
I used this to create a custom map object (found this in the kb) the library ID which I created is 3682 and I placed it in C:\Program Files (x86)\PRTG Network Monitor\webroot\mapobjects :
<!--Custom Map Objects: Traffic Internet BreakoutPoint> <div class="map_object map_table <#sensor type="colorclassofstate" prefix="map_objectstate_" id="<@objectid>">" id="<@itemid>" objectid="<@objectid>" subid="<@subid>" style="overflow:hidden;<#mapobject type="coordinates" subid="<@subid>" mode="<@editmode>">"> <#mapobject type="objectgrip" mode="<@editmode>"> <#mapobject type="htmlbefore" subid="<@subid>"> <#checkobjecttype objecttype="probenode,group" nicemessage="true" id="<@objectid>"> <div id="viewport"> <div id="libTree" class="libTree prtg-plugin" data-plugin="libtree" data-objectid="3682" data-lib-name='Library' data-view-type='<#system type="groupviewsize" varexpand="overwrite" overwrite="@grpvs">' data-controls-parent='#viewport' data-hide-controls="true" data-objects='<#table id='3682' output='json' count='*' subcheck='1' noraw='1' content='library' sortby='probegroupdevice' filter_basetype='@ntxt('sensor')' columns='objid,name,access=treejson,probegroupdevice=treejson,basetype,icon,favorite,fold,devicenum=textraw,groupnum=textraw,totalsens=textraw,upsens=textraw,downsens=textraw,partialdownsens=textraw,warnsens=textraw,pausedsens=textraw,unusualsens=textraw,undefinedsens=textraw,downacksens=textraw,condition,status=textraw,message=textraw,info,priority,libkind,liblinkedid'>' > </div> </div> <#mapobject type="htmlafter" subid="<@subid>"> </div>
Thank you in advance,
Abdullah
Article Comments
Hi Erhard,
Thank you for a very quick answer, but I had already tried that but nothing changed.
I may did it in a wrong way.
I should say that I'm very new to PRTG.
Abdullah Aslan
Feb, 2016 - Permalink
Hi Abdullah,
Ok, I'll ask one of the developers and get back to you as soon as I have feedback.
Kind regards.
Feb, 2016 - Permalink
Hi Abdullah,
Sorry, it's not gonna work with this object, because the fields carrying text in such a sunburst object do not expand to support customized font sizes.
Kind regards.
Feb, 2016 - Permalink
Dear Abdullah,
The Custom Object is basically a table. Here we have an explanation on how to alter the font sizes for tables in maps, which should also work with this object.
Kind regards.
Feb, 2016 - Permalink