I know this from starting . I have studied the two plugins i mentioned. then only i am asking this question Because i am getting values as strings and integers only On Monday, 8 June 2015 22:29:42 UTC+5:30, Ullrich Hafner wrote: > > > Am 08.06.2015 um 13:23 schrieb Saurabh Garg <[email protected] > <javascript:>>: > > 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] <javascript:>. > 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. > > >
-- 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/d15655ab-2f7a-4f76-b3e4-1682196c67c9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
