Chart Legends


Author
Message
Steve Marshall
Steve Marshall
Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)
Group: Forum Members
Posts: 32, Visits: 50
Hi,

I have what I thought was a simple task, but it appears to be impossible! I am currently tasked with replacing all of the graphs in our company dashboard and am currently evaluating your Chart product. I have completed about 75% of the rework without too much in the way of issue. However, I have now got to generate a replacement for a chart that shows the status of Works Orders flowing through our systems, and the current implementation does this with a Pie Chart and a multi-column legend (showing colour from the Pie Chart, a Count, and a Percentage). The first element was quickly and easily replicated with a Torus Pie Chart which looks effective, but the latter is causing a bit of a headache.

Based on all the posts, examples, and documentation there seems to be very little control over the content and formatting of the Legend, providing only the "<value>" and "<label>" elements. This indcates immediately that I cannot replicate the three elements of the current legend .... and the Format seems very limited in that I cannot seem to even get the two allowed elements to line up in a columnar fashion. I have even asked the question about a slight change to ease the problem, and it was stated that the content of this chart has been stated as "non-variable" and MUST contain the data it does now - so no option for change!

My question (finally) is .... am I missing something (highly possible as the object model is quite extensive and I have only been working with it for a couple of days), or am I going to have to generate my own "legend" and place it on another child panel?? If the latter, how do I access the Pie Segment colours and label associations so that I can replicate these accurately in my generated legend ??

Or, is it just the case that what I need to do cannot be done .....

Thanks,
Steve

Tags
Reply
Steve Marshall
Steve Marshall
Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)
Group: Forum Members
Posts: 32, Visits: 50
Hi there. Great news - 98% of the way there and it is looking good. Just a few more questions to get me the last few steps:

1. How do I programattically tie the colour passed to the Row Add function to the colour assigned to the pie chart segment. I suppose what I am asking here is how after I have added the Data Point to my series can I retrieve the colour that has been assigned to that segment. Alternatively, how do I force a colour to a segment as I add it, which would achieve the same thing?

2. How do I suppress some/all of the Grid Lines displayed in the legend ?

3. How do I position the text within the cells ? Is there a ContentAlignment attribute like elsewhere ?

Thanks,
Steve

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