Bug Report T390961
Visible to All Users

It is impossible to set TooltipHintDataMember using the Chart Designer

created 9 years ago

I am trying to use the point2d series chart in devexpress 15.1.8 to display a scatterplot with X,Y values and a point label.
I am able to use the ColorDataMember property fine setting it to the name of a column in the dataset.

However when I set ToolTipHintDataMember to be Name I get the error:
Object of type Charts.Devexpress.Designer.Native.DataMemberInfo cannot be converted to type System.String.

please let me know how to fix this so I can use a string as a ToolTipHintDataMember.

My chart is bound to a DataTable so I want to set the ToolTipHintDataMember to be the column that has the tooltip text, in this case that column is called Name.

Thanks

Comments (2)
DevExpress Support Team 9 years ago

    Thank you for your report. I have managed to replicate the problem on my side. It will require additional time to research the problem in greater detail. Please bear with us. We will update the thread once we have any results.

    CR CR
    Christopher Reeves 1 9 years ago

      Yup looks like you have replicated the issue on your side
      Thanks for looking in to this.

      Answers approved by DevExpress Support

      created 9 years ago

      We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

      Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

        Show previous comments (6)
        CR CR
        Christopher Reeves 1 9 years ago

          I am going to try rebuilding the DLL from source, can you tell me what lines of code changed between 15.1.8 and 15.1.10
          that fix this issue with the chart designer?

          Thanks

          CR CR
          Christopher Reeves 1 9 years ago

            Can I use the chart designer dll from a newer version of devexpress such as 15.1.11 with all other dlls remaining as 15.1.8 or are there breaking changes?

            DevExpress Support Team 9 years ago

              Hi Christopher,

              Although there is no capability to use different minor versions of DevExpress assemblies (v15.1.8 and v15.1.11) in the same application, you can manually change line #181 in the "DevExpress.Charts.Designer/ViewModel/PropertyGridModel/SeriesPropertyGridModel.cs" source file:

              Before:

              C#
              SetProperty("ToolTipHintDataMember", new DataMemberInfo(value, value));

              After:

              C#
              SetProperty("ToolTipHintDataMember", value);

              Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

              Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.