Names in Charts

Hi team ,

I am using record data  as source for KPI but the field name in y axis taking lot of spaces.

If you see y axis taking lot of spaces ,is there any way to minimize the space

  Discussion posts and replies are publicly visible

Parents Reply Children
  • The requirement is if you see in the above chart "warranty" taking less space but because of" new product development "the entire graph moving right side .I want the new product development name should come in 3 lines so that it will also take same space as warranty 

  • 0
    Certified Senior Developer
    in reply to goddativ5526

    Sorry it's not possible. If you go through my below code I reserved only one third of space in Columns layout for bar chart . .So it adjusted itself (Titles and Bars) to utilize the space. The result is New Product development came as two lines. If i didn't have that restriction it would look like your screenshot

    {
      a!columnsLayout(
        columns: {
          a!columnLayout(
            contents: 
        a!barChartField(
        label: "Bar Chart",
        labelPosition: "ABOVE",
        categories: {"Competitor analysis", "Compliance Check", "Field Quality", "New Product Development","Warranty"},
        series: {
          a!chartSeries(label: "Chart Series", data: {1, 2, 3,2,3})
        },
        stacking: "NONE",
        showLegend: true,
        showTooltips: true,
        allowImageDownload: true,
        colorScheme: "RAINFOREST",
        height: "MEDIUM",
        xAxisStyle: "STANDARD",
        yAxisStyle: "STANDARD"
      ),
      width: "3X"
      ),
        a!columnLayout(
          width: "3X"
        ),
        a!columnLayout(
          width: "7X"
        )}
      )
    }