Tabnine Logo
VerticalColumnarGraphView.setItems
Code IndexAdd Tabnine to your IDE (free)

How to use
setItems
method
in
jsc.kit.component.graph.VerticalColumnarGraphView

Best Java code snippets using jsc.kit.component.graph.VerticalColumnarGraphView.setItems (Showing top 2 results out of 315)

origin: JustinRoom/JSCKit

private void init(Context context) {
  paint = new Paint(Paint.ANTI_ALIAS_FLAG);
  textPaint = new TextPaint(Paint.ANTI_ALIAS_FLAG);
  axisLabelTextSize = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 10, context.getResources().getDisplayMetrics());
  //test items
  if (isInEditMode())
    setItems(createTestData());
}
origin: JustinRoom/JSCKit

@Override
public void handleUIMessage(Message msg) {
  super.handleUIMessage(msg);
  verticalColumnarGraphView.initCustomUI(
      new VerticalColumnarGraphView.Builder()
          .setYAxisLabels(new String[]{"\u20000", "25", "50", "75", "100"})
          .setOffset(60, 0, 20, 20)
  );
  verticalColumnarGraphView.setItems(createTestData());
}
jsc.kit.component.graphVerticalColumnarGraphViewsetItems

Javadoc

initialize items

Popular methods of VerticalColumnarGraphView

  • calculateSuitableChartWidth
    Calculate suitable chart width.
  • calculateXScales
    计算X轴上刻度线的X坐标集合
  • calculateYScales
    计算Y轴上刻度线的Y坐标集合
  • createTestData
  • drawAxis
    画坐标系
  • drawItems
    画柱形
  • drawSelectedItem
    画选中的柱形
  • drawSelectedItemDetailInfo
    画选中柱形后显示的相关详细信息。 如果需展示自己的效果,请重写此方法。
  • drawXAxisLabels
    画X轴上的刻度
  • drawXAxisScales
    画X轴上的刻度线
  • drawYAxisLabels
    画Y轴上的刻度
  • drawYAxisScales
    画Y轴上的刻度线
  • drawYAxisLabels,
  • drawYAxisScales,
  • getHalfStringLength,
  • getHandler,
  • getHeight,
  • getItemMaxLengthString,
  • getMaxLengthString,
  • getPaddingBottom,
  • getPaddingLeft

Popular in Java

  • Start an intent from android
  • findViewById (Activity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • putExtra (Intent)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now