Chart legend


hello,

i'm developing simple silverlight application. i'm using accent theme. in application have several charts (line , column). after applying accent theme i've lost tooltips, i've downloaded , rebuild system.windows.controls.datavisualization.toolkit. can see tooltips on charts have problems legend.

in toolkitstyles.xaml under <style targettype="charting:chart">  setter property  legendstyle compiles (it has targettype charttoolkit:legend), under setter property template error:

error 1 the tag 'legend' not exist in xml namespace 'clr-namespace:system.windows.controls.datavisualization;assembly=system.windows.controls.datavisualization.toolkit'.

while typing <charttolkit: intellisense finds legend.

i'm using vs2012, silverlight5, system.windows.controls.datavisualization.toolkit version sl4.

does someone have solution? thanks, barbara

hello,

for issue, suggest try add reference system.windows.controls. seems there dependency system.windows.controls

here a thread talking similar issue, please have reference:

http://social.msdn.microsoft.com/forums/silverlight/en-us/bb9449a8-1fee-4fdf-8193-b39212bac2c5/silverlight-toolkit-charting-legend-cannot-be-compiled

hope helps, thanks.


<the content provided "as is" without warranty of kind, whether express or implied>
thanks
msdn community support

please remember "mark answer" responses resolved issue. common way recognize have helped you, , makes easier other visitors find resolution later.



Silverlight  >  Designing with Silverlight



Comments

Popular posts from this blog

Motherboard replacement

Cannot create Full Text Search catalog after upgrading to V12 - Database is not fully started up or it is not in an ONLINE state

Remote Desktop App - Error 0x207 or 0x607