https://bz.apache.org/bugzilla/show_bug.cgi?id=61396

            Bug ID: 61396
           Summary: DataBarFormatting, setWidthMin by default 10 % in
                    excel output(when i getWidthMin gives 0 and i unable
                    to setWidthMin to any other value)
           Product: POI
           Version: 3.14-FINAL
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: SS Common
          Assignee: dev@poi.apache.org
          Reporter: cbenagara...@gmail.com
  Target Milestone: ---

public void conditionalFormatting(Sheet sheet) {
                SheetConditionalFormatting sheetCF =
sheet.getSheetConditionalFormatting();

                ExtendedColor color = 
sheet.getWorkbook().getCreationHelper().createExtendedColor();
        color.setARGBHex("FF63BE7B");
        CellRangeAddress[] regions = { CellRangeAddress.valueOf("B2:B7") };
        ConditionalFormattingRule rule1 =
sheetCF.createConditionalFormattingRule(color);
        DataBarFormatting db1 = rule1.getDataBarFormatting();
        db1.getMinThreshold().setRangeType(RangeType.MIN);
        db1.getMaxThreshold().setRangeType(RangeType.MAX);
        sheetCF.addConditionalFormatting(regions, rule1);

        }

also can't make it, Bar Colors:fill:color(gradient only working)

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to