Subversion Repositories SmartDukaan

Rev

Rev 34388 | Rev 34463 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 34388 Rev 34426
Line 528... Line 528...
528
 
528
 
529
        LegendModel lm = new LegendModel();
529
        LegendModel lm = new LegendModel();
530
        lm.setPosition("top");
530
        lm.setPosition("top");
531
 
531
 
532
        TitleModel tm = new TitleModel();
532
        TitleModel tm = new TitleModel();
-
 
533
        if (isQuantity) {
-
 
534
            tm.setText("Brand Wise Sales Quantity");
-
 
535
        } else {
533
        tm.setText("Brand Wise Sales");
536
            tm.setText("Brand Wise Sales Value");
-
 
537
        }
534
        tm.setDisplay(true);
538
        tm.setDisplay(true);
535
        tm.setFontSize(20);
539
        tm.setFontSize(20);
536
        tm.setFontColor("#111");
540
        tm.setFontColor("#111");
537
 
541
 
538
        List<Axis> xAxes = new ArrayList<>();
542
        List<Axis> xAxes = new ArrayList<>();
Line 873... Line 877...
873
        hover.setIntersect(false);
877
        hover.setIntersect(false);
874
        hover.setMode("index");
878
        hover.setMode("index");
875
 
879
 
876
        LegendModel lm = new LegendModel();
880
        LegendModel lm = new LegendModel();
877
        lm.setPosition("top");
881
        lm.setPosition("top");
878
 
-
 
879
        TitleModel tm = new TitleModel();
882
        TitleModel tm = new TitleModel();
-
 
883
        if (isQuantity) {
-
 
884
            tm.setText("Model Wise Sales Quantity");
-
 
885
        } else {
880
        tm.setText("Model Wise Sales");
886
            tm.setText("Model Wise Sales Value");
-
 
887
        }
881
        tm.setDisplay(true);
888
        tm.setDisplay(true);
882
        tm.setFontSize(20);
889
        tm.setFontSize(30);
883
        tm.setFontColor("#111");
890
        tm.setFontColor("#050a4d");
884
 
891
 
885
        List<Axis> xAxes = new ArrayList<>();
892
        List<Axis> xAxes = new ArrayList<>();
886
        Axis xAxis = new Axis();
893
        Axis xAxis = new Axis();
887
        xAxis.setStacked(true);
894
        xAxis.setStacked(true);
888
        xAxes.add(xAxis);
895
        xAxes.add(xAxis);