Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1040
UltraWinChart (multiple Axis Y)
posted

I use Infragistics13.2 and VS2013 VB.net.

I'd like to add a AxisY like the right line.

How can I add in the following sources?

Parents
No Data
Reply
  • 1040
    posted

            tprChart.TitleTop.Text = "VitalSign"
            tprChart.TitleLeft.HorizontalAlign = StringAlignment.Center
            tprChart.Legend.SpanPercentage = 10


            Dim data As New DataTable
            Dim tprInf As New Class1
            Dim dtTprInf As DataTable = tprInf.BMISGetTprInf("         34337")
            Dim DtmStr As String
            Dim dateT As DateTime

            For Each aDrRow As DataRow In dtTprInf.Rows
                If aDrRow("UPDDTM").ToString <> "" Then
                    DtmStr = aDrRow("UPDDTM").ToString
                    dateT = DateTime.ParseExact(DtmStr, "yyyyMMddHHmm", Nothing)
                    seriesWeight.Points.Add(New NumericTimeDataPoint(dateT, Convert.ToDouble(aDrRow("WEIGHT")), dateT, False))
                    seriesHeight.Points.Add(New NumericTimeDataPoint(dateT, Convert.ToDouble(aDrRow("HEIGHT")), dateT, False))
                    seriesTemp.Points.Add(New NumericTimeDataPoint(dateT, Convert.ToDouble(aDrRow("TEMPER")), dateT, False))

                End If
            Next

            tprChart.Series.Add(seriesWeight)
            tprChart.Series.Add(seriesHeight)
            tprChart.Series.Add(seriesTemp)

Children