> Am 08.06.2015 um 13:23 schrieb Saurabh Garg <[email protected]>:
> 
> How can I create a trend chart in my application. as we make in jacoco 
> plugin,testng pluggin etc.
> I am parsing an xml for values which are in string or integer format. But The 
> values are required in datasetbuilder as DataSetBuilder<String, 
> NumberOnlyBuildLabel>, first string is ok. what shall i do for 
> NumberOnlyBuildLabel . how to convert String or integer value to object of 
> this very class.
> 
> 
> Is there any other way to create graph in jenkins

Did you look at any of the existing graphs?

You need to add values in the following way:

DataSetBuilder<String, NumberOnlyBuildLabel> builder = new 
DataSetBuilder<String, NumberOnlyBuildLabel>();
[...]
builder.add(value, rowAsString, new NumberOnlyBuildLabel(build));


> 
> --
> You received this message because you are subscribed to the Google Groups 
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-dev/cd8a1056-e656-4661-9e70-84563a4dac7e%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/jenkinsci-dev/cd8a1056-e656-4661-9e70-84563a4dac7e%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/1C9A088F-94ED-46CD-AD59-1F7789A9992F%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to