Announcement

Collapse
No announcement yet.

Crete multiple lines in chart title

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Crete multiple lines in chart title

    Hi,

    Does any one know how to create multiple lines in the chart title? Or can the chart title be formatted with the next line character i.e. \n or <br>? I am not able to format the chart title it gives me an error of invalid data. I dont want my chart title to just have one line, i would it to be divided into three or four lines. Is this possible?

    Thanks
    Design today and gain forever

  • #2
    In the graphs lib it's possible, only it's not used in the Scriptcase implementation. I know they are working on this, but currently there's no easy way to add multiple series into one graph. It's possible using javascript and I know there's a sample somewhere, but I couldn't find it. But you could start looking at the faqs of scriptcase here or google in the forum. (I tried the last).
    Albert Drent
    aducom software netherlands
    scriptcase partner, reseller, support and (turn-key) development
    www.scriptcase.eu / www.scriptcase.nl

    Comment


    • #3
      I did that using language variables {lang_something}, i used something like "generated <p> monthly"

      Try it.

      Regards

      Comment


      • #4
        Would be great if you would provide a sample. I realy have no idea how to create more than one line in one chart using language variables.
        Albert Drent
        aducom software netherlands
        scriptcase partner, reseller, support and (turn-key) development
        www.scriptcase.eu / www.scriptcase.nl

        Comment


        • #5
          =S I can but I feel like you are gonna yell at me lmfao.

          Try this...

          in the title of your chart trype something like this

          My \" subcategory = \"Title

          that will do what you want... the thing is that... if you rebuild the application you lost that so you will have to do it everytime =P.

          Actually thats the main reason why I did it only for a quick graph deploy.

          Regards

          Comment


          • #6
            I'm not a yelling fast ;-) But I cannot understand that chnging a title will put more than one line in my chart. I need to apply two series of data to the same y axis, so ....
            Albert Drent
            aducom software netherlands
            scriptcase partner, reseller, support and (turn-key) development
            www.scriptcase.eu / www.scriptcase.nl

            Comment


            • #7
              well... according to the fusioncharts documentation (or at least there i found how to do this) the xml branch with the title information has 2 properties caption and subcaption

              http://docs.fusioncharts.com/charts/...sc/Titles.html

              check that out... is the same doc I checked when i did this.

              Here is a quick example I assembled

              test1.pngtest2.png

              Oh and btw iandemel there is a max of 2 lines... caption and subcaption to do what you want.

              Regards
              Last edited by kafecadm; 03-17-2015, 10:42 AM.

              Comment


              • #8
                You are speaking of 2 different things.

                OP and kafe are talking about title in multiple lines. Albert speaks about a multiline chart.

                Similar, but not the same
                /Giuseppe

                Professional Scriptcase Services
                Some Customers opinions

                Comment

                Working...
                X