NullPointerException

FusionTime Tooltip Custom / Edit Column Name

Recommended Posts

I am evaluating FusionCharts and FusionTime. I am using the Json data option and my column names for the plot are like "cummulativeMarginPercentage". But this looks really bad in the tool tip. Is there anyway to edit this value or to use the actual Axis Title?

Capture.PNG.1abadc4c67c8de1dc928469684d98f8b.PNG

this.dataSource = {
          chart: {
            multicanvas: false,
          },
          data: fusionTable,
          caption: {
            text: 'Cummulative Margin Over Contract Life'
          },
          navigator: {
            enabled: false
          },
          xaxis: {
            binning: {
              month: [1],
              day: [],
              hour: [],
              minute: []
            }
          },
          yaxis: [
            {
              title: "CPC Costs",
              plot: [
                {
                  value: "costs",
                  type: "column",
                  aggregation: "Sum"
                }
              ]
            },
            {
              title: "Cummulative Margin %",
              min: 0,
              max: 100,
              round: true,
              plot: [
                {
                  title: "Cum",
                  value: "cummulativeMarginPercent",
                  connectnulldata: true,
                  type: "line",
                  style: {
                    plot: {
                      "stroke-dasharray": "0"
                    }
                  }
                }
              ],
              format: {
                suffix: "%"
              },
              referenceline: [
                {
                  label: "Margin Goal",
                  value: "65",
                  style: {
                    marker: {
                      "stroke-dasharray": [4, 3]
                    }
                  }
                }
              ]
            }
          ]

        }

 

Capture.PNG

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now