Warren Posted March 20, 2019 Report Share Posted March 20, 2019 (edited) I have a legend for a chart that has a couple of legend entries of over 36 characters, but it seems the legend max character length is 34... I suspect it is not an actual limit but perhaps constrained by the width of some part of the actual chart or such... Just not sure what needs to change to allow larger legend text.. Any ideas or suggestions?? HTML Markup <ChartFX:Chart ID="Chart1" SkinID="horzbarchart" runat="server" LegendBox-Visible="True"> </ChartFX:Chart> C# MarkUp Chart1.DataSourceSettings.DataSource = reverseSort; Chart1.AllSeries.Stacked = Stacked.Normal; Chart1.DataBind(); I put a xxxxyyyy string below each label that represents the max length. The ones that are to long please shorten NEW LABEL (Shorter) = OLD LABEL Passed GED Test = Passed GED Test [2] xxxxyyyyxxxxyyyyxxxxyyyyxxxxyyyyxx Failed HSE Test = Failed HSE Test [3] xxxxyyyyxxxxyyyyxxxxyyyyxxxxyyyyxx Enrolled but Not Complete = Enrolled but Not Complete [4] xxxxyyyyxxxxyyyyxxxxyyyyxxxxyyyyxx Ineligible for HSE or HSD program = Ineligible for HSE or HSD program [5] xxxxyyyyxxxxyyyyxxxxyyyyxxxxyyyyxx Eligible but Not Enrolled = Eligible but Not Enrolled [6] xxxxyyyyxxxxyyyyxxxxyyyyxxxxyyyyxx HSD or HSE Attained Elsewhere = HSD or HSE Attained Elsewhere [7] xxxxyyyyxxxxyyyyxxxxyyyyxxxxyyyyxx HSE Certificate Awarded = HSE Certificate Awarded [8] xxxxyyyyxxxxyyyyxxxxyyyyxxxxyyyyxx HSD Graduate = HSD Graduate [9] xxxxyyyyxxxxyyyyxxxxyyyyxxxxyyyyxx Enrolled in HSD-Not Complete = Enrolled in HSD program - Not Complete [10] xxxxyyyyxxxxyyyyxxxxyyyyxxxxyyyyxx Enrolled in HSE-Not Complete = Enrolled in HSE preparation program - Not Complete [11] xxxxyyyyxxxxyyyyxxxxyyyyxxxxyyyyxx Enrolled in both HSD/HSE -Not Complete = Enrolled in both HSD and HSE programs - Not Complete [12] xxxxyyyyxxxxyyyyxxxxyyyyxxxxyyyyxx HSD Program Completed-Not Graduated = HSD Program Completed - Not Graduated [13] xxxxyyyyxxxxyyyyxxxxyyyyxxxxyyyyxx No information or no status = No information or no status [14] xxxxyyyyxxxxyyyyxxxxyyyyxxxxyyyyxx Edited March 20, 2019 by Warren make it easier to read and spelling Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.