How to ajust legend icons?


Author
Message
Alex Alex
Alex Alex
Junior Member (22 reputation)Junior Member (22 reputation)Junior Member (22 reputation)Junior Member (22 reputation)Junior Member (22 reputation)Junior Member (22 reputation)Junior Member (22 reputation)Junior Member (22 reputation)Junior Member (22 reputation)
Group: Forum Members
Posts: 23, Visits: 6
See the attached pic, I have legends and legend icon is slightly shifted against the legend text. How can I adjust them, i.e I want place icon exactly at the same middle level line as the text middle line?
Attachments
p1.png (61 views, 21.00 KB)
Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K

Hi Alexandr,

What is the version of the control you're currently using - we just tested with 2010 Vol.1 and the legend marks appear exactly at the text baseline...



Best Regards,
Nevron Support Team


Alex Alex
Alex Alex
Junior Member (22 reputation)Junior Member (22 reputation)Junior Member (22 reputation)Junior Member (22 reputation)Junior Member (22 reputation)Junior Member (22 reputation)Junior Member (22 reputation)Junior Member (22 reputation)Junior Member (22 reputation)
Group: Forum Members
Posts: 23, Visits: 6
Topick up) Im using nevron "11.1.17.12". Legend mode is manual, i.e "LegendMode.Manual".
I still can not arrange text and marker. Look at the attachment, I set all "CellMargins" (it is tab "legend data" for the legend panel) to zero - Marker is centred symmetrically but text placed slightly upper. How can I adjust text and marker at the same middle level according to the legend's bound rectangle when legend mode is manual?

PS see second attachment- it from nevron sample app, I setted margins to zero and text and marker not adjust at the same level. Difference is minor, but I have to draw perfect chart
Attachments
legends.png (62 views, 2.00 KB)
ui.png (65 views, 165.00 KB)
Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K

Hi Alexandr,

We just added a propertly called markY offset to the legend item collection, which should give you control over the mark alignment relative to the text (and you'll be able to compensate pixel rounding problems of the baseline). It will appear in the next SP of the control (early next week).



Best Regards,
Nevron Support Team


Alex Alex
Alex Alex
Junior Member (22 reputation)Junior Member (22 reputation)Junior Member (22 reputation)Junior Member (22 reputation)Junior Member (22 reputation)Junior Member (22 reputation)Junior Member (22 reputation)Junior Member (22 reputation)Junior Member (22 reputation)
Group: Forum Members
Posts: 23, Visits: 6
sounds great. thank you for the fast feedback!
Kevin Harrison
Kevin Harrison
Forum Guru (52 reputation)Forum Guru (52 reputation)Forum Guru (52 reputation)Forum Guru (52 reputation)Forum Guru (52 reputation)Forum Guru (52 reputation)Forum Guru (52 reputation)Forum Guru (52 reputation)Forum Guru (52 reputation)
Group: Forum Members
Posts: 52, Visits: 1

Will MarkY have an effect in automatic modes?  We just noticed that the spacing of the icon and legend has changed in the new version - a little too close for us in some cases.

Thanks, Kevin


Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K

Hi Kevin,

Yes - it affects all legend data items. The SP will be avialable for download today.



Best Regards,
Nevron Support Team


Kevin Harrison
Kevin Harrison
Forum Guru (52 reputation)Forum Guru (52 reputation)Forum Guru (52 reputation)Forum Guru (52 reputation)Forum Guru (52 reputation)Forum Guru (52 reputation)Forum Guru (52 reputation)Forum Guru (52 reputation)Forum Guru (52 reputation)
Group: Forum Members
Posts: 52, Visits: 1

I now have the sp but can't find anything about MarkY.  How is this new functionality implemented?

Thanks, Kevin


Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K

Hi Kevin,

The property is accessible trought the legend data object:

someLegend.Data.MarkYOffset



Best Regards,
Nevron Support Team


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search