cancel
Showing results for 
Search instead for 
Did you mean: 

two different Chart types in same graph

Former Member
0 Kudos

Hi,

I have created a Chart using BSP Element <b> htmlb:chart </b>.I hav 2 different set of records to be shown on the graph.by using 'line-groupid',i am showing two curves. But i want to show 2 different chart type <b> LINE </b> and <b> BARS </b> in the same graph.Do anyone achieved this functionality ?

Rgds,

Jothi.

Message was edited by: Jothivenkatachalam.P

Accepted Solutions (1)

Accepted Solutions (1)

athavanraja
Active Contributor
0 Kudos

i dont think you can do this with htmlb:chart, you may have to try it with IGS charting.

Raja

eddy_declercq
Active Contributor
0 Kudos

Hi,

Check these web logs for more info on the IGS charting:

/people/thomas.jung3/blog/2004/08/31/bsp-150-a-developer146s-journal-part-x--igs-charting

and

/people/thomas.jung3/blog/2005/09/08/igs-charting-altering-the-customizing-xml-at-runtime

Eddy

Answers (1)

Answers (1)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

This is possible if you use the <graphics:chart> instead of the <htmlb:chart>. YOu care going to want to create your own customizing XML (perferably using the chart designer). You can create two different types of customized sets. You can then attach the particular type of customization to the XML Data series in question using the attribute 'customizing'.

series = document->create_simple_element(
    parent = root
    name = 'Series' ).

  label_string = text-001.
  series->set_attribute(  name = 'label'
                          value = label_string ).
  series->set_attribute(  name = 'customizing'
                          value = 'Series1' ).