Skip to Content
author's profile photo Former Member
Former Member

bullet chart

Dear All,

I have a bullet chart in my simple index.html file and is not working.

Can anyone check this and advise correct via JSBIN or Pluncker




<meta http-equiv="X-UA-Compatible" content="IE=edge">

<meta http-equiv='Content-Type' content='text/html;charset=UTF-8'/>

<script src=""






<!-- add sap.ui.table,sap.ui.ux3 and/or other libraries to 'data-sap-ui-libs' if required -->

<link rel="stylesheet" type="text/css" href="ui3.css">

<link rel="stylesheet" type="text/css" href="PLINE.css">

<link rel="stylesheet" type="text/css" href="SSLINE.css">

<script src="resources/sampledata.js"></script>

<script src="controls.js"></script>

<!-- <script src="code2.js"></script> -->

<!-- <script src="productionLine.js"></script> -->


var bars = new sap.suite.ui.commons.BulletChartData({

value: 120,

color: sap.suite.ui.commons.InfoTileValueColor.Error,


var bars1 = new sap.suite.ui.commons.BulletChartData({

value: 10,

color: sap.suite.ui.commons.InfoTileValueColor.Good,


var bars2 = new sap.suite.ui.commons.BulletChartData({

value: 39,

color: sap.suite.ui.commons.InfoTileValueColor.Error


var bulls = new sap.suite.ui.commons.BulletChart("x",{

size: sap.suite.ui.commons.InfoTileSize.Auto,

color: sap.suite.ui.commons.InfoTileValueColor.Error,

actual: [bars],

//thresholds : [bars2,bars1],

targetValue : 200,

forecastValue: 0,

mode : sap.suite.ui.commons.BulletChartMode.Delta,

showDeltaValue : false,

showValueMarker :false,

targetValueLabel : "140",

actualvalueLabel : "120",

minValue : 0,

maxValue : 200,





<body class="sapUiBody" role="application">

<div id="content"></div>



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 14, 2015 at 10:36 PM

    I found the problem

    It only works with them blue crystal not with gold reflection.

    How can i force this to work with Gold Reflection theme ?

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.