Jump to content
We've recently updated our Privacy Statement, available here ×

using csv data embedded in xml data to create a line chart


dean98052

Recommended Posts

I need help getting a line chart filled from csv data embedded in an xml file. My xml file looks like this:

 

        geoapp01
       
           
                3.67
                60.81
                87.28
                68.79 3.67,12.68,22.99,33.05,45.39,60.19,68.79,68.79,62.42,62.22,62.24,62.31,63.26,61.71,62.02,62.26,62.5,61.66,60.95,61.47,61.82,62.05,62.4,62.47,62.38,62.44,62.42,62.23,62.1,77.49,87.28,64.18,62.43,61.88,60.84,61.42,62.05,62.03,61.82,62.25,62.32,62.42,62.4,62.19,65.5,65.28,61.68,62.27,62.19,61.86,61.22,61.15,61.84,62.32,62.39,62.29,62.28,62.23,62.43,62.32,62.1,84.36,86.07,64.45,67.65,61.85,61.27,61.26,61.7,62.28,62.31,62.56,62.42,62.26,62.11,62.14,61.95,62.21,61.76,61.95,62.25,61.33,60.68,62.02,62.14,62.34,62.29,62.31,54.48,54.22,53.87,53.95,56.13,60.81,
           
           
                0.38
                2.47
                3.87
                3.53
 0.38,0.86,1.14,1.47,1.8,2.14,2.45,2.4,2.32,2.33,2.33,2.44,2.55,2.55,2.47,2.6,2.96,3.09,3.07,2.46,2.36,2.4,2.35,2.35,2.3,2.24,2.25,2.38,2.49,3.45,3.87,2.72,2.65,3.04,3.42,2.88,2.47,2.37,2.33,2.35,2.4,2.33,2.3,2.34,2.47,2.53,2.58,2.67,2.73,2.94,3.06,2.68,2.44,2.43,2.3,2.25,2.32,2.32,2.32,2.39,2.48,3.69,3.5,2.54,2.91,2.9,3.06,2.55,2.35,2.39,2.42,2.33,2.29,2.23,2.35,2.4,2.48,2.52,2.49,2.61,2.91,3.07,2.9,2.57,2.33,2.37,2.33,2.33,2.18,2.08,2.05,1.96,2.27,2.47,
           
       
   
 
I'm trying to pass "measurements" as a parameter to a subreport and populate a JRCsvDataSource variable, but the chart stays empty.
 
Is there a better way to do this? Here's part of my .jrxml:

   
amount
boolean.TRUE
 
 
Any help is greatly appreciated.
 
Dean

 

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...