We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Chart control help

Thread ID:

Created:

Updated:

Platform:

Replies:

108988 May 24,2013 12:17 PM May 31,2013 06:43 AM WinRT 4
loading
Tags: SfPdfViewer
Jacob Bohrtz
Asked On May 24, 2013 12:17 PM

Nothing shows up...what am I missing?  Thanks.

xaml

<Charts:SfChart x:Name="chartMonthlySales">
                        <Charts:SfChart.Behaviors>
                            <Charts:ChartZoomPanBehavior/>
                        </Charts:SfChart.Behaviors>
                        <Charts:SfChart.PrimaryAxis>
                            <Charts:CategoryAxis PlotOffset="70" LabelFormat="mm">
                                <Charts:CategoryAxis.Header>
                                    <TextBlock FontSize="16" FontFamily="Segoe UI">Month</TextBlock>
                                </Charts:CategoryAxis.Header>
                            </Charts:CategoryAxis>
                        </Charts:SfChart.PrimaryAxis>
                        <Charts:SfChart.SecondaryAxis>
                            <Charts:NumericalAxis>
                                <Charts:ChartAxis.Header>
                                    <TextBlock FontSize="16" FontFamily="Segoe UI">Sales</TextBlock>
                                </Charts:ChartAxis.Header>
                            </Charts:NumericalAxis>
                        </Charts:SfChart.SecondaryAxis>
                        <Charts:SplineSeries XBindingPath="IsDate" YBindingPath="Data">
                            <Charts:SplineSeries.AdornmentsInfo>
                                <Charts:ChartAdornmentInfo Symbol="Ellipse" ShowLabel="True">
                                </Charts:ChartAdornmentInfo>
                            </Charts:SplineSeries.AdornmentsInfo>
                        </Charts:SplineSeries>
                    </Charts:SfChart >


vb code

Dim series1List As New List(Of MyClasses.MyChart3)
        Dim oct As New MyClasses.MyChart3(824703, "10/01/2013")
        Dim nov As New MyClasses.MyChart3(588922, "11/01/2013")
        series1List.Add(oct)
        series1List.Add(nov)

        Dim series1 As New SplineSeries()
        series1.XBindingPath = "IsDate"
        series1.YBindingPath = "Data"
        series1.ItemsSource = series1List

        Me.chartMonthlySales.Series.Clear()
        Me.chartMonthlySales.PrimaryAxis.ZoomFactor = 1
        Me.chartMonthlySales.SecondaryAxis.ZoomFactor = 1
        Me.chartMonthlySales.Series.Add(series1)


class:

Public Class MyChart3
        Public Property Data As Integer
        Public Property IsDate As Date
        Public Sub New(ByVal SetData As Integer, ByVal SetDate As Date)
            Data = SetData
            IsDate = SetDate
        End Sub
    End Class

Jacob Bohrtz
Replied On May 28, 2013 09:45 AM

So whats the best way to get support for the controls I purchased?

Karthikeyan V [Syncfusion]
Replied On May 28, 2013 01:28 PM

Hi Jacob,

Thanks for using Syncfusion products.

We have analyzed the provided code. We are not able to found any mistake of your code. We have prepared the sample of your code and its working fine. Please find the sample in the following location.

Please let us know if you have any concerns.

Regards,

Karthikeyan V.



App2_5bea0b98.zip

Jacob Bohrtz
Replied On May 30, 2013 04:07 PM

I found the reason, when in a scrollviewer control you must specify the width or nothing shows up.

Karthikeyan V [Syncfusion]
Replied On May 31, 2013 06:43 AM

Hi Jacob,

Thanks for the update. Please get back to us if any further assistance.

Regards,

Karthikeyan V.


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;