Leave feedback
  • Question

    Empty field in Y-axis of graph treats as '0'(zero)

Enter a new topic
  • Rajkumar Aoutade Rajkumar Aoutade
    0 likes 708 views

    Hi,

    We have one requirement for line graph. Its working properly if all the data is there. Only problem is if for some fields there is no data then its treating as a '0' (zero). How I can configure for empty field so that it should not draw anything on graph. 

    regards

    RAJ

    Monday 07 September, 2015
  • Best Answer
    David Bares David Bares OpenText Employee Administrator StreamServe Employee
    1 likes

    To get a chart like you attached, you cannot suppress the 0 value points.

    All you need to do is to set the line that connects two 0 points as transparent.

    Wednesday 09 September, 2015

    Attached files

  • Yogesh Muchhal Yogesh Muchhal
    0 likes

    Hi Rajkumar,

    What are you using PAGEOUT or StoryTeller ?

    Regards

    Yogesh

     

    Tuesday 08 September, 2015
  • Rajkumar Aoutade Rajkumar Aoutade
    0 likes

    Hi,

    I am using a storyteller to build  line graph. My requirement is that if the value is '0' or 'blank' then no need to draw a line.

    I have given fields directly to graph. no any logic added on y-axis fields for any type of conversion.

    Hope so you got the scenario.

    Tuesday 08 September, 2015
  • David Bares David Bares OpenText Employee Administrator StreamServe Employee
    0 likes

    Do you have a sample data? stMsgSaveToFile()? Or even an SSD file with the chart?

    Tuesday 08 September, 2015
  • Rajkumar Aoutade Rajkumar Aoutade
    0 likes

    Hi,

    Here I have attached input file.

    I am using _11_CONSUMPTIONx field for graph at Y axis and hardcoded months on X axis.

     

    Tuesday 08 September, 2015
  • Rajkumar Aoutade Rajkumar Aoutade
    0 likes

    Attached input file.

    Tuesday 08 September, 2015

    Attached files

  • David Bares David Bares OpenText Employee Administrator StreamServe Employee
    0 likes

    I tried to put your XML into a line chart.

    Could you sketch how should the chart look without the zero values?

    Tuesday 08 September, 2015

    Attached files

  • Rajkumar Aoutade Rajkumar Aoutade
    0 likes

    Thanks Devid for pdf.

    Here you can find my requirement in attached image. If I see in my clients pdf they are not drawing on x -axis, is it possible to draw only if the value is greater than zero.

    regards

    RAJ

     

    Wednesday 09 September, 2015

    Attached files

  • David Bares David Bares OpenText Employee Administrator StreamServe Employee
    1 likes

    To get a chart like you attached, you cannot suppress the 0 value points.

    All you need to do is to set the line that connects two 0 points as transparent.

    Wednesday 09 September, 2015

    Attached files

  • Rajkumar Aoutade Rajkumar Aoutade
    0 likes

    Thank you ... This is the solution what I want.

    Regards

    RAJ

    Wednesday 09 September, 2015

 

Latest from the blogs

Read more