diff --git a/.classpath b/.classpath deleted file mode 100644 index 654c89d..0000000 --- a/.classpath +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f7f8104 --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +*.classpath +*.project +*.settings +*.iml +*.idea +**/target +target \ No newline at end of file diff --git a/.project b/.project deleted file mode 100644 index d22c2bd..0000000 --- a/.project +++ /dev/null @@ -1,42 +0,0 @@ - - - InvientCharts - - - - - - org.eclipse.wst.jsdt.core.javascriptValidator - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.wst.common.project.facet.core.builder - - - - - org.eclipse.wst.validation.validationbuilder - - - - - com.vaadin.integration.eclipse.widgetsetBuilder - - - - - - org.eclipse.jem.workbench.JavaEMFNature - org.eclipse.wst.common.modulecore.ModuleCoreNature - org.eclipse.wst.common.project.facet.core.nature - org.eclipse.jdt.core.javanature - com.vaadin.integration.eclipse.widgetsetNature - org.eclipse.wst.jsdt.core.jsNature - - diff --git a/.settings/.jsdtscope b/.settings/.jsdtscope deleted file mode 100644 index bbb8e68..0000000 --- a/.settings/.jsdtscope +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/.settings/com.vaadin.integration.eclipse.prefs b/.settings/com.vaadin.integration.eclipse.prefs deleted file mode 100644 index 0843c73..0000000 --- a/.settings/com.vaadin.integration.eclipse.prefs +++ /dev/null @@ -1,7 +0,0 @@ -#Fri Dec 02 11:52:24 IST 2011 -com.vaadin.integration.eclipse.useLatestNightly=false -com.vaadin.integration.eclipse.widgetsetCompilationEta=91844 -com.vaadin.integration.eclipse.widgetsetDirty=false -com.vaadin.integration.eclipse.widgetsetStyle=OBF -com.vaadin.integration.eclipse.widgetsetVerbose=true -eclipse.preferences.version=1 diff --git a/.settings/org.eclipse.core.resources.prefs b/.settings/org.eclipse.core.resources.prefs deleted file mode 100644 index 3bf1d42..0000000 --- a/.settings/org.eclipse.core.resources.prefs +++ /dev/null @@ -1,3 +0,0 @@ -#Mon Feb 28 17:58:04 IST 2011 -eclipse.preferences.version=1 -encoding/=UTF-8 diff --git a/.settings/org.eclipse.jdt.core.prefs b/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index 30adef9..0000000 --- a/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,280 +0,0 @@ -#Tue Feb 15 12:29:08 IST 2011 -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 -org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve -org.eclipse.jdt.core.compiler.compliance=1.6 -org.eclipse.jdt.core.compiler.debug.lineNumber=generate -org.eclipse.jdt.core.compiler.debug.localVariable=generate -org.eclipse.jdt.core.compiler.debug.sourceFile=generate -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.source=1.6 -org.eclipse.jdt.core.formatter.align_type_members_on_columns=false -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16 -org.eclipse.jdt.core.formatter.alignment_for_assignment=0 -org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16 -org.eclipse.jdt.core.formatter.alignment_for_compact_if=16 -org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80 -org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0 -org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16 -org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0 -org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16 -org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16 -org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16 -org.eclipse.jdt.core.formatter.blank_lines_after_imports=1 -org.eclipse.jdt.core.formatter.blank_lines_after_package=1 -org.eclipse.jdt.core.formatter.blank_lines_before_field=0 -org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0 -org.eclipse.jdt.core.formatter.blank_lines_before_imports=1 -org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1 -org.eclipse.jdt.core.formatter.blank_lines_before_method=1 -org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1 -org.eclipse.jdt.core.formatter.blank_lines_before_package=0 -org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1 -org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1 -org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line -org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false -org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false -org.eclipse.jdt.core.formatter.comment.format_block_comments=true -org.eclipse.jdt.core.formatter.comment.format_header=true -org.eclipse.jdt.core.formatter.comment.format_html=true -org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true -org.eclipse.jdt.core.formatter.comment.format_line_comments=true -org.eclipse.jdt.core.formatter.comment.format_source_code=true -org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true -org.eclipse.jdt.core.formatter.comment.indent_root_tags=true -org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert -org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert -org.eclipse.jdt.core.formatter.comment.line_length=80 -org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true -org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true -org.eclipse.jdt.core.formatter.compact_else_if=true -org.eclipse.jdt.core.formatter.continuation_indentation=2 -org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2 -org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off -org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on -org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false -org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true -org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true -org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true -org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true -org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true -org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true -org.eclipse.jdt.core.formatter.indent_empty_lines=false -org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true -org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true -org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true -org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false -org.eclipse.jdt.core.formatter.indentation.size=0 -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_member=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert -org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert -org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert -org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert -org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert -org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert -org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert -org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert -org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert -org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert -org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert -org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert -org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert -org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert -org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert -org.eclipse.jdt.core.formatter.join_lines_in_comments=true -org.eclipse.jdt.core.formatter.join_wrapped_lines=true -org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false -org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false -org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false -org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false -org.eclipse.jdt.core.formatter.lineSplit=80 -org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false -org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false -org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0 -org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1 -org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true -org.eclipse.jdt.core.formatter.tabulation.char=space -org.eclipse.jdt.core.formatter.tabulation.size=4 -org.eclipse.jdt.core.formatter.use_on_off_tags=false -org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false -org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true -org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true diff --git a/.settings/org.eclipse.jdt.ui.prefs b/.settings/org.eclipse.jdt.ui.prefs deleted file mode 100644 index 533bad8..0000000 --- a/.settings/org.eclipse.jdt.ui.prefs +++ /dev/null @@ -1,61 +0,0 @@ -#Thu Feb 03 17:01:57 IST 2011 -eclipse.preferences.version=1 -editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true -formatter_profile=_Global -formatter_settings_version=11 -org.eclipse.jdt.ui.ignorelowercasenames=true -org.eclipse.jdt.ui.importorder=java;javax;org;com;com.invient; -org.eclipse.jdt.ui.ondemandthreshold=99 -org.eclipse.jdt.ui.staticondemandthreshold=99 -sp_cleanup.add_default_serial_version_id=true -sp_cleanup.add_generated_serial_version_id=false -sp_cleanup.add_missing_annotations=true -sp_cleanup.add_missing_deprecated_annotations=true -sp_cleanup.add_missing_methods=false -sp_cleanup.add_missing_nls_tags=false -sp_cleanup.add_missing_override_annotations=true -sp_cleanup.add_missing_override_annotations_interface_methods=true -sp_cleanup.add_serial_version_id=false -sp_cleanup.always_use_blocks=true -sp_cleanup.always_use_parentheses_in_expressions=false -sp_cleanup.always_use_this_for_non_static_field_access=false -sp_cleanup.always_use_this_for_non_static_method_access=false -sp_cleanup.convert_to_enhanced_for_loop=false -sp_cleanup.correct_indentation=false -sp_cleanup.format_source_code=false -sp_cleanup.format_source_code_changes_only=false -sp_cleanup.make_local_variable_final=false -sp_cleanup.make_parameters_final=false -sp_cleanup.make_private_fields_final=true -sp_cleanup.make_type_abstract_if_missing_method=false -sp_cleanup.make_variable_declarations_final=true -sp_cleanup.never_use_blocks=false -sp_cleanup.never_use_parentheses_in_expressions=true -sp_cleanup.on_save_use_additional_actions=false -sp_cleanup.organize_imports=true -sp_cleanup.qualify_static_field_accesses_with_declaring_class=false -sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true -sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true -sp_cleanup.qualify_static_member_accesses_with_declaring_class=false -sp_cleanup.qualify_static_method_accesses_with_declaring_class=false -sp_cleanup.remove_private_constructors=true -sp_cleanup.remove_trailing_whitespaces=false -sp_cleanup.remove_trailing_whitespaces_all=true -sp_cleanup.remove_trailing_whitespaces_ignore_empty=false -sp_cleanup.remove_unnecessary_casts=true -sp_cleanup.remove_unnecessary_nls_tags=false -sp_cleanup.remove_unused_imports=false -sp_cleanup.remove_unused_local_variables=false -sp_cleanup.remove_unused_private_fields=true -sp_cleanup.remove_unused_private_members=false -sp_cleanup.remove_unused_private_methods=true -sp_cleanup.remove_unused_private_types=true -sp_cleanup.sort_members=false -sp_cleanup.sort_members_all=false -sp_cleanup.use_blocks=false -sp_cleanup.use_blocks_only_for_return_and_throw=false -sp_cleanup.use_parentheses_in_expressions=false -sp_cleanup.use_this_for_non_static_field_access=false -sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=true -sp_cleanup.use_this_for_non_static_method_access=false -sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=true diff --git a/.settings/org.eclipse.jst.j2ee.ejb.annotations.xdoclet.prefs b/.settings/org.eclipse.jst.j2ee.ejb.annotations.xdoclet.prefs deleted file mode 100644 index a47fe24..0000000 --- a/.settings/org.eclipse.jst.j2ee.ejb.annotations.xdoclet.prefs +++ /dev/null @@ -1,6 +0,0 @@ -#Wed Mar 09 13:37:08 IST 2011 -XDOCLETBUILDERACTIVE=true -XDOCLETHOME= -XDOCLETUSEGLOBAL=true -XDOCLETVERSION=1.2.1 -eclipse.preferences.version=1 diff --git a/.settings/org.eclipse.wst.common.component b/.settings/org.eclipse.wst.common.component deleted file mode 100644 index 1eb34b4..0000000 --- a/.settings/org.eclipse.wst.common.component +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/.settings/org.eclipse.wst.common.project.facet.core.xml b/.settings/org.eclipse.wst.common.project.facet.core.xml deleted file mode 100644 index 222ca1b..0000000 --- a/.settings/org.eclipse.wst.common.project.facet.core.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/.settings/org.eclipse.wst.jsdt.ui.prefs b/.settings/org.eclipse.wst.jsdt.ui.prefs deleted file mode 100644 index 413892f..0000000 --- a/.settings/org.eclipse.wst.jsdt.ui.prefs +++ /dev/null @@ -1,3 +0,0 @@ -#Thu Jan 20 18:16:25 IST 2011 -eclipse.preferences.version=1 -org.eclipse.wst.jsdt.ui.text.custom_code_templates= diff --git a/.settings/org.eclipse.wst.jsdt.ui.superType.container b/.settings/org.eclipse.wst.jsdt.ui.superType.container deleted file mode 100644 index 3bd5d0a..0000000 --- a/.settings/org.eclipse.wst.jsdt.ui.superType.container +++ /dev/null @@ -1 +0,0 @@ -org.eclipse.wst.jsdt.launching.baseBrowserLibrary \ No newline at end of file diff --git a/.settings/org.eclipse.wst.jsdt.ui.superType.name b/.settings/org.eclipse.wst.jsdt.ui.superType.name deleted file mode 100644 index 05bd71b..0000000 --- a/.settings/org.eclipse.wst.jsdt.ui.superType.name +++ /dev/null @@ -1 +0,0 @@ -Window \ No newline at end of file diff --git a/NOTICE b/NOTICE index 726ce70..d2b054e 100644 --- a/NOTICE +++ b/NOTICE @@ -18,8 +18,4 @@ limitations under the License. Invient Charts requires Highcharts Javascript library created by Highslide Software, http://highsoft.com. Highcharts is licensed under separate terms: http://www.highcharts.com/license. ---- - - - - +--- \ No newline at end of file diff --git a/README b/README index a4b72ff..6ce6d53 100644 --- a/README +++ b/README @@ -55,7 +55,7 @@ ApplicationServlet. Check the source code under demo directory for details. loading Highcharts JavaScript files. If you are using eclipse based project structure, then you can store the -JavaScript files in WebContent directory. +JavaScript files in webapp directory. LICENSE Invient Charts is licensed under Apache License 2.0. However, it requires diff --git a/WebContent/META-INF/MANIFEST.MF b/WebContent/META-INF/MANIFEST.MF deleted file mode 100644 index 0a6ea7c..0000000 --- a/WebContent/META-INF/MANIFEST.MF +++ /dev/null @@ -1,10 +0,0 @@ -Manifest-Version: 1.0 -Vaadin-License-Title: Apache License 2.0 -Implementation-Vendor: Invient (www.invient.com) -Implementation-Title: Invient Charts -Implementation-Version: 0.8.6 -Vaadin-Package-Version: 1 -Vaadin-Widgetsets: com.invient.vaadin.charts.widgetset.InvientChartsWi - dgetset -Vaadin-Addon: invientcharts-0.8.6/invientcharts-0.8.6.jar - diff --git a/WebContent/WEB-INF/beans.xml b/WebContent/WEB-INF/beans.xml deleted file mode 100644 index 77150f9..0000000 --- a/WebContent/WEB-INF/beans.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - \ No newline at end of file diff --git a/WebContent/WEB-INF/lib/gwt-dev.jar b/WebContent/WEB-INF/lib/gwt-dev.jar deleted file mode 100644 index f23fad2..0000000 Binary files a/WebContent/WEB-INF/lib/gwt-dev.jar and /dev/null differ diff --git a/WebContent/WEB-INF/lib/gwt-user.jar b/WebContent/WEB-INF/lib/gwt-user.jar deleted file mode 100644 index 94ee03a..0000000 Binary files a/WebContent/WEB-INF/lib/gwt-user.jar and /dev/null differ diff --git a/WebContent/WEB-INF/lib/vaadin-6.5.4.jar b/WebContent/WEB-INF/lib/vaadin-6.5.4.jar deleted file mode 100644 index 5ca3811..0000000 Binary files a/WebContent/WEB-INF/lib/vaadin-6.5.4.jar and /dev/null differ diff --git a/WebContent/WEB-INF/lib/validation-api-1.0.0.GA-sources.jar b/WebContent/WEB-INF/lib/validation-api-1.0.0.GA-sources.jar deleted file mode 100644 index 43611a2..0000000 Binary files a/WebContent/WEB-INF/lib/validation-api-1.0.0.GA-sources.jar and /dev/null differ diff --git a/WebContent/WEB-INF/lib/validation-api-1.0.0.GA.jar b/WebContent/WEB-INF/lib/validation-api-1.0.0.GA.jar deleted file mode 100644 index 1ff2dd7..0000000 Binary files a/WebContent/WEB-INF/lib/validation-api-1.0.0.GA.jar and /dev/null differ diff --git a/WebContent/WEB-INF/sun-web.xml b/WebContent/WEB-INF/sun-web.xml deleted file mode 100644 index 242f07c..0000000 --- a/WebContent/WEB-INF/sun-web.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - /HighchartsTest - - - - Keep a copy of the generated servlet class java code. - - - diff --git a/WebContent/index.jsp b/WebContent/index.jsp deleted file mode 100644 index e913d86..0000000 --- a/WebContent/index.jsp +++ /dev/null @@ -1,4 +0,0 @@ -<%@page contentType="text/html" pageEncoding="UTF-8"%> -<% - response.sendRedirect("./demo"); -%> \ No newline at end of file diff --git a/assembly/addon.xml b/assembly/addon.xml new file mode 100644 index 0000000..3782c21 --- /dev/null +++ b/assembly/addon.xml @@ -0,0 +1,65 @@ + + addon + + zip + + false + + + + LICENSE + NOTICE + CHANGELOG + **/README + + + + invient-charts/target + + + ${addonJarName} + ${addonFullName}-sources.jar + ${addonFullName}-javadoc.jar + + + + + + invient-charts-demo/src/main/java + invient-charts-demo/src/main/java + + **/*.java + + + + invient-charts-demo/src/main/webapp + invient-charts-demo/src/main/webapp + + WEB-INF/** + + + + + target/${addonFullName} + + + META-INF/MANIFEST.MF + + + + \ No newline at end of file diff --git a/assembly/extractManifest.xml b/assembly/extractManifest.xml new file mode 100644 index 0000000..b27e37d --- /dev/null +++ b/assembly/extractManifest.xml @@ -0,0 +1,20 @@ + + extractManifest + + dir + + false + + + + + com.invient.vaadin.charts:invient-charts-addon + + + / + false + true + + + + \ No newline at end of file diff --git a/demo/com/invient/vaadin/InvientChartsDemoAppWidgetset.gwt.xml b/demo/com/invient/vaadin/InvientChartsDemoAppWidgetset.gwt.xml deleted file mode 100755 index 711fcf1..0000000 --- a/demo/com/invient/vaadin/InvientChartsDemoAppWidgetset.gwt.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - diff --git a/dist/invientcharts-0.8.0.jar b/dist/invientcharts-0.8.0.jar deleted file mode 100644 index 9f75394..0000000 Binary files a/dist/invientcharts-0.8.0.jar and /dev/null differ diff --git a/dist/invientcharts-0.8.1.jar b/dist/invientcharts-0.8.1.jar deleted file mode 100644 index 4a1528e..0000000 Binary files a/dist/invientcharts-0.8.1.jar and /dev/null differ diff --git a/dist/invientcharts-0.8.2.jar b/dist/invientcharts-0.8.2.jar deleted file mode 100644 index 1a43f3d..0000000 Binary files a/dist/invientcharts-0.8.2.jar and /dev/null differ diff --git a/dist/invientcharts-0.8.3.jar b/dist/invientcharts-0.8.3.jar deleted file mode 100644 index 5f7b055..0000000 Binary files a/dist/invientcharts-0.8.3.jar and /dev/null differ diff --git a/dist/invientcharts-0.8.4.jar b/dist/invientcharts-0.8.4.jar deleted file mode 100644 index 153e32e..0000000 Binary files a/dist/invientcharts-0.8.4.jar and /dev/null differ diff --git a/dist/invientcharts-0.8.5.jar b/dist/invientcharts-0.8.5.jar deleted file mode 100644 index 8f35076..0000000 Binary files a/dist/invientcharts-0.8.5.jar and /dev/null differ diff --git a/dist/invientcharts-0.8.6.jar b/dist/invientcharts-0.8.6.jar deleted file mode 100644 index 88bc97b..0000000 Binary files a/dist/invientcharts-0.8.6.jar and /dev/null differ diff --git a/doc/allclasses-frame.html b/doc/allclasses-frame.html deleted file mode 100644 index 670ebb3..0000000 --- a/doc/allclasses-frame.html +++ /dev/null @@ -1,251 +0,0 @@ - - - - - - -All Classes - - - - - - - - - - - -All Classes -
- - - - - -
Color -
-Color.RGB -
-Color.RGBA -
-Gradient -
-Gradient.ColorStop -
-Gradient.LinearGradient -
-Gradient.LinearGradient.LinearColorStop -
-Gradient.Unit -
-InvientCharts -
-InvientCharts.ChartAddSeriesListener -
-InvientCharts.ChartClickListener -
-InvientCharts.ChartResetZoomListener -
-InvientCharts.ChartSVGAvailableListener -
-InvientCharts.ChartZoomListener -
-InvientCharts.DateTimePoint -
-InvientCharts.DateTimeSeries -
-InvientCharts.DecimalPoint -
-InvientCharts.PieChartLegendItemClickListener -
-InvientCharts.Point -
-InvientCharts.PointClickListener -
-InvientCharts.PointRemoveListener -
-InvientCharts.PointSelectListener -
-InvientCharts.PointUnselectListener -
-InvientCharts.Series -
-InvientCharts.SeriesClickListerner -
-InvientCharts.SeriesHideListerner -
-InvientCharts.SeriesLegendItemClickListerner -
-InvientCharts.SeriesShowListerner -
-InvientCharts.SeriesType -
-InvientCharts.XYSeries -
-InvientChartsConfig -
-InvientChartsConfig.AbstractMarker -
-InvientChartsConfig.AreaConfig -
-InvientChartsConfig.AreaSplineConfig -
-InvientChartsConfig.Axis -
-InvientChartsConfig.AxisBase -
-InvientChartsConfig.AxisBase.AxisTitle -
-InvientChartsConfig.AxisBase.AxisTitleAlign -
-InvientChartsConfig.AxisBase.AxisType -
-InvientChartsConfig.AxisBase.DateTimePlotBand -
-InvientChartsConfig.AxisBase.DateTimePlotBand.DateTimeRange -
-InvientChartsConfig.AxisBase.DateTimePlotLine -
-InvientChartsConfig.AxisBase.DateTimePlotLine.DateTimeValue -
-InvientChartsConfig.AxisBase.Grid -
-InvientChartsConfig.AxisBase.MinorGrid -
-InvientChartsConfig.AxisBase.MinorTick -
-InvientChartsConfig.AxisBase.NumberPlotBand -
-InvientChartsConfig.AxisBase.NumberPlotBand.NumberRange -
-InvientChartsConfig.AxisBase.NumberPlotLine -
-InvientChartsConfig.AxisBase.NumberPlotLine.NumberValue -
-InvientChartsConfig.AxisBase.PlotBand -
-InvientChartsConfig.AxisBase.PlotBand.Range -
-InvientChartsConfig.AxisBase.PlotLabel -
-InvientChartsConfig.AxisBase.PlotLine -
-InvientChartsConfig.AxisBase.PlotLine.Value -
-InvientChartsConfig.AxisBase.Tick -
-InvientChartsConfig.AxisBase.TickmarkPlacement -
-InvientChartsConfig.AxisBase.TickPosition -
-InvientChartsConfig.AxisBase.WeekDay -
-InvientChartsConfig.AxisDataLabel -
-InvientChartsConfig.BarConfig -
-InvientChartsConfig.BaseBarConfig -
-InvientChartsConfig.BaseLineConfig -
-InvientChartsConfig.CategoryAxis -
-InvientChartsConfig.ChartLabel -
-InvientChartsConfig.ChartLabel.ChartLabelItem -
-InvientChartsConfig.ColumnConfig -
-InvientChartsConfig.Credit -
-InvientChartsConfig.DashStyle -
-InvientChartsConfig.DataLabel -
-InvientChartsConfig.DateTimeAxis -
-InvientChartsConfig.DateTimeAxis.DateTimeLabelFormat -
-InvientChartsConfig.GeneralChartConfig -
-InvientChartsConfig.GeneralChartConfig.Margin -
-InvientChartsConfig.GeneralChartConfig.Plot -
-InvientChartsConfig.GeneralChartConfig.Spacing -
-InvientChartsConfig.GeneralChartConfig.ZoomType -
-InvientChartsConfig.HorzAlign -
-InvientChartsConfig.ImageMarker -
-InvientChartsConfig.Legend -
-InvientChartsConfig.Legend.Layout -
-InvientChartsConfig.LineConfig -
-InvientChartsConfig.Marker -
-InvientChartsConfig.MarkerState -
-InvientChartsConfig.NonLinearSeriesState -
-InvientChartsConfig.NumberAxis -
-InvientChartsConfig.NumberXAxis -
-InvientChartsConfig.NumberYAxis -
-InvientChartsConfig.PieConfig -
-InvientChartsConfig.PieDataLabel -
-InvientChartsConfig.PointConfig -
-InvientChartsConfig.Position -
-InvientChartsConfig.ScatterConfig -
-InvientChartsConfig.SeriesConfig -
-InvientChartsConfig.SeriesState -
-InvientChartsConfig.SplineConfig -
-InvientChartsConfig.Stacking -
-InvientChartsConfig.State -
-InvientChartsConfig.SubTitle -
-InvientChartsConfig.SymbolMarker -
-InvientChartsConfig.SymbolMarker.Symbol -
-InvientChartsConfig.Title -
-InvientChartsConfig.TitleBase -
-InvientChartsConfig.Tooltip -
-InvientChartsConfig.VertAlign -
-InvientChartsConfig.XAxis -
-InvientChartsConfig.XAxisDataLabel -
-InvientChartsConfig.YAxis -
-InvientChartsConfig.YAxisDataLabel -
-Paint -
-VInvientCharts -
-
- - - diff --git a/doc/allclasses-noframe.html b/doc/allclasses-noframe.html deleted file mode 100644 index 201c2c8..0000000 --- a/doc/allclasses-noframe.html +++ /dev/null @@ -1,251 +0,0 @@ - - - - - - -All Classes - - - - - - - - - - - -All Classes -
- - - - - -
Color -
-Color.RGB -
-Color.RGBA -
-Gradient -
-Gradient.ColorStop -
-Gradient.LinearGradient -
-Gradient.LinearGradient.LinearColorStop -
-Gradient.Unit -
-InvientCharts -
-InvientCharts.ChartAddSeriesListener -
-InvientCharts.ChartClickListener -
-InvientCharts.ChartResetZoomListener -
-InvientCharts.ChartSVGAvailableListener -
-InvientCharts.ChartZoomListener -
-InvientCharts.DateTimePoint -
-InvientCharts.DateTimeSeries -
-InvientCharts.DecimalPoint -
-InvientCharts.PieChartLegendItemClickListener -
-InvientCharts.Point -
-InvientCharts.PointClickListener -
-InvientCharts.PointRemoveListener -
-InvientCharts.PointSelectListener -
-InvientCharts.PointUnselectListener -
-InvientCharts.Series -
-InvientCharts.SeriesClickListerner -
-InvientCharts.SeriesHideListerner -
-InvientCharts.SeriesLegendItemClickListerner -
-InvientCharts.SeriesShowListerner -
-InvientCharts.SeriesType -
-InvientCharts.XYSeries -
-InvientChartsConfig -
-InvientChartsConfig.AbstractMarker -
-InvientChartsConfig.AreaConfig -
-InvientChartsConfig.AreaSplineConfig -
-InvientChartsConfig.Axis -
-InvientChartsConfig.AxisBase -
-InvientChartsConfig.AxisBase.AxisTitle -
-InvientChartsConfig.AxisBase.AxisTitleAlign -
-InvientChartsConfig.AxisBase.AxisType -
-InvientChartsConfig.AxisBase.DateTimePlotBand -
-InvientChartsConfig.AxisBase.DateTimePlotBand.DateTimeRange -
-InvientChartsConfig.AxisBase.DateTimePlotLine -
-InvientChartsConfig.AxisBase.DateTimePlotLine.DateTimeValue -
-InvientChartsConfig.AxisBase.Grid -
-InvientChartsConfig.AxisBase.MinorGrid -
-InvientChartsConfig.AxisBase.MinorTick -
-InvientChartsConfig.AxisBase.NumberPlotBand -
-InvientChartsConfig.AxisBase.NumberPlotBand.NumberRange -
-InvientChartsConfig.AxisBase.NumberPlotLine -
-InvientChartsConfig.AxisBase.NumberPlotLine.NumberValue -
-InvientChartsConfig.AxisBase.PlotBand -
-InvientChartsConfig.AxisBase.PlotBand.Range -
-InvientChartsConfig.AxisBase.PlotLabel -
-InvientChartsConfig.AxisBase.PlotLine -
-InvientChartsConfig.AxisBase.PlotLine.Value -
-InvientChartsConfig.AxisBase.Tick -
-InvientChartsConfig.AxisBase.TickmarkPlacement -
-InvientChartsConfig.AxisBase.TickPosition -
-InvientChartsConfig.AxisBase.WeekDay -
-InvientChartsConfig.AxisDataLabel -
-InvientChartsConfig.BarConfig -
-InvientChartsConfig.BaseBarConfig -
-InvientChartsConfig.BaseLineConfig -
-InvientChartsConfig.CategoryAxis -
-InvientChartsConfig.ChartLabel -
-InvientChartsConfig.ChartLabel.ChartLabelItem -
-InvientChartsConfig.ColumnConfig -
-InvientChartsConfig.Credit -
-InvientChartsConfig.DashStyle -
-InvientChartsConfig.DataLabel -
-InvientChartsConfig.DateTimeAxis -
-InvientChartsConfig.DateTimeAxis.DateTimeLabelFormat -
-InvientChartsConfig.GeneralChartConfig -
-InvientChartsConfig.GeneralChartConfig.Margin -
-InvientChartsConfig.GeneralChartConfig.Plot -
-InvientChartsConfig.GeneralChartConfig.Spacing -
-InvientChartsConfig.GeneralChartConfig.ZoomType -
-InvientChartsConfig.HorzAlign -
-InvientChartsConfig.ImageMarker -
-InvientChartsConfig.Legend -
-InvientChartsConfig.Legend.Layout -
-InvientChartsConfig.LineConfig -
-InvientChartsConfig.Marker -
-InvientChartsConfig.MarkerState -
-InvientChartsConfig.NonLinearSeriesState -
-InvientChartsConfig.NumberAxis -
-InvientChartsConfig.NumberXAxis -
-InvientChartsConfig.NumberYAxis -
-InvientChartsConfig.PieConfig -
-InvientChartsConfig.PieDataLabel -
-InvientChartsConfig.PointConfig -
-InvientChartsConfig.Position -
-InvientChartsConfig.ScatterConfig -
-InvientChartsConfig.SeriesConfig -
-InvientChartsConfig.SeriesState -
-InvientChartsConfig.SplineConfig -
-InvientChartsConfig.Stacking -
-InvientChartsConfig.State -
-InvientChartsConfig.SubTitle -
-InvientChartsConfig.SymbolMarker -
-InvientChartsConfig.SymbolMarker.Symbol -
-InvientChartsConfig.Title -
-InvientChartsConfig.TitleBase -
-InvientChartsConfig.Tooltip -
-InvientChartsConfig.VertAlign -
-InvientChartsConfig.XAxis -
-InvientChartsConfig.XAxisDataLabel -
-InvientChartsConfig.YAxis -
-InvientChartsConfig.YAxisDataLabel -
-Paint -
-VInvientCharts -
-
- - - diff --git a/doc/com/invient/vaadin/charts/Color.RGB.html b/doc/com/invient/vaadin/charts/Color.RGB.html deleted file mode 100644 index 8b103e9..0000000 --- a/doc/com/invient/vaadin/charts/Color.RGB.html +++ /dev/null @@ -1,396 +0,0 @@ - - - - - - -Color.RGB - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class Color.RGB

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.Color.RGB
-
-
-
All Implemented Interfaces:
Color, Paint, java.io.Serializable
-
-
-
Direct Known Subclasses:
Color.RGBA
-
-
-
Enclosing interface:
Color
-
-
-
-
public static class Color.RGB
extends java.lang.Object
implements Color
- - -

-Represents RBG color value. -

- -

-

-
Author:
-
Invient
-
See Also:
Serialized Form
-
- -

- - - - - - - -
-Nested Class Summary
- - - - - - - -
Nested classes/interfaces inherited from interface com.invient.vaadin.charts.Color
Color.RGB, Color.RGBA
-  - - - - - - - - - - - -
-Constructor Summary
Color.RGB(int red, - int green, - int blue) - -
-          Creates an RGB color with the specified red, green, and blue values.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- intgetBlue() - -
-           
- intgetGreen() - -
-           
- intgetRed() - -
-           
- java.lang.StringgetString() - -
-          Returns String representation of an object of type Paint.
- java.lang.StringtoString() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-Color.RGB

-
-public Color.RGB(int red,
-                 int green,
-                 int blue)
-
-
Creates an RGB color with the specified red, green, and blue values. - The values must be in the range (0 - 255). -

-

-
Parameters:
red - the red component in a color
green - the green component in a color
blue - the blue component in a color
-
- - - - - - - - -
-Method Detail
- -

-getRed

-
-public final int getRed()
-
-
-
-
-
- -
Returns:
Returns the red component in the range (0-255).
-
-
-
- -

-getGreen

-
-public final int getGreen()
-
-
-
-
-
- -
Returns:
Returns the green component in the range (0-255).
-
-
-
- -

-getBlue

-
-public final int getBlue()
-
-
-
-
-
- -
Returns:
Returns the blue component in the range (0-255).
-
-
-
- -

-getString

-
-public java.lang.String getString()
-
-
Description copied from interface: Paint
-
Returns String representation of an object of type Paint. -

-

-
Specified by:
getString in interface Paint
-
-
- -
Returns:
Returns string representation of this RBG.
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
-
Overrides:
toString in class java.lang.Object
-
-
- -
Returns:
Returns string representation of this RBG.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/Color.RGBA.html b/doc/com/invient/vaadin/charts/Color.RGBA.html deleted file mode 100644 index d19bab4..0000000 --- a/doc/com/invient/vaadin/charts/Color.RGBA.html +++ /dev/null @@ -1,359 +0,0 @@ - - - - - - -Color.RGBA - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class Color.RGBA

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.Color.RGB
-      extended by com.invient.vaadin.charts.Color.RGBA
-
-
-
All Implemented Interfaces:
Color, Paint, java.io.Serializable
-
-
-
Enclosing interface:
Color
-
-
-
-
public static class Color.RGBA
extends Color.RGB
- - -

-Represents RGBA color value. -

- -

-

-
Author:
-
Invient
-
See Also:
Serialized Form
-
- -

- - - - - - - -
-Nested Class Summary
- - - - - - - -
Nested classes/interfaces inherited from interface com.invient.vaadin.charts.Color
Color.RGB, Color.RGBA
-  - - - - - - - - - - - -
-Constructor Summary
Color.RGBA(int red, - int green, - int blue, - float alpha) - -
-          Creates an RGBA color with the specified red, green, blue and alpha - values.
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
- floatgetAlpha() - -
-           
- java.lang.StringgetString() - -
-          Returns String representation of an object of type Paint.
- java.lang.StringtoString() - -
-           
- - - - - - - -
Methods inherited from class com.invient.vaadin.charts.Color.RGB
getBlue, getGreen, getRed
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-Color.RGBA

-
-public Color.RGBA(int red,
-                  int green,
-                  int blue,
-                  float alpha)
-
-
Creates an RGBA color with the specified red, green, blue and alpha - values. The red, green and blue values must be in the range (0 - - 255). The alpha value must be in the range (0.0-1.0). The alpha value - deaults to 1.0 -

-

-
Parameters:
red - the red component in a color
green - the green component in a color
blue - the blue component in a color
alpha - the alpha component in a color
-
- - - - - - - - -
-Method Detail
- -

-getAlpha

-
-public final float getAlpha()
-
-
- -
Returns:
Returns the alpha component in the range (0.0-1.0).
-
-
-
- -

-getString

-
-public java.lang.String getString()
-
-
Description copied from interface: Paint
-
Returns String representation of an object of type Paint. -

-

-
Specified by:
getString in interface Paint
Overrides:
getString in class Color.RGB
-
-
- -
Returns:
Returns string representation of this RGBA
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
-
Overrides:
toString in class Color.RGB
-
-
- -
Returns:
Returns string representation of this RGBA
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/Color.html b/doc/com/invient/vaadin/charts/Color.html deleted file mode 100644 index 61525ed..0000000 --- a/doc/com/invient/vaadin/charts/Color.html +++ /dev/null @@ -1,228 +0,0 @@ - - - - - - -Color - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Interface Color

-
-
All Superinterfaces:
Paint, java.io.Serializable
-
-
-
All Known Implementing Classes:
Color.RGB, Color.RGBA
-
-
-
-
public interface Color
extends Paint
- - -

-The Color interface represents RBG and RBGA colors. - Do not confuse with java.awt.Color class. This is a simplified - version of java.awt.Color for the purpose of InvientCharts -

- -

-

-
Author:
-
Invient
-
-
- -

- - - - - - - - - - - - - - - -
-Nested Class Summary
-static classColor.RGB - -
-          Represents RBG color value.
-static classColor.RGBA - -
-          Represents RGBA color value.
-  - - - - - - - -
-Method Summary
- - - - - - - -
Methods inherited from interface com.invient.vaadin.charts.Paint
getString
-  -

- -


- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/Gradient.ColorStop.html b/doc/com/invient/vaadin/charts/Gradient.ColorStop.html deleted file mode 100644 index cf13717..0000000 --- a/doc/com/invient/vaadin/charts/Gradient.ColorStop.html +++ /dev/null @@ -1,273 +0,0 @@ - - - - - - -Gradient.ColorStop - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Interface Gradient.ColorStop

-
-
All Superinterfaces:
java.io.Serializable
-
-
-
All Known Implementing Classes:
Gradient.LinearGradient.LinearColorStop
-
-
-
Enclosing interface:
Gradient
-
-
-
-
public static interface Gradient.ColorStop
extends java.io.Serializable
- - -

-Represents a stop-value and a color. The stop-value should be in range - (0.0-1.0). The color of the gradient at each stop is the color specified - for that stop. Between each such stop, the colors and the alpha component - will be linearly interpolated over the RGBA. -

- -

-

-
Author:
-
Invient
-
-
- -

- - - - - - - - - - - - - - - - - - - - -
-Method Summary
- ColorgetColor() - -
-           
- doublegetStopAt() - -
-           
- Gradient.UnitgetStopAtUnit() - -
-           
-  -

- - - - - - - - -
-Method Detail
- -

-getStopAt

-
-double getStopAt()
-
-
-
-
-
-
-
-
-
- -

-getStopAtUnit

-
-Gradient.Unit getStopAtUnit()
-
-
-
-
-
-
-
-
-
- -

-getColor

-
-Color getColor()
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/Gradient.LinearGradient.LinearColorStop.html b/doc/com/invient/vaadin/charts/Gradient.LinearGradient.LinearColorStop.html deleted file mode 100644 index d97e843..0000000 --- a/doc/com/invient/vaadin/charts/Gradient.LinearGradient.LinearColorStop.html +++ /dev/null @@ -1,337 +0,0 @@ - - - - - - -Gradient.LinearGradient.LinearColorStop - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class Gradient.LinearGradient.LinearColorStop

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.Gradient.LinearGradient.LinearColorStop
-
-
-
All Implemented Interfaces:
Gradient.ColorStop, java.io.Serializable
-
-
-
Enclosing class:
Gradient.LinearGradient
-
-
-
-
public static class Gradient.LinearGradient.LinearColorStop
extends java.lang.Object
implements Gradient.ColorStop
- - -

-Represents stop-value and color for the Gradient.LinearGradient -

- -

-

-
Author:
-
Invient
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - -
-Constructor Summary
Gradient.LinearGradient.LinearColorStop(double stopAt, - Color color) - -
-           
Gradient.LinearGradient.LinearColorStop(double stopAt, - Gradient.Unit stopAtUnit, - Color color) - -
-           
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
- ColorgetColor() - -
-           
- doublegetStopAt() - -
-           
- Gradient.UnitgetStopAtUnit() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-Gradient.LinearGradient.LinearColorStop

-
-public Gradient.LinearGradient.LinearColorStop(double stopAt,
-                                               Color color)
-
-
-
Parameters:
stopAt -
color -
-
-
- -

-Gradient.LinearGradient.LinearColorStop

-
-public Gradient.LinearGradient.LinearColorStop(double stopAt,
-                                               Gradient.Unit stopAtUnit,
-                                               Color color)
-
-
-
Parameters:
stopAt -
stopAtUnit -
color -
-
- - - - - - - - -
-Method Detail
- -

-getStopAt

-
-public double getStopAt()
-
-
-
Specified by:
getStopAt in interface Gradient.ColorStop
-
-
-
-
-
-
- -

-getStopAtUnit

-
-public Gradient.Unit getStopAtUnit()
-
-
-
Specified by:
getStopAtUnit in interface Gradient.ColorStop
-
-
-
-
-
-
- -

-getColor

-
-public Color getColor()
-
-
-
Specified by:
getColor in interface Gradient.ColorStop
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/Gradient.LinearGradient.html b/doc/com/invient/vaadin/charts/Gradient.LinearGradient.html deleted file mode 100644 index 43d14a9..0000000 --- a/doc/com/invient/vaadin/charts/Gradient.LinearGradient.html +++ /dev/null @@ -1,600 +0,0 @@ - - - - - - -Gradient.LinearGradient - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class Gradient.LinearGradient

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.Gradient.LinearGradient
-
-
-
All Implemented Interfaces:
Gradient, Paint, java.io.Serializable
-
-
-
Enclosing interface:
Gradient
-
-
-
-
public static class Gradient.LinearGradient
extends java.lang.Object
implements Gradient
- - -

-Represents linear gradient where points of a linear gradient specify a - line. For more details on gradient, refer to CSS 3 gradient - documentation. -

- -

-

-
Author:
-
Invient
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Nested Class Summary
-static classGradient.LinearGradient.LinearColorStop - -
-          Represents stop-value and color for the Gradient.LinearGradient
- - - - - - - -
Nested classes/interfaces inherited from interface com.invient.vaadin.charts.Gradient
Gradient.ColorStop, Gradient.LinearGradient, Gradient.Unit
-  - - - - - - - - - - - - - - -
-Constructor Summary
Gradient.LinearGradient(int xStart, - Gradient.Unit xStartUnit, - int yStart, - Gradient.Unit yStartUnit, - int xEnd, - Gradient.Unit xEndUnit, - int yEnd, - Gradient.Unit yEndUnit, - java.util.List<Gradient.LinearGradient.LinearColorStop> colorStops) - -
-           
Gradient.LinearGradient(int xStart, - int yStart, - int xEnd, - int yEnd, - java.util.List<Gradient.LinearGradient.LinearColorStop> colorStops) - -
-          Creates a LinearGradient with the specified xStart, xEnd, yStart and - yEnd values with default Gradient.Unit value number.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.util.List<Gradient.LinearGradient.LinearColorStop>getColorStops() - -
-          Returns a list of colorstops associated with this gradient.
- java.lang.StringgetString() - -
-          Returns String representation of an object of type Paint.
- intgetxEnd() - -
-          Returns the x-coordinate of a point at which linear gradient - ends.
- Gradient.UnitgetxEndUnit() - -
-          Returns the unit of x-coordinate of a point at which linear gradient ends.
- intgetxStart() - -
-          Returns the x-coordinate of a point at which linear gradient - starts.
- Gradient.UnitgetxStartUnit() - -
-          Returns the unit of x-coordinate of a point at which linear gradient starts.
- intgetyEnd() - -
-          Returns the x-coordinate of a point at which linear gradient ends.
- Gradient.UnitgetyEndUnit() - -
-          Returns the unit of y-coordinate of a point at which linear gradient ends.
- intgetyStart() - -
-          Returns the y-coordinate of a point at which linear gradient starts.
- Gradient.UnitgetyStartUnit() - -
-          Returns the unit of y-coordinate of a point at which linear gradient starts.
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-Gradient.LinearGradient

-
-public Gradient.LinearGradient(int xStart,
-                               int yStart,
-                               int xEnd,
-                               int yEnd,
-                               java.util.List<Gradient.LinearGradient.LinearColorStop> colorStops)
-
-
Creates a LinearGradient with the specified xStart, xEnd, yStart and - yEnd values with default Gradient.Unit value number. -

-

-
Parameters:
xStart - the x-coordinate of a point at which linear gradient - starts.
xEnd - the x-coordinate of a point at which linear gradient ends.
yStart - the y-coordinate of a point at which linear gradient - starts.
yEnd - the y-coordinate of a point at which linear gradient ends.
colorStops - the list of colorstops for the linear gradient.
-
-
- -

-Gradient.LinearGradient

-
-public Gradient.LinearGradient(int xStart,
-                               Gradient.Unit xStartUnit,
-                               int yStart,
-                               Gradient.Unit yStartUnit,
-                               int xEnd,
-                               Gradient.Unit xEndUnit,
-                               int yEnd,
-                               Gradient.Unit yEndUnit,
-                               java.util.List<Gradient.LinearGradient.LinearColorStop> colorStops)
-
-
-
Parameters:
xStart - the x-coordinate of a point at which linear gradient - starts.
xStartUnit - the unit for the xStart value. It can have one of the two - values Unit.NUMBER or Unit.PERCENT. If it is null then the - default value is Unit.NUMBER.
yStart - the y-coordinate of a point at which linear gradient - starts.
yStartUnit - the unit for the yStart value. It can have one of the two - values Unit.NUMBER or Unit.PERCENT. If it is null then the - default value is Unit.NUMBER.
xEnd - the x-coordinate of a point at which linear gradient ends.
xEndUnit - the unit for the xEnd value. It can have one of the two - values Unit.NUMBER or Unit.PERCENT. If it is null then the - default value is Unit.NUMBER.
yEnd - the y-coordinate of a point at which linear gradient ends.
yEndUnit - the unit for the yEnd value. It can have one of the two - values Unit.NUMBER or Unit.PERCENT. If it is null then the - default value is Unit.NUMBER.
colorStops - the list of colorstops for the linear gradient.
-
- - - - - - - - -
-Method Detail
- -

-getxStart

-
-public int getxStart()
-
-
Description copied from interface: Gradient
-
Returns the x-coordinate of a point at which linear gradient - starts. -

-

-
Specified by:
getxStart in interface Gradient
-
-
- -
Returns:
the x-coordinate of a point at which linear gradient - starts.
-
-
-
- -

-getxEnd

-
-public int getxEnd()
-
-
Description copied from interface: Gradient
-
Returns the x-coordinate of a point at which linear gradient - ends. -

-

-
Specified by:
getxEnd in interface Gradient
-
-
- -
Returns:
the x-coordinate of a point at which linear gradient - ends.
-
-
-
- -

-getyStart

-
-public int getyStart()
-
-
Description copied from interface: Gradient
-
Returns the y-coordinate of a point at which linear gradient starts. -

-

-
Specified by:
getyStart in interface Gradient
-
-
- -
Returns:
the y-coordinate of a point at which linear gradient starts.
-
-
-
- -

-getyEnd

-
-public int getyEnd()
-
-
Description copied from interface: Gradient
-
Returns the x-coordinate of a point at which linear gradient ends. -

-

-
Specified by:
getyEnd in interface Gradient
-
-
- -
Returns:
the x-coordinate of a point at which linear gradient ends.
-
-
-
- -

-getxStartUnit

-
-public Gradient.Unit getxStartUnit()
-
-
Description copied from interface: Gradient
-
Returns the unit of x-coordinate of a point at which linear gradient starts. -

-

-
Specified by:
getxStartUnit in interface Gradient
-
-
- -
Returns:
the unit of x-coordinate of a point at which linear gradient starts.
-
-
-
- -

-getyStartUnit

-
-public Gradient.Unit getyStartUnit()
-
-
Description copied from interface: Gradient
-
Returns the unit of y-coordinate of a point at which linear gradient starts. -

-

-
Specified by:
getyStartUnit in interface Gradient
-
-
- -
Returns:
the unit of y-coordinate of a point at which linear gradient starts.
-
-
-
- -

-getxEndUnit

-
-public Gradient.Unit getxEndUnit()
-
-
Description copied from interface: Gradient
-
Returns the unit of x-coordinate of a point at which linear gradient ends. -

-

-
Specified by:
getxEndUnit in interface Gradient
-
-
- -
Returns:
the unit of x-coordinate of a point at which linear gradient ends.
-
-
-
- -

-getyEndUnit

-
-public Gradient.Unit getyEndUnit()
-
-
Description copied from interface: Gradient
-
Returns the unit of y-coordinate of a point at which linear gradient ends. -

-

-
Specified by:
getyEndUnit in interface Gradient
-
-
- -
Returns:
the unit of y-coordinate of a point at which linear gradient ends.
-
-
-
- -

-getColorStops

-
-public java.util.List<Gradient.LinearGradient.LinearColorStop> getColorStops()
-
-
Description copied from interface: Gradient
-
Returns a list of colorstops associated with this gradient. -

-

-
Specified by:
getColorStops in interface Gradient
-
-
- -
Returns:
a list of colorstops associated with this gradient.
See Also:
Gradient.ColorStop
-
-
-
- -

-getString

-
-public java.lang.String getString()
-
-
Description copied from interface: Paint
-
Returns String representation of an object of type Paint. -

-

-
Specified by:
getString in interface Paint
-
-
- -
Returns:
Returns string representation of this LinearGradient
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/Gradient.Unit.html b/doc/com/invient/vaadin/charts/Gradient.Unit.html deleted file mode 100644 index 38bbd3b..0000000 --- a/doc/com/invient/vaadin/charts/Gradient.Unit.html +++ /dev/null @@ -1,363 +0,0 @@ - - - - - - -Gradient.Unit - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Enum Gradient.Unit

-
-java.lang.Object
-  extended by java.lang.Enum<Gradient.Unit>
-      extended by com.invient.vaadin.charts.Gradient.Unit
-
-
-
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Gradient.Unit>
-
-
-
Enclosing interface:
Gradient
-
-
-
-
public static enum Gradient.Unit
extends java.lang.Enum<Gradient.Unit>
- - -

-


- -

- - - - - - - - - - - - - -
-Enum Constant Summary
NUMBER - -
-           
PERCENT - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.StringgetName() - -
-           
- java.lang.StringgetSymbol() - -
-           
-static Gradient.UnitvalueOf(java.lang.String name) - -
-          Returns the enum constant of this type with the specified name.
-static Gradient.Unit[]values() - -
-          Returns an array containing the constants of this enum type, in -the order they are declared.
- - - - - - - -
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Enum Constant Detail
- -

-NUMBER

-
-public static final Gradient.Unit NUMBER
-
-
-
-
-
- -

-PERCENT

-
-public static final Gradient.Unit PERCENT
-
-
-
-
- - - - - - - - -
-Method Detail
- -

-values

-
-public static Gradient.Unit[] values()
-
-
Returns an array containing the constants of this enum type, in -the order they are declared. This method may be used to iterate -over the constants as follows: -
-for (Gradient.Unit c : Gradient.Unit.values())
-    System.out.println(c);
-
-

-

- -
Returns:
an array containing the constants of this enum type, in -the order they are declared
-
-
-
- -

-valueOf

-
-public static Gradient.Unit valueOf(java.lang.String name)
-
-
Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.) -

-

-
Parameters:
name - the name of the enum constant to be returned. -
Returns:
the enum constant with the specified name -
Throws: -
java.lang.IllegalArgumentException - if this enum type has no constant -with the specified name -
java.lang.NullPointerException - if the argument is null
-
-
-
- -

-getName

-
-public java.lang.String getName()
-
-
-
-
-
-
- -

-getSymbol

-
-public java.lang.String getSymbol()
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/Gradient.html b/doc/com/invient/vaadin/charts/Gradient.html deleted file mode 100644 index 9d42405..0000000 --- a/doc/com/invient/vaadin/charts/Gradient.html +++ /dev/null @@ -1,476 +0,0 @@ - - - - - - -Gradient - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Interface Gradient

-
-
All Superinterfaces:
Paint, java.io.Serializable
-
-
-
All Known Implementing Classes:
Gradient.LinearGradient
-
-
-
-
public interface Gradient
extends Paint
- - -

-The Gradient defines a way to fill a shape with a linear color gradient - pattern. -

- -

-

-
Author:
-
Invient
-
-
- -

- - - - - - - - - - - - - - - - - - - -
-Nested Class Summary
-static interfaceGradient.ColorStop - -
-          Represents a stop-value and a color.
-static classGradient.LinearGradient - -
-          Represents linear gradient where points of a linear gradient specify a - line.
-static classGradient.Unit - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.util.List<? extends Gradient.ColorStop>getColorStops() - -
-          Returns a list of colorstops associated with this gradient.
- intgetxEnd() - -
-          Returns the x-coordinate of a point at which linear gradient - ends.
- Gradient.UnitgetxEndUnit() - -
-          Returns the unit of x-coordinate of a point at which linear gradient ends.
- intgetxStart() - -
-          Returns the x-coordinate of a point at which linear gradient - starts.
- Gradient.UnitgetxStartUnit() - -
-          Returns the unit of x-coordinate of a point at which linear gradient starts.
- intgetyEnd() - -
-          Returns the x-coordinate of a point at which linear gradient ends.
- Gradient.UnitgetyEndUnit() - -
-          Returns the unit of y-coordinate of a point at which linear gradient ends.
- intgetyStart() - -
-          Returns the y-coordinate of a point at which linear gradient starts.
- Gradient.UnitgetyStartUnit() - -
-          Returns the unit of y-coordinate of a point at which linear gradient starts.
- - - - - - - -
Methods inherited from interface com.invient.vaadin.charts.Paint
getString
-  -

- - - - - - - - -
-Method Detail
- -

-getxStart

-
-int getxStart()
-
-
Returns the x-coordinate of a point at which linear gradient - starts. -

-

-
-
-
- -
Returns:
the x-coordinate of a point at which linear gradient - starts.
-
-
-
- -

-getxStartUnit

-
-Gradient.Unit getxStartUnit()
-
-
Returns the unit of x-coordinate of a point at which linear gradient starts. -

-

-
-
-
- -
Returns:
the unit of x-coordinate of a point at which linear gradient starts.
-
-
-
- -

-getyStart

-
-int getyStart()
-
-
Returns the y-coordinate of a point at which linear gradient starts. -

-

-
-
-
- -
Returns:
the y-coordinate of a point at which linear gradient starts.
-
-
-
- -

-getyStartUnit

-
-Gradient.Unit getyStartUnit()
-
-
Returns the unit of y-coordinate of a point at which linear gradient starts. -

-

-
-
-
- -
Returns:
the unit of y-coordinate of a point at which linear gradient starts.
-
-
-
- -

-getxEnd

-
-int getxEnd()
-
-
Returns the x-coordinate of a point at which linear gradient - ends. -

-

-
-
-
- -
Returns:
the x-coordinate of a point at which linear gradient - ends.
-
-
-
- -

-getxEndUnit

-
-Gradient.Unit getxEndUnit()
-
-
Returns the unit of x-coordinate of a point at which linear gradient ends. -

-

-
-
-
- -
Returns:
the unit of x-coordinate of a point at which linear gradient ends.
-
-
-
- -

-getyEnd

-
-int getyEnd()
-
-
Returns the x-coordinate of a point at which linear gradient ends. -

-

-
-
-
- -
Returns:
the x-coordinate of a point at which linear gradient ends.
-
-
-
- -

-getyEndUnit

-
-Gradient.Unit getyEndUnit()
-
-
Returns the unit of y-coordinate of a point at which linear gradient ends. -

-

-
-
-
- -
Returns:
the unit of y-coordinate of a point at which linear gradient ends.
-
-
-
- -

-getColorStops

-
-java.util.List<? extends Gradient.ColorStop> getColorStops()
-
-
Returns a list of colorstops associated with this gradient. -

-

-
-
-
- -
Returns:
a list of colorstops associated with this gradient.
See Also:
Gradient.ColorStop
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientCharts.ChartAddSeriesEvent.html b/doc/com/invient/vaadin/charts/InvientCharts.ChartAddSeriesEvent.html deleted file mode 100644 index fc5f975..0000000 --- a/doc/com/invient/vaadin/charts/InvientCharts.ChartAddSeriesEvent.html +++ /dev/null @@ -1,296 +0,0 @@ - - - - - - -InvientCharts.ChartAddSeriesEvent - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientCharts.ChartAddSeriesEvent

-
-java.lang.Object
-  extended by java.util.EventObject
-      extended by com.vaadin.ui.Component.Event
-          extended by com.invient.vaadin.charts.InvientCharts.ChartAddSeriesEvent
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientCharts
-
-
-
-
public class InvientCharts.ChartAddSeriesEvent
extends com.vaadin.ui.Component.Event
- - -

-Add series event. This event is thrown, when a series is added to the - chart. -

- -

-

-
Author:
-
Invient
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
InvientCharts.ChartAddSeriesEvent(com.vaadin.ui.Component source, - InvientCharts chart) - -
-          New instance of the chart add series event.
-  - - - - - - - - - - - -
-Method Summary
- InvientChartsgetChart() - -
-          Returns the chart object to which a series is added
- - - - - - - -
Methods inherited from class com.vaadin.ui.Component.Event
getComponent
- - - - - - - -
Methods inherited from class java.util.EventObject
getSource, toString
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientCharts.ChartAddSeriesEvent

-
-public InvientCharts.ChartAddSeriesEvent(com.vaadin.ui.Component source,
-                                         InvientCharts chart)
-
-
New instance of the chart add series event. -

-

-
Parameters:
source -
chart -
-
- - - - - - - - -
-Method Detail
- -

-getChart

-
-public InvientCharts getChart()
-
-
Returns the chart object to which a series is added -

-

- -
Returns:
Returns the chart object to which a series has been added.
See Also:
InvientCharts
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientCharts.ChartAddSeriesListener.html b/doc/com/invient/vaadin/charts/InvientCharts.ChartAddSeriesListener.html deleted file mode 100644 index c27c581..0000000 --- a/doc/com/invient/vaadin/charts/InvientCharts.ChartAddSeriesListener.html +++ /dev/null @@ -1,224 +0,0 @@ - - - - - - -InvientCharts.ChartAddSeriesListener - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Interface InvientCharts.ChartAddSeriesListener

-
-
All Superinterfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientCharts
-
-
-
-
public static interface InvientCharts.ChartAddSeriesListener
extends java.io.Serializable
- - -

-Interface for listening for a InvientCharts.ChartAddSeriesEvent triggered by - InvientCharts -

- -

-

-
Author:
-
Invient
-
-
- -

- - - - - - - - - - - - -
-Method Summary
- voidchartAddSeries(InvientCharts.ChartAddSeriesEvent chartAddSeriesEvent) - -
-           
-  -

- - - - - - - - -
-Method Detail
- -

-chartAddSeries

-
-void chartAddSeries(InvientCharts.ChartAddSeriesEvent chartAddSeriesEvent)
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientCharts.ChartArea.html b/doc/com/invient/vaadin/charts/InvientCharts.ChartArea.html deleted file mode 100644 index 3b2e5e8..0000000 --- a/doc/com/invient/vaadin/charts/InvientCharts.ChartArea.html +++ /dev/null @@ -1,363 +0,0 @@ - - - - - - -InvientCharts.ChartArea - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientCharts.ChartArea

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientCharts.ChartArea
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientCharts
-
-
-
-
public final class InvientCharts.ChartArea
extends java.lang.Object
implements java.io.Serializable
- - -

-Defines information on the selected area. -

- -

-

-
Author:
-
Invient
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
InvientCharts.ChartArea(double xAxisMin, - double xAxisMax, - double yAxisMin, - double yAxisMax) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- doublegetxAxisMax() - -
-           
- doublegetxAxisMin() - -
-           
- doublegetyAxisMax() - -
-           
- doublegetyAxisMin() - -
-           
- java.lang.StringtoString() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientCharts.ChartArea

-
-public InvientCharts.ChartArea(double xAxisMin,
-                               double xAxisMax,
-                               double yAxisMin,
-                               double yAxisMax)
-
-
- - - - - - - - -
-Method Detail
- -

-getxAxisMin

-
-public double getxAxisMin()
-
-
-
-
-
-
-
-
-
- -

-getxAxisMax

-
-public double getxAxisMax()
-
-
-
-
-
-
-
-
-
- -

-getyAxisMin

-
-public double getyAxisMin()
-
-
-
-
-
-
-
-
-
- -

-getyAxisMax

-
-public double getyAxisMax()
-
-
-
-
-
-
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
-
Overrides:
toString in class java.lang.Object
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientCharts.ChartClickEvent.html b/doc/com/invient/vaadin/charts/InvientCharts.ChartClickEvent.html deleted file mode 100644 index c9e3ea6..0000000 --- a/doc/com/invient/vaadin/charts/InvientCharts.ChartClickEvent.html +++ /dev/null @@ -1,369 +0,0 @@ - - - - - - -InvientCharts.ChartClickEvent - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientCharts.ChartClickEvent

-
-java.lang.Object
-  extended by java.util.EventObject
-      extended by com.vaadin.ui.Component.Event
-          extended by com.invient.vaadin.charts.InvientCharts.ChartClickEvent
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientCharts
-
-
-
-
public class InvientCharts.ChartClickEvent
extends com.vaadin.ui.Component.Event
- - -

-Chart Click event. This event is thrown, when this chart is clicked. -

- -

-

-
Author:
-
Invient
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
InvientCharts.ChartClickEvent(com.vaadin.ui.Component source, - InvientCharts chart, - InvientCharts.Point point, - InvientCharts.MousePosition mousePosition) - -
-          New instance of the chart click event.
-  - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- InvientChartsgetChart() - -
-          Returns the chart object on which the click event occurred
- InvientCharts.MousePositiongetMousePosition() - -
-          Returns the position of a mouse when the click event occurred
- InvientCharts.PointgetPoint() - -
-          Returns the point representing the position where the click event - occurred in axes units
- java.lang.StringtoString() - -
-           
- - - - - - - -
Methods inherited from class com.vaadin.ui.Component.Event
getComponent
- - - - - - - -
Methods inherited from class java.util.EventObject
getSource
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientCharts.ChartClickEvent

-
-public InvientCharts.ChartClickEvent(com.vaadin.ui.Component source,
-                                     InvientCharts chart,
-                                     InvientCharts.Point point,
-                                     InvientCharts.MousePosition mousePosition)
-
-
New instance of the chart click event. -

-

-
Parameters:
source - the chart object itself
chart - the chart object itself
point - the position where the click event occurred in axes units
mousePosition - the coordinate of mouse where the click event occurred in - pixels
-
- - - - - - - - -
-Method Detail
- -

-getChart

-
-public InvientCharts getChart()
-
-
Returns the chart object on which the click event occurred -

-

- -
Returns:
Returns the chart object on which the click event occurred
See Also:
InvientCharts
-
-
-
- -

-getPoint

-
-public InvientCharts.Point getPoint()
-
-
Returns the point representing the position where the click event - occurred in axes units -

-

- -
Returns:
Returns the point representing the position where the click - event occurred in axes units
See Also:
InvientCharts.Point
-
-
-
- -

-getMousePosition

-
-public InvientCharts.MousePosition getMousePosition()
-
-
Returns the position of a mouse when the click event occurred -

-

- -
Returns:
Returns the position of a mouse when the click event occurred
See Also:
InvientCharts.MousePosition
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
-
Overrides:
toString in class java.util.EventObject
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientCharts.ChartClickListener.html b/doc/com/invient/vaadin/charts/InvientCharts.ChartClickListener.html deleted file mode 100644 index f321f32..0000000 --- a/doc/com/invient/vaadin/charts/InvientCharts.ChartClickListener.html +++ /dev/null @@ -1,224 +0,0 @@ - - - - - - -InvientCharts.ChartClickListener - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Interface InvientCharts.ChartClickListener

-
-
All Superinterfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientCharts
-
-
-
-
public static interface InvientCharts.ChartClickListener
extends java.io.Serializable
- - -

-Interface for listening for a InvientCharts.ChartClickEvent triggered by - InvientCharts -

- -

-

-
Author:
-
Invient
-
-
- -

- - - - - - - - - - - - -
-Method Summary
- voidchartClick(InvientCharts.ChartClickEvent chartClickEvent) - -
-           
-  -

- - - - - - - - -
-Method Detail
- -

-chartClick

-
-void chartClick(InvientCharts.ChartClickEvent chartClickEvent)
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientCharts.ChartResetZoomEvent.html b/doc/com/invient/vaadin/charts/InvientCharts.ChartResetZoomEvent.html deleted file mode 100644 index 73eb6cd..0000000 --- a/doc/com/invient/vaadin/charts/InvientCharts.ChartResetZoomEvent.html +++ /dev/null @@ -1,297 +0,0 @@ - - - - - - -InvientCharts.ChartResetZoomEvent - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientCharts.ChartResetZoomEvent

-
-java.lang.Object
-  extended by java.util.EventObject
-      extended by com.vaadin.ui.Component.Event
-          extended by com.invient.vaadin.charts.InvientCharts.ChartResetZoomEvent
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientCharts
-
-
-
-
public class InvientCharts.ChartResetZoomEvent
extends com.vaadin.ui.Component.Event
- - -

-Chart reset zoom event. This event is thrown, when a chart is reset by - setting its zoom level to normal. -

- -

-

-
Author:
-
Invient
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
InvientCharts.ChartResetZoomEvent(com.vaadin.ui.Component source, - InvientCharts chart) - -
-          New instance of the chart reset zoom event
-  - - - - - - - - - - - -
-Method Summary
- InvientChartsgetChart() - -
-          Returns the chart object for which zoom has been reset to normal
- - - - - - - -
Methods inherited from class com.vaadin.ui.Component.Event
getComponent
- - - - - - - -
Methods inherited from class java.util.EventObject
getSource, toString
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientCharts.ChartResetZoomEvent

-
-public InvientCharts.ChartResetZoomEvent(com.vaadin.ui.Component source,
-                                         InvientCharts chart)
-
-
New instance of the chart reset zoom event -

-

-
Parameters:
source - the chart object itself
chart - the chart object itself
-
- - - - - - - - -
-Method Detail
- -

-getChart

-
-public InvientCharts getChart()
-
-
Returns the chart object for which zoom has been reset to normal -

-

- -
Returns:
Returns the chart object for which zoom has been reset to - normal
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientCharts.ChartResetZoomListener.html b/doc/com/invient/vaadin/charts/InvientCharts.ChartResetZoomListener.html deleted file mode 100644 index b0633bd..0000000 --- a/doc/com/invient/vaadin/charts/InvientCharts.ChartResetZoomListener.html +++ /dev/null @@ -1,224 +0,0 @@ - - - - - - -InvientCharts.ChartResetZoomListener - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Interface InvientCharts.ChartResetZoomListener

-
-
All Superinterfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientCharts
-
-
-
-
public static interface InvientCharts.ChartResetZoomListener
extends java.io.Serializable
- - -

-Interface for listening for a InvientCharts.ChartResetZoomEvent triggered by - InvientCharts -

- -

-

-
Author:
-
Invient
-
-
- -

- - - - - - - - - - - - -
-Method Summary
- voidchartResetZoom(InvientCharts.ChartResetZoomEvent chartResetZoomEvent) - -
-           
-  -

- - - - - - - - -
-Method Detail
- -

-chartResetZoom

-
-void chartResetZoom(InvientCharts.ChartResetZoomEvent chartResetZoomEvent)
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientCharts.ChartSVGAvailableEvent.html b/doc/com/invient/vaadin/charts/InvientCharts.ChartSVGAvailableEvent.html deleted file mode 100644 index 7ea5baa..0000000 --- a/doc/com/invient/vaadin/charts/InvientCharts.ChartSVGAvailableEvent.html +++ /dev/null @@ -1,324 +0,0 @@ - - - - - - -InvientCharts.ChartSVGAvailableEvent - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientCharts.ChartSVGAvailableEvent

-
-java.lang.Object
-  extended by java.util.EventObject
-      extended by com.vaadin.ui.Component.Event
-          extended by com.invient.vaadin.charts.InvientCharts.ChartSVGAvailableEvent
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientCharts
-
-
-
-
public class InvientCharts.ChartSVGAvailableEvent
extends com.vaadin.ui.Component.Event
- - -

-Chart SVG event. This event is thrown, when an SVG string representing - the chart is received or ready. - - Note that this event is thrown only once after a - InvientCharts.ChartSVGAvailableListener is registered. -

- -

-

-
Author:
-
Invient
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
InvientCharts.ChartSVGAvailableEvent(com.vaadin.ui.Component source, - InvientCharts chart, - java.lang.String svg) - -
-          New instance of the chart svg available event.
-  - - - - - - - - - - - - - - - -
-Method Summary
- InvientChartsgetChart() - -
-          Returns the chart object for which an svg string representation is - available
- java.lang.StringgetSVG() - -
-           
- - - - - - - -
Methods inherited from class com.vaadin.ui.Component.Event
getComponent
- - - - - - - -
Methods inherited from class java.util.EventObject
getSource, toString
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientCharts.ChartSVGAvailableEvent

-
-public InvientCharts.ChartSVGAvailableEvent(com.vaadin.ui.Component source,
-                                            InvientCharts chart,
-                                            java.lang.String svg)
-
-
New instance of the chart svg available event. -

-

-
Parameters:
source - the chart object itself
chart - the chart object itself
svg - an svg string representing the chart object
-
- - - - - - - - -
-Method Detail
- -

-getChart

-
-public InvientCharts getChart()
-
-
Returns the chart object for which an svg string representation is - available -

-

- -
Returns:
Returns the chart object for which an svg string - representation is available
-
-
-
- -

-getSVG

-
-public java.lang.String getSVG()
-
-
- -
Returns:
Returns an SVG string representing the chart
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientCharts.ChartSVGAvailableListener.html b/doc/com/invient/vaadin/charts/InvientCharts.ChartSVGAvailableListener.html deleted file mode 100644 index 3e6a7ba..0000000 --- a/doc/com/invient/vaadin/charts/InvientCharts.ChartSVGAvailableListener.html +++ /dev/null @@ -1,232 +0,0 @@ - - - - - - -InvientCharts.ChartSVGAvailableListener - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Interface InvientCharts.ChartSVGAvailableListener

-
-
All Superinterfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientCharts
-
-
-
-
public static interface InvientCharts.ChartSVGAvailableListener
extends java.io.Serializable
- - -

-Interface for listening for a InvientCharts.ChartSVGAvailableEvent triggered by - InvientCharts. - - The chart can have only one listener of this type registered at any time. - If a listener has already been registered and an attempt is made to - register another listener then the previously registered listener will be - unregistered and the new listener will be registered. - - A listener will be called only once after it has been registered though - it will be called again if the same listener is registered again. -

- -

-

-
Author:
-
Invient
-
-
- -

- - - - - - - - - - - - -
-Method Summary
- voidsvgAvailable(InvientCharts.ChartSVGAvailableEvent chartSVGAvailableEvent) - -
-           
-  -

- - - - - - - - -
-Method Detail
- -

-svgAvailable

-
-void svgAvailable(InvientCharts.ChartSVGAvailableEvent chartSVGAvailableEvent)
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientCharts.ChartZoomEvent.html b/doc/com/invient/vaadin/charts/InvientCharts.ChartZoomEvent.html deleted file mode 100644 index c068f45..0000000 --- a/doc/com/invient/vaadin/charts/InvientCharts.ChartZoomEvent.html +++ /dev/null @@ -1,325 +0,0 @@ - - - - - - -InvientCharts.ChartZoomEvent - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientCharts.ChartZoomEvent

-
-java.lang.Object
-  extended by java.util.EventObject
-      extended by com.vaadin.ui.Component.Event
-          extended by com.invient.vaadin.charts.InvientCharts.ChartZoomEvent
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientCharts
-
-
-
-
public class InvientCharts.ChartZoomEvent
extends com.vaadin.ui.Component.Event
- - -

-Chart zoom event. This event is thrown, when an area of the chart has - been selected. -

- -

-

-
Author:
-
Invient
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
InvientCharts.ChartZoomEvent(com.vaadin.ui.Component source, - InvientCharts chart, - InvientCharts.ChartArea chartArea) - -
-          New instance of the chart zoom event.
-  - - - - - - - - - - - - - - - -
-Method Summary
- InvientChartsgetChart() - -
-          Returns the chart object for which the zoom event has occurred
- InvientCharts.ChartAreagetChartArea() - -
-          Returns the chartArea object containing dimensions of zoomed area of - the chart
- - - - - - - -
Methods inherited from class com.vaadin.ui.Component.Event
getComponent
- - - - - - - -
Methods inherited from class java.util.EventObject
getSource, toString
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientCharts.ChartZoomEvent

-
-public InvientCharts.ChartZoomEvent(com.vaadin.ui.Component source,
-                                    InvientCharts chart,
-                                    InvientCharts.ChartArea chartArea)
-
-
New instance of the chart zoom event. -

-

-
Parameters:
source - the chart object itself
chart - the chart object itself
chartArea - the chartArea object containing dimensions of zoomed area - of the chart
-
- - - - - - - - -
-Method Detail
- -

-getChart

-
-public InvientCharts getChart()
-
-
Returns the chart object for which the zoom event has occurred -

-

- -
Returns:
Returns the chart object for which the zoom event has - occurred
-
-
-
- -

-getChartArea

-
-public InvientCharts.ChartArea getChartArea()
-
-
Returns the chartArea object containing dimensions of zoomed area of - the chart -

-

- -
Returns:
Returns the chartArea object containing dimensions of zoomed - area of the chart
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientCharts.ChartZoomListener.html b/doc/com/invient/vaadin/charts/InvientCharts.ChartZoomListener.html deleted file mode 100644 index 75a9636..0000000 --- a/doc/com/invient/vaadin/charts/InvientCharts.ChartZoomListener.html +++ /dev/null @@ -1,224 +0,0 @@ - - - - - - -InvientCharts.ChartZoomListener - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Interface InvientCharts.ChartZoomListener

-
-
All Superinterfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientCharts
-
-
-
-
public static interface InvientCharts.ChartZoomListener
extends java.io.Serializable
- - -

-Interface for listening for a InvientCharts.ChartZoomEvent triggered by - InvientCharts -

- -

-

-
Author:
-
Invient
-
-
- -

- - - - - - - - - - - - -
-Method Summary
- voidchartZoom(InvientCharts.ChartZoomEvent chartZoomEvent) - -
-           
-  -

- - - - - - - - -
-Method Detail
- -

-chartZoom

-
-void chartZoom(InvientCharts.ChartZoomEvent chartZoomEvent)
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientCharts.DateTimePoint.html b/doc/com/invient/vaadin/charts/InvientCharts.DateTimePoint.html deleted file mode 100644 index a885f47..0000000 --- a/doc/com/invient/vaadin/charts/InvientCharts.DateTimePoint.html +++ /dev/null @@ -1,452 +0,0 @@ - - - - - - -InvientCharts.DateTimePoint - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientCharts.DateTimePoint

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientCharts.Point
-      extended by com.invient.vaadin.charts.InvientCharts.DateTimePoint
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientCharts
-
-
-
-
public static final class InvientCharts.DateTimePoint
extends InvientCharts.Point
- - -

-This class represent a point with (X, Y) both as number. It should be - used to add points to InvientCharts.DateTimeSeries -

- -

-

-
Author:
-
Invient
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
InvientCharts.DateTimePoint(InvientCharts.Series series) - -
-           
InvientCharts.DateTimePoint(InvientCharts.Series series, - java.util.Date x, - double y) - -
-           
InvientCharts.DateTimePoint(InvientCharts.Series series, - double y) - -
-           
InvientCharts.DateTimePoint(InvientCharts.Series series, - java.lang.String name, - double y) - -
-           
InvientCharts.DateTimePoint(InvientCharts.Series series, - java.lang.String name, - double y, - InvientChartsConfig.PointConfig config) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- booleanequals(java.lang.Object obj) - -
-           
- java.util.DategetX() - -
-           
- java.lang.DoublegetY() - -
-           
- inthashCode() - -
-           
- java.lang.StringtoString() - -
-           
- - - - - - - -
Methods inherited from class com.invient.vaadin.charts.InvientCharts.Point
getConfig, getName, getSeries, setConfig, setName
- - - - - - - -
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientCharts.DateTimePoint

-
-public InvientCharts.DateTimePoint(InvientCharts.Series series)
-
-
-
Parameters:
series - the series to which this belongs to
-
-
- -

-InvientCharts.DateTimePoint

-
-public InvientCharts.DateTimePoint(InvientCharts.Series series,
-                                   double y)
-
-
-
Parameters:
series - the series to which this belongs to
y - the y value of this point
-
-
- -

-InvientCharts.DateTimePoint

-
-public InvientCharts.DateTimePoint(InvientCharts.Series series,
-                                   java.lang.String name,
-                                   double y)
-
-
-
Parameters:
series - the series to which this belongs to
name - the name of this point
y - the y value of this point
-
-
- -

-InvientCharts.DateTimePoint

-
-public InvientCharts.DateTimePoint(InvientCharts.Series series,
-                                   java.lang.String name,
-                                   double y,
-                                   InvientChartsConfig.PointConfig config)
-
-
-
Parameters:
series - the series to which this belongs to
name - the name of this point
y - the y value of this point
config -
-
-
- -

-InvientCharts.DateTimePoint

-
-public InvientCharts.DateTimePoint(InvientCharts.Series series,
-                                   java.util.Date x,
-                                   double y)
-
-
-
Parameters:
series - the series to which this belongs to
x - the x value of this point
y - the y value of this point
-
- - - - - - - - -
-Method Detail
- -

-getX

-
-public java.util.Date getX()
-
-
-
Specified by:
getX in class InvientCharts.Point
-
-
- -
Returns:
Returns X value of this point
-
-
-
- -

-getY

-
-public java.lang.Double getY()
-
-
-
Specified by:
getY in class InvientCharts.Point
-
-
- -
Returns:
Returns Y value of this point
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
-
Overrides:
toString in class InvientCharts.Point
-
-
-
-
-
-
- -

-hashCode

-
-public int hashCode()
-
-
-
Overrides:
hashCode in class java.lang.Object
-
-
-
-
-
-
- -

-equals

-
-public boolean equals(java.lang.Object obj)
-
-
-
Overrides:
equals in class java.lang.Object
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientCharts.DateTimeSeries.html b/doc/com/invient/vaadin/charts/InvientCharts.DateTimeSeries.html deleted file mode 100644 index 5e2b162..0000000 --- a/doc/com/invient/vaadin/charts/InvientCharts.DateTimeSeries.html +++ /dev/null @@ -1,631 +0,0 @@ - - - - - - -InvientCharts.DateTimeSeries - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientCharts.DateTimeSeries

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientCharts.Series
-      extended by com.invient.vaadin.charts.InvientCharts.DateTimeSeries
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientCharts
-
-
-
-
public static class InvientCharts.DateTimeSeries
extends InvientCharts.Series
- - -

-This class defines a datetime series. In this series, the X value must be - date and Y values must be number. To use number values, use - InvientCharts.XYSeries -

- By default, the time of a day is not included in the X value. In order to - include time, use a constructor with argument isIncludeTime and pass true - value for the argument. -

- -

-

-
Author:
-
Invient
-
See Also:
InvientCharts.XYSeries, -Serialized Form
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
InvientCharts.DateTimeSeries(java.lang.String name) - -
-          Creates a series with given name.
InvientCharts.DateTimeSeries(java.lang.String name, - boolean isIncludeTime) - -
-          Creates a series with given name and boolean value.
InvientCharts.DateTimeSeries(java.lang.String name, - InvientCharts.SeriesType seriesType) - -
-          Creates a series with given name and type.
InvientCharts.DateTimeSeries(java.lang.String name, - InvientCharts.SeriesType seriesType, - boolean isIncludeTime) - -
-          Creates a series with given name, type and boolean value.
InvientCharts.DateTimeSeries(java.lang.String name, - InvientCharts.SeriesType seriesType, - InvientChartsConfig.SeriesConfig config) - -
-          Creates a series with given name, type and configuration.
InvientCharts.DateTimeSeries(java.lang.String name, - InvientCharts.SeriesType seriesType, - InvientChartsConfig.SeriesConfig config, - boolean isIncludeTime) - -
-          Creates a series with given name, type, configuration and boolean - value.
InvientCharts.DateTimeSeries(java.lang.String name, - InvientChartsConfig.SeriesConfig config) - -
-          Creates a series with given name and configuration.
InvientCharts.DateTimeSeries(java.lang.String name, - InvientChartsConfig.SeriesConfig config, - boolean isIncludeTime) - -
-          Creates a series with given name, configuration and boolean value.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.util.LinkedHashSet<InvientCharts.DateTimePoint>addPoint(InvientCharts.DateTimePoint... points) - -
-          Appends the specified point into the series if they do not exists in - this series.
- java.util.LinkedHashSet<InvientCharts.DateTimePoint>addPoint(InvientCharts.DateTimePoint point, - boolean shift) - -
-          Append the specified point into this series.
- java.util.LinkedHashSet<InvientCharts.DateTimePoint>getPoints() - -
-           
- booleanisIncludeTime() - -
-           
- voidremoveAllPoints() - -
-          Removes all points in this series
- voidremovePoint(InvientCharts.DateTimePoint... points) - -
-          Removes all points specified as method argument into this series
- java.util.LinkedHashSet<InvientCharts.DateTimePoint>setSeriesPoints(java.util.LinkedHashSet<InvientCharts.DateTimePoint> points) - -
-          Sets points into this series.
- java.lang.StringtoString() - -
-           
- - - - - - - -
Methods inherited from class com.invient.vaadin.charts.InvientCharts.Series
equals, getConfig, getName, getStack, getType, getXAxis, getYAxis, hashCode, hide, setName, setStack, setType, setXAxis, setYAxis, show
- - - - - - - -
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientCharts.DateTimeSeries

-
-public InvientCharts.DateTimeSeries(java.lang.String name)
-
-
Creates a series with given name. This series will not consider time - in the X property of InvientCharts.DateTimePoint. To include time, use any - constructor having isIncludeTime as part of the arguments. -

-

-
Parameters:
name - the name of this series
-
-
- -

-InvientCharts.DateTimeSeries

-
-public InvientCharts.DateTimeSeries(java.lang.String name,
-                                    boolean isIncludeTime)
-
-
Creates a series with given name and boolean value. -

-

-
Parameters:
name - the name of this series
isIncludeTime - If true then the time in the X property of - InvientCharts.DateTimePoint will be considered when drawing the - chart. Defaults to false.
-
-
- -

-InvientCharts.DateTimeSeries

-
-public InvientCharts.DateTimeSeries(java.lang.String name,
-                                    InvientChartsConfig.SeriesConfig config)
-
-
Creates a series with given name and configuration. -

-

-
Parameters:
name - the name of this series
config - the configuration for this series
-
-
- -

-InvientCharts.DateTimeSeries

-
-public InvientCharts.DateTimeSeries(java.lang.String name,
-                                    InvientChartsConfig.SeriesConfig config,
-                                    boolean isIncludeTime)
-
-
Creates a series with given name, configuration and boolean value. -

-

-
Parameters:
name - the name of this series
config - the configuration for this series
isIncludeTime - If true then the time in the X property of - InvientCharts.DateTimePoint will be considered when drawing the - chart. Defaults to false.
-
-
- -

-InvientCharts.DateTimeSeries

-
-public InvientCharts.DateTimeSeries(java.lang.String name,
-                                    InvientCharts.SeriesType seriesType)
-
-
Creates a series with given name and type. -

-

-
Parameters:
name - the name of this series
seriesType - the type of this series
-
-
- -

-InvientCharts.DateTimeSeries

-
-public InvientCharts.DateTimeSeries(java.lang.String name,
-                                    InvientCharts.SeriesType seriesType,
-                                    boolean isIncludeTime)
-
-
Creates a series with given name, type and boolean value. -

-

-
Parameters:
name - the name of this series
seriesType - the type of this series
isIncludeTime - If true then the time in the X property of - InvientCharts.DateTimePoint will be considered when drawing the - chart. Defaults to false.
-
-
- -

-InvientCharts.DateTimeSeries

-
-public InvientCharts.DateTimeSeries(java.lang.String name,
-                                    InvientCharts.SeriesType seriesType,
-                                    InvientChartsConfig.SeriesConfig config)
-
-
Creates a series with given name, type and configuration. -

-

-
Parameters:
name - the name of this series
seriesType - the type of this series
config - the configuration for this series
-
-
- -

-InvientCharts.DateTimeSeries

-
-public InvientCharts.DateTimeSeries(java.lang.String name,
-                                    InvientCharts.SeriesType seriesType,
-                                    InvientChartsConfig.SeriesConfig config,
-                                    boolean isIncludeTime)
-
-
Creates a series with given name, type, configuration and boolean - value. -

-

-
Parameters:
name - the name of this series
seriesType - the type of this series
config - the configuration for this series
isIncludeTime - If true then the time in the X property of - InvientCharts.DateTimePoint will be considered when drawing the - chart. Defaults to false.
-
- - - - - - - - -
-Method Detail
- -

-removePoint

-
-public void removePoint(InvientCharts.DateTimePoint... points)
-
-
Removes all points specified as method argument into this series -

-

-
Parameters:
points -
-
-
-
- -

-removeAllPoints

-
-public void removeAllPoints()
-
-
Description copied from class: InvientCharts.Series
-
Removes all points in this series -

-

-
-
-
-
-
-
-
- -

-addPoint

-
-public java.util.LinkedHashSet<InvientCharts.DateTimePoint> addPoint(InvientCharts.DateTimePoint... points)
-
-
Appends the specified point into the series if they do not exists in - this series. The points which already exists will not be appended. A - collection of points appended to this series will be returned. -

-

-
Parameters:
points - -
Returns:
Returns a collection of points which are added in this - series. If a point has same (x, y) value as any other point - in the input argument points then it will not be added in - this series.
-
-
-
- -

-addPoint

-
-public java.util.LinkedHashSet<InvientCharts.DateTimePoint> addPoint(InvientCharts.DateTimePoint point,
-                                                                     boolean shift)
-
-
Append the specified point into this series. If the argument shift is - true then one point is shifted off the start of this series as one is - appended to the end. -

-

-
Parameters:
point - A point to be added at the end of this series
shift - If true then one point is shifted off the start of this - series as one is appended to the end. -
Returns:
Returns a collection of points which are added in this - series. If a point has same (x, y) value as any other point - in the input argument points then it will not be added in - this series.
-
-
-
- -

-isIncludeTime

-
-public boolean isIncludeTime()
-
-
- -
Returns:
Returns true if the time in the X property of - InvientCharts.DateTimePoint will be considered when drawing the - chart otherwise false.
-
-
-
- -

-getPoints

-
-public java.util.LinkedHashSet<InvientCharts.DateTimePoint> getPoints()
-
-
-
-
-
- -
Returns:
Returns all points of this series. Adding or removing any - point to or from the returned collection will not impact the - chart. To add a point or points, use addPoint() or - removePoint() method.
-
-
-
- -

-setSeriesPoints

-
-public java.util.LinkedHashSet<InvientCharts.DateTimePoint> setSeriesPoints(java.util.LinkedHashSet<InvientCharts.DateTimePoint> points)
-
-
Sets points into this series. This method removes all of its points - and then add points specified in the method argument. If the argument - is null then no actions are taken. -

-

-
Parameters:
points - the collection of points to set into this series. -
Returns:
Returns a collection of points which are added in this - series. If a point has same (x, y) value as any other point - in the input argument points then it will not be added in - this series.
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
-
Overrides:
toString in class InvientCharts.Series
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientCharts.DecimalPoint.html b/doc/com/invient/vaadin/charts/InvientCharts.DecimalPoint.html deleted file mode 100644 index 6567615..0000000 --- a/doc/com/invient/vaadin/charts/InvientCharts.DecimalPoint.html +++ /dev/null @@ -1,536 +0,0 @@ - - - - - - -InvientCharts.DecimalPoint - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientCharts.DecimalPoint

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientCharts.Point
-      extended by com.invient.vaadin.charts.InvientCharts.DecimalPoint
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientCharts
-
-
-
-
public static final class InvientCharts.DecimalPoint
extends InvientCharts.Point
- - -

-This class represent a point with (X, Y) both as number. It should be - used to add points to InvientCharts.XYSeries -

- -

-

-
Author:
-
Invient
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
InvientCharts.DecimalPoint(InvientCharts.Series series) - -
-           
InvientCharts.DecimalPoint(InvientCharts.Series series, - double y) - -
-           
InvientCharts.DecimalPoint(InvientCharts.Series series, - double x, - double y) - -
-           
InvientCharts.DecimalPoint(InvientCharts.Series series, - java.lang.Double x, - java.lang.Double y) - -
-           
InvientCharts.DecimalPoint(InvientCharts.Series series, - double x, - double y, - InvientChartsConfig.PointConfig config) - -
-           
InvientCharts.DecimalPoint(InvientCharts.Series series, - java.lang.Double x, - java.lang.Double y, - InvientChartsConfig.PointConfig config) - -
-           
InvientCharts.DecimalPoint(InvientCharts.Series series, - double y, - InvientChartsConfig.PointConfig config) - -
-           
InvientCharts.DecimalPoint(InvientCharts.Series series, - java.lang.String name, - double y) - -
-           
InvientCharts.DecimalPoint(InvientCharts.Series series, - java.lang.String name, - double y, - InvientChartsConfig.PointConfig config) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- booleanequals(java.lang.Object obj) - -
-           
- java.lang.DoublegetX() - -
-           
- java.lang.DoublegetY() - -
-           
- inthashCode() - -
-           
- java.lang.StringtoString() - -
-           
- - - - - - - -
Methods inherited from class com.invient.vaadin.charts.InvientCharts.Point
getConfig, getName, getSeries, setConfig, setName
- - - - - - - -
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientCharts.DecimalPoint

-
-public InvientCharts.DecimalPoint(InvientCharts.Series series)
-
-
-
Parameters:
series - the series to which this belongs to
-
-
- -

-InvientCharts.DecimalPoint

-
-public InvientCharts.DecimalPoint(InvientCharts.Series series,
-                                  double y)
-
-
-
Parameters:
series - the series to which this point belongs to
y - the y value of this point
-
-
- -

-InvientCharts.DecimalPoint

-
-public InvientCharts.DecimalPoint(InvientCharts.Series series,
-                                  java.lang.String name,
-                                  double y)
-
-
-
Parameters:
series - the series to which this belongs to
name - the name of this point
y - the y value of this point
-
-
- -

-InvientCharts.DecimalPoint

-
-public InvientCharts.DecimalPoint(InvientCharts.Series series,
-                                  java.lang.String name,
-                                  double y,
-                                  InvientChartsConfig.PointConfig config)
-
-
-
Parameters:
series - the series to which this belongs to
name - the name for this point
y - the y value of this point
config -
-
-
- -

-InvientCharts.DecimalPoint

-
-public InvientCharts.DecimalPoint(InvientCharts.Series series,
-                                  double y,
-                                  InvientChartsConfig.PointConfig config)
-
-
-
Parameters:
series - the series to which this belongs to
y - the y value of this point
config - the configuration for this point
-
-
- -

-InvientCharts.DecimalPoint

-
-public InvientCharts.DecimalPoint(InvientCharts.Series series,
-                                  double x,
-                                  double y)
-
-
-
Parameters:
series - the series to which this belongs to
x - the x value of this point
y - the y value of this point
-
-
- -

-InvientCharts.DecimalPoint

-
-public InvientCharts.DecimalPoint(InvientCharts.Series series,
-                                  java.lang.Double x,
-                                  java.lang.Double y)
-
-
-
Parameters:
series - the series to which this belongs to
x - the x value of this point
y - the y value of this point
-
-
- -

-InvientCharts.DecimalPoint

-
-public InvientCharts.DecimalPoint(InvientCharts.Series series,
-                                  double x,
-                                  double y,
-                                  InvientChartsConfig.PointConfig config)
-
-
-
Parameters:
series - the series to which this belongs to
x - the x value of this point
y - the y value of this point
config - the configuration of this point
-
-
- -

-InvientCharts.DecimalPoint

-
-public InvientCharts.DecimalPoint(InvientCharts.Series series,
-                                  java.lang.Double x,
-                                  java.lang.Double y,
-                                  InvientChartsConfig.PointConfig config)
-
-
-
Parameters:
series - the series to which this belongs to
x - the x value of this point
y - the y value of this point
config - the configuration of this point
-
- - - - - - - - -
-Method Detail
- -

-getX

-
-public java.lang.Double getX()
-
-
-
Specified by:
getX in class InvientCharts.Point
-
-
- -
Returns:
Returns X value of this point
-
-
-
- -

-getY

-
-public java.lang.Double getY()
-
-
-
Specified by:
getY in class InvientCharts.Point
-
-
- -
Returns:
Returns Y value of this point
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
-
Overrides:
toString in class InvientCharts.Point
-
-
-
-
-
-
- -

-hashCode

-
-public int hashCode()
-
-
-
Overrides:
hashCode in class java.lang.Object
-
-
-
-
-
-
- -

-equals

-
-public boolean equals(java.lang.Object obj)
-
-
-
Overrides:
equals in class java.lang.Object
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientCharts.MousePosition.html b/doc/com/invient/vaadin/charts/InvientCharts.MousePosition.html deleted file mode 100644 index c0051c3..0000000 --- a/doc/com/invient/vaadin/charts/InvientCharts.MousePosition.html +++ /dev/null @@ -1,326 +0,0 @@ - - - - - - -InvientCharts.MousePosition - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientCharts.MousePosition

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientCharts.MousePosition
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientCharts
-
-
-
-
public final class InvientCharts.MousePosition
extends java.lang.Object
implements java.io.Serializable
- - -

-This class contain mouse coordinates when a click event occurs on a - chart, a series or a point. - - The mouse coordinates are in pixels. -

- -

-

-
Author:
-
Invient
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
InvientCharts.MousePosition(int mouseX, - int mouseY) - -
-          Creates this object with given arguments.
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
- intgetMouseX() - -
-           
- intgetMouseY() - -
-           
- java.lang.StringtoString() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientCharts.MousePosition

-
-public InvientCharts.MousePosition(int mouseX,
-                                   int mouseY)
-
-
Creates this object with given arguments. -

-

-
Parameters:
mouseX - x position of mouse when a click event occurred, in pixel
mouseY - y position of mouse when a click event occurred, in pixel
-
- - - - - - - - -
-Method Detail
- -

-getMouseX

-
-public int getMouseX()
-
-
-
-
-
- -
Returns:
Returns x position of mouse when a click event occurred, in - pixel
-
-
-
- -

-getMouseY

-
-public int getMouseY()
-
-
-
-
-
- -
Returns:
Returns y position of mouse when a click event occurred, in - pixel
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
-
Overrides:
toString in class java.lang.Object
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientCharts.PieChartLegendItemClickEvent.html b/doc/com/invient/vaadin/charts/InvientCharts.PieChartLegendItemClickEvent.html deleted file mode 100644 index fe0cc37..0000000 --- a/doc/com/invient/vaadin/charts/InvientCharts.PieChartLegendItemClickEvent.html +++ /dev/null @@ -1,316 +0,0 @@ - - - - - - -InvientCharts.PieChartLegendItemClickEvent - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientCharts.PieChartLegendItemClickEvent

-
-java.lang.Object
-  extended by java.util.EventObject
-      extended by com.vaadin.ui.Component.Event
-          extended by com.invient.vaadin.charts.InvientCharts.PieChartLegendItemClickEvent
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientCharts
-
-
-
-
public class InvientCharts.PieChartLegendItemClickEvent
extends com.vaadin.ui.Component.Event
- - -

-PieChart legend item click event. This event is thrown, when the legend - item belonging to the pie point (slice) is clicked. -

- -

-

-
Author:
-
Invient
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
InvientCharts.PieChartLegendItemClickEvent(com.vaadin.ui.Component source, - InvientCharts chart, - InvientCharts.Point point) - -
-          New instance of the piechart legend item click event
-  - - - - - - - - - - - - - - - -
-Method Summary
- InvientChartsgetChart() - -
-           
- InvientCharts.PointgetPoint() - -
-           
- - - - - - - -
Methods inherited from class com.vaadin.ui.Component.Event
getComponent
- - - - - - - -
Methods inherited from class java.util.EventObject
getSource, toString
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientCharts.PieChartLegendItemClickEvent

-
-public InvientCharts.PieChartLegendItemClickEvent(com.vaadin.ui.Component source,
-                                                  InvientCharts chart,
-                                                  InvientCharts.Point point)
-
-
New instance of the piechart legend item click event -

-

-
Parameters:
source - the chart object itself
chart - the chart object itself
point - the pie point (slice) associated with the legend item
-
- - - - - - - - -
-Method Detail
- -

-getChart

-
-public InvientCharts getChart()
-
-
- -
Returns:
Returns the chart object associated with the point
-
-
-
- -

-getPoint

-
-public InvientCharts.Point getPoint()
-
-
- -
Returns:
Returns the pie point (slice) associated with the legend item
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientCharts.PieChartLegendItemClickListener.html b/doc/com/invient/vaadin/charts/InvientCharts.PieChartLegendItemClickListener.html deleted file mode 100644 index 3bfeca7..0000000 --- a/doc/com/invient/vaadin/charts/InvientCharts.PieChartLegendItemClickListener.html +++ /dev/null @@ -1,224 +0,0 @@ - - - - - - -InvientCharts.PieChartLegendItemClickListener - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Interface InvientCharts.PieChartLegendItemClickListener

-
-
All Superinterfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientCharts
-
-
-
-
public static interface InvientCharts.PieChartLegendItemClickListener
extends java.io.Serializable
- - -

-Interface for listening for a InvientCharts.PieChartLegendItemClickEvent - triggered by InvientCharts -

- -

-

-
Author:
-
Invient
-
-
- -

- - - - - - - - - - - - -
-Method Summary
- voidlegendItemClick(InvientCharts.PieChartLegendItemClickEvent legendItemClickEvent) - -
-           
-  -

- - - - - - - - -
-Method Detail
- -

-legendItemClick

-
-void legendItemClick(InvientCharts.PieChartLegendItemClickEvent legendItemClickEvent)
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientCharts.Point.html b/doc/com/invient/vaadin/charts/InvientCharts.Point.html deleted file mode 100644 index 3546fa8..0000000 --- a/doc/com/invient/vaadin/charts/InvientCharts.Point.html +++ /dev/null @@ -1,526 +0,0 @@ - - - - - - -InvientCharts.Point - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientCharts.Point

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientCharts.Point
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Direct Known Subclasses:
InvientCharts.DateTimePoint, InvientCharts.DecimalPoint
-
-
-
Enclosing class:
InvientCharts
-
-
-
-
public abstract static class InvientCharts.Point
extends java.lang.Object
implements java.io.Serializable
- - -

-This class represents a point of the chart's series. A series can have - one or more points. A point has (X, Y) coordinates. None of the - coordinates are mandatory. The name of a point can be displayed in a - tooltip. - - To represent no activity or missing points in the chart, create a point - with both X and Y as null or just Y as null. - - It is possible to specify custom configuration for each point. e.g. If a - highest point can be marked in a chart with a different color using this - configuration. - - A point cannot be created without a series. It must belong to a series. - However, the point must be added to a series by calling Series.addPoint() - or Series.setPoints() to permanently add point to the series. -

- -

-

-
Author:
-
Invient
-
See Also:
InvientCharts.DecimalPoint, -InvientCharts.DateTimePoint, -InvientChartsConfig.PointConfig, -Serialized Form
-
- -

- - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
InvientCharts.Point(InvientCharts.Series series) - -
-          Creates a point with given arguments.
InvientCharts.Point(InvientCharts.Series series, - InvientChartsConfig.PointConfig config) - -
-          Creates a point with given arguments.
InvientCharts.Point(InvientCharts.Series series, - java.lang.String name) - -
-          Creates a point with given arguments.
InvientCharts.Point(InvientCharts.Series series, - java.lang.String name, - InvientChartsConfig.PointConfig config) - -
-          Creates a point with given arguments.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- InvientChartsConfig.PointConfiggetConfig() - -
-           
- java.lang.StringgetName() - -
-           
- InvientCharts.SeriesgetSeries() - -
-           
-abstract  java.lang.ObjectgetX() - -
-           
-abstract  java.lang.ObjectgetY() - -
-           
- voidsetConfig(InvientChartsConfig.PointConfig config) - -
-          Sets InvientChartsConfig.PointConfig for this point
- voidsetName(java.lang.String name) - -
-          Sets name of this point
- java.lang.StringtoString() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientCharts.Point

-
-public InvientCharts.Point(InvientCharts.Series series)
-
-
Creates a point with given arguments. -

-

-
Parameters:
series - The series to which the point must be associated. -
Throws: -
java.lang.IllegalArgumentException - If the argument series is null
-
-
- -

-InvientCharts.Point

-
-public InvientCharts.Point(InvientCharts.Series series,
-                           InvientChartsConfig.PointConfig config)
-
-
Creates a point with given arguments. -

-

-
Parameters:
series - The series to which the point must be associated.
config - The configuration for this point, if any -
Throws: -
java.lang.IllegalArgumentException - If the argument series is null
-
-
- -

-InvientCharts.Point

-
-public InvientCharts.Point(InvientCharts.Series series,
-                           java.lang.String name)
-
-
Creates a point with given arguments. -

-

-
Parameters:
series - The series to which the point must be associated.
name - name of this point -
Throws: -
java.lang.IllegalArgumentException - If the argument series is null
-
-
- -

-InvientCharts.Point

-
-public InvientCharts.Point(InvientCharts.Series series,
-                           java.lang.String name,
-                           InvientChartsConfig.PointConfig config)
-
-
Creates a point with given arguments. -

-

-
Parameters:
series - The series to which the point must be associated.
name - name of this point
config - The configuration for this point, if any -
Throws: -
java.lang.IllegalArgumentException - If the argument series is null
-
- - - - - - - - -
-Method Detail
- -

-getName

-
-public java.lang.String getName()
-
-
-
-
-
- -
Returns:
Returns name of this point
-
-
-
- -

-setName

-
-public void setName(java.lang.String name)
-
-
Sets name of this point -

-

-
-
-
-
Parameters:
name - name of this point
-
-
-
- -

-getSeries

-
-public InvientCharts.Series getSeries()
-
-
-
-
-
- -
Returns:
Returns InvientCharts.Series associated with this point
-
-
-
- -

-getConfig

-
-public InvientChartsConfig.PointConfig getConfig()
-
-
-
-
-
- -
Returns:
Returns InvientChartsConfig.PointConfig for this point
-
-
-
- -

-setConfig

-
-public void setConfig(InvientChartsConfig.PointConfig config)
-
-
Sets InvientChartsConfig.PointConfig for this point -

-

-
-
-
-
Parameters:
config - configuration of this point
See Also:
InvientChartsConfig.PointConfig
-
-
-
- -

-getX

-
-public abstract java.lang.Object getX()
-
-
-
-
-
- -
Returns:
Returns X value of this point
-
-
-
- -

-getY

-
-public abstract java.lang.Object getY()
-
-
-
-
-
- -
Returns:
Returns Y value of this point
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
-
Overrides:
toString in class java.lang.Object
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientCharts.PointClickEvent.html b/doc/com/invient/vaadin/charts/InvientCharts.PointClickEvent.html deleted file mode 100644 index faba924..0000000 --- a/doc/com/invient/vaadin/charts/InvientCharts.PointClickEvent.html +++ /dev/null @@ -1,363 +0,0 @@ - - - - - - -InvientCharts.PointClickEvent - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientCharts.PointClickEvent

-
-java.lang.Object
-  extended by java.util.EventObject
-      extended by com.vaadin.ui.Component.Event
-          extended by com.invient.vaadin.charts.InvientCharts.PointClickEvent
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientCharts
-
-
-
-
public class InvientCharts.PointClickEvent
extends com.vaadin.ui.Component.Event
- - -

-Click event. This event is thrown, when any point of this chart is - clicked and the point marker is enabled. The point marker is enabled by - default. -

- -

-

-
Author:
-
Invient
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
InvientCharts.PointClickEvent(com.vaadin.ui.Component source, - InvientCharts chart, - java.lang.String category, - InvientCharts.Point point, - InvientCharts.MousePosition mousePosition) - -
-          New instance of the point click event.
-  - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.StringgetCategory() - -
-           
- InvientChartsgetChart() - -
-           
- InvientCharts.MousePositiongetMousePosition() - -
-           
- InvientCharts.PointgetPoint() - -
-           
- - - - - - - -
Methods inherited from class com.vaadin.ui.Component.Event
getComponent
- - - - - - - -
Methods inherited from class java.util.EventObject
getSource, toString
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientCharts.PointClickEvent

-
-public InvientCharts.PointClickEvent(com.vaadin.ui.Component source,
-                                     InvientCharts chart,
-                                     java.lang.String category,
-                                     InvientCharts.Point point,
-                                     InvientCharts.MousePosition mousePosition)
-
-
New instance of the point click event. -

-

-
Parameters:
source - the chart object itself
chart - the chart object itself
category - a category to which point is associated in case of - categorized axis,
point - the point on which the click event occurred
mousePosition - the position of a mouse when the click event occurred
-
- - - - - - - - -
-Method Detail
- -

-getCategory

-
-public java.lang.String getCategory()
-
-
- -
Returns:
Returns a category to which point is associated in case of - categorized axis only.
-
-
-
- -

-getChart

-
-public InvientCharts getChart()
-
-
- -
Returns:
Returns the chart object associated with the point
-
-
-
- -

-getPoint

-
-public InvientCharts.Point getPoint()
-
-
- -
Returns:
Returns the point on which the click event occurred
-
-
-
- -

-getMousePosition

-
-public InvientCharts.MousePosition getMousePosition()
-
-
- -
Returns:
Returns the position of a mouse when the click event occurred
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientCharts.PointClickListener.html b/doc/com/invient/vaadin/charts/InvientCharts.PointClickListener.html deleted file mode 100644 index 1387dda..0000000 --- a/doc/com/invient/vaadin/charts/InvientCharts.PointClickListener.html +++ /dev/null @@ -1,224 +0,0 @@ - - - - - - -InvientCharts.PointClickListener - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Interface InvientCharts.PointClickListener

-
-
All Superinterfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientCharts
-
-
-
-
public static interface InvientCharts.PointClickListener
extends java.io.Serializable
- - -

-Interface for listening for a InvientCharts.PointClickEvent triggered by - InvientCharts -

- -

-

-
Author:
-
Invient
-
-
- -

- - - - - - - - - - - - -
-Method Summary
- voidpointClick(InvientCharts.PointClickEvent pointClickEvent) - -
-           
-  -

- - - - - - - - -
-Method Detail
- -

-pointClick

-
-void pointClick(InvientCharts.PointClickEvent pointClickEvent)
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientCharts.PointRemoveEvent.html b/doc/com/invient/vaadin/charts/InvientCharts.PointRemoveEvent.html deleted file mode 100644 index 9b49c0b..0000000 --- a/doc/com/invient/vaadin/charts/InvientCharts.PointRemoveEvent.html +++ /dev/null @@ -1,342 +0,0 @@ - - - - - - -InvientCharts.PointRemoveEvent - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientCharts.PointRemoveEvent

-
-java.lang.Object
-  extended by java.util.EventObject
-      extended by com.vaadin.ui.Component.Event
-          extended by com.invient.vaadin.charts.InvientCharts.PointRemoveEvent
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientCharts
-
-
-
-
public class InvientCharts.PointRemoveEvent
extends com.vaadin.ui.Component.Event
- - -

-Point remove event. This event is thrown, when any point of this chart is - removed from its series. - - This event is EXPERIMENTAL ONLY. -

- -

-

-
Author:
-
Invient
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
InvientCharts.PointRemoveEvent(com.vaadin.ui.Component source, - InvientCharts chart, - java.lang.String category, - InvientCharts.Point point) - -
-          New instance of the point remove event.
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.StringgetCategory() - -
-           
- InvientChartsgetChart() - -
-           
- InvientCharts.PointgetPoint() - -
-           
- - - - - - - -
Methods inherited from class com.vaadin.ui.Component.Event
getComponent
- - - - - - - -
Methods inherited from class java.util.EventObject
getSource, toString
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientCharts.PointRemoveEvent

-
-public InvientCharts.PointRemoveEvent(com.vaadin.ui.Component source,
-                                      InvientCharts chart,
-                                      java.lang.String category,
-                                      InvientCharts.Point point)
-
-
New instance of the point remove event. -

-

-
Parameters:
source - the chart object itself
chart - the chart object itself
category - a category to which point is associated in case of - categorized axis,
point - the point removed
-
- - - - - - - - -
-Method Detail
- -

-getCategory

-
-public java.lang.String getCategory()
-
-
- -
Returns:
Returns a category to which point is associated in case of - categorized axis only.
-
-
-
- -

-getChart

-
-public InvientCharts getChart()
-
-
- -
Returns:
Returns the chart object associated with the point
-
-
-
- -

-getPoint

-
-public InvientCharts.Point getPoint()
-
-
- -
Returns:
Returns the point which has been removed
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientCharts.PointRemoveListener.html b/doc/com/invient/vaadin/charts/InvientCharts.PointRemoveListener.html deleted file mode 100644 index 0a5b0b1..0000000 --- a/doc/com/invient/vaadin/charts/InvientCharts.PointRemoveListener.html +++ /dev/null @@ -1,224 +0,0 @@ - - - - - - -InvientCharts.PointRemoveListener - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Interface InvientCharts.PointRemoveListener

-
-
All Superinterfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientCharts
-
-
-
-
public static interface InvientCharts.PointRemoveListener
extends java.io.Serializable
- - -

-Interface for listening for a InvientCharts.PointRemoveEvent triggered by - InvientCharts -

- -

-

-
Author:
-
Invient
-
-
- -

- - - - - - - - - - - - -
-Method Summary
- voidpointRemove(InvientCharts.PointRemoveEvent pointRemoveEvent) - -
-           
-  -

- - - - - - - - -
-Method Detail
- -

-pointRemove

-
-void pointRemove(InvientCharts.PointRemoveEvent pointRemoveEvent)
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientCharts.PointSelectEvent.html b/doc/com/invient/vaadin/charts/InvientCharts.PointSelectEvent.html deleted file mode 100644 index e5030fa..0000000 --- a/doc/com/invient/vaadin/charts/InvientCharts.PointSelectEvent.html +++ /dev/null @@ -1,341 +0,0 @@ - - - - - - -InvientCharts.PointSelectEvent - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientCharts.PointSelectEvent

-
-java.lang.Object
-  extended by java.util.EventObject
-      extended by com.vaadin.ui.Component.Event
-          extended by com.invient.vaadin.charts.InvientCharts.PointSelectEvent
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientCharts
-
-
-
-
public class InvientCharts.PointSelectEvent
extends com.vaadin.ui.Component.Event
- - -

-Point select event. This event is thrown, when any point of this chart is - selected and the point marker is enabled. The point marker is enabled by - default. -

- -

-

-
Author:
-
Invient
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
InvientCharts.PointSelectEvent(com.vaadin.ui.Component source, - InvientCharts chart, - java.lang.String category, - InvientCharts.Point point) - -
-          New instance of the point select event.
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.StringgetCategory() - -
-           
- InvientChartsgetChart() - -
-           
- InvientCharts.PointgetPoint() - -
-           
- - - - - - - -
Methods inherited from class com.vaadin.ui.Component.Event
getComponent
- - - - - - - -
Methods inherited from class java.util.EventObject
getSource, toString
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientCharts.PointSelectEvent

-
-public InvientCharts.PointSelectEvent(com.vaadin.ui.Component source,
-                                      InvientCharts chart,
-                                      java.lang.String category,
-                                      InvientCharts.Point point)
-
-
New instance of the point select event. -

-

-
Parameters:
source - the chart object itself
chart - the chart object itself
category - a category to which point is associated in case of - categorized axis,
point - the point selected as a result of this event
-
- - - - - - - - -
-Method Detail
- -

-getCategory

-
-public java.lang.String getCategory()
-
-
- -
Returns:
Returns a category to which point is associated in case of - categorized axis only.
-
-
-
- -

-getChart

-
-public InvientCharts getChart()
-
-
- -
Returns:
Returns the chart object associated with the point
-
-
-
- -

-getPoint

-
-public InvientCharts.Point getPoint()
-
-
- -
Returns:
Returns the selected point
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientCharts.PointSelectListener.html b/doc/com/invient/vaadin/charts/InvientCharts.PointSelectListener.html deleted file mode 100644 index 2136caf..0000000 --- a/doc/com/invient/vaadin/charts/InvientCharts.PointSelectListener.html +++ /dev/null @@ -1,224 +0,0 @@ - - - - - - -InvientCharts.PointSelectListener - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Interface InvientCharts.PointSelectListener

-
-
All Superinterfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientCharts
-
-
-
-
public static interface InvientCharts.PointSelectListener
extends java.io.Serializable
- - -

-Interface for listening for a InvientCharts.PointSelectListener triggered by - InvientCharts -

- -

-

-
Author:
-
Invient
-
-
- -

- - - - - - - - - - - - -
-Method Summary
- voidpointSelected(InvientCharts.PointSelectEvent pointSelectEvent) - -
-           
-  -

- - - - - - - - -
-Method Detail
- -

-pointSelected

-
-void pointSelected(InvientCharts.PointSelectEvent pointSelectEvent)
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientCharts.PointUnselectEvent.html b/doc/com/invient/vaadin/charts/InvientCharts.PointUnselectEvent.html deleted file mode 100644 index 854661e..0000000 --- a/doc/com/invient/vaadin/charts/InvientCharts.PointUnselectEvent.html +++ /dev/null @@ -1,341 +0,0 @@ - - - - - - -InvientCharts.PointUnselectEvent - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientCharts.PointUnselectEvent

-
-java.lang.Object
-  extended by java.util.EventObject
-      extended by com.vaadin.ui.Component.Event
-          extended by com.invient.vaadin.charts.InvientCharts.PointUnselectEvent
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientCharts
-
-
-
-
public class InvientCharts.PointUnselectEvent
extends com.vaadin.ui.Component.Event
- - -

-Poin unselect event. This event is thrown, when any point of this chart - is unselected and the point marker is enabled. The point marker is - enabled by default. -

- -

-

-
Author:
-
Invient
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
InvientCharts.PointUnselectEvent(com.vaadin.ui.Component source, - InvientCharts chart, - java.lang.String category, - InvientCharts.Point point) - -
-          New instance of the point unselect event.
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.StringgetCategory() - -
-           
- InvientChartsgetChart() - -
-           
- InvientCharts.PointgetPoint() - -
-           
- - - - - - - -
Methods inherited from class com.vaadin.ui.Component.Event
getComponent
- - - - - - - -
Methods inherited from class java.util.EventObject
getSource, toString
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientCharts.PointUnselectEvent

-
-public InvientCharts.PointUnselectEvent(com.vaadin.ui.Component source,
-                                        InvientCharts chart,
-                                        java.lang.String category,
-                                        InvientCharts.Point point)
-
-
New instance of the point unselect event. -

-

-
Parameters:
source - the chart object itself
chart - the chart object itself
category - a category to which point is associated in case of - categorized axis,
point - the point unselected as a result of this event
-
- - - - - - - - -
-Method Detail
- -

-getCategory

-
-public java.lang.String getCategory()
-
-
- -
Returns:
Returns a category to which point is associated in case of - categorized axis only.
-
-
-
- -

-getChart

-
-public InvientCharts getChart()
-
-
- -
Returns:
Returns the chart object associated with the point
-
-
-
- -

-getPoint

-
-public InvientCharts.Point getPoint()
-
-
- -
Returns:
Returns the unselected point
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientCharts.PointUnselectListener.html b/doc/com/invient/vaadin/charts/InvientCharts.PointUnselectListener.html deleted file mode 100644 index d43f03d..0000000 --- a/doc/com/invient/vaadin/charts/InvientCharts.PointUnselectListener.html +++ /dev/null @@ -1,224 +0,0 @@ - - - - - - -InvientCharts.PointUnselectListener - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Interface InvientCharts.PointUnselectListener

-
-
All Superinterfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientCharts
-
-
-
-
public static interface InvientCharts.PointUnselectListener
extends java.io.Serializable
- - -

-Interface for listening for a InvientCharts.PointUnselectEvent triggered by - InvientCharts -

- -

-

-
Author:
-
Invient
-
-
- -

- - - - - - - - - - - - -
-Method Summary
- voidpointUnSelect(InvientCharts.PointUnselectEvent pointUnSelectEvent) - -
-           
-  -

- - - - - - - - -
-Method Detail
- -

-pointUnSelect

-
-void pointUnSelect(InvientCharts.PointUnselectEvent pointUnSelectEvent)
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientCharts.Series.html b/doc/com/invient/vaadin/charts/InvientCharts.Series.html deleted file mode 100644 index 3410bb4..0000000 --- a/doc/com/invient/vaadin/charts/InvientCharts.Series.html +++ /dev/null @@ -1,706 +0,0 @@ - - - - - - -InvientCharts.Series - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientCharts.Series

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientCharts.Series
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Direct Known Subclasses:
InvientCharts.DateTimeSeries, InvientCharts.XYSeries
-
-
-
Enclosing class:
InvientCharts
-
-
-
-
public abstract static class InvientCharts.Series
extends java.lang.Object
implements java.io.Serializable
- - -

-This class defines a series of the chart. A series contains a collection - of points. Series can be one of types defined by InvientCharts.SeriesType. - - Each series must have unique name. If an attempt is made to add two - series with same then only the first added series will be in effect. - - If the series type is not specified, it defaults to chart type and the - default chart type is SeriesType.LINE. A series has unique xAxis and - yAxis object associated with it. There is no need to set xAxis and yAxis - unless the chart has more than one one axis of any type and the series - must belong to any of the secondary axis. - - It is also possible to specify configuration for individual series and - not just series type. -

- -

-

-
Author:
-
Invient
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
InvientCharts.Series(java.lang.String name) - -
-          Creates a series with given name
InvientCharts.Series(java.lang.String name, - InvientCharts.SeriesType seriesType) - -
-          Creates a series with given name and type
InvientCharts.Series(java.lang.String name, - InvientCharts.SeriesType seriesType, - InvientChartsConfig.SeriesConfig config) - -
-          Creates a series with given name, type and configuration
InvientCharts.Series(java.lang.String name, - InvientChartsConfig.SeriesConfig config) - -
-          Creates a series with given name and configuration
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- booleanequals(java.lang.Object obj) - -
-           
- InvientChartsConfig.SeriesConfiggetConfig() - -
-           
- java.lang.StringgetName() - -
-           
- java.lang.StringgetStack() - -
-           
- InvientCharts.SeriesTypegetType() - -
-           
- InvientChartsConfig.XAxisgetXAxis() - -
-           
- InvientChartsConfig.YAxisgetYAxis() - -
-           
- inthashCode() - -
-           
- voidhide() - -
-          Hide this series
- voidsetName(java.lang.String name) - -
-          Sets name of this series
- voidsetStack(java.lang.String stack) - -
-          By using this stack property, it is possible to group series in a - stacked chart.
- voidsetType(InvientCharts.SeriesType type) - -
-          Sets type of this series
- voidsetXAxis(InvientChartsConfig.XAxis xAxis) - -
-          Sets x-axis of this series.
- voidsetYAxis(InvientChartsConfig.YAxis yAxis) - -
-          Sets y-axis of this series.
- voidshow() - -
-          Show this series
- java.lang.StringtoString() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientCharts.Series

-
-public InvientCharts.Series(java.lang.String name)
-
-
Creates a series with given name -

-

-
Parameters:
name - the name of this series
-
-
- -

-InvientCharts.Series

-
-public InvientCharts.Series(java.lang.String name,
-                            InvientCharts.SeriesType seriesType)
-
-
Creates a series with given name and type -

-

-
Parameters:
name - the name of this series
seriesType - the type of this series
-
-
- -

-InvientCharts.Series

-
-public InvientCharts.Series(java.lang.String name,
-                            InvientChartsConfig.SeriesConfig config)
-
-
Creates a series with given name and configuration -

-

-
Parameters:
name - the name of this series
config - the configuration for this series
-
-
- -

-InvientCharts.Series

-
-public InvientCharts.Series(java.lang.String name,
-                            InvientCharts.SeriesType seriesType,
-                            InvientChartsConfig.SeriesConfig config)
-
-
Creates a series with given name, type and configuration -

-

-
Parameters:
name - the name of this series
seriesType - the type of this series
config - the configuration for this series
-
- - - - - - - - -
-Method Detail
- -

-getConfig

-
-public InvientChartsConfig.SeriesConfig getConfig()
-
-
-
-
-
- -
Returns:
Returns the configuration object associated with this series
-
-
-
- -

-getName

-
-public java.lang.String getName()
-
-
-
-
-
- -
Returns:
Returns name of this series
-
-
-
- -

-setName

-
-public void setName(java.lang.String name)
-
-
Sets name of this series -

-

-
-
-
-
Parameters:
name -
-
-
-
- -

-getType

-
-public InvientCharts.SeriesType getType()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setType

-
-public void setType(InvientCharts.SeriesType type)
-
-
Sets type of this series -

-

-
-
-
-
Parameters:
type -
-
-
-
- -

-getStack

-
-public java.lang.String getStack()
-
-
-
-
-
- -
Returns:
Returns stack of this series
-
-
-
- -

-setStack

-
-public void setStack(java.lang.String stack)
-
-
By using this stack property, it is possible to group series in a - stacked chart. Sets stack for this series. If two series belongs to - the same stack then the resultant chart will be stacked chart -

-

-
-
-
-
Parameters:
stack -
-
-
-
- -

-getXAxis

-
-public InvientChartsConfig.XAxis getXAxis()
-
-
-
-
-
- -
Returns:
Returns x-axis associated with this series.
See Also:
InvientChartsConfig.Axis
-
-
-
- -

-setXAxis

-
-public void setXAxis(InvientChartsConfig.XAxis xAxis)
-
-
Sets x-axis of this series. A series can be associated with at most - one x-axis. -

-

-
-
-
-
Parameters:
xAxis -
-
-
-
- -

-getYAxis

-
-public InvientChartsConfig.YAxis getYAxis()
-
-
-
-
-
- -
Returns:
Returns y-axis of this series.
-
-
-
- -

-setYAxis

-
-public void setYAxis(InvientChartsConfig.YAxis yAxis)
-
-
Sets y-axis of this series. A series can be associated with at most - one y-axis. -

-

-
-
-
-
Parameters:
yAxis -
-
-
-
- -

-show

-
-public void show()
-
-
Show this series -

-

-
-
-
-
-
-
-
- -

-hide

-
-public void hide()
-
-
Hide this series -

-

-
-
-
-
-
-
-
- -

-hashCode

-
-public int hashCode()
-
-
-
Overrides:
hashCode in class java.lang.Object
-
-
-
-
-
-
- -

-equals

-
-public boolean equals(java.lang.Object obj)
-
-
-
Overrides:
equals in class java.lang.Object
-
-
-
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
-
Overrides:
toString in class java.lang.Object
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientCharts.SeriesClickEvent.html b/doc/com/invient/vaadin/charts/InvientCharts.SeriesClickEvent.html deleted file mode 100644 index 1f81dcd..0000000 --- a/doc/com/invient/vaadin/charts/InvientCharts.SeriesClickEvent.html +++ /dev/null @@ -1,361 +0,0 @@ - - - - - - -InvientCharts.SeriesClickEvent - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientCharts.SeriesClickEvent

-
-java.lang.Object
-  extended by java.util.EventObject
-      extended by com.vaadin.ui.Component.Event
-          extended by com.invient.vaadin.charts.InvientCharts.SeriesClickEvent
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientCharts
-
-
-
-
public class InvientCharts.SeriesClickEvent
extends com.vaadin.ui.Component.Event
- - -

-Series click event. This event is thrown, when any series of this chart - is clicked. -

- -

-

-
Author:
-
Invient
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
InvientCharts.SeriesClickEvent(com.vaadin.ui.Component source, - InvientCharts chart, - InvientCharts.Series series, - InvientCharts.Point point, - InvientCharts.MousePosition mousePosition) - -
-          New instance of the series click event.
-  - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- InvientChartsgetChart() - -
-           
- InvientCharts.MousePositiongetMousePosition() - -
-           
- InvientCharts.PointgetNearestPoint() - -
-           
- InvientCharts.SeriesgetSeries() - -
-           
- - - - - - - -
Methods inherited from class com.vaadin.ui.Component.Event
getComponent
- - - - - - - -
Methods inherited from class java.util.EventObject
getSource, toString
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientCharts.SeriesClickEvent

-
-public InvientCharts.SeriesClickEvent(com.vaadin.ui.Component source,
-                                      InvientCharts chart,
-                                      InvientCharts.Series series,
-                                      InvientCharts.Point point,
-                                      InvientCharts.MousePosition mousePosition)
-
-
New instance of the series click event. -

-

-
Parameters:
source - the chart object itself
chart - the chart object itself
series - the series on which click event occurred
point - the closest point of a series
mousePosition - the position of a mouse when the click event occurred
-
- - - - - - - - -
-Method Detail
- -

-getChart

-
-public InvientCharts getChart()
-
-
- -
Returns:
Returns the chart object associated with the point
-
-
-
- -

-getSeries

-
-public InvientCharts.Series getSeries()
-
-
- -
Returns:
Returns the series object on which the click event occurred
-
-
-
- -

-getNearestPoint

-
-public InvientCharts.Point getNearestPoint()
-
-
- -
Returns:
Returns the point of a series closest to the position where - mouse click event occurred.
-
-
-
- -

-getMousePosition

-
-public InvientCharts.MousePosition getMousePosition()
-
-
- -
Returns:
Returns the position of a mouse when the click event occurred
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientCharts.SeriesClickListerner.html b/doc/com/invient/vaadin/charts/InvientCharts.SeriesClickListerner.html deleted file mode 100644 index ae1e0ac..0000000 --- a/doc/com/invient/vaadin/charts/InvientCharts.SeriesClickListerner.html +++ /dev/null @@ -1,224 +0,0 @@ - - - - - - -InvientCharts.SeriesClickListerner - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Interface InvientCharts.SeriesClickListerner

-
-
All Superinterfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientCharts
-
-
-
-
public static interface InvientCharts.SeriesClickListerner
extends java.io.Serializable
- - -

-Interface for listening for a InvientCharts.SeriesClickListerner triggered by - InvientCharts -

- -

-

-
Author:
-
Invient
-
-
- -

- - - - - - - - - - - - -
-Method Summary
- voidseriesClick(InvientCharts.SeriesClickEvent seriesClickEvent) - -
-           
-  -

- - - - - - - - -
-Method Detail
- -

-seriesClick

-
-void seriesClick(InvientCharts.SeriesClickEvent seriesClickEvent)
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientCharts.SeriesHideEvent.html b/doc/com/invient/vaadin/charts/InvientCharts.SeriesHideEvent.html deleted file mode 100644 index c9bede6..0000000 --- a/doc/com/invient/vaadin/charts/InvientCharts.SeriesHideEvent.html +++ /dev/null @@ -1,314 +0,0 @@ - - - - - - -InvientCharts.SeriesHideEvent - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientCharts.SeriesHideEvent

-
-java.lang.Object
-  extended by java.util.EventObject
-      extended by com.vaadin.ui.Component.Event
-          extended by com.invient.vaadin.charts.InvientCharts.SeriesHideEvent
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientCharts
-
-
-
-
public class InvientCharts.SeriesHideEvent
extends com.vaadin.ui.Component.Event
- - -

-Series Hide event. This event is thrown, when any series of this chart is - hidden. -

- -

-

-
Author:
-
Invient
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
InvientCharts.SeriesHideEvent(com.vaadin.ui.Component source, - InvientCharts chart, - InvientCharts.Series series) - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- InvientChartsgetChart() - -
-           
- InvientCharts.SeriesgetSeries() - -
-           
- - - - - - - -
Methods inherited from class com.vaadin.ui.Component.Event
getComponent
- - - - - - - -
Methods inherited from class java.util.EventObject
getSource, toString
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientCharts.SeriesHideEvent

-
-public InvientCharts.SeriesHideEvent(com.vaadin.ui.Component source,
-                                     InvientCharts chart,
-                                     InvientCharts.Series series)
-
-
-
Parameters:
source - the chart object itself
chart - the chart object itself
series - the series which got hidden
-
- - - - - - - - -
-Method Detail
- -

-getChart

-
-public InvientCharts getChart()
-
-
- -
Returns:
Returns the chart object associated with the point
-
-
-
- -

-getSeries

-
-public InvientCharts.Series getSeries()
-
-
- -
Returns:
Returns the series which got hidden
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientCharts.SeriesHideListerner.html b/doc/com/invient/vaadin/charts/InvientCharts.SeriesHideListerner.html deleted file mode 100644 index 1f329db..0000000 --- a/doc/com/invient/vaadin/charts/InvientCharts.SeriesHideListerner.html +++ /dev/null @@ -1,224 +0,0 @@ - - - - - - -InvientCharts.SeriesHideListerner - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Interface InvientCharts.SeriesHideListerner

-
-
All Superinterfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientCharts
-
-
-
-
public static interface InvientCharts.SeriesHideListerner
extends java.io.Serializable
- - -

-Interface for listening for a InvientCharts.SeriesHideEvent triggered by - InvientCharts -

- -

-

-
Author:
-
Invient
-
-
- -

- - - - - - - - - - - - -
-Method Summary
- voidseriesHide(InvientCharts.SeriesHideEvent seriesHideEvent) - -
-           
-  -

- - - - - - - - -
-Method Detail
- -

-seriesHide

-
-void seriesHide(InvientCharts.SeriesHideEvent seriesHideEvent)
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientCharts.SeriesLegendItemClickEvent.html b/doc/com/invient/vaadin/charts/InvientCharts.SeriesLegendItemClickEvent.html deleted file mode 100644 index c6857e6..0000000 --- a/doc/com/invient/vaadin/charts/InvientCharts.SeriesLegendItemClickEvent.html +++ /dev/null @@ -1,317 +0,0 @@ - - - - - - -InvientCharts.SeriesLegendItemClickEvent - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientCharts.SeriesLegendItemClickEvent

-
-java.lang.Object
-  extended by java.util.EventObject
-      extended by com.vaadin.ui.Component.Event
-          extended by com.invient.vaadin.charts.InvientCharts.SeriesLegendItemClickEvent
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientCharts
-
-
-
-
public class InvientCharts.SeriesLegendItemClickEvent
extends com.vaadin.ui.Component.Event
- - -

-Series legend item click event. This event is thrown, when legend item is - clicked. This event is not applicable for PieChart instead use - InvientCharts.SeriesLegendItemClickEvent -

- -

-

-
Author:
-
Invient
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
InvientCharts.SeriesLegendItemClickEvent(com.vaadin.ui.Component source, - InvientCharts chart, - InvientCharts.Series series) - -
-          New instance of the point click event.
-  - - - - - - - - - - - - - - - -
-Method Summary
- InvientChartsgetChart() - -
-           
- InvientCharts.SeriesgetSeries() - -
-           
- - - - - - - -
Methods inherited from class com.vaadin.ui.Component.Event
getComponent
- - - - - - - -
Methods inherited from class java.util.EventObject
getSource, toString
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientCharts.SeriesLegendItemClickEvent

-
-public InvientCharts.SeriesLegendItemClickEvent(com.vaadin.ui.Component source,
-                                                InvientCharts chart,
-                                                InvientCharts.Series series)
-
-
New instance of the point click event. -

-

-
Parameters:
source - the chart object itself
chart - the chart object itself
series - the series associated with the legend item
-
- - - - - - - - -
-Method Detail
- -

-getChart

-
-public InvientCharts getChart()
-
-
- -
Returns:
Returns the chart object associated with the series
-
-
-
- -

-getSeries

-
-public InvientCharts.Series getSeries()
-
-
- -
Returns:
Returns the series associated with the legend item
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientCharts.SeriesLegendItemClickListerner.html b/doc/com/invient/vaadin/charts/InvientCharts.SeriesLegendItemClickListerner.html deleted file mode 100644 index 19f72d8..0000000 --- a/doc/com/invient/vaadin/charts/InvientCharts.SeriesLegendItemClickListerner.html +++ /dev/null @@ -1,224 +0,0 @@ - - - - - - -InvientCharts.SeriesLegendItemClickListerner - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Interface InvientCharts.SeriesLegendItemClickListerner

-
-
All Superinterfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientCharts
-
-
-
-
public static interface InvientCharts.SeriesLegendItemClickListerner
extends java.io.Serializable
- - -

-Interface for listening for a InvientCharts.SeriesLegendItemClickEvent - triggered by InvientCharts -

- -

-

-
Author:
-
Invient
-
-
- -

- - - - - - - - - - - - -
-Method Summary
- voidseriesLegendItemClick(InvientCharts.SeriesLegendItemClickEvent seriesLegendItemClickEvent) - -
-           
-  -

- - - - - - - - -
-Method Detail
- -

-seriesLegendItemClick

-
-void seriesLegendItemClick(InvientCharts.SeriesLegendItemClickEvent seriesLegendItemClickEvent)
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientCharts.SeriesShowEvent.html b/doc/com/invient/vaadin/charts/InvientCharts.SeriesShowEvent.html deleted file mode 100644 index 07dac72..0000000 --- a/doc/com/invient/vaadin/charts/InvientCharts.SeriesShowEvent.html +++ /dev/null @@ -1,316 +0,0 @@ - - - - - - -InvientCharts.SeriesShowEvent - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientCharts.SeriesShowEvent

-
-java.lang.Object
-  extended by java.util.EventObject
-      extended by com.vaadin.ui.Component.Event
-          extended by com.invient.vaadin.charts.InvientCharts.SeriesShowEvent
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientCharts
-
-
-
-
public class InvientCharts.SeriesShowEvent
extends com.vaadin.ui.Component.Event
- - -

-Series show event. This event is thrown, when any series of this chart is - displayed after a chart is created. -

- -

-

-
Author:
-
Invient
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
InvientCharts.SeriesShowEvent(com.vaadin.ui.Component source, - InvientCharts chart, - InvientCharts.Series series) - -
-          New instance of the series show event.
-  - - - - - - - - - - - - - - - -
-Method Summary
- InvientChartsgetChart() - -
-           
- InvientCharts.SeriesgetSeries() - -
-           
- - - - - - - -
Methods inherited from class com.vaadin.ui.Component.Event
getComponent
- - - - - - - -
Methods inherited from class java.util.EventObject
getSource, toString
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientCharts.SeriesShowEvent

-
-public InvientCharts.SeriesShowEvent(com.vaadin.ui.Component source,
-                                     InvientCharts chart,
-                                     InvientCharts.Series series)
-
-
New instance of the series show event. -

-

-
Parameters:
source - the chart object itself
chart - the chart object itself
series - the series which got displayed
-
- - - - - - - - -
-Method Detail
- -

-getChart

-
-public InvientCharts getChart()
-
-
- -
Returns:
Returns the chart object associated with the series
-
-
-
- -

-getSeries

-
-public InvientCharts.Series getSeries()
-
-
- -
Returns:
Returns the series which got displayed
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientCharts.SeriesShowListerner.html b/doc/com/invient/vaadin/charts/InvientCharts.SeriesShowListerner.html deleted file mode 100644 index 5e89e54..0000000 --- a/doc/com/invient/vaadin/charts/InvientCharts.SeriesShowListerner.html +++ /dev/null @@ -1,224 +0,0 @@ - - - - - - -InvientCharts.SeriesShowListerner - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Interface InvientCharts.SeriesShowListerner

-
-
All Superinterfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientCharts
-
-
-
-
public static interface InvientCharts.SeriesShowListerner
extends java.io.Serializable
- - -

-Interface for listening for a InvientCharts.SeriesShowEvent triggered by - InvientCharts -

- -

-

-
Author:
-
Invient
-
-
- -

- - - - - - - - - - - - -
-Method Summary
- voidseriesShow(InvientCharts.SeriesShowEvent seriesShowEvent) - -
-           
-  -

- - - - - - - - -
-Method Detail
- -

-seriesShow

-
-void seriesShow(InvientCharts.SeriesShowEvent seriesShowEvent)
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientCharts.SeriesType.html b/doc/com/invient/vaadin/charts/InvientCharts.SeriesType.html deleted file mode 100644 index 52103b4..0000000 --- a/doc/com/invient/vaadin/charts/InvientCharts.SeriesType.html +++ /dev/null @@ -1,456 +0,0 @@ - - - - - - -InvientCharts.SeriesType - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Enum InvientCharts.SeriesType

-
-java.lang.Object
-  extended by java.lang.Enum<InvientCharts.SeriesType>
-      extended by com.invient.vaadin.charts.InvientCharts.SeriesType
-
-
-
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<InvientCharts.SeriesType>
-
-
-
Enclosing class:
InvientCharts
-
-
-
-
public static enum InvientCharts.SeriesType
extends java.lang.Enum<InvientCharts.SeriesType>
- - -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Enum Constant Summary
AREA - -
-           
AREASPLINE - -
-           
BAR - -
-           
COLUMN - -
-           
COMMONSERIES - -
-           
LINE - -
-           
PIE - -
-           
SCATTER - -
-           
SPLINE - -
-           
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.StringgetName() - -
-           
-static InvientCharts.SeriesTypevalueOf(java.lang.String name) - -
-          Returns the enum constant of this type with the specified name.
-static InvientCharts.SeriesType[]values() - -
-          Returns an array containing the constants of this enum type, in -the order they are declared.
- - - - - - - -
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Enum Constant Detail
- -

-COMMONSERIES

-
-public static final InvientCharts.SeriesType COMMONSERIES
-
-
-
-
-
- -

-LINE

-
-public static final InvientCharts.SeriesType LINE
-
-
-
-
-
- -

-SPLINE

-
-public static final InvientCharts.SeriesType SPLINE
-
-
-
-
-
- -

-SCATTER

-
-public static final InvientCharts.SeriesType SCATTER
-
-
-
-
-
- -

-AREA

-
-public static final InvientCharts.SeriesType AREA
-
-
-
-
-
- -

-AREASPLINE

-
-public static final InvientCharts.SeriesType AREASPLINE
-
-
-
-
-
- -

-BAR

-
-public static final InvientCharts.SeriesType BAR
-
-
-
-
-
- -

-COLUMN

-
-public static final InvientCharts.SeriesType COLUMN
-
-
-
-
-
- -

-PIE

-
-public static final InvientCharts.SeriesType PIE
-
-
-
-
- - - - - - - - -
-Method Detail
- -

-values

-
-public static InvientCharts.SeriesType[] values()
-
-
Returns an array containing the constants of this enum type, in -the order they are declared. This method may be used to iterate -over the constants as follows: -
-for (InvientCharts.SeriesType c : InvientCharts.SeriesType.values())
-    System.out.println(c);
-
-

-

- -
Returns:
an array containing the constants of this enum type, in -the order they are declared
-
-
-
- -

-valueOf

-
-public static InvientCharts.SeriesType valueOf(java.lang.String name)
-
-
Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.) -

-

-
Parameters:
name - the name of the enum constant to be returned. -
Returns:
the enum constant with the specified name -
Throws: -
java.lang.IllegalArgumentException - if this enum type has no constant -with the specified name -
java.lang.NullPointerException - if the argument is null
-
-
-
- -

-getName

-
-public java.lang.String getName()
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientCharts.XYSeries.html b/doc/com/invient/vaadin/charts/InvientCharts.XYSeries.html deleted file mode 100644 index 235918d..0000000 --- a/doc/com/invient/vaadin/charts/InvientCharts.XYSeries.html +++ /dev/null @@ -1,481 +0,0 @@ - - - - - - -InvientCharts.XYSeries - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientCharts.XYSeries

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientCharts.Series
-      extended by com.invient.vaadin.charts.InvientCharts.XYSeries
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientCharts
-
-
-
-
public static class InvientCharts.XYSeries
extends InvientCharts.Series
- - -

-This class defines a number series. In this series both X and Y values - must be number. To use date values, use InvientCharts.DateTimeSeries -

- -

-

-
Author:
-
Invient
-
See Also:
InvientCharts.DateTimeSeries, -Serialized Form
-
- -

- - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
InvientCharts.XYSeries(java.lang.String name) - -
-          Creates a series with given name
InvientCharts.XYSeries(java.lang.String name, - InvientCharts.SeriesType seriesType) - -
-          Creates a series with given name and type
InvientCharts.XYSeries(java.lang.String name, - InvientCharts.SeriesType seriesType, - InvientChartsConfig.SeriesConfig config) - -
-          Creates a series with given name, type and configuration
InvientCharts.XYSeries(java.lang.String name, - InvientChartsConfig.SeriesConfig config) - -
-          Creates a series with given name and configuration
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.util.LinkedHashSet<InvientCharts.DecimalPoint>addPoint(InvientCharts.DecimalPoint... points) - -
-          Appends the specified point into the series if they do not exists in - this series.
- java.util.LinkedHashSet<InvientCharts.DecimalPoint>addPoint(InvientCharts.DecimalPoint point, - boolean shift) - -
-          Append the specified point into this series.
- java.util.LinkedHashSet<InvientCharts.DecimalPoint>getPoints() - -
-           
- voidremoveAllPoints() - -
-          Removes all points in this series
- voidremovePoint(InvientCharts.DecimalPoint... points) - -
-          Removes the specified point from the series
- java.util.LinkedHashSet<InvientCharts.DecimalPoint>setSeriesPoints(java.util.LinkedHashSet<InvientCharts.DecimalPoint> points) - -
-          Sets points into this series.
- - - - - - - -
Methods inherited from class com.invient.vaadin.charts.InvientCharts.Series
equals, getConfig, getName, getStack, getType, getXAxis, getYAxis, hashCode, hide, setName, setStack, setType, setXAxis, setYAxis, show, toString
- - - - - - - -
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientCharts.XYSeries

-
-public InvientCharts.XYSeries(java.lang.String name)
-
-
Creates a series with given name -

-

-
Parameters:
name - the name of this series
-
-
- -

-InvientCharts.XYSeries

-
-public InvientCharts.XYSeries(java.lang.String name,
-                              InvientChartsConfig.SeriesConfig config)
-
-
Creates a series with given name and configuration -

-

-
Parameters:
name - the name of this series
config - the configuration for this series
-
-
- -

-InvientCharts.XYSeries

-
-public InvientCharts.XYSeries(java.lang.String name,
-                              InvientCharts.SeriesType seriesType)
-
-
Creates a series with given name and type -

-

-
Parameters:
name - the name of this series
seriesType - the type of this series
-
-
- -

-InvientCharts.XYSeries

-
-public InvientCharts.XYSeries(java.lang.String name,
-                              InvientCharts.SeriesType seriesType,
-                              InvientChartsConfig.SeriesConfig config)
-
-
Creates a series with given name, type and configuration -

-

-
Parameters:
name - the name of this series
seriesType - the type of this series
config - the configuration for this series
-
- - - - - - - - -
-Method Detail
- -

-removePoint

-
-public void removePoint(InvientCharts.DecimalPoint... points)
-
-
Removes the specified point from the series -

-

-
Parameters:
points -
-
-
-
- -

-removeAllPoints

-
-public void removeAllPoints()
-
-
Description copied from class: InvientCharts.Series
-
Removes all points in this series -

-

-
-
-
-
-
-
-
- -

-addPoint

-
-public java.util.LinkedHashSet<InvientCharts.DecimalPoint> addPoint(InvientCharts.DecimalPoint... points)
-
-
Appends the specified point into the series if they do not exists in - this series. The points which already exists will not be appended. A - collection of points appended to this series will be returned. -

-

-
Parameters:
points - -
Returns:
Returns a collection of points which are added in this - series. If a point has same (x, y) value as any other point - in the input argument points then it will not be added in - this series.
-
-
-
- -

-addPoint

-
-public java.util.LinkedHashSet<InvientCharts.DecimalPoint> addPoint(InvientCharts.DecimalPoint point,
-                                                                    boolean shift)
-
-
Append the specified point into this series. If the argument shift is - true then one point is shifted off the start of this series as one is - appended to the end. -

-

-
Parameters:
points -
shift - If true then one point is shifted off the start of this - series as one is appended to the end. -
Returns:
Returns a collection of points which are added in this - series. If a point has same (x, y) value as any other point - in the input argument points then it will not be added in - this series.
-
-
-
- -

-getPoints

-
-public java.util.LinkedHashSet<InvientCharts.DecimalPoint> getPoints()
-
-
-
-
-
- -
Returns:
Returns all points of this series. Adding or removing any - point to or from the returned collection will not impact the - chart. To add a point or points, use addPoint() or - removePoint() method.
-
-
-
- -

-setSeriesPoints

-
-public java.util.LinkedHashSet<InvientCharts.DecimalPoint> setSeriesPoints(java.util.LinkedHashSet<InvientCharts.DecimalPoint> points)
-
-
Sets points into this series. This method removes all of its points - and then add points specified in the method argument. If the argument - is null then no actions are taken. -

-

-
Parameters:
points - the collection of points to set into this series. -
Returns:
Returns a collection of points which are set in this series. - If a point has same (x, y) value as any other point in the - argument points then it will not be added.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientCharts.html b/doc/com/invient/vaadin/charts/InvientCharts.html deleted file mode 100644 index 80fa13b..0000000 --- a/doc/com/invient/vaadin/charts/InvientCharts.html +++ /dev/null @@ -1,1558 +0,0 @@ - - - - - - -InvientCharts - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientCharts

-
-java.lang.Object
-  extended by com.vaadin.ui.AbstractComponent
-      extended by com.invient.vaadin.charts.InvientCharts
-
-
-
All Implemented Interfaces:
com.vaadin.event.MethodEventSource, com.vaadin.terminal.Paintable, com.vaadin.terminal.Sizeable, com.vaadin.terminal.VariableOwner, com.vaadin.ui.Component, java.io.Serializable, java.util.EventListener
-
-
-
-
public class InvientCharts
extends com.vaadin.ui.AbstractComponent
- - -

-A Vaddin component representing charts. It is a the main class of - InvientCharts library. - - A chart typically contains one or more series of same or different types. - This class allows us to specify series of different types say line and pie - and hence it makes it easy to build a combination chart. - - After a chart InvientCharts is created, the following changes to the - chart will be reflected rendered on the webkit. -

-

- -

-

-
Author:
-
Invient
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Nested Class Summary
- classInvientCharts.ChartAddSeriesEvent - -
-          Add series event.
-static interfaceInvientCharts.ChartAddSeriesListener - -
-          Interface for listening for a InvientCharts.ChartAddSeriesEvent triggered by - InvientCharts
- classInvientCharts.ChartArea - -
-          Defines information on the selected area.
- classInvientCharts.ChartClickEvent - -
-          Chart Click event.
-static interfaceInvientCharts.ChartClickListener - -
-          Interface for listening for a InvientCharts.ChartClickEvent triggered by - InvientCharts
- classInvientCharts.ChartResetZoomEvent - -
-          Chart reset zoom event.
-static interfaceInvientCharts.ChartResetZoomListener - -
-          Interface for listening for a InvientCharts.ChartResetZoomEvent triggered by - InvientCharts
- classInvientCharts.ChartSVGAvailableEvent - -
-          Chart SVG event.
-static interfaceInvientCharts.ChartSVGAvailableListener - -
-          Interface for listening for a InvientCharts.ChartSVGAvailableEvent triggered by - InvientCharts.
- classInvientCharts.ChartZoomEvent - -
-          Chart zoom event.
-static interfaceInvientCharts.ChartZoomListener - -
-          Interface for listening for a InvientCharts.ChartZoomEvent triggered by - InvientCharts
-static classInvientCharts.DateTimePoint - -
-          This class represent a point with (X, Y) both as number.
-static classInvientCharts.DateTimeSeries - -
-          This class defines a datetime series.
-static classInvientCharts.DecimalPoint - -
-          This class represent a point with (X, Y) both as number.
- classInvientCharts.MousePosition - -
-          This class contain mouse coordinates when a click event occurs on a - chart, a series or a point.
- classInvientCharts.PieChartLegendItemClickEvent - -
-          PieChart legend item click event.
-static interfaceInvientCharts.PieChartLegendItemClickListener - -
-          Interface for listening for a InvientCharts.PieChartLegendItemClickEvent - triggered by InvientCharts
-static classInvientCharts.Point - -
-          This class represents a point of the chart's series.
- classInvientCharts.PointClickEvent - -
-          Click event.
-static interfaceInvientCharts.PointClickListener - -
-          Interface for listening for a InvientCharts.PointClickEvent triggered by - InvientCharts
- classInvientCharts.PointRemoveEvent - -
-          Point remove event.
-static interfaceInvientCharts.PointRemoveListener - -
-          Interface for listening for a InvientCharts.PointRemoveEvent triggered by - InvientCharts
- classInvientCharts.PointSelectEvent - -
-          Point select event.
-static interfaceInvientCharts.PointSelectListener - -
-          Interface for listening for a InvientCharts.PointSelectListener triggered by - InvientCharts
- classInvientCharts.PointUnselectEvent - -
-          Poin unselect event.
-static interfaceInvientCharts.PointUnselectListener - -
-          Interface for listening for a InvientCharts.PointUnselectEvent triggered by - InvientCharts
-static classInvientCharts.Series - -
-          This class defines a series of the chart.
- classInvientCharts.SeriesClickEvent - -
-          Series click event.
-static interfaceInvientCharts.SeriesClickListerner - -
-          Interface for listening for a InvientCharts.SeriesClickListerner triggered by - InvientCharts
- classInvientCharts.SeriesHideEvent - -
-          Series Hide event.
-static interfaceInvientCharts.SeriesHideListerner - -
-          Interface for listening for a InvientCharts.SeriesHideEvent triggered by - InvientCharts
- classInvientCharts.SeriesLegendItemClickEvent - -
-          Series legend item click event.
-static interfaceInvientCharts.SeriesLegendItemClickListerner - -
-          Interface for listening for a InvientCharts.SeriesLegendItemClickEvent - triggered by InvientCharts
- classInvientCharts.SeriesShowEvent - -
-          Series show event.
-static interfaceInvientCharts.SeriesShowListerner - -
-          Interface for listening for a InvientCharts.SeriesShowEvent triggered by - InvientCharts
-static classInvientCharts.SeriesType - -
-           
-static classInvientCharts.XYSeries - -
-          This class defines a number series.
- - - - - - - -
Nested classes/interfaces inherited from class com.vaadin.ui.AbstractComponent
com.vaadin.ui.AbstractComponent.ComponentErrorEvent, com.vaadin.ui.AbstractComponent.ComponentErrorHandler
-  - - - - - - - - -
Nested classes/interfaces inherited from interface com.vaadin.ui.Component
com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.ErrorListener, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.Listener
-  - - - - - - - - -
Nested classes/interfaces inherited from interface com.vaadin.terminal.Paintable
com.vaadin.terminal.Paintable.RepaintRequestEvent, com.vaadin.terminal.Paintable.RepaintRequestListener
-  - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from interface com.vaadin.terminal.Sizeable
SIZE_UNDEFINED, UNIT_SYMBOLS, UNITS_CM, UNITS_EM, UNITS_EX, UNITS_INCH, UNITS_MM, UNITS_PERCENTAGE, UNITS_PICAS, UNITS_PIXELS, UNITS_POINTS
-  - - - - - - - - - - -
-Constructor Summary
InvientCharts(InvientChartsConfig chartConfig) - -
-          Creates this chart object with given chart configuration
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidaddListener(InvientCharts.ChartAddSeriesListener listener) - -
-          Adds the series add listener.
- voidaddListener(InvientCharts.ChartClickListener listener) - -
-          Adds the chart click listener.
- voidaddListener(InvientCharts.ChartResetZoomListener listener) - -
-          Adds the chart reset zoom listener.
- voidaddListener(InvientCharts.ChartSVGAvailableListener listener) - -
-          Adds the chart svg available listener for this chart.
- voidaddListener(InvientCharts.ChartZoomListener listener) - -
-          Adds the chart zoom listener.
- voidaddListener(InvientCharts.PieChartLegendItemClickListener listener) - -
-          Adds the piechart legend item click listener.
- voidaddListener(InvientCharts.PointClickListener listener, - InvientCharts.SeriesType... seriesTypes) - -
-          Adds the point click listener.
- voidaddListener(InvientCharts.PointRemoveListener listener, - InvientCharts.SeriesType... seriesTypes) - -
-          Adds the point remove listener.
- voidaddListener(InvientCharts.PointSelectListener listener, - InvientCharts.SeriesType... seriesTypes) - -
-          Adds the point select listener.
- voidaddListener(InvientCharts.PointUnselectListener listener, - InvientCharts.SeriesType... seriesTypes) - -
-          Adds the point unselect listener.
- voidaddListener(InvientCharts.SeriesClickListerner listener, - InvientCharts.SeriesType... seriesTypes) - -
-          Adds the series click listener.
- voidaddListener(InvientCharts.SeriesHideListerner listener, - InvientCharts.SeriesType... seriesTypes) - -
-          Adds the series hide listener.
- voidaddListener(InvientCharts.SeriesLegendItemClickListerner listener, - InvientCharts.SeriesType... seriesTypes) - -
-          Adds the series legend item click listener.
- voidaddListener(InvientCharts.SeriesShowListerner listener, - InvientCharts.SeriesType... seriesTypes) - -
-          Adds the series show listener.
- voidaddSeries(InvientCharts.Series seriesData) - -
-          Adds the argument series to this chart.
- voidchangeVariables(java.lang.Object source, - java.util.Map<java.lang.String,java.lang.Object> variables) - -
-           
- java.util.LinkedHashSet<InvientCharts.Series>getAllSeries() - -
-          Returns all series associated with this chart.
- InvientChartsConfiggetConfig() - -
-          Returns chart configuration object
- InvientCharts.SeriesgetSeries(java.lang.String name) - -
-          Returns a series whose name matches the argument name.
- voidpaintContent(com.vaadin.terminal.PaintTarget target) - -
-           
- voidprint() - -
-          Displays a Print dialog of the Webkit to print this chart.
- voidrefresh() - -
-          After a series is added or removed, there is no need to call this method - as it is handled implicitly.
- voidremoveListener(InvientCharts.ChartAddSeriesListener listener) - -
-          Removes the series add listener.
- voidremoveListener(InvientCharts.ChartClickListener listener) - -
-          Removes the chart click listener.
- voidremoveListener(InvientCharts.ChartResetZoomListener listener) - -
-          Removes the chart reset zoom listener.
- voidremoveListener(InvientCharts.ChartSVGAvailableListener listener) - -
-          Removes the chart svg available listener for this chart.
- voidremoveListener(InvientCharts.ChartZoomListener listener) - -
-          Removes the chart zoom listener.
- voidremoveListener(InvientCharts.PieChartLegendItemClickListener listener) - -
-          Removes the piechart legend item click listener.
- voidremoveListener(InvientCharts.PointClickListener listener, - InvientCharts.SeriesType... seriesTypes) - -
-          Removes the point click listener.
- voidremoveListener(InvientCharts.PointRemoveListener listener, - InvientCharts.SeriesType... seriesTypes) - -
-          Removes the point remove listener.
- voidremoveListener(InvientCharts.PointSelectListener listener, - InvientCharts.SeriesType... seriesTypes) - -
-          Removes the point select listener.
- voidremoveListener(InvientCharts.PointUnselectListener listener, - InvientCharts.SeriesType... seriesTypes) - -
-          Removes the point unselect listener.
- voidremoveListener(InvientCharts.SeriesClickListerner listener, - InvientCharts.SeriesType... seriesTypes) - -
-          Removes the series click listener.
- voidremoveListener(InvientCharts.SeriesHideListerner listener, - InvientCharts.SeriesType... seriesTypes) - -
-          Removes the series hide listener.
- voidremoveListener(InvientCharts.SeriesLegendItemClickListerner listener, - InvientCharts.SeriesType... seriesTypes) - -
-          Removes the series legend item click listener.
- voidremoveListener(InvientCharts.SeriesShowListerner listener, - InvientCharts.SeriesType... seriesTypes) - -
-          Removes the series show listener.
- voidremoveSeries(InvientCharts.Series seriesData) - -
-          Removes the argument seriesData from this chart.
- voidremoveSeries(java.lang.String name) - -
-          Removes a series whose name matches the argument name.
- voidsetSeries(java.util.LinkedHashSet<InvientCharts.Series> series) - -
-          The data of a chart is defined in terms of InvientCharts.Series.
- - - - - - - -
Methods inherited from class com.vaadin.ui.AbstractComponent
addListener, addListener, addListener, addListener, addStyleName, attach, childRequestedRepaint, detach, getApplication, getCaption, getComponentError, getData, getDebugId, getDescription, getErrorHandler, getErrorMessage, getHeight, getHeightUnits, getIcon, getLocale, getParent, getStyle, getStyleName, getTag, getWidth, getWidthUnits, getWindow, handleError, isEnabled, isImmediate, isReadOnly, isVisible, paint, removeListener, removeListener, removeListener, removeListener, removeListener, removeStyleName, requestRepaint, requestRepaintRequests, setCaption, setComponentError, setData, setDebugId, setDescription, setEnabled, setErrorHandler, setHeight, setHeight, setHeight, setHeightUnits, setIcon, setImmediate, setLocale, setParent, setReadOnly, setSizeFull, setSizeUndefined, setStyle, setStyleName, setVisible, setWidth, setWidth, setWidth, setWidthUnits
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientCharts

-
-public InvientCharts(InvientChartsConfig chartConfig)
-
-
Creates this chart object with given chart configuration -

-

-
Parameters:
chartConfig -
-
- - - - - - - - -
-Method Detail
- -

-getConfig

-
-public InvientChartsConfig getConfig()
-
-
Returns chart configuration object -

-

- -
Returns:
Returns chart configuration object
-
-
-
- -

-paintContent

-
-public void paintContent(com.vaadin.terminal.PaintTarget target)
-                  throws com.vaadin.terminal.PaintException
-
-
-
Overrides:
paintContent in class com.vaadin.ui.AbstractComponent
-
-
- -
Throws: -
com.vaadin.terminal.PaintException
-
-
-
- -

-changeVariables

-
-public void changeVariables(java.lang.Object source,
-                            java.util.Map<java.lang.String,java.lang.Object> variables)
-
-
-
Specified by:
changeVariables in interface com.vaadin.terminal.VariableOwner
Overrides:
changeVariables in class com.vaadin.ui.AbstractComponent
-
-
-
-
-
-
- -

-addListener

-
-public void addListener(InvientCharts.PointClickListener listener,
-                        InvientCharts.SeriesType... seriesTypes)
-
-
Adds the point click listener. If the argument seriesTypes is not - specified then the listener will be added for all series type otherwise - it will be added for a specific series type -

-

-
Parameters:
listener - the Listener to be added.
-
-
-
- -

-removeListener

-
-public void removeListener(InvientCharts.PointClickListener listener,
-                           InvientCharts.SeriesType... seriesTypes)
-
-
Removes the point click listener. If the argument seriesTypes is not - specified then the listener will be removed only for a series type - SeriesType.COMMONSERIES otherwise the listener will be removed for all - specified series types. -

-

-
Parameters:
listener - the listener to be removed
seriesTypes - one or more series types as defined by (@link SeriesType}
-
-
-
- -

-addListener

-
-public void addListener(InvientCharts.PointRemoveListener listener,
-                        InvientCharts.SeriesType... seriesTypes)
-
-
Adds the point remove listener. If the argument seriesTypes is not - specified then the listener will be added for all series type otherwise - it will be added for a specific series type -

-

-
Parameters:
listener - the Listener to be added.
-
-
-
- -

-removeListener

-
-public void removeListener(InvientCharts.PointRemoveListener listener,
-                           InvientCharts.SeriesType... seriesTypes)
-
-
Removes the point remove listener. If the argument seriesTypes is not - specified then the listener will be removed only for a series type - SeriesType.COMMONSERIES otherwise the listener will be removed for all - specified series types. -

-

-
Parameters:
listener - the listener to be removed
seriesTypes - one or more series types as defined by (@link SeriesType}
-
-
-
- -

-addListener

-
-public void addListener(InvientCharts.PointUnselectListener listener,
-                        InvientCharts.SeriesType... seriesTypes)
-
-
Adds the point unselect listener. If the argument seriesTypes is not - specified then the listener will be added for all series type otherwise - it will be added for a specific series type -

-

-
Parameters:
listener - the Listener to be added.
-
-
-
- -

-removeListener

-
-public void removeListener(InvientCharts.PointUnselectListener listener,
-                           InvientCharts.SeriesType... seriesTypes)
-
-
Removes the point unselect listener. If the argument seriesTypes is not - specified then the listener will be removed only for a series type - SeriesType.COMMONSERIES otherwise the listener will be removed for all - specified series types. -

-

-
Parameters:
listener - the listener to be removed
seriesTypes - one or more series types as defined by (@link SeriesType}
-
-
-
- -

-addListener

-
-public void addListener(InvientCharts.PointSelectListener listener,
-                        InvientCharts.SeriesType... seriesTypes)
-
-
Adds the point select listener. If the argument seriesTypes is not - specified then the listener will be added for all series type otherwise - it will be added for a specific series type -

-

-
Parameters:
listener - the Listener to be added.
-
-
-
- -

-removeListener

-
-public void removeListener(InvientCharts.PointSelectListener listener,
-                           InvientCharts.SeriesType... seriesTypes)
-
-
Removes the point select listener. If the argument seriesTypes is not - specified then the listener will be removed only for a series type - SeriesType.COMMONSERIES otherwise the listener will be removed for all - specified series types. -

-

-
Parameters:
listener - the listener to be removed
seriesTypes - one or more series types as defined by (@link SeriesType}
-
-
-
- -

-addListener

-
-public void addListener(InvientCharts.SeriesClickListerner listener,
-                        InvientCharts.SeriesType... seriesTypes)
-
-
Adds the series click listener. If the argument seriesTypes is not - specified then the listener will be added for all series type otherwise - it will be added for a specific series type -

-

-
Parameters:
listener - the Listener to be added.
-
-
-
- -

-removeListener

-
-public void removeListener(InvientCharts.SeriesClickListerner listener,
-                           InvientCharts.SeriesType... seriesTypes)
-
-
Removes the series click listener. If the argument seriesTypes is not - specified then the listener will be removed only for a series type - SeriesType.COMMONSERIES otherwise the listener will be removed for all - specified series types. -

-

-
Parameters:
listener - the listener to be removed
seriesTypes - one or more series types as defined by (@link SeriesType}
-
-
-
- -

-addListener

-
-public void addListener(InvientCharts.SeriesHideListerner listener,
-                        InvientCharts.SeriesType... seriesTypes)
-
-
Adds the series hide listener. If the argument seriesTypes is not - specified then the listener will be added for all series type otherwise - it will be added for a specific series type -

-

-
Parameters:
listener - the Listener to be added.
-
-
-
- -

-removeListener

-
-public void removeListener(InvientCharts.SeriesHideListerner listener,
-                           InvientCharts.SeriesType... seriesTypes)
-
-
Removes the series hide listener. If the argument seriesTypes is not - specified then the listener will be removed only for a series type - SeriesType.COMMONSERIES otherwise the listener will be removed for all - specified series types. -

-

-
Parameters:
listener - the listener to be removed
seriesTypes - one or more series types as defined by (@link SeriesType}
-
-
-
- -

-addListener

-
-public void addListener(InvientCharts.SeriesShowListerner listener,
-                        InvientCharts.SeriesType... seriesTypes)
-
-
Adds the series show listener. If the argument seriesTypes is not - specified then the listener will be added for all series type otherwise - it will be added for a specific series type -

-

-
Parameters:
listener - the Listener to be added.
-
-
-
- -

-removeListener

-
-public void removeListener(InvientCharts.SeriesShowListerner listener,
-                           InvientCharts.SeriesType... seriesTypes)
-
-
Removes the series show listener. If the argument seriesTypes is not - specified then the listener will be removed only for a series type - SeriesType.COMMONSERIES otherwise the listener will be removed for all - specified series types. -

-

-
Parameters:
listener - the listener to be removed
seriesTypes - one or more series types as defined by (@link SeriesType}
-
-
-
- -

-addListener

-
-public void addListener(InvientCharts.SeriesLegendItemClickListerner listener,
-                        InvientCharts.SeriesType... seriesTypes)
-
-
Adds the series legend item click listener. If the argument seriesTypes - is not specified then the listener will be added for all series type - otherwise it will be added for a specific series type -

-

-
Parameters:
listener - the Listener to be added.
-
-
-
- -

-removeListener

-
-public void removeListener(InvientCharts.SeriesLegendItemClickListerner listener,
-                           InvientCharts.SeriesType... seriesTypes)
-
-
Removes the series legend item click listener. If the argument - seriesTypes is not specified then the listener will be removed only for a - series type SeriesType.COMMONSERIES otherwise the listener will be - removed for all specified series types. -

-

-
Parameters:
listener - the listener to be removed
seriesTypes - one or more series types as defined by (@link SeriesType}
-
-
-
- -

-addListener

-
-public void addListener(InvientCharts.PieChartLegendItemClickListener listener)
-
-
Adds the piechart legend item click listener. -

-

-
Parameters:
listener - the Listener to be added.
-
-
-
- -

-removeListener

-
-public void removeListener(InvientCharts.PieChartLegendItemClickListener listener)
-
-
Removes the piechart legend item click listener. -

-

-
Parameters:
listener - the listener to be removed
-
-
-
- -

-addListener

-
-public void addListener(InvientCharts.ChartClickListener listener)
-
-
Adds the chart click listener. -

-

-
Parameters:
listener - the Listener to be added.
-
-
-
- -

-removeListener

-
-public void removeListener(InvientCharts.ChartClickListener listener)
-
-
Removes the chart click listener. -

-

-
Parameters:
listener - the listener to be removed
-
-
-
- -

-addListener

-
-public void addListener(InvientCharts.ChartAddSeriesListener listener)
-
-
Adds the series add listener. -

-

-
Parameters:
listener - the Listener to be added.
-
-
-
- -

-removeListener

-
-public void removeListener(InvientCharts.ChartAddSeriesListener listener)
-
-
Removes the series add listener. -

-

-
Parameters:
listener - the listener to be removed
-
-
-
- -

-addListener

-
-public void addListener(InvientCharts.ChartZoomListener listener)
-
-
Adds the chart zoom listener. -

-

-
Parameters:
listener - the Listener to be added.
-
-
-
- -

-removeListener

-
-public void removeListener(InvientCharts.ChartZoomListener listener)
-
-
Removes the chart zoom listener. -

-

-
Parameters:
listener - the listener to be removed
-
-
-
- -

-addListener

-
-public void addListener(InvientCharts.ChartResetZoomListener listener)
-
-
Adds the chart reset zoom listener. -

-

-
Parameters:
listener - the Listener to be added.
-
-
-
- -

-removeListener

-
-public void removeListener(InvientCharts.ChartResetZoomListener listener)
-
-
Removes the chart reset zoom listener. -

-

-
Parameters:
listener - the listener to be removed
-
-
-
- -

-addListener

-
-public void addListener(InvientCharts.ChartSVGAvailableListener listener)
-
-
Adds the chart svg available listener for this chart. If the chart - already has a listener of this type then the existing listener will be - removed and the argument listener will be registered. -

-

-
Parameters:
listener - the Listener to be added or registered.
-
-
-
- -

-removeListener

-
-public void removeListener(InvientCharts.ChartSVGAvailableListener listener)
-
-
Removes the chart svg available listener for this chart. -

-

-
Parameters:
listener - the listener to be removed or unregistered.
-
-
-
- -

-setSeries

-
-public void setSeries(java.util.LinkedHashSet<InvientCharts.Series> series)
-
-
The data of a chart is defined in terms of InvientCharts.Series. This method - removes all previously set series of this chart and adds the argument - series. If the argument series is null then no actions are taken. -

-

-
Parameters:
series - A collection of series to set as chart's data
-
-
-
- -

-getSeries

-
-public InvientCharts.Series getSeries(java.lang.String name)
-
-
Returns a series whose name matches the argument name. -

-

-
Parameters:
name - the name of the series -
Returns:
Returns a series with the given name
-
-
-
- -

-getAllSeries

-
-public java.util.LinkedHashSet<InvientCharts.Series> getAllSeries()
-
-
Returns all series associated with this chart. -

-

- -
Returns:
returns all series associated with this chart.
-
-
-
- -

-addSeries

-
-public void addSeries(InvientCharts.Series seriesData)
-
-
Adds the argument series to this chart. -

-

-
Parameters:
seriesData - the series to be added
-
-
-
- -

-removeSeries

-
-public void removeSeries(java.lang.String name)
-
-
Removes a series whose name matches the argument name. -

-

-
Parameters:
name - the name of the series
-
-
-
- -

-removeSeries

-
-public void removeSeries(InvientCharts.Series seriesData)
-
-
Removes the argument seriesData from this chart. -

-

-
Parameters:
seriesData - the series object to be removed
-
-
-
- -

-refresh

-
-public void refresh()
-
-
After a series is added or removed, there is no need to call this method - as it is handled implicitly. This method will send updates to the client. - This method should be called after adding/removing plotbands and - plotlines. This inconsistency will be fixed in next revision. -

-

-
-
-
-
- -

-print

-
-public void print()
-
-
Displays a Print dialog of the Webkit to print this chart. Invoking this - method causes the Webkit to hide other widgets on the screen and only - this chart widget will be visible. Also it prints this chart widget as it - is displayed. -

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.AbstractMarker.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.AbstractMarker.html deleted file mode 100644 index 43dee89..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.AbstractMarker.html +++ /dev/null @@ -1,310 +0,0 @@ - - - - - - -InvientChartsConfig.AbstractMarker - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.AbstractMarker

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.AbstractMarker
-
-
-
All Implemented Interfaces:
InvientChartsConfig.Marker, java.io.Serializable
-
-
-
Direct Known Subclasses:
InvientChartsConfig.ImageMarker, InvientChartsConfig.SymbolMarker
-
-
-
Enclosing class:
InvientChartsConfig
-
-
-
-
public abstract static class InvientChartsConfig.AbstractMarker
extends java.lang.Object
implements InvientChartsConfig.Marker
- - -

-Defines attributes for a marker. -

- -

-

-
Author:
-
Invient
-
See Also:
InvientChartsConfig.SymbolMarker, -InvientChartsConfig.ImageMarker, -Serialized Form
-
- -

- - - - - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.AbstractMarker() - -
-           
InvientChartsConfig.AbstractMarker(boolean enabled) - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.BooleangetEnabled() - -
-           
- voidsetEnabled(java.lang.Boolean enabled) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.AbstractMarker

-
-public InvientChartsConfig.AbstractMarker()
-
-
-
- -

-InvientChartsConfig.AbstractMarker

-
-public InvientChartsConfig.AbstractMarker(boolean enabled)
-
-
- - - - - - - - -
-Method Detail
- -

-getEnabled

-
-public java.lang.Boolean getEnabled()
-
-
-
Specified by:
getEnabled in interface InvientChartsConfig.Marker
-
-
-
-
-
-
- -

-setEnabled

-
-public void setEnabled(java.lang.Boolean enabled)
-
-
-
Specified by:
setEnabled in interface InvientChartsConfig.Marker
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.AreaConfig.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.AreaConfig.html deleted file mode 100644 index b84a6de..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.AreaConfig.html +++ /dev/null @@ -1,438 +0,0 @@ - - - - - - -InvientChartsConfig.AreaConfig - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.AreaConfig

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.SeriesConfig
-      extended by com.invient.vaadin.charts.InvientChartsConfig.BaseLineConfig
-          extended by com.invient.vaadin.charts.InvientChartsConfig.AreaConfig
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Direct Known Subclasses:
InvientChartsConfig.AreaSplineConfig
-
-
-
Enclosing class:
InvientChartsConfig
-
-
-
-
public static class InvientChartsConfig.AreaConfig
extends InvientChartsConfig.BaseLineConfig
- - -

-This class contains configuration options for area series, area and - areaspline. -

- -

-

-
Author:
-
Invient
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.AreaConfig() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- PaintgetFillColor() - -
-           
- java.lang.DoublegetFillOpacity() - -
-           
- PaintgetLineColor() - -
-           
- java.lang.IntegergetThreshold() - -
-           
- voidsetFillColor(Paint fillColor) - -
-          Sets fill gradient for the area
- voidsetFillOpacity(java.lang.Double fillOpacity) - -
-          Sets opacity for the area
- voidsetLineColor(Paint lineColor) - -
-          Sets line color for the line of an area.
- voidsetThreshold(java.lang.Integer threshold) - -
-          Sets threshold value which servers as the base for the area, for - distinguishing between values above and below a threshold.
- - - - - - - -
Methods inherited from class com.invient.vaadin.charts.InvientChartsConfig.BaseLineConfig
getDashStyle, getLineWidth, getMarker, getPointInterval, getPointStart, getStickyTracking, setDashStyle, setLineWidth, setMarker, setPointInterval, setPointStart, setStickyTracking
- - - - - - - -
Methods inherited from class com.invient.vaadin.charts.InvientChartsConfig.SeriesConfig
getAllowPointSelect, getAnimation, getColor, getCursor, getDataLabel, getEnableMouseTracking, getHoverState, getShadow, getShowCheckbox, getShowInLegend, getStacking, getVisible, setAllowPointSelect, setAnimation, setColor, setCursor, setDataLabel, setEnableMouseTracking, setHoverState, setShadow, setShowCheckbox, setShowInLegend, setStacking, setVisible
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.AreaConfig

-
-public InvientChartsConfig.AreaConfig()
-
-
- - - - - - - - -
-Method Detail
- -

-getFillColor

-
-public Paint getFillColor()
-
-
- -
Returns:
Returns fill color of the area.
-
-
-
- -

-setFillColor

-
-public void setFillColor(Paint fillColor)
-
-
Sets fill gradient for the area -

-

-
Parameters:
fillColor -
-
-
-
- -

-getLineColor

-
-public Paint getLineColor()
-
-
- -
Returns:
Returns color of a line drawing above the area
-
-
-
- -

-setLineColor

-
-public void setLineColor(Paint lineColor)
-
-
Sets line color for the line of an area. -

-

-
Parameters:
lineColor -
-
-
-
- -

-getFillOpacity

-
-public java.lang.Double getFillOpacity()
-
-
- -
Returns:
Returns opacity (transparency) which will be used when the area is filled with the fill color
-
-
-
- -

-setFillOpacity

-
-public void setFillOpacity(java.lang.Double fillOpacity)
-
-
Sets opacity for the area -

-

-
Parameters:
fillOpacity -
-
-
-
- -

-getThreshold

-
-public java.lang.Integer getThreshold()
-
-
- -
Returns:
Returns threadshold of the area
-
-
-
- -

-setThreshold

-
-public void setThreshold(java.lang.Integer threshold)
-
-
Sets threshold value which servers as the base for the area, for - distinguishing between values above and below a threshold. Defaults - to 0. -

-

-
Parameters:
threshold -
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.AreaSplineConfig.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.AreaSplineConfig.html deleted file mode 100644 index b8aa8c3..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.AreaSplineConfig.html +++ /dev/null @@ -1,268 +0,0 @@ - - - - - - -InvientChartsConfig.AreaSplineConfig - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.AreaSplineConfig

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.SeriesConfig
-      extended by com.invient.vaadin.charts.InvientChartsConfig.BaseLineConfig
-          extended by com.invient.vaadin.charts.InvientChartsConfig.AreaConfig
-              extended by com.invient.vaadin.charts.InvientChartsConfig.AreaSplineConfig
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientChartsConfig
-
-
-
-
public static class InvientChartsConfig.AreaSplineConfig
extends InvientChartsConfig.AreaConfig
- - -

-This class contains configuration options for areaspline series -

- -

-

-
Author:
-
Invient
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.AreaSplineConfig() - -
-           
-  - - - - - - - -
-Method Summary
- - - - - - - -
Methods inherited from class com.invient.vaadin.charts.InvientChartsConfig.AreaConfig
getFillColor, getFillOpacity, getLineColor, getThreshold, setFillColor, setFillOpacity, setLineColor, setThreshold
- - - - - - - -
Methods inherited from class com.invient.vaadin.charts.InvientChartsConfig.BaseLineConfig
getDashStyle, getLineWidth, getMarker, getPointInterval, getPointStart, getStickyTracking, setDashStyle, setLineWidth, setMarker, setPointInterval, setPointStart, setStickyTracking
- - - - - - - -
Methods inherited from class com.invient.vaadin.charts.InvientChartsConfig.SeriesConfig
getAllowPointSelect, getAnimation, getColor, getCursor, getDataLabel, getEnableMouseTracking, getHoverState, getShadow, getShowCheckbox, getShowInLegend, getStacking, getVisible, setAllowPointSelect, setAnimation, setColor, setCursor, setDataLabel, setEnableMouseTracking, setHoverState, setShadow, setShowCheckbox, setShowInLegend, setStacking, setVisible
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.AreaSplineConfig

-
-public InvientChartsConfig.AreaSplineConfig()
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.Axis.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.Axis.html deleted file mode 100644 index 8f87a7f..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.Axis.html +++ /dev/null @@ -1,1145 +0,0 @@ - - - - - - -InvientChartsConfig.Axis - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Interface InvientChartsConfig.Axis

-
-
All Superinterfaces:
java.io.Serializable
-
-
-
All Known Subinterfaces:
InvientChartsConfig.XAxis, InvientChartsConfig.YAxis
-
-
-
All Known Implementing Classes:
InvientChartsConfig.AxisBase, InvientChartsConfig.CategoryAxis, InvientChartsConfig.DateTimeAxis, InvientChartsConfig.NumberAxis, InvientChartsConfig.NumberXAxis, InvientChartsConfig.NumberYAxis
-
-
-
Enclosing class:
InvientChartsConfig
-
-
-
-
public static interface InvientChartsConfig.Axis
extends java.io.Serializable
- - -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- PaintgetAlternateGridColor() - -
-           
- java.lang.BooleangetEndOnTick() - -
-           
- InvientChartsConfig.AxisBase.GridgetGrid() - -
-           
- java.lang.StringgetId() - -
-           
- PaintgetLineColor() - -
-           
- java.lang.IntegergetLineWidth() - -
-           
- InvientChartsConfig.AxisgetLinkedTo() - -
-           
- java.lang.DoublegetMaxPadding() - -
-           
- java.lang.IntegergetMaxZoom() - -
-           
- InvientChartsConfig.AxisBase.MinorGridgetMinorGrid() - -
-           
- InvientChartsConfig.AxisBase.MinorTickgetMinorTick() - -
-           
- java.lang.DoublegetMinPadding() - -
-           
- java.lang.IntegergetOffset() - -
-           
- java.lang.BooleangetOpposite() - -
-           
- java.lang.BooleangetReversed() - -
-           
- java.lang.BooleangetShowFirstLabel() - -
-           
- java.lang.BooleangetShowLastLabel() - -
-           
- InvientChartsConfig.AxisBase.WeekDaygetStartOfWeek() - -
-           
- java.lang.BooleangetStartOnTick() - -
-           
- InvientChartsConfig.AxisBase.TickgetTick() - -
-           
- InvientChartsConfig.AxisBase.AxisTitlegetTitle() - -
-           
- InvientChartsConfig.AxisBase.AxisTypegetType() - -
-           
- voidsetAlternateGridColor(Paint alternateGridColor) - -
-           
- voidsetEndOnTick(java.lang.Boolean endOnTick) - -
-           
- voidsetGrid(InvientChartsConfig.AxisBase.Grid grid) - -
-           
- voidsetId(java.lang.String id) - -
-           
- voidsetLineColor(Paint lineColor) - -
-           
- voidsetLineWidth(java.lang.Integer lineWidth) - -
-           
- voidsetLinkedTo(InvientChartsConfig.Axis linkedTo) - -
-           
- voidsetMaxPadding(java.lang.Double maxPadding) - -
-           
- voidsetMaxZoom(java.lang.Integer maxZoom) - -
-           
- voidsetMinorGrid(InvientChartsConfig.AxisBase.MinorGrid minorGrid) - -
-           
- voidsetMinorTick(InvientChartsConfig.AxisBase.MinorTick minorTick) - -
-           
- voidsetMinPadding(java.lang.Double minPadding) - -
-           
- voidsetOffset(java.lang.Integer offset) - -
-           
- voidsetOpposite(java.lang.Boolean opposite) - -
-           
- voidsetReversed(java.lang.Boolean reversed) - -
-           
- voidsetShowFirstLabel(java.lang.Boolean showFirstLabel) - -
-           
- voidsetShowLastLabel(java.lang.Boolean showLastLabel) - -
-           
- voidsetStartOfWeek(InvientChartsConfig.AxisBase.WeekDay startOfWeek) - -
-           
- voidsetStartOnTick(java.lang.Boolean startOnTick) - -
-           
- voidsetTick(InvientChartsConfig.AxisBase.Tick tick) - -
-           
- voidsetTitle(InvientChartsConfig.AxisBase.AxisTitle title) - -
-           
-  -

- - - - - - - - -
-Method Detail
- -

-getId

-
-java.lang.String getId()
-
-
-
-
-
-
-
-
-
- -

-setId

-
-void setId(java.lang.String id)
-
-
-
-
-
-
-
-
-
- -

-getTick

-
-InvientChartsConfig.AxisBase.Tick getTick()
-
-
-
-
-
-
-
-
-
- -

-setTick

-
-void setTick(InvientChartsConfig.AxisBase.Tick tick)
-
-
-
-
-
-
-
-
-
- -

-getMaxZoom

-
-java.lang.Integer getMaxZoom()
-
-
-
-
-
-
-
-
-
- -

-setMaxZoom

-
-void setMaxZoom(java.lang.Integer maxZoom)
-
-
-
-
-
-
-
-
-
- -

-getReversed

-
-java.lang.Boolean getReversed()
-
-
-
-
-
-
-
-
-
- -

-setReversed

-
-void setReversed(java.lang.Boolean reversed)
-
-
-
-
-
-
-
-
-
- -

-getOpposite

-
-java.lang.Boolean getOpposite()
-
-
-
-
-
-
-
-
-
- -

-setOpposite

-
-void setOpposite(java.lang.Boolean opposite)
-
-
-
-
-
-
-
-
-
- -

-getType

-
-InvientChartsConfig.AxisBase.AxisType getType()
-
-
-
-
-
-
-
-
-
- -

-getTitle

-
-InvientChartsConfig.AxisBase.AxisTitle getTitle()
-
-
-
-
-
-
-
-
-
- -

-setTitle

-
-void setTitle(InvientChartsConfig.AxisBase.AxisTitle title)
-
-
-
-
-
-
-
-
-
- -

-getAlternateGridColor

-
-Paint getAlternateGridColor()
-
-
-
-
-
-
-
-
-
- -

-setAlternateGridColor

-
-void setAlternateGridColor(Paint alternateGridColor)
-
-
-
-
-
-
-
-
-
- -

-getEndOnTick

-
-java.lang.Boolean getEndOnTick()
-
-
-
-
-
-
-
-
-
- -

-setEndOnTick

-
-void setEndOnTick(java.lang.Boolean endOnTick)
-
-
-
-
-
-
-
-
-
- -

-getGrid

-
-InvientChartsConfig.AxisBase.Grid getGrid()
-
-
-
-
-
-
-
-
-
- -

-setGrid

-
-void setGrid(InvientChartsConfig.AxisBase.Grid grid)
-
-
-
-
-
-
-
-
-
- -

-getLineColor

-
-Paint getLineColor()
-
-
-
-
-
-
-
-
-
- -

-setLineColor

-
-void setLineColor(Paint lineColor)
-
-
-
-
-
-
-
-
-
- -

-getLineWidth

-
-java.lang.Integer getLineWidth()
-
-
-
-
-
-
-
-
-
- -

-setLineWidth

-
-void setLineWidth(java.lang.Integer lineWidth)
-
-
-
-
-
-
-
-
-
- -

-getLinkedTo

-
-InvientChartsConfig.Axis getLinkedTo()
-
-
-
-
-
-
-
-
-
- -

-setLinkedTo

-
-void setLinkedTo(InvientChartsConfig.Axis linkedTo)
-
-
-
-
-
-
-
-
-
- -

-getMaxPadding

-
-java.lang.Double getMaxPadding()
-
-
-
-
-
-
-
-
-
- -

-setMaxPadding

-
-void setMaxPadding(java.lang.Double maxPadding)
-
-
-
-
-
-
-
-
-
- -

-getMinPadding

-
-java.lang.Double getMinPadding()
-
-
-
-
-
-
-
-
-
- -

-setMinPadding

-
-void setMinPadding(java.lang.Double minPadding)
-
-
-
-
-
-
-
-
-
- -

-getMinorGrid

-
-InvientChartsConfig.AxisBase.MinorGrid getMinorGrid()
-
-
-
-
-
-
-
-
-
- -

-setMinorGrid

-
-void setMinorGrid(InvientChartsConfig.AxisBase.MinorGrid minorGrid)
-
-
-
-
-
-
-
-
-
- -

-getMinorTick

-
-InvientChartsConfig.AxisBase.MinorTick getMinorTick()
-
-
-
-
-
-
-
-
-
- -

-setMinorTick

-
-void setMinorTick(InvientChartsConfig.AxisBase.MinorTick minorTick)
-
-
-
-
-
-
-
-
-
- -

-getOffset

-
-java.lang.Integer getOffset()
-
-
-
-
-
-
-
-
-
- -

-setOffset

-
-void setOffset(java.lang.Integer offset)
-
-
-
-
-
-
-
-
-
- -

-getShowFirstLabel

-
-java.lang.Boolean getShowFirstLabel()
-
-
-
-
-
-
-
-
-
- -

-setShowFirstLabel

-
-void setShowFirstLabel(java.lang.Boolean showFirstLabel)
-
-
-
-
-
-
-
-
-
- -

-getShowLastLabel

-
-java.lang.Boolean getShowLastLabel()
-
-
-
-
-
-
-
-
-
- -

-setShowLastLabel

-
-void setShowLastLabel(java.lang.Boolean showLastLabel)
-
-
-
-
-
-
-
-
-
- -

-getStartOfWeek

-
-InvientChartsConfig.AxisBase.WeekDay getStartOfWeek()
-
-
-
-
-
-
-
-
-
- -

-setStartOfWeek

-
-void setStartOfWeek(InvientChartsConfig.AxisBase.WeekDay startOfWeek)
-
-
-
-
-
-
-
-
-
- -

-getStartOnTick

-
-java.lang.Boolean getStartOnTick()
-
-
-
-
-
-
-
-
-
- -

-setStartOnTick

-
-void setStartOnTick(java.lang.Boolean startOnTick)
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.AxisTitle.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.AxisTitle.html deleted file mode 100644 index 741f039..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.AxisTitle.html +++ /dev/null @@ -1,461 +0,0 @@ - - - - - - -InvientChartsConfig.AxisBase.AxisTitle - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.AxisBase.AxisTitle

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.AxisBase.AxisTitle
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientChartsConfig.AxisBase
-
-
-
-
public static final class InvientChartsConfig.AxisBase.AxisTitle
extends java.lang.Object
implements java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.AxisBase.AxisTitle(java.lang.String text) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- InvientChartsConfig.AxisBase.AxisTitleAligngetAlign() - -
-           
- java.lang.IntegergetMargin() - -
-           
- java.lang.IntegergetRotation() - -
-           
- java.lang.StringgetStyle() - -
-           
- java.lang.StringgetText() - -
-           
- voidsetAlign(InvientChartsConfig.AxisBase.AxisTitleAlign align) - -
-           
- voidsetMargin(java.lang.Integer margin) - -
-           
- voidsetRotation(java.lang.Integer rotation) - -
-           
- voidsetStyle(java.lang.String style) - -
-           
- voidsetText(java.lang.String text) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.AxisBase.AxisTitle

-
-public InvientChartsConfig.AxisBase.AxisTitle(java.lang.String text)
-
-
- - - - - - - - -
-Method Detail
- -

-getText

-
-public java.lang.String getText()
-
-
-
-
-
-
-
-
-
- -

-setText

-
-public void setText(java.lang.String text)
-
-
-
-
-
-
-
-
-
- -

-getAlign

-
-public InvientChartsConfig.AxisBase.AxisTitleAlign getAlign()
-
-
-
-
-
-
-
-
-
- -

-setAlign

-
-public void setAlign(InvientChartsConfig.AxisBase.AxisTitleAlign align)
-
-
-
-
-
-
-
-
-
- -

-getStyle

-
-public java.lang.String getStyle()
-
-
-
-
-
-
-
-
-
- -

-setStyle

-
-public void setStyle(java.lang.String style)
-
-
-
-
-
-
-
-
-
- -

-getRotation

-
-public java.lang.Integer getRotation()
-
-
-
-
-
-
-
-
-
- -

-setRotation

-
-public void setRotation(java.lang.Integer rotation)
-
-
-
-
-
-
-
-
-
- -

-getMargin

-
-public java.lang.Integer getMargin()
-
-
-
-
-
-
-
-
-
- -

-setMargin

-
-public void setMargin(java.lang.Integer margin)
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.AxisTitleAlign.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.AxisTitleAlign.html deleted file mode 100644 index 25ae530..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.AxisTitleAlign.html +++ /dev/null @@ -1,360 +0,0 @@ - - - - - - -InvientChartsConfig.AxisBase.AxisTitleAlign - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Enum InvientChartsConfig.AxisBase.AxisTitleAlign

-
-java.lang.Object
-  extended by java.lang.Enum<InvientChartsConfig.AxisBase.AxisTitleAlign>
-      extended by com.invient.vaadin.charts.InvientChartsConfig.AxisBase.AxisTitleAlign
-
-
-
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<InvientChartsConfig.AxisBase.AxisTitleAlign>
-
-
-
Enclosing class:
InvientChartsConfig.AxisBase
-
-
-
-
public static enum InvientChartsConfig.AxisBase.AxisTitleAlign
extends java.lang.Enum<InvientChartsConfig.AxisBase.AxisTitleAlign>
- - -

-


- -

- - - - - - - - - - - - - - - - -
-Enum Constant Summary
HIGH - -
-           
LOW - -
-           
MIDDLE - -
-           
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.StringgetName() - -
-           
-static InvientChartsConfig.AxisBase.AxisTitleAlignvalueOf(java.lang.String name) - -
-          Returns the enum constant of this type with the specified name.
-static InvientChartsConfig.AxisBase.AxisTitleAlign[]values() - -
-          Returns an array containing the constants of this enum type, in -the order they are declared.
- - - - - - - -
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Enum Constant Detail
- -

-LOW

-
-public static final InvientChartsConfig.AxisBase.AxisTitleAlign LOW
-
-
-
-
-
- -

-MIDDLE

-
-public static final InvientChartsConfig.AxisBase.AxisTitleAlign MIDDLE
-
-
-
-
-
- -

-HIGH

-
-public static final InvientChartsConfig.AxisBase.AxisTitleAlign HIGH
-
-
-
-
- - - - - - - - -
-Method Detail
- -

-values

-
-public static InvientChartsConfig.AxisBase.AxisTitleAlign[] values()
-
-
Returns an array containing the constants of this enum type, in -the order they are declared. This method may be used to iterate -over the constants as follows: -
-for (InvientChartsConfig.AxisBase.AxisTitleAlign c : InvientChartsConfig.AxisBase.AxisTitleAlign.values())
-    System.out.println(c);
-
-

-

- -
Returns:
an array containing the constants of this enum type, in -the order they are declared
-
-
-
- -

-valueOf

-
-public static InvientChartsConfig.AxisBase.AxisTitleAlign valueOf(java.lang.String name)
-
-
Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.) -

-

-
Parameters:
name - the name of the enum constant to be returned. -
Returns:
the enum constant with the specified name -
Throws: -
java.lang.IllegalArgumentException - if this enum type has no constant -with the specified name -
java.lang.NullPointerException - if the argument is null
-
-
-
- -

-getName

-
-public java.lang.String getName()
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.AxisType.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.AxisType.html deleted file mode 100644 index 7f94a2a..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.AxisType.html +++ /dev/null @@ -1,360 +0,0 @@ - - - - - - -InvientChartsConfig.AxisBase.AxisType - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Enum InvientChartsConfig.AxisBase.AxisType

-
-java.lang.Object
-  extended by java.lang.Enum<InvientChartsConfig.AxisBase.AxisType>
-      extended by com.invient.vaadin.charts.InvientChartsConfig.AxisBase.AxisType
-
-
-
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<InvientChartsConfig.AxisBase.AxisType>
-
-
-
Enclosing class:
InvientChartsConfig.AxisBase
-
-
-
-
public static enum InvientChartsConfig.AxisBase.AxisType
extends java.lang.Enum<InvientChartsConfig.AxisBase.AxisType>
- - -

-Defines axis types. - - AxisType.LINEAR - - - AxisType.DATETIME - For datetime axis, the values are given in date - except for InvientChartsConfig.BaseLineConfig.pointStart and InvientChartsConfig.BaseLineConfig.pointInterval - properties, which are specified in milliseconds. -

- -

-

-
Author:
-
Invient
-
See Also:
InvientChartsConfig.NumberXAxis, -InvientChartsConfig.NumberYAxis, -InvientChartsConfig.DateTimeAxis
-
- -

- - - - - - - - - - - - - -
-Enum Constant Summary
DATETIME - -
-           
LINEAR - -
-           
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.StringgetName() - -
-           
-static InvientChartsConfig.AxisBase.AxisTypevalueOf(java.lang.String name) - -
-          Returns the enum constant of this type with the specified name.
-static InvientChartsConfig.AxisBase.AxisType[]values() - -
-          Returns an array containing the constants of this enum type, in -the order they are declared.
- - - - - - - -
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Enum Constant Detail
- -

-LINEAR

-
-public static final InvientChartsConfig.AxisBase.AxisType LINEAR
-
-
-
-
-
- -

-DATETIME

-
-public static final InvientChartsConfig.AxisBase.AxisType DATETIME
-
-
-
-
- - - - - - - - -
-Method Detail
- -

-values

-
-public static InvientChartsConfig.AxisBase.AxisType[] values()
-
-
Returns an array containing the constants of this enum type, in -the order they are declared. This method may be used to iterate -over the constants as follows: -
-for (InvientChartsConfig.AxisBase.AxisType c : InvientChartsConfig.AxisBase.AxisType.values())
-    System.out.println(c);
-
-

-

- -
Returns:
an array containing the constants of this enum type, in -the order they are declared
-
-
-
- -

-valueOf

-
-public static InvientChartsConfig.AxisBase.AxisType valueOf(java.lang.String name)
-
-
Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.) -

-

-
Parameters:
name - the name of the enum constant to be returned. -
Returns:
the enum constant with the specified name -
Throws: -
java.lang.IllegalArgumentException - if this enum type has no constant -with the specified name -
java.lang.NullPointerException - if the argument is null
-
-
-
- -

-getName

-
-public java.lang.String getName()
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.DateTimePlotBand.DateTimeRange.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.DateTimePlotBand.DateTimeRange.html deleted file mode 100644 index 88e597c..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.DateTimePlotBand.DateTimeRange.html +++ /dev/null @@ -1,320 +0,0 @@ - - - - - - -InvientChartsConfig.AxisBase.DateTimePlotBand.DateTimeRange - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.AxisBase.DateTimePlotBand.DateTimeRange

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotBand.Range
-      extended by com.invient.vaadin.charts.InvientChartsConfig.AxisBase.DateTimePlotBand.DateTimeRange
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientChartsConfig.AxisBase.DateTimePlotBand
-
-
-
-
public static final class InvientChartsConfig.AxisBase.DateTimePlotBand.DateTimeRange
extends InvientChartsConfig.AxisBase.PlotBand.Range
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.AxisBase.DateTimePlotBand.DateTimeRange(java.util.Date from, - java.util.Date to) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.util.DategetFrom() - -
-           
- java.util.DategetTo() - -
-           
- voidsetFrom(java.util.Date from) - -
-           
- voidsetTo(java.util.Date to) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.AxisBase.DateTimePlotBand.DateTimeRange

-
-public InvientChartsConfig.AxisBase.DateTimePlotBand.DateTimeRange(java.util.Date from,
-                                                                   java.util.Date to)
-
-
- - - - - - - - -
-Method Detail
- -

-getFrom

-
-public java.util.Date getFrom()
-
-
-
-
-
-
- -

-setFrom

-
-public void setFrom(java.util.Date from)
-
-
-
-
-
-
- -

-getTo

-
-public java.util.Date getTo()
-
-
-
-
-
-
- -

-setTo

-
-public void setTo(java.util.Date to)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.DateTimePlotBand.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.DateTimePlotBand.html deleted file mode 100644 index 89bbbbb..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.DateTimePlotBand.html +++ /dev/null @@ -1,319 +0,0 @@ - - - - - - -InvientChartsConfig.AxisBase.DateTimePlotBand - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.AxisBase.DateTimePlotBand

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotBand
-      extended by com.invient.vaadin.charts.InvientChartsConfig.AxisBase.DateTimePlotBand
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientChartsConfig.AxisBase
-
-
-
-
public static final class InvientChartsConfig.AxisBase.DateTimePlotBand
extends InvientChartsConfig.AxisBase.PlotBand
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Nested Class Summary
-static classInvientChartsConfig.AxisBase.DateTimePlotBand.DateTimeRange - -
-           
- - - - - - - -
Nested classes/interfaces inherited from class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotBand
InvientChartsConfig.AxisBase.PlotBand.Range
-  - - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.AxisBase.DateTimePlotBand(java.lang.String id) - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- InvientChartsConfig.AxisBase.DateTimePlotBand.DateTimeRangegetRange() - -
-           
- voidsetRange(InvientChartsConfig.AxisBase.DateTimePlotBand.DateTimeRange range) - -
-           
- - - - - - - -
Methods inherited from class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotBand
equals, getColor, getId, getLabel, getZIndex, hashCode, setColor, setLabel, setZIndex
- - - - - - - -
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.AxisBase.DateTimePlotBand

-
-public InvientChartsConfig.AxisBase.DateTimePlotBand(java.lang.String id)
-
-
- - - - - - - - -
-Method Detail
- -

-getRange

-
-public InvientChartsConfig.AxisBase.DateTimePlotBand.DateTimeRange getRange()
-
-
-
-
-
-
-
-
-
- -

-setRange

-
-public void setRange(InvientChartsConfig.AxisBase.DateTimePlotBand.DateTimeRange range)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.DateTimePlotLine.DateTimeValue.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.DateTimePlotLine.DateTimeValue.html deleted file mode 100644 index 0e2fa89..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.DateTimePlotLine.DateTimeValue.html +++ /dev/null @@ -1,280 +0,0 @@ - - - - - - -InvientChartsConfig.AxisBase.DateTimePlotLine.DateTimeValue - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.AxisBase.DateTimePlotLine.DateTimeValue

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotLine.Value
-      extended by com.invient.vaadin.charts.InvientChartsConfig.AxisBase.DateTimePlotLine.DateTimeValue
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientChartsConfig.AxisBase.DateTimePlotLine
-
-
-
-
public static final class InvientChartsConfig.AxisBase.DateTimePlotLine.DateTimeValue
extends InvientChartsConfig.AxisBase.PlotLine.Value
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.AxisBase.DateTimePlotLine.DateTimeValue(java.util.Date value) - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- java.util.DategetValue() - -
-           
- voidsetValue(java.util.Date value) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.AxisBase.DateTimePlotLine.DateTimeValue

-
-public InvientChartsConfig.AxisBase.DateTimePlotLine.DateTimeValue(java.util.Date value)
-
-
- - - - - - - - -
-Method Detail
- -

-getValue

-
-public java.util.Date getValue()
-
-
-
-
-
-
- -

-setValue

-
-public void setValue(java.util.Date value)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.DateTimePlotLine.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.DateTimePlotLine.html deleted file mode 100644 index 089b3a5..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.DateTimePlotLine.html +++ /dev/null @@ -1,319 +0,0 @@ - - - - - - -InvientChartsConfig.AxisBase.DateTimePlotLine - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.AxisBase.DateTimePlotLine

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotLine
-      extended by com.invient.vaadin.charts.InvientChartsConfig.AxisBase.DateTimePlotLine
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientChartsConfig.AxisBase
-
-
-
-
public static final class InvientChartsConfig.AxisBase.DateTimePlotLine
extends InvientChartsConfig.AxisBase.PlotLine
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Nested Class Summary
-static classInvientChartsConfig.AxisBase.DateTimePlotLine.DateTimeValue - -
-           
- - - - - - - -
Nested classes/interfaces inherited from class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotLine
InvientChartsConfig.AxisBase.PlotLine.Value
-  - - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.AxisBase.DateTimePlotLine(java.lang.String id) - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- InvientChartsConfig.AxisBase.DateTimePlotLine.DateTimeValuegetValue() - -
-           
- voidsetValue(InvientChartsConfig.AxisBase.DateTimePlotLine.DateTimeValue value) - -
-           
- - - - - - - -
Methods inherited from class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotLine
getColor, getDashStyle, getId, getLabel, getWidth, getZIndex, setColor, setDashStyle, setId, setLabel, setWidth, setZIndex
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.AxisBase.DateTimePlotLine

-
-public InvientChartsConfig.AxisBase.DateTimePlotLine(java.lang.String id)
-
-
- - - - - - - - -
-Method Detail
- -

-getValue

-
-public InvientChartsConfig.AxisBase.DateTimePlotLine.DateTimeValue getValue()
-
-
-
-
-
-
-
-
-
- -

-setValue

-
-public void setValue(InvientChartsConfig.AxisBase.DateTimePlotLine.DateTimeValue value)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.Grid.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.Grid.html deleted file mode 100644 index 30ce6b3..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.Grid.html +++ /dev/null @@ -1,249 +0,0 @@ - - - - - - -InvientChartsConfig.AxisBase.Grid - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.AxisBase.Grid

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.AxisBase.MinorGrid
-      extended by com.invient.vaadin.charts.InvientChartsConfig.AxisBase.Grid
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientChartsConfig.AxisBase
-
-
-
-
public static final class InvientChartsConfig.AxisBase.Grid
extends InvientChartsConfig.AxisBase.MinorGrid
- - -

-Defines attributes of grid lines of the chart. By default, the grid - lines are shown. To hide them set property lineWidth to 0. -

- -

-

-
Author:
-
Invient
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.AxisBase.Grid() - -
-           
-  - - - - - - - -
-Method Summary
- - - - - - - -
Methods inherited from class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.MinorGrid
getLineColor, getLineDashStyle, getLineWidth, setLineColor, setLineDashStyle, setLineWidth, toString
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.AxisBase.Grid

-
-public InvientChartsConfig.AxisBase.Grid()
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.MinorGrid.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.MinorGrid.html deleted file mode 100644 index 8e17b01..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.MinorGrid.html +++ /dev/null @@ -1,416 +0,0 @@ - - - - - - -InvientChartsConfig.AxisBase.MinorGrid - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.AxisBase.MinorGrid

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.AxisBase.MinorGrid
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Direct Known Subclasses:
InvientChartsConfig.AxisBase.Grid
-
-
-
Enclosing class:
InvientChartsConfig.AxisBase
-
-
-
-
public static class InvientChartsConfig.AxisBase.MinorGrid
extends java.lang.Object
implements java.io.Serializable
- - -

-Defines attributes of minor grid lines of the chart. In order to show - minor grid lines, you must specify set MinorTick for the axis also. -

- -

-

-
Author:
-
Invient
-
See Also:
InvientChartsConfig.AxisBase.MinorTick, -InvientChartsConfig.AxisBase.Grid, -Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.AxisBase.MinorGrid() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- PaintgetLineColor() - -
-           
- InvientChartsConfig.DashStylegetLineDashStyle() - -
-           
- java.lang.IntegergetLineWidth() - -
-           
- voidsetLineColor(Paint lineColor) - -
-          Sets color of the minor grid lines
- voidsetLineDashStyle(InvientChartsConfig.DashStyle lineDashStyle) - -
-          Sets dash or dot style of the minor grid lines.
- voidsetLineWidth(java.lang.Integer lineWidth) - -
-          Sets width (in pixel) of the minor grid lines.
- java.lang.StringtoString() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.AxisBase.MinorGrid

-
-public InvientChartsConfig.AxisBase.MinorGrid()
-
-
- - - - - - - - -
-Method Detail
- -

-getLineColor

-
-public Paint getLineColor()
-
-
-
-
-
-
-
-
-
- -

-setLineColor

-
-public void setLineColor(Paint lineColor)
-
-
Sets color of the minor grid lines -

-

-
-
-
-
Parameters:
lineColor -
-
-
-
- -

-getLineDashStyle

-
-public InvientChartsConfig.DashStyle getLineDashStyle()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setLineDashStyle

-
-public void setLineDashStyle(InvientChartsConfig.DashStyle lineDashStyle)
-
-
Sets dash or dot style of the minor grid lines. Defaults to - DashStyle.SOLID -

-

-
-
-
-
Parameters:
lineDashStyle -
See Also:
InvientChartsConfig.DashStyle
-
-
-
- -

-getLineWidth

-
-public java.lang.Integer getLineWidth()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setLineWidth

-
-public void setLineWidth(java.lang.Integer lineWidth)
-
-
Sets width (in pixel) of the minor grid lines. Defaults to 1 -

-

-
-
-
-
Parameters:
lineWidth -
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
-
Overrides:
toString in class java.lang.Object
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.MinorTick.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.MinorTick.html deleted file mode 100644 index 2989a84..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.MinorTick.html +++ /dev/null @@ -1,505 +0,0 @@ - - - - - - -InvientChartsConfig.AxisBase.MinorTick - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.AxisBase.MinorTick

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.AxisBase.MinorTick
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Direct Known Subclasses:
InvientChartsConfig.AxisBase.Tick
-
-
-
Enclosing class:
InvientChartsConfig.AxisBase
-
-
-
-
public static class InvientChartsConfig.AxisBase.MinorTick
extends java.lang.Object
implements java.io.Serializable
- - -

-Defines attributes of a minor tick. The minor ticks do not have a - label. By default, minor ticks are not shown. To display minor ticks, - set interval property. -

- -

-

-
Author:
-
Invient
-
See Also:
InvientChartsConfig.AxisBase.Tick, -Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.AxisBase.MinorTick() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- PaintgetColor() - -
-           
- java.lang.DoublegetInterval() - -
-           
- java.lang.IntegergetLength() - -
-           
- InvientChartsConfig.AxisBase.TickPositiongetPosition() - -
-           
- java.lang.IntegergetWidth() - -
-           
- voidsetColor(Paint color) - -
-           
- voidsetInterval(java.lang.Double interval) - -
-          Sets interval for the minor tick.
- voidsetLength(java.lang.Integer length) - -
-          Sets length of the minorticks in pixel
- voidsetPosition(InvientChartsConfig.AxisBase.TickPosition position) - -
-           
- voidsetWidth(java.lang.Integer width) - -
-          Sets width of the minorticks in pixel
- java.lang.StringtoString() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.AxisBase.MinorTick

-
-public InvientChartsConfig.AxisBase.MinorTick()
-
-
- - - - - - - - -
-Method Detail
- -

-getColor

-
-public Paint getColor()
-
-
-
-
-
-
-
-
-
- -

-setColor

-
-public void setColor(Paint color)
-
-
-
-
-
-
-
-
-
- -

-getInterval

-
-public java.lang.Double getInterval()
-
-
-
-
-
-
-
-
-
- -

-setInterval

-
-public void setInterval(java.lang.Double interval)
-
-
Sets interval for the minor tick. The interval must be specified - in the axis unit. e.g. If an axis has tick interval of 50 units - then setting minortick interval to 10 will show 5 minor ticks. -

-

-
-
-
-
Parameters:
interval -
-
-
-
- -

-getLength

-
-public java.lang.Integer getLength()
-
-
-
-
-
-
-
-
-
- -

-setLength

-
-public void setLength(java.lang.Integer length)
-
-
Sets length of the minorticks in pixel -

-

-
-
-
-
Parameters:
length -
-
-
-
- -

-getPosition

-
-public InvientChartsConfig.AxisBase.TickPosition getPosition()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setPosition

-
-public void setPosition(InvientChartsConfig.AxisBase.TickPosition position)
-
-
-
-
-
-
Parameters:
position -
-
-
-
- -

-getWidth

-
-public java.lang.Integer getWidth()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setWidth

-
-public void setWidth(java.lang.Integer width)
-
-
Sets width of the minorticks in pixel -

-

-
-
-
-
Parameters:
width -
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
-
Overrides:
toString in class java.lang.Object
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.NumberPlotBand.NumberRange.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.NumberPlotBand.NumberRange.html deleted file mode 100644 index c1106dd..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.NumberPlotBand.NumberRange.html +++ /dev/null @@ -1,320 +0,0 @@ - - - - - - -InvientChartsConfig.AxisBase.NumberPlotBand.NumberRange - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.AxisBase.NumberPlotBand.NumberRange

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotBand.Range
-      extended by com.invient.vaadin.charts.InvientChartsConfig.AxisBase.NumberPlotBand.NumberRange
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientChartsConfig.AxisBase.NumberPlotBand
-
-
-
-
public static final class InvientChartsConfig.AxisBase.NumberPlotBand.NumberRange
extends InvientChartsConfig.AxisBase.PlotBand.Range
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.AxisBase.NumberPlotBand.NumberRange(java.lang.Double from, - java.lang.Double to) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.DoublegetFrom() - -
-           
- java.lang.DoublegetTo() - -
-           
- voidsetFrom(java.lang.Double from) - -
-           
- voidsetTo(java.lang.Double to) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.AxisBase.NumberPlotBand.NumberRange

-
-public InvientChartsConfig.AxisBase.NumberPlotBand.NumberRange(java.lang.Double from,
-                                                               java.lang.Double to)
-
-
- - - - - - - - -
-Method Detail
- -

-getFrom

-
-public java.lang.Double getFrom()
-
-
-
-
-
-
- -

-setFrom

-
-public void setFrom(java.lang.Double from)
-
-
-
-
-
-
- -

-getTo

-
-public java.lang.Double getTo()
-
-
-
-
-
-
- -

-setTo

-
-public void setTo(java.lang.Double to)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.NumberPlotBand.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.NumberPlotBand.html deleted file mode 100644 index b1dc803..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.NumberPlotBand.html +++ /dev/null @@ -1,319 +0,0 @@ - - - - - - -InvientChartsConfig.AxisBase.NumberPlotBand - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.AxisBase.NumberPlotBand

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotBand
-      extended by com.invient.vaadin.charts.InvientChartsConfig.AxisBase.NumberPlotBand
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientChartsConfig.AxisBase
-
-
-
-
public static final class InvientChartsConfig.AxisBase.NumberPlotBand
extends InvientChartsConfig.AxisBase.PlotBand
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Nested Class Summary
-static classInvientChartsConfig.AxisBase.NumberPlotBand.NumberRange - -
-           
- - - - - - - -
Nested classes/interfaces inherited from class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotBand
InvientChartsConfig.AxisBase.PlotBand.Range
-  - - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.AxisBase.NumberPlotBand(java.lang.String id) - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- InvientChartsConfig.AxisBase.NumberPlotBand.NumberRangegetRange() - -
-           
- voidsetRange(InvientChartsConfig.AxisBase.NumberPlotBand.NumberRange range) - -
-           
- - - - - - - -
Methods inherited from class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotBand
equals, getColor, getId, getLabel, getZIndex, hashCode, setColor, setLabel, setZIndex
- - - - - - - -
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.AxisBase.NumberPlotBand

-
-public InvientChartsConfig.AxisBase.NumberPlotBand(java.lang.String id)
-
-
- - - - - - - - -
-Method Detail
- -

-getRange

-
-public InvientChartsConfig.AxisBase.NumberPlotBand.NumberRange getRange()
-
-
-
-
-
-
-
-
-
- -

-setRange

-
-public void setRange(InvientChartsConfig.AxisBase.NumberPlotBand.NumberRange range)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.NumberPlotLine.NumberValue.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.NumberPlotLine.NumberValue.html deleted file mode 100644 index b337b46..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.NumberPlotLine.NumberValue.html +++ /dev/null @@ -1,280 +0,0 @@ - - - - - - -InvientChartsConfig.AxisBase.NumberPlotLine.NumberValue - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.AxisBase.NumberPlotLine.NumberValue

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotLine.Value
-      extended by com.invient.vaadin.charts.InvientChartsConfig.AxisBase.NumberPlotLine.NumberValue
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientChartsConfig.AxisBase.NumberPlotLine
-
-
-
-
public static final class InvientChartsConfig.AxisBase.NumberPlotLine.NumberValue
extends InvientChartsConfig.AxisBase.PlotLine.Value
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.AxisBase.NumberPlotLine.NumberValue(java.lang.Double value) - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.DoublegetValue() - -
-           
- voidsetValue(java.lang.Double value) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.AxisBase.NumberPlotLine.NumberValue

-
-public InvientChartsConfig.AxisBase.NumberPlotLine.NumberValue(java.lang.Double value)
-
-
- - - - - - - - -
-Method Detail
- -

-getValue

-
-public java.lang.Double getValue()
-
-
-
-
-
-
- -

-setValue

-
-public void setValue(java.lang.Double value)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.NumberPlotLine.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.NumberPlotLine.html deleted file mode 100644 index bf6c5b7..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.NumberPlotLine.html +++ /dev/null @@ -1,319 +0,0 @@ - - - - - - -InvientChartsConfig.AxisBase.NumberPlotLine - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.AxisBase.NumberPlotLine

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotLine
-      extended by com.invient.vaadin.charts.InvientChartsConfig.AxisBase.NumberPlotLine
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientChartsConfig.AxisBase
-
-
-
-
public static final class InvientChartsConfig.AxisBase.NumberPlotLine
extends InvientChartsConfig.AxisBase.PlotLine
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Nested Class Summary
-static classInvientChartsConfig.AxisBase.NumberPlotLine.NumberValue - -
-           
- - - - - - - -
Nested classes/interfaces inherited from class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotLine
InvientChartsConfig.AxisBase.PlotLine.Value
-  - - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.AxisBase.NumberPlotLine(java.lang.String id) - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- InvientChartsConfig.AxisBase.NumberPlotLine.NumberValuegetValue() - -
-           
- voidsetValue(InvientChartsConfig.AxisBase.NumberPlotLine.NumberValue value) - -
-           
- - - - - - - -
Methods inherited from class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotLine
getColor, getDashStyle, getId, getLabel, getWidth, getZIndex, setColor, setDashStyle, setId, setLabel, setWidth, setZIndex
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.AxisBase.NumberPlotLine

-
-public InvientChartsConfig.AxisBase.NumberPlotLine(java.lang.String id)
-
-
- - - - - - - - -
-Method Detail
- -

-getValue

-
-public InvientChartsConfig.AxisBase.NumberPlotLine.NumberValue getValue()
-
-
-
-
-
-
-
-
-
- -

-setValue

-
-public void setValue(InvientChartsConfig.AxisBase.NumberPlotLine.NumberValue value)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.PlotBand.Range.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.PlotBand.Range.html deleted file mode 100644 index 1b08d62..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.PlotBand.Range.html +++ /dev/null @@ -1,235 +0,0 @@ - - - - - - -InvientChartsConfig.AxisBase.PlotBand.Range - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.AxisBase.PlotBand.Range

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotBand.Range
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Direct Known Subclasses:
InvientChartsConfig.AxisBase.DateTimePlotBand.DateTimeRange, InvientChartsConfig.AxisBase.NumberPlotBand.NumberRange
-
-
-
Enclosing class:
InvientChartsConfig.AxisBase.PlotBand
-
-
-
-
public abstract static class InvientChartsConfig.AxisBase.PlotBand.Range
extends java.lang.Object
implements java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.AxisBase.PlotBand.Range() - -
-           
-  - - - - - - - -
-Method Summary
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.AxisBase.PlotBand.Range

-
-public InvientChartsConfig.AxisBase.PlotBand.Range()
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.PlotBand.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.PlotBand.html deleted file mode 100644 index a97ed59..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.PlotBand.html +++ /dev/null @@ -1,459 +0,0 @@ - - - - - - -InvientChartsConfig.AxisBase.PlotBand - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.AxisBase.PlotBand

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotBand
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Direct Known Subclasses:
InvientChartsConfig.AxisBase.DateTimePlotBand, InvientChartsConfig.AxisBase.NumberPlotBand
-
-
-
Enclosing class:
InvientChartsConfig.AxisBase
-
-
-
-
public abstract static class InvientChartsConfig.AxisBase.PlotBand
extends java.lang.Object
implements java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Nested Class Summary
-static classInvientChartsConfig.AxisBase.PlotBand.Range - -
-           
-  - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.AxisBase.PlotBand(java.lang.String id) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- booleanequals(java.lang.Object obj) - -
-           
- PaintgetColor() - -
-           
- java.lang.StringgetId() - -
-           
- InvientChartsConfig.AxisBase.PlotLabelgetLabel() - -
-           
- java.lang.IntegergetZIndex() - -
-           
- inthashCode() - -
-           
- voidsetColor(Paint color) - -
-           
- voidsetLabel(InvientChartsConfig.AxisBase.PlotLabel label) - -
-           
- voidsetZIndex(java.lang.Integer zIndex) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.AxisBase.PlotBand

-
-public InvientChartsConfig.AxisBase.PlotBand(java.lang.String id)
-
-
- - - - - - - - -
-Method Detail
- -

-getColor

-
-public Paint getColor()
-
-
-
-
-
-
-
-
-
- -

-setColor

-
-public void setColor(Paint color)
-
-
-
-
-
-
-
-
-
- -

-getId

-
-public java.lang.String getId()
-
-
-
-
-
-
-
-
-
- -

-getZIndex

-
-public java.lang.Integer getZIndex()
-
-
-
-
-
-
-
-
-
- -

-setZIndex

-
-public void setZIndex(java.lang.Integer zIndex)
-
-
-
-
-
-
-
-
-
- -

-getLabel

-
-public InvientChartsConfig.AxisBase.PlotLabel getLabel()
-
-
-
-
-
-
-
-
-
- -

-setLabel

-
-public void setLabel(InvientChartsConfig.AxisBase.PlotLabel label)
-
-
-
-
-
-
-
-
-
- -

-hashCode

-
-public int hashCode()
-
-
-
Overrides:
hashCode in class java.lang.Object
-
-
-
-
-
-
- -

-equals

-
-public boolean equals(java.lang.Object obj)
-
-
-
Overrides:
equals in class java.lang.Object
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.PlotLabel.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.PlotLabel.html deleted file mode 100644 index 3bdea61..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.PlotLabel.html +++ /dev/null @@ -1,593 +0,0 @@ - - - - - - -InvientChartsConfig.AxisBase.PlotLabel - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.AxisBase.PlotLabel

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotLabel
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientChartsConfig.AxisBase
-
-
-
-
public static final class InvientChartsConfig.AxisBase.PlotLabel
extends java.lang.Object
implements java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.AxisBase.PlotLabel(java.lang.String text) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- InvientChartsConfig.HorzAligngetAlign() - -
-           
- java.lang.IntegergetRotation() - -
-           
- java.lang.StringgetStyle() - -
-           
- java.lang.StringgetText() - -
-           
- InvientChartsConfig.HorzAligngetTextAlign() - -
-           
- InvientChartsConfig.VertAligngetVertAlign() - -
-           
- java.lang.IntegergetX() - -
-           
- java.lang.IntegergetY() - -
-           
- voidsetAlign(InvientChartsConfig.HorzAlign align) - -
-           
- voidsetRotation(java.lang.Integer rotation) - -
-           
- voidsetStyle(java.lang.String style) - -
-           
- voidsetText(java.lang.String text) - -
-           
- voidsetTextAlign(InvientChartsConfig.HorzAlign textAlign) - -
-           
- voidsetVertAlign(InvientChartsConfig.VertAlign vertAlign) - -
-           
- voidsetX(java.lang.Integer x) - -
-           
- voidsetY(java.lang.Integer y) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.AxisBase.PlotLabel

-
-public InvientChartsConfig.AxisBase.PlotLabel(java.lang.String text)
-
-
- - - - - - - - -
-Method Detail
- -

-getText

-
-public java.lang.String getText()
-
-
-
-
-
-
-
-
-
- -

-setText

-
-public void setText(java.lang.String text)
-
-
-
-
-
-
-
-
-
- -

-getAlign

-
-public InvientChartsConfig.HorzAlign getAlign()
-
-
-
-
-
-
-
-
-
- -

-setAlign

-
-public void setAlign(InvientChartsConfig.HorzAlign align)
-
-
-
-
-
-
-
-
-
- -

-getVertAlign

-
-public InvientChartsConfig.VertAlign getVertAlign()
-
-
-
-
-
-
-
-
-
- -

-setVertAlign

-
-public void setVertAlign(InvientChartsConfig.VertAlign vertAlign)
-
-
-
-
-
-
-
-
-
- -

-getRotation

-
-public java.lang.Integer getRotation()
-
-
-
-
-
-
-
-
-
- -

-setRotation

-
-public void setRotation(java.lang.Integer rotation)
-
-
-
-
-
-
-
-
-
- -

-getStyle

-
-public java.lang.String getStyle()
-
-
-
-
-
-
-
-
-
- -

-setStyle

-
-public void setStyle(java.lang.String style)
-
-
-
-
-
-
-
-
-
- -

-getTextAlign

-
-public InvientChartsConfig.HorzAlign getTextAlign()
-
-
-
-
-
-
-
-
-
- -

-setTextAlign

-
-public void setTextAlign(InvientChartsConfig.HorzAlign textAlign)
-
-
-
-
-
-
-
-
-
- -

-getX

-
-public java.lang.Integer getX()
-
-
-
-
-
-
-
-
-
- -

-setX

-
-public void setX(java.lang.Integer x)
-
-
-
-
-
-
-
-
-
- -

-getY

-
-public java.lang.Integer getY()
-
-
-
-
-
-
-
-
-
- -

-setY

-
-public void setY(java.lang.Integer y)
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.PlotLine.Value.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.PlotLine.Value.html deleted file mode 100644 index 24f33b9..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.PlotLine.Value.html +++ /dev/null @@ -1,235 +0,0 @@ - - - - - - -InvientChartsConfig.AxisBase.PlotLine.Value - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.AxisBase.PlotLine.Value

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotLine.Value
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Direct Known Subclasses:
InvientChartsConfig.AxisBase.DateTimePlotLine.DateTimeValue, InvientChartsConfig.AxisBase.NumberPlotLine.NumberValue
-
-
-
Enclosing class:
InvientChartsConfig.AxisBase.PlotLine
-
-
-
-
public abstract static class InvientChartsConfig.AxisBase.PlotLine.Value
extends java.lang.Object
implements java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.AxisBase.PlotLine.Value() - -
-           
-  - - - - - - - -
-Method Summary
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.AxisBase.PlotLine.Value

-
-public InvientChartsConfig.AxisBase.PlotLine.Value()
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.PlotLine.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.PlotLine.html deleted file mode 100644 index 8855fdc..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.PlotLine.html +++ /dev/null @@ -1,525 +0,0 @@ - - - - - - -InvientChartsConfig.AxisBase.PlotLine - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.AxisBase.PlotLine

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotLine
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Direct Known Subclasses:
InvientChartsConfig.AxisBase.DateTimePlotLine, InvientChartsConfig.AxisBase.NumberPlotLine
-
-
-
Enclosing class:
InvientChartsConfig.AxisBase
-
-
-
-
public abstract static class InvientChartsConfig.AxisBase.PlotLine
extends java.lang.Object
implements java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Nested Class Summary
-static classInvientChartsConfig.AxisBase.PlotLine.Value - -
-           
-  - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.AxisBase.PlotLine(java.lang.String id) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- PaintgetColor() - -
-           
- InvientChartsConfig.DashStylegetDashStyle() - -
-           
- java.lang.StringgetId() - -
-           
- InvientChartsConfig.AxisBase.PlotLabelgetLabel() - -
-           
- java.lang.IntegergetWidth() - -
-           
- java.lang.IntegergetZIndex() - -
-           
- voidsetColor(Paint color) - -
-           
- voidsetDashStyle(InvientChartsConfig.DashStyle dashStyle) - -
-           
- voidsetId(java.lang.String id) - -
-           
- voidsetLabel(InvientChartsConfig.AxisBase.PlotLabel label) - -
-           
- voidsetWidth(java.lang.Integer width) - -
-           
- voidsetZIndex(java.lang.Integer zIndex) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.AxisBase.PlotLine

-
-public InvientChartsConfig.AxisBase.PlotLine(java.lang.String id)
-
-
- - - - - - - - -
-Method Detail
- -

-getColor

-
-public Paint getColor()
-
-
-
-
-
-
-
-
-
- -

-setColor

-
-public void setColor(Paint color)
-
-
-
-
-
-
-
-
-
- -

-getDashStyle

-
-public InvientChartsConfig.DashStyle getDashStyle()
-
-
-
-
-
-
-
-
-
- -

-setDashStyle

-
-public void setDashStyle(InvientChartsConfig.DashStyle dashStyle)
-
-
-
-
-
-
-
-
-
- -

-getId

-
-public java.lang.String getId()
-
-
-
-
-
-
-
-
-
- -

-setId

-
-public void setId(java.lang.String id)
-
-
-
-
-
-
-
-
-
- -

-getWidth

-
-public java.lang.Integer getWidth()
-
-
-
-
-
-
-
-
-
- -

-setWidth

-
-public void setWidth(java.lang.Integer width)
-
-
-
-
-
-
-
-
-
- -

-getZIndex

-
-public java.lang.Integer getZIndex()
-
-
-
-
-
-
-
-
-
- -

-setZIndex

-
-public void setZIndex(java.lang.Integer zIndex)
-
-
-
-
-
-
-
-
-
- -

-getLabel

-
-public InvientChartsConfig.AxisBase.PlotLabel getLabel()
-
-
-
-
-
-
-
-
-
- -

-setLabel

-
-public void setLabel(InvientChartsConfig.AxisBase.PlotLabel label)
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.Tick.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.Tick.html deleted file mode 100644 index 350b8a5..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.Tick.html +++ /dev/null @@ -1,367 +0,0 @@ - - - - - - -InvientChartsConfig.AxisBase.Tick - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.AxisBase.Tick

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.AxisBase.MinorTick
-      extended by com.invient.vaadin.charts.InvientChartsConfig.AxisBase.Tick
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientChartsConfig.AxisBase
-
-
-
-
public static final class InvientChartsConfig.AxisBase.Tick
extends InvientChartsConfig.AxisBase.MinorTick
- - -

-Defines attributes of a tick marks. The interval of the tick marks - must be specified in axis unit. For datetime axis, the interval must - be in millisecond. - - The default tick interval is 1. -

- -

-

-
Author:
-
Invient
-
See Also:
InvientChartsConfig.AxisBase.MinorTick, -InvientChartsConfig.AxisBase.TickmarkPlacement, -Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.AxisBase.Tick() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.IntegergetPixelInterval() - -
-           
- InvientChartsConfig.AxisBase.TickmarkPlacementgetPlacement() - -
-           
- voidsetPixelInterval(java.lang.Integer pixelInterval) - -
-          Sets pixel interval of the tick marks
- voidsetPlacement(InvientChartsConfig.AxisBase.TickmarkPlacement placement) - -
-          Sets placement of the tick marks.
- java.lang.StringtoString() - -
-           
- - - - - - - -
Methods inherited from class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.MinorTick
getColor, getInterval, getLength, getPosition, getWidth, setColor, setInterval, setLength, setPosition, setWidth
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.AxisBase.Tick

-
-public InvientChartsConfig.AxisBase.Tick()
-
-
- - - - - - - - -
-Method Detail
- -

-getPlacement

-
-public InvientChartsConfig.AxisBase.TickmarkPlacement getPlacement()
-
-
- -
Returns:
-
-
-
- -

-setPlacement

-
-public void setPlacement(InvientChartsConfig.AxisBase.TickmarkPlacement placement)
-
-
Sets placement of the tick marks. -

-

-
Parameters:
placement -
-
-
-
- -

-getPixelInterval

-
-public java.lang.Integer getPixelInterval()
-
-
- -
Returns:
-
-
-
- -

-setPixelInterval

-
-public void setPixelInterval(java.lang.Integer pixelInterval)
-
-
Sets pixel interval of the tick marks -

-

-
Parameters:
pixelInterval -
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
-
Overrides:
toString in class InvientChartsConfig.AxisBase.MinorTick
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.TickPosition.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.TickPosition.html deleted file mode 100644 index 556f354..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.TickPosition.html +++ /dev/null @@ -1,352 +0,0 @@ - - - - - - -InvientChartsConfig.AxisBase.TickPosition - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Enum InvientChartsConfig.AxisBase.TickPosition

-
-java.lang.Object
-  extended by java.lang.Enum<InvientChartsConfig.AxisBase.TickPosition>
-      extended by com.invient.vaadin.charts.InvientChartsConfig.AxisBase.TickPosition
-
-
-
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<InvientChartsConfig.AxisBase.TickPosition>
-
-
-
Enclosing class:
InvientChartsConfig.AxisBase
-
-
-
-
public static enum InvientChartsConfig.AxisBase.TickPosition
extends java.lang.Enum<InvientChartsConfig.AxisBase.TickPosition>
- - -

-Defines position of the axis ticks with respect to the axis line -

- -

-

-
Author:
-
Invient
-
-
- -

- - - - - - - - - - - - - -
-Enum Constant Summary
INSIDE - -
-           
OUTSIDE - -
-           
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.StringgetName() - -
-           
-static InvientChartsConfig.AxisBase.TickPositionvalueOf(java.lang.String name) - -
-          Returns the enum constant of this type with the specified name.
-static InvientChartsConfig.AxisBase.TickPosition[]values() - -
-          Returns an array containing the constants of this enum type, in -the order they are declared.
- - - - - - - -
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Enum Constant Detail
- -

-OUTSIDE

-
-public static final InvientChartsConfig.AxisBase.TickPosition OUTSIDE
-
-
-
-
-
- -

-INSIDE

-
-public static final InvientChartsConfig.AxisBase.TickPosition INSIDE
-
-
-
-
- - - - - - - - -
-Method Detail
- -

-values

-
-public static InvientChartsConfig.AxisBase.TickPosition[] values()
-
-
Returns an array containing the constants of this enum type, in -the order they are declared. This method may be used to iterate -over the constants as follows: -
-for (InvientChartsConfig.AxisBase.TickPosition c : InvientChartsConfig.AxisBase.TickPosition.values())
-    System.out.println(c);
-
-

-

- -
Returns:
an array containing the constants of this enum type, in -the order they are declared
-
-
-
- -

-valueOf

-
-public static InvientChartsConfig.AxisBase.TickPosition valueOf(java.lang.String name)
-
-
Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.) -

-

-
Parameters:
name - the name of the enum constant to be returned. -
Returns:
the enum constant with the specified name -
Throws: -
java.lang.IllegalArgumentException - if this enum type has no constant -with the specified name -
java.lang.NullPointerException - if the argument is null
-
-
-
- -

-getName

-
-public java.lang.String getName()
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.TickmarkPlacement.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.TickmarkPlacement.html deleted file mode 100644 index b47035e..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.TickmarkPlacement.html +++ /dev/null @@ -1,358 +0,0 @@ - - - - - - -InvientChartsConfig.AxisBase.TickmarkPlacement - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Enum InvientChartsConfig.AxisBase.TickmarkPlacement

-
-java.lang.Object
-  extended by java.lang.Enum<InvientChartsConfig.AxisBase.TickmarkPlacement>
-      extended by com.invient.vaadin.charts.InvientChartsConfig.AxisBase.TickmarkPlacement
-
-
-
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<InvientChartsConfig.AxisBase.TickmarkPlacement>
-
-
-
Enclosing class:
InvientChartsConfig.AxisBase
-
-
-
-
public static enum InvientChartsConfig.AxisBase.TickmarkPlacement
extends java.lang.Enum<InvientChartsConfig.AxisBase.TickmarkPlacement>
- - -

-Defines position of the tick marks with respect to the axis - categories. It is applicable only for categorized axes. - - TickmarkPlacement.ON - tick mark is placed in the center of the - category - - TickmarkPlacement.BETWEEN - tick mark is placed between categories -

- -

-

-
Author:
-
Invient
-
-
- -

- - - - - - - - - - - - - -
-Enum Constant Summary
BETWEEN - -
-           
ON - -
-           
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.StringgetName() - -
-           
-static InvientChartsConfig.AxisBase.TickmarkPlacementvalueOf(java.lang.String name) - -
-          Returns the enum constant of this type with the specified name.
-static InvientChartsConfig.AxisBase.TickmarkPlacement[]values() - -
-          Returns an array containing the constants of this enum type, in -the order they are declared.
- - - - - - - -
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Enum Constant Detail
- -

-ON

-
-public static final InvientChartsConfig.AxisBase.TickmarkPlacement ON
-
-
-
-
-
- -

-BETWEEN

-
-public static final InvientChartsConfig.AxisBase.TickmarkPlacement BETWEEN
-
-
-
-
- - - - - - - - -
-Method Detail
- -

-values

-
-public static InvientChartsConfig.AxisBase.TickmarkPlacement[] values()
-
-
Returns an array containing the constants of this enum type, in -the order they are declared. This method may be used to iterate -over the constants as follows: -
-for (InvientChartsConfig.AxisBase.TickmarkPlacement c : InvientChartsConfig.AxisBase.TickmarkPlacement.values())
-    System.out.println(c);
-
-

-

- -
Returns:
an array containing the constants of this enum type, in -the order they are declared
-
-
-
- -

-valueOf

-
-public static InvientChartsConfig.AxisBase.TickmarkPlacement valueOf(java.lang.String name)
-
-
Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.) -

-

-
Parameters:
name - the name of the enum constant to be returned. -
Returns:
the enum constant with the specified name -
Throws: -
java.lang.IllegalArgumentException - if this enum type has no constant -with the specified name -
java.lang.NullPointerException - if the argument is null
-
-
-
- -

-getName

-
-public java.lang.String getName()
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.WeekDay.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.WeekDay.html deleted file mode 100644 index 9d54abc..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.WeekDay.html +++ /dev/null @@ -1,405 +0,0 @@ - - - - - - -InvientChartsConfig.AxisBase.WeekDay - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Enum InvientChartsConfig.AxisBase.WeekDay

-
-java.lang.Object
-  extended by java.lang.Enum<InvientChartsConfig.AxisBase.WeekDay>
-      extended by com.invient.vaadin.charts.InvientChartsConfig.AxisBase.WeekDay
-
-
-
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<InvientChartsConfig.AxisBase.WeekDay>
-
-
-
Enclosing class:
InvientChartsConfig.AxisBase
-
-
-
-
public static enum InvientChartsConfig.AxisBase.WeekDay
extends java.lang.Enum<InvientChartsConfig.AxisBase.WeekDay>
- - -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Enum Constant Summary
FRIDAY - -
-           
MONDAY - -
-           
SATURDAY - -
-           
SUNDAY - -
-           
THURSDAY - -
-           
TUESDAY - -
-           
WEDNESDAY - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
-static InvientChartsConfig.AxisBase.WeekDayvalueOf(java.lang.String name) - -
-          Returns the enum constant of this type with the specified name.
-static InvientChartsConfig.AxisBase.WeekDay[]values() - -
-          Returns an array containing the constants of this enum type, in -the order they are declared.
- - - - - - - -
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Enum Constant Detail
- -

-SUNDAY

-
-public static final InvientChartsConfig.AxisBase.WeekDay SUNDAY
-
-
-
-
-
- -

-MONDAY

-
-public static final InvientChartsConfig.AxisBase.WeekDay MONDAY
-
-
-
-
-
- -

-TUESDAY

-
-public static final InvientChartsConfig.AxisBase.WeekDay TUESDAY
-
-
-
-
-
- -

-WEDNESDAY

-
-public static final InvientChartsConfig.AxisBase.WeekDay WEDNESDAY
-
-
-
-
-
- -

-THURSDAY

-
-public static final InvientChartsConfig.AxisBase.WeekDay THURSDAY
-
-
-
-
-
- -

-FRIDAY

-
-public static final InvientChartsConfig.AxisBase.WeekDay FRIDAY
-
-
-
-
-
- -

-SATURDAY

-
-public static final InvientChartsConfig.AxisBase.WeekDay SATURDAY
-
-
-
-
- - - - - - - - -
-Method Detail
- -

-values

-
-public static InvientChartsConfig.AxisBase.WeekDay[] values()
-
-
Returns an array containing the constants of this enum type, in -the order they are declared. This method may be used to iterate -over the constants as follows: -
-for (InvientChartsConfig.AxisBase.WeekDay c : InvientChartsConfig.AxisBase.WeekDay.values())
-    System.out.println(c);
-
-

-

- -
Returns:
an array containing the constants of this enum type, in -the order they are declared
-
-
-
- -

-valueOf

-
-public static InvientChartsConfig.AxisBase.WeekDay valueOf(java.lang.String name)
-
-
Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.) -

-

-
Parameters:
name - the name of the enum constant to be returned. -
Returns:
the enum constant with the specified name -
Throws: -
java.lang.IllegalArgumentException - if this enum type has no constant -with the specified name -
java.lang.NullPointerException - if the argument is null
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.html deleted file mode 100644 index 61eb9a5..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisBase.html +++ /dev/null @@ -1,1447 +0,0 @@ - - - - - - -InvientChartsConfig.AxisBase - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.AxisBase

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.AxisBase
-
-
-
All Implemented Interfaces:
InvientChartsConfig.Axis, java.io.Serializable
-
-
-
Direct Known Subclasses:
InvientChartsConfig.CategoryAxis, InvientChartsConfig.DateTimeAxis, InvientChartsConfig.NumberAxis
-
-
-
Enclosing class:
InvientChartsConfig
-
-
-
-
public abstract static class InvientChartsConfig.AxisBase
extends java.lang.Object
implements InvientChartsConfig.Axis
- - -

-This class defines attributes common to X axis and Y axis. A chart can - have one or more axis of each type. -

- -

-

-
Author:
-
chirag
-
See Also:
InvientChartsConfig.XAxis, -InvientChartsConfig.YAxis, -Serialized Form
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Nested Class Summary
-static classInvientChartsConfig.AxisBase.AxisTitle - -
-           
-static classInvientChartsConfig.AxisBase.AxisTitleAlign - -
-           
-static classInvientChartsConfig.AxisBase.AxisType - -
-          Defines axis types.
-static classInvientChartsConfig.AxisBase.DateTimePlotBand - -
-           
-static classInvientChartsConfig.AxisBase.DateTimePlotLine - -
-           
-static classInvientChartsConfig.AxisBase.Grid - -
-          Defines attributes of grid lines of the chart.
-static classInvientChartsConfig.AxisBase.MinorGrid - -
-          Defines attributes of minor grid lines of the chart.
-static classInvientChartsConfig.AxisBase.MinorTick - -
-          Defines attributes of a minor tick.
-static classInvientChartsConfig.AxisBase.NumberPlotBand - -
-           
-static classInvientChartsConfig.AxisBase.NumberPlotLine - -
-           
-static classInvientChartsConfig.AxisBase.PlotBand - -
-           
-static classInvientChartsConfig.AxisBase.PlotLabel - -
-           
-static classInvientChartsConfig.AxisBase.PlotLine - -
-           
-static classInvientChartsConfig.AxisBase.Tick - -
-          Defines attributes of a tick marks.
-static classInvientChartsConfig.AxisBase.TickmarkPlacement - -
-          Defines position of the tick marks with respect to the axis - categories.
-static classInvientChartsConfig.AxisBase.TickPosition - -
-          Defines position of the axis ticks with respect to the axis line
-static classInvientChartsConfig.AxisBase.WeekDay - -
-           
-  - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.AxisBase() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- PaintgetAlternateGridColor() - -
-           
- java.lang.BooleangetEndOnTick() - -
-           
- InvientChartsConfig.AxisBase.GridgetGrid() - -
-           
- java.lang.StringgetId() - -
-           
- PaintgetLineColor() - -
-           
- java.lang.IntegergetLineWidth() - -
-           
- InvientChartsConfig.AxisgetLinkedTo() - -
-           
- java.lang.DoublegetMaxPadding() - -
-           
- java.lang.IntegergetMaxZoom() - -
-           
- InvientChartsConfig.AxisBase.MinorGridgetMinorGrid() - -
-           
- InvientChartsConfig.AxisBase.MinorTickgetMinorTick() - -
-           
- java.lang.DoublegetMinPadding() - -
-           
- java.lang.IntegergetOffset() - -
-           
- java.lang.BooleangetOpposite() - -
-           
- java.lang.BooleangetReversed() - -
-           
- java.lang.BooleangetShowFirstLabel() - -
-           
- java.lang.BooleangetShowLastLabel() - -
-           
- InvientChartsConfig.AxisBase.WeekDaygetStartOfWeek() - -
-           
- java.lang.BooleangetStartOnTick() - -
-           
- InvientChartsConfig.AxisBase.TickgetTick() - -
-           
- InvientChartsConfig.AxisBase.AxisTitlegetTitle() - -
-           
- InvientChartsConfig.AxisBase.AxisTypegetType() - -
-           
- voidremovePlotBand(java.lang.String id) - -
-          Removes a plotband with given id.
- voidremovePlotLine(java.lang.String id) - -
-           
- voidsetAlternateGridColor(Paint alternateGridColor) - -
-          Sets a color to be used for alternate grids of the chart
- voidsetEndOnTick(java.lang.Boolean endOnTick) - -
-          If the argument is true then this axis will end on a tick.
- voidsetGrid(InvientChartsConfig.AxisBase.Grid grid) - -
-          Sets grid for this axis
- voidsetId(java.lang.String id) - -
-          Sets an id for the axis
- voidsetLineColor(Paint lineColor) - -
-          Sets a color for line of this axis.
- voidsetLineWidth(java.lang.Integer lineWidth) - -
-          Sets width of this axis line
- voidsetLinkedTo(InvientChartsConfig.Axis linkedTo) - -
-          Sets another axis which is linked with this axis.
- voidsetMaxPadding(java.lang.Double maxPadding) - -
-           
- voidsetMaxZoom(java.lang.Integer maxZoom) - -
-          Sets maximum amount of zoom for this axis.
- voidsetMinorGrid(InvientChartsConfig.AxisBase.MinorGrid minorGrid) - -
-           
- voidsetMinorTick(InvientChartsConfig.AxisBase.MinorTick minorTick) - -
-           
- voidsetMinPadding(java.lang.Double minPadding) - -
-           
- voidsetOffset(java.lang.Integer offset) - -
-          Sets distance of this axis from the plot area
- voidsetOpposite(java.lang.Boolean opposite) - -
-          If the argument is true then another axis on the opposite side of - this axis will be displayed.
- voidsetReversed(java.lang.Boolean reversed) - -
-          If the argument it true then this axis will be reversed.
- voidsetShowFirstLabel(java.lang.Boolean showFirstLabel) - -
-          If the argument is true then the label of this axis' first tick will - be displayed.
- voidsetShowLastLabel(java.lang.Boolean showLastLabel) - -
-          If the argument is true then the label of this axis' last tick will - be displayed.
- voidsetStartOfWeek(InvientChartsConfig.AxisBase.WeekDay startOfWeek) - -
-          Sets a day to be considered as start of the week.
- voidsetStartOnTick(java.lang.Boolean startOnTick) - -
-          If the argument is true then this axis must start on a tick.
- voidsetTick(InvientChartsConfig.AxisBase.Tick tick) - -
-          Sets tick for the axis
- voidsetTitle(InvientChartsConfig.AxisBase.AxisTitle title) - -
-          Sets title for the axis
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.AxisBase

-
-public InvientChartsConfig.AxisBase()
-
-
- - - - - - - - -
-Method Detail
- -

-removePlotBand

-
-public void removePlotBand(java.lang.String id)
-
-
Removes a plotband with given id. -

-

-
-
-
-
Parameters:
id -
-
-
-
- -

-removePlotLine

-
-public void removePlotLine(java.lang.String id)
-
-
-
-
-
-
Parameters:
id -
-
-
-
- -

-getId

-
-public java.lang.String getId()
-
-
-
Specified by:
getId in interface InvientChartsConfig.Axis
-
-
-
-
-
-
- -

-setId

-
-public void setId(java.lang.String id)
-
-
Sets an id for the axis -

-

-
Specified by:
setId in interface InvientChartsConfig.Axis
-
-
-
-
-
-
- -

-getTick

-
-public InvientChartsConfig.AxisBase.Tick getTick()
-
-
-
Specified by:
getTick in interface InvientChartsConfig.Axis
-
-
-
-
-
-
- -

-setTick

-
-public void setTick(InvientChartsConfig.AxisBase.Tick tick)
-
-
Sets tick for the axis -

-

-
Specified by:
setTick in interface InvientChartsConfig.Axis
-
-
-
-
-
-
- -

-getMaxZoom

-
-public java.lang.Integer getMaxZoom()
-
-
-
Specified by:
getMaxZoom in interface InvientChartsConfig.Axis
-
-
-
-
-
-
- -

-setMaxZoom

-
-public void setMaxZoom(java.lang.Integer maxZoom)
-
-
Sets maximum amount of zoom for this axis. For datetime axis, the - maxZoom must be specified in milliseconds. For example, for a - datetime axis the main unit is milliseconds. If maxZoom is set to - 3600000, you can't zoom in more than to one hour. (Above example is - taken from Highcharts documentation) -

-

-
Specified by:
setMaxZoom in interface InvientChartsConfig.Axis
-
-
-
-
-
-
- -

-getReversed

-
-public java.lang.Boolean getReversed()
-
-
-
Specified by:
getReversed in interface InvientChartsConfig.Axis
-
-
-
-
-
-
- -

-setReversed

-
-public void setReversed(java.lang.Boolean reversed)
-
-
If the argument it true then this axis will be reversed. Defaults to - false. -

-

-
Specified by:
setReversed in interface InvientChartsConfig.Axis
-
-
-
-
-
-
- -

-getOpposite

-
-public java.lang.Boolean getOpposite()
-
-
-
Specified by:
getOpposite in interface InvientChartsConfig.Axis
-
-
-
-
-
-
- -

-setOpposite

-
-public void setOpposite(java.lang.Boolean opposite)
-
-
If the argument is true then another axis on the opposite side of - this axis will be displayed. The normal axis is on left side for - vertical axes and bottom for horzontal axes. -

-

-
Specified by:
setOpposite in interface InvientChartsConfig.Axis
-
-
-
-
-
-
- -

-getType

-
-public InvientChartsConfig.AxisBase.AxisType getType()
-
-
-
Specified by:
getType in interface InvientChartsConfig.Axis
-
-
-
-
-
-
- -

-getTitle

-
-public InvientChartsConfig.AxisBase.AxisTitle getTitle()
-
-
-
Specified by:
getTitle in interface InvientChartsConfig.Axis
-
-
-
-
-
-
- -

-setTitle

-
-public void setTitle(InvientChartsConfig.AxisBase.AxisTitle title)
-
-
Sets title for the axis -

-

-
Specified by:
setTitle in interface InvientChartsConfig.Axis
-
-
-
See Also:
InvientChartsConfig.AxisBase.AxisTitle
-
-
-
- -

-getAlternateGridColor

-
-public Paint getAlternateGridColor()
-
-
-
Specified by:
getAlternateGridColor in interface InvientChartsConfig.Axis
-
-
-
-
-
-
- -

-setAlternateGridColor

-
-public void setAlternateGridColor(Paint alternateGridColor)
-
-
Sets a color to be used for alternate grids of the chart -

-

-
Specified by:
setAlternateGridColor in interface InvientChartsConfig.Axis
-
-
-
-
-
-
- -

-getEndOnTick

-
-public java.lang.Boolean getEndOnTick()
-
-
-
Specified by:
getEndOnTick in interface InvientChartsConfig.Axis
-
-
-
-
-
-
- -

-setEndOnTick

-
-public void setEndOnTick(java.lang.Boolean endOnTick)
-
-
If the argument is true then this axis will end on a tick. -

-

-
Specified by:
setEndOnTick in interface InvientChartsConfig.Axis
-
-
-
-
-
-
- -

-getGrid

-
-public InvientChartsConfig.AxisBase.Grid getGrid()
-
-
-
Specified by:
getGrid in interface InvientChartsConfig.Axis
-
-
-
-
-
-
- -

-setGrid

-
-public void setGrid(InvientChartsConfig.AxisBase.Grid grid)
-
-
Sets grid for this axis -

-

-
Specified by:
setGrid in interface InvientChartsConfig.Axis
-
-
-
See Also:
InvientChartsConfig.AxisBase.Grid
-
-
-
- -

-getLineColor

-
-public Paint getLineColor()
-
-
-
Specified by:
getLineColor in interface InvientChartsConfig.Axis
-
-
-
-
-
-
- -

-setLineColor

-
-public void setLineColor(Paint lineColor)
-
-
Sets a color for line of this axis. This line indicate this axis -

-

-
Specified by:
setLineColor in interface InvientChartsConfig.Axis
-
-
-
-
-
-
- -

-getLineWidth

-
-public java.lang.Integer getLineWidth()
-
-
-
Specified by:
getLineWidth in interface InvientChartsConfig.Axis
-
-
-
-
-
-
- -

-setLineWidth

-
-public void setLineWidth(java.lang.Integer lineWidth)
-
-
Sets width of this axis line -

-

-
Specified by:
setLineWidth in interface InvientChartsConfig.Axis
-
-
-
-
-
-
- -

-getLinkedTo

-
-public InvientChartsConfig.Axis getLinkedTo()
-
-
-
Specified by:
getLinkedTo in interface InvientChartsConfig.Axis
-
-
-
-
-
-
- -

-setLinkedTo

-
-public void setLinkedTo(InvientChartsConfig.Axis linkedTo)
-
-
Sets another axis which is linked with this axis. The following - description is copied from Highcharts API documentation - http://www.highcharts.com/ref/#xAxis. - - When an axis is linked to a master axis, it will take the same - extremes as the master, but as assigned by min or max or by - setExtremes. It can be used to show additional info, or to ease - reading the chart by duplicating the scales. Defaults to null. -

-

-
Specified by:
setLinkedTo in interface InvientChartsConfig.Axis
-
-
-
-
-
-
- -

-getMaxPadding

-
-public java.lang.Double getMaxPadding()
-
-
-
Specified by:
getMaxPadding in interface InvientChartsConfig.Axis
-
-
-
-
-
-
- -

-setMaxPadding

-
-public void setMaxPadding(java.lang.Double maxPadding)
-
-
-
Specified by:
setMaxPadding in interface InvientChartsConfig.Axis
-
-
-
-
-
-
- -

-getMinPadding

-
-public java.lang.Double getMinPadding()
-
-
-
Specified by:
getMinPadding in interface InvientChartsConfig.Axis
-
-
-
-
-
-
- -

-setMinPadding

-
-public void setMinPadding(java.lang.Double minPadding)
-
-
-
Specified by:
setMinPadding in interface InvientChartsConfig.Axis
-
-
-
-
-
-
- -

-getMinorGrid

-
-public InvientChartsConfig.AxisBase.MinorGrid getMinorGrid()
-
-
-
Specified by:
getMinorGrid in interface InvientChartsConfig.Axis
-
-
-
-
-
-
- -

-setMinorGrid

-
-public void setMinorGrid(InvientChartsConfig.AxisBase.MinorGrid minorGrid)
-
-
-
Specified by:
setMinorGrid in interface InvientChartsConfig.Axis
-
-
-
-
-
-
- -

-getMinorTick

-
-public InvientChartsConfig.AxisBase.MinorTick getMinorTick()
-
-
-
Specified by:
getMinorTick in interface InvientChartsConfig.Axis
-
-
-
-
-
-
- -

-setMinorTick

-
-public void setMinorTick(InvientChartsConfig.AxisBase.MinorTick minorTick)
-
-
-
Specified by:
setMinorTick in interface InvientChartsConfig.Axis
-
-
-
-
-
-
- -

-getOffset

-
-public java.lang.Integer getOffset()
-
-
-
Specified by:
getOffset in interface InvientChartsConfig.Axis
-
-
-
-
-
-
- -

-setOffset

-
-public void setOffset(java.lang.Integer offset)
-
-
Sets distance of this axis from the plot area -

-

-
Specified by:
setOffset in interface InvientChartsConfig.Axis
-
-
-
-
-
-
- -

-getShowFirstLabel

-
-public java.lang.Boolean getShowFirstLabel()
-
-
-
Specified by:
getShowFirstLabel in interface InvientChartsConfig.Axis
-
-
-
-
-
-
- -

-setShowFirstLabel

-
-public void setShowFirstLabel(java.lang.Boolean showFirstLabel)
-
-
If the argument is true then the label of this axis' first tick will - be displayed. Defaults to true. -

-

-
Specified by:
setShowFirstLabel in interface InvientChartsConfig.Axis
-
-
-
-
-
-
- -

-getShowLastLabel

-
-public java.lang.Boolean getShowLastLabel()
-
-
-
Specified by:
getShowLastLabel in interface InvientChartsConfig.Axis
-
-
-
-
-
-
- -

-setShowLastLabel

-
-public void setShowLastLabel(java.lang.Boolean showLastLabel)
-
-
If the argument is true then the label of this axis' last tick will - be displayed. Defaults to false -

-

-
Specified by:
setShowLastLabel in interface InvientChartsConfig.Axis
-
-
-
-
-
-
- -

-getStartOfWeek

-
-public InvientChartsConfig.AxisBase.WeekDay getStartOfWeek()
-
-
-
Specified by:
getStartOfWeek in interface InvientChartsConfig.Axis
-
-
-
-
-
-
- -

-setStartOfWeek

-
-public void setStartOfWeek(InvientChartsConfig.AxisBase.WeekDay startOfWeek)
-
-
Sets a day to be considered as start of the week. For datetime axis, - this decides where to put tick. e.g. if startOfWeek = THURSDAY then - tick will be placed on every thursday. -

-

-
Specified by:
setStartOfWeek in interface InvientChartsConfig.Axis
-
-
-
-
-
-
- -

-getStartOnTick

-
-public java.lang.Boolean getStartOnTick()
-
-
-
Specified by:
getStartOnTick in interface InvientChartsConfig.Axis
-
-
-
-
-
-
- -

-setStartOnTick

-
-public void setStartOnTick(java.lang.Boolean startOnTick)
-
-
If the argument is true then this axis must start on a tick. Defaults - to false -

-

-
Specified by:
setStartOnTick in interface InvientChartsConfig.Axis
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisDataLabel.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisDataLabel.html deleted file mode 100644 index 0486ac7..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.AxisDataLabel.html +++ /dev/null @@ -1,323 +0,0 @@ - - - - - - -InvientChartsConfig.AxisDataLabel - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.AxisDataLabel

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.DataLabel
-      extended by com.invient.vaadin.charts.InvientChartsConfig.AxisDataLabel
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Direct Known Subclasses:
InvientChartsConfig.XAxisDataLabel, InvientChartsConfig.YAxisDataLabel
-
-
-
Enclosing class:
InvientChartsConfig
-
-
-
-
public abstract static class InvientChartsConfig.AxisDataLabel
extends InvientChartsConfig.DataLabel
- - -

-This class contains configuration properties for axis labels. The axis - labels are the one which are displayed for each tick. -

- -

-

-
Author:
-
Invient
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.AxisDataLabel() - -
-           
InvientChartsConfig.AxisDataLabel(boolean enabled) - -
-          If the argument is true then the data labels will be displayed - otherwise not.
-  - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.IntegergetStep() - -
-           
- voidsetStep(java.lang.Integer step) - -
-          Sets at what interval the labels on the axis should be displayed.
- - - - - - - -
Methods inherited from class com.invient.vaadin.charts.InvientChartsConfig.DataLabel
getAlign, getColor, getEnabled, getFormatterJsFunc, getRotation, getStyle, getX, getY, setAlign, setColor, setEnabled, setFormatterJsFunc, setRotation, setStyle, setX, setY, toString
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.AxisDataLabel

-
-public InvientChartsConfig.AxisDataLabel()
-
-
-
- -

-InvientChartsConfig.AxisDataLabel

-
-public InvientChartsConfig.AxisDataLabel(boolean enabled)
-
-
If the argument is true then the data labels will be displayed - otherwise not. -

-

-
Parameters:
enabled -
-
- - - - - - - - -
-Method Detail
- -

-getStep

-
-public java.lang.Integer getStep()
-
-
- -
Returns:
-
-
-
- -

-setStep

-
-public void setStep(java.lang.Integer step)
-
-
Sets at what interval the labels on the axis should be displayed. - Setting the step to 2 shows every other label. Defaults to null -

-

-
Parameters:
step -
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.BarConfig.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.BarConfig.html deleted file mode 100644 index 32c6dbf..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.BarConfig.html +++ /dev/null @@ -1,258 +0,0 @@ - - - - - - -InvientChartsConfig.BarConfig - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.BarConfig

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.SeriesConfig
-      extended by com.invient.vaadin.charts.InvientChartsConfig.BaseBarConfig
-          extended by com.invient.vaadin.charts.InvientChartsConfig.BarConfig
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientChartsConfig
-
-
-
-
public static class InvientChartsConfig.BarConfig
extends InvientChartsConfig.BaseBarConfig
- - -

-This class contains configuration options for bar series. -

- -

-

-
Author:
-
Invient
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.BarConfig() - -
-           
-  - - - - - - - -
-Method Summary
- - - - - - - -
Methods inherited from class com.invient.vaadin.charts.InvientChartsConfig.BaseBarConfig
getBorderColor, getBorderRadius, getBorderWidth, getColorByPoint, getGroupPadding, getHoverState, getMinPointLength, getPointPadding, getPointWidth, setBorderColor, setBorderRadius, setBorderWidth, setColorByPoint, setGroupPadding, setHoverState, setMinPointLength, setPointPadding, setPointWidth
- - - - - - - -
Methods inherited from class com.invient.vaadin.charts.InvientChartsConfig.SeriesConfig
getAllowPointSelect, getAnimation, getColor, getCursor, getDataLabel, getEnableMouseTracking, getShadow, getShowCheckbox, getShowInLegend, getStacking, getVisible, setAllowPointSelect, setAnimation, setColor, setCursor, setDataLabel, setEnableMouseTracking, setHoverState, setShadow, setShowCheckbox, setShowInLegend, setStacking, setVisible
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.BarConfig

-
-public InvientChartsConfig.BarConfig()
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.BaseBarConfig.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.BaseBarConfig.html deleted file mode 100644 index 50d2e7e..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.BaseBarConfig.html +++ /dev/null @@ -1,644 +0,0 @@ - - - - - - -InvientChartsConfig.BaseBarConfig - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.BaseBarConfig

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.SeriesConfig
-      extended by com.invient.vaadin.charts.InvientChartsConfig.BaseBarConfig
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Direct Known Subclasses:
InvientChartsConfig.BarConfig, InvientChartsConfig.ColumnConfig
-
-
-
Enclosing class:
InvientChartsConfig
-
-
-
-
public abstract static class InvientChartsConfig.BaseBarConfig
extends InvientChartsConfig.SeriesConfig
- - -

-This class contains configuration options for bar and column series. -

- -

-

-
Author:
-
Invient
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.BaseBarConfig() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- PaintgetBorderColor() - -
-           
- java.lang.IntegergetBorderRadius() - -
-           
- java.lang.IntegergetBorderWidth() - -
-           
- java.lang.BooleangetColorByPoint() - -
-           
- java.lang.DoublegetGroupPadding() - -
-           
- InvientChartsConfig.NonLinearSeriesStategetHoverState() - -
-           
- java.lang.DoublegetMinPointLength() - -
-           
- java.lang.DoublegetPointPadding() - -
-           
- java.lang.IntegergetPointWidth() - -
-           
- voidsetBorderColor(Paint borderColor) - -
-          Sets the color of the border surronding each column or bar.
- voidsetBorderRadius(java.lang.Integer borderRadius) - -
-          Sets corner radius of the border surronding each column or bar.
- voidsetBorderWidth(java.lang.Integer borderWidth) - -
-          Sets width of the border surronding each column or bar.
- voidsetColorByPoint(java.lang.Boolean colorByPoint) - -
-          If the argument is true then each point (bar or column in a series - will have a different color otherwise all points (bars/columns) of a - series will have same color.
- voidsetGroupPadding(java.lang.Double groupPadding) - -
-          Sets padding between each value groups, in x axis units.
- voidsetHoverState(InvientChartsConfig.NonLinearSeriesState state) - -
-          Sets state which should be applied to a bar or column when a mouse is - over the bar or column
- voidsetMinPointLength(java.lang.Double minPointLength) - -
-          Sets the minimal height for a column or width for a bar.
- voidsetPointPadding(java.lang.Double pointPadding) - -
-          Sets padding between each column or bar, in x axis units.
- voidsetPointWidth(java.lang.Integer pointWidth) - -
-          Sets width of each bar or column in pixel.
- - - - - - - -
Methods inherited from class com.invient.vaadin.charts.InvientChartsConfig.SeriesConfig
getAllowPointSelect, getAnimation, getColor, getCursor, getDataLabel, getEnableMouseTracking, getShadow, getShowCheckbox, getShowInLegend, getStacking, getVisible, setAllowPointSelect, setAnimation, setColor, setCursor, setDataLabel, setEnableMouseTracking, setHoverState, setShadow, setShowCheckbox, setShowInLegend, setStacking, setVisible
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.BaseBarConfig

-
-public InvientChartsConfig.BaseBarConfig()
-
-
- - - - - - - - -
-Method Detail
- -

-getBorderColor

-
-public Paint getBorderColor()
-
-
- -
Returns:
-
-
-
- -

-setBorderColor

-
-public void setBorderColor(Paint borderColor)
-
-
Sets the color of the border surronding each column or bar. -

-

-
Parameters:
borderColor -
-
-
-
- -

-getBorderRadius

-
-public java.lang.Integer getBorderRadius()
-
-
- -
Returns:
-
-
-
- -

-setBorderRadius

-
-public void setBorderRadius(java.lang.Integer borderRadius)
-
-
Sets corner radius of the border surronding each column or bar. -

-

-
Parameters:
borderRadius -
-
-
-
- -

-getBorderWidth

-
-public java.lang.Integer getBorderWidth()
-
-
- -
Returns:
-
-
-
- -

-setBorderWidth

-
-public void setBorderWidth(java.lang.Integer borderWidth)
-
-
Sets width of the border surronding each column or bar. -

-

-
Parameters:
borderWidth -
-
-
-
- -

-getColorByPoint

-
-public java.lang.Boolean getColorByPoint()
-
-
- -
Returns:
-
-
-
- -

-setColorByPoint

-
-public void setColorByPoint(java.lang.Boolean colorByPoint)
-
-
If the argument is true then each point (bar or column in a series - will have a different color otherwise all points (bars/columns) of a - series will have same color. -

-

-
Parameters:
colorByPoint -
-
-
-
- -

-getGroupPadding

-
-public java.lang.Double getGroupPadding()
-
-
- -
Returns:
-
-
-
- -

-setGroupPadding

-
-public void setGroupPadding(java.lang.Double groupPadding)
-
-
Sets padding between each value groups, in x axis units. Defaults to - 0.2. -

-

-
Parameters:
groupPadding -
-
-
-
- -

-getMinPointLength

-
-public java.lang.Double getMinPointLength()
-
-
- -
Returns:
-
-
-
- -

-setMinPointLength

-
-public void setMinPointLength(java.lang.Double minPointLength)
-
-
Sets the minimal height for a column or width for a bar. By default, - 0 values are not shown. To visualize a 0 (or close to zero) point, - set the minimal point length to a pixel value like 3. In stacked - column charts, minPointLength might not be respected for tightly - packed values. Defaults to 0. (For detail, refer to - http://www.highcharts.com/ref/#plotOptions-bar); -

-

-
Parameters:
minPointLength -
-
-
-
- -

-getPointPadding

-
-public java.lang.Double getPointPadding()
-
-
- -
Returns:
-
-
-
- -

-setPointPadding

-
-public void setPointPadding(java.lang.Double pointPadding)
-
-
Sets padding between each column or bar, in x axis units. -

-

-
Parameters:
pointPadding -
-
-
-
- -

-getPointWidth

-
-public java.lang.Integer getPointWidth()
-
-
- -
Returns:
-
-
-
- -

-setPointWidth

-
-public void setPointWidth(java.lang.Integer pointWidth)
-
-
Sets width of each bar or column in pixel. -

-

-
Parameters:
pointWidth -
-
-
-
- -

-setHoverState

-
-public void setHoverState(InvientChartsConfig.NonLinearSeriesState state)
-
-
Sets state which should be applied to a bar or column when a mouse is - over the bar or column -

-

-
Parameters:
state -
-
-
-
- -

-getHoverState

-
-public InvientChartsConfig.NonLinearSeriesState getHoverState()
-
-
-
Overrides:
getHoverState in class InvientChartsConfig.SeriesConfig
-
-
- -
Returns:
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.BaseLineConfig.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.BaseLineConfig.html deleted file mode 100644 index 1151b9e..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.BaseLineConfig.html +++ /dev/null @@ -1,520 +0,0 @@ - - - - - - -InvientChartsConfig.BaseLineConfig - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.BaseLineConfig

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.SeriesConfig
-      extended by com.invient.vaadin.charts.InvientChartsConfig.BaseLineConfig
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Direct Known Subclasses:
InvientChartsConfig.AreaConfig, InvientChartsConfig.LineConfig, InvientChartsConfig.ScatterConfig, InvientChartsConfig.SplineConfig
-
-
-
Enclosing class:
InvientChartsConfig
-
-
-
-
public abstract static class InvientChartsConfig.BaseLineConfig
extends InvientChartsConfig.SeriesConfig
- - -

-This class contains configuration options for line series such as line - and area but not column series. -

- -

-

-
Author:
-
Invient
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.BaseLineConfig() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- InvientChartsConfig.DashStylegetDashStyle() - -
-           
- java.lang.IntegergetLineWidth() - -
-           
- InvientChartsConfig.MarkergetMarker() - -
-           
- java.lang.DoublegetPointInterval() - -
-           
- java.lang.DoublegetPointStart() - -
-           
- java.lang.BooleangetStickyTracking() - -
-           
- voidsetDashStyle(InvientChartsConfig.DashStyle dashStyle) - -
-          Sets dash style to use when drawing a series.
- voidsetLineWidth(java.lang.Integer lineWidth) - -
-          Sets width of a line
- voidsetMarker(InvientChartsConfig.Marker marker) - -
-          Sets marker for points of a series
- voidsetPointInterval(java.lang.Double pointInterval) - -
-          If no x values are given for the points in a series, the argument - pointInterval defines the interval of the x values.
- voidsetPointStart(java.lang.Double pointStart) - -
-          If no x values are given for the points in a series, the argument - pointStart defines on what value to start.
- voidsetStickyTracking(java.lang.Boolean stickyTracking) - -
-          If the argument is true then the mouseout event on a series is not - triggered until mouse moves over another series or comes out of the - plot area.
- - - - - - - -
Methods inherited from class com.invient.vaadin.charts.InvientChartsConfig.SeriesConfig
getAllowPointSelect, getAnimation, getColor, getCursor, getDataLabel, getEnableMouseTracking, getHoverState, getShadow, getShowCheckbox, getShowInLegend, getStacking, getVisible, setAllowPointSelect, setAnimation, setColor, setCursor, setDataLabel, setEnableMouseTracking, setHoverState, setShadow, setShowCheckbox, setShowInLegend, setStacking, setVisible
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.BaseLineConfig

-
-public InvientChartsConfig.BaseLineConfig()
-
-
- - - - - - - - -
-Method Detail
- -

-getPointStart

-
-public java.lang.Double getPointStart()
-
-
- -
Returns:
-
-
-
- -

-setPointStart

-
-public void setPointStart(java.lang.Double pointStart)
-
-
If no x values are given for the points in a series, the argument - pointStart defines on what value to start. Defaults to 0. e.g. if a - series contains values higher than 2 m $ then sets pointStart to - 2,000,000 -

-

-
Parameters:
pointStart -
-
-
-
- -

-getPointInterval

-
-public java.lang.Double getPointInterval()
-
-
- -
Returns:
-
-
-
- -

-setPointInterval

-
-public void setPointInterval(java.lang.Double pointInterval)
-
-
If no x values are given for the points in a series, the argument - pointInterval defines the interval of the x values. For example, if a - series contains one value every day then set pointInterval to 24 * - 3600 * 1000 -

-

-
Parameters:
pointInterval -
-
-
-
- -

-getStickyTracking

-
-public java.lang.Boolean getStickyTracking()
-
-
- -
Returns:
-
-
-
- -

-setStickyTracking

-
-public void setStickyTracking(java.lang.Boolean stickyTracking)
-
-
If the argument is true then the mouseout event on a series is not - triggered until mouse moves over another series or comes out of the - plot area. If the argument is true then the mouseout event occurs as - soon as mouse leaves area near to the point or marker -

-

-
Parameters:
stickyTracking -
-
-
-
- -

-getMarker

-
-public InvientChartsConfig.Marker getMarker()
-
-
- -
Returns:
-
-
-
- -

-setMarker

-
-public void setMarker(InvientChartsConfig.Marker marker)
-
-
Sets marker for points of a series -

-

-
Parameters:
marker -
-
-
-
- -

-getDashStyle

-
-public InvientChartsConfig.DashStyle getDashStyle()
-
-
- -
Returns:
-
-
-
- -

-setDashStyle

-
-public void setDashStyle(InvientChartsConfig.DashStyle dashStyle)
-
-
Sets dash style to use when drawing a series. -

-

-
Parameters:
dashStyle -
-
-
-
- -

-getLineWidth

-
-public java.lang.Integer getLineWidth()
-
-
- -
Returns:
-
-
-
- -

-setLineWidth

-
-public void setLineWidth(java.lang.Integer lineWidth)
-
-
Sets width of a line -

-

-
Parameters:
lineWidth -
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.CategoryAxis.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.CategoryAxis.html deleted file mode 100644 index 67b7852..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.CategoryAxis.html +++ /dev/null @@ -1,544 +0,0 @@ - - - - - - -InvientChartsConfig.CategoryAxis - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.CategoryAxis

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.AxisBase
-      extended by com.invient.vaadin.charts.InvientChartsConfig.CategoryAxis
-
-
-
All Implemented Interfaces:
InvientChartsConfig.Axis, InvientChartsConfig.XAxis, java.io.Serializable
-
-
-
Enclosing class:
InvientChartsConfig
-
-
-
-
public static final class InvientChartsConfig.CategoryAxis
extends InvientChartsConfig.AxisBase
implements InvientChartsConfig.XAxis
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - -
-Nested Class Summary
- - - - - - - -
Nested classes/interfaces inherited from class com.invient.vaadin.charts.InvientChartsConfig.AxisBase
InvientChartsConfig.AxisBase.AxisTitle, InvientChartsConfig.AxisBase.AxisTitleAlign, InvientChartsConfig.AxisBase.AxisType, InvientChartsConfig.AxisBase.DateTimePlotBand, InvientChartsConfig.AxisBase.DateTimePlotLine, InvientChartsConfig.AxisBase.Grid, InvientChartsConfig.AxisBase.MinorGrid, InvientChartsConfig.AxisBase.MinorTick, InvientChartsConfig.AxisBase.NumberPlotBand, InvientChartsConfig.AxisBase.NumberPlotLine, InvientChartsConfig.AxisBase.PlotBand, InvientChartsConfig.AxisBase.PlotLabel, InvientChartsConfig.AxisBase.PlotLine, InvientChartsConfig.AxisBase.Tick, InvientChartsConfig.AxisBase.TickmarkPlacement, InvientChartsConfig.AxisBase.TickPosition, InvientChartsConfig.AxisBase.WeekDay
-  - - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.CategoryAxis() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidaddPlotBand(InvientChartsConfig.AxisBase.NumberPlotBand plotBand) - -
-           
- voidaddPlotLine(InvientChartsConfig.AxisBase.NumberPlotLine plotLine) - -
-           
- java.util.List<java.lang.String>getCategories() - -
-           
- InvientChartsConfig.XAxisDataLabelgetLabel() - -
-           
- java.util.LinkedHashSet<InvientChartsConfig.AxisBase.NumberPlotBand>getPlotBands() - -
-           
- java.util.LinkedHashSet<InvientChartsConfig.AxisBase.NumberPlotLine>getPlotLines() - -
-           
- voidremovePlotBand(InvientChartsConfig.AxisBase.NumberPlotBand plotBand) - -
-           
- voidremovePlotLine(InvientChartsConfig.AxisBase.NumberPlotLine plotLine) - -
-           
- voidsetCategories(java.util.List<java.lang.String> categories) - -
-           
- voidsetLabel(InvientChartsConfig.XAxisDataLabel label) - -
-           
- voidsetPlotBands(java.util.LinkedHashSet<InvientChartsConfig.AxisBase.NumberPlotBand> plotBands) - -
-           
- voidsetPlotLines(java.util.LinkedHashSet<InvientChartsConfig.AxisBase.NumberPlotLine> plotLines) - -
-           
- - - - - - - -
Methods inherited from class com.invient.vaadin.charts.InvientChartsConfig.AxisBase
getAlternateGridColor, getEndOnTick, getGrid, getId, getLineColor, getLineWidth, getLinkedTo, getMaxPadding, getMaxZoom, getMinorGrid, getMinorTick, getMinPadding, getOffset, getOpposite, getReversed, getShowFirstLabel, getShowLastLabel, getStartOfWeek, getStartOnTick, getTick, getTitle, getType, removePlotBand, removePlotLine, setAlternateGridColor, setEndOnTick, setGrid, setId, setLineColor, setLineWidth, setLinkedTo, setMaxPadding, setMaxZoom, setMinorGrid, setMinorTick, setMinPadding, setOffset, setOpposite, setReversed, setShowFirstLabel, setShowLastLabel, setStartOfWeek, setStartOnTick, setTick, setTitle
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
- - - - - - - -
Methods inherited from interface com.invient.vaadin.charts.InvientChartsConfig.Axis
getAlternateGridColor, getEndOnTick, getGrid, getId, getLineColor, getLineWidth, getLinkedTo, getMaxPadding, getMaxZoom, getMinorGrid, getMinorTick, getMinPadding, getOffset, getOpposite, getReversed, getShowFirstLabel, getShowLastLabel, getStartOfWeek, getStartOnTick, getTick, getTitle, getType, setAlternateGridColor, setEndOnTick, setGrid, setId, setLineColor, setLineWidth, setLinkedTo, setMaxPadding, setMaxZoom, setMinorGrid, setMinorTick, setMinPadding, setOffset, setOpposite, setReversed, setShowFirstLabel, setShowLastLabel, setStartOfWeek, setStartOnTick, setTick, setTitle
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.CategoryAxis

-
-public InvientChartsConfig.CategoryAxis()
-
-
- - - - - - - - -
-Method Detail
- -

-getCategories

-
-public java.util.List<java.lang.String> getCategories()
-
-
-
-
-
-
-
-
-
- -

-setCategories

-
-public void setCategories(java.util.List<java.lang.String> categories)
-
-
-
-
-
-
-
-
-
- -

-setLabel

-
-public void setLabel(InvientChartsConfig.XAxisDataLabel label)
-
-
-
-
-
-
-
-
-
- -

-getLabel

-
-public InvientChartsConfig.XAxisDataLabel getLabel()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-getPlotBands

-
-public java.util.LinkedHashSet<InvientChartsConfig.AxisBase.NumberPlotBand> getPlotBands()
-
-
-
-
-
-
-
-
-
- -

-setPlotBands

-
-public void setPlotBands(java.util.LinkedHashSet<InvientChartsConfig.AxisBase.NumberPlotBand> plotBands)
-
-
-
-
-
-
-
-
-
- -

-addPlotBand

-
-public void addPlotBand(InvientChartsConfig.AxisBase.NumberPlotBand plotBand)
-
-
-
-
-
-
-
-
-
- -

-removePlotBand

-
-public void removePlotBand(InvientChartsConfig.AxisBase.NumberPlotBand plotBand)
-
-
-
-
-
-
-
-
-
- -

-getPlotLines

-
-public java.util.LinkedHashSet<InvientChartsConfig.AxisBase.NumberPlotLine> getPlotLines()
-
-
-
-
-
-
-
-
-
- -

-setPlotLines

-
-public void setPlotLines(java.util.LinkedHashSet<InvientChartsConfig.AxisBase.NumberPlotLine> plotLines)
-
-
-
-
-
-
-
-
-
- -

-addPlotLine

-
-public void addPlotLine(InvientChartsConfig.AxisBase.NumberPlotLine plotLine)
-
-
-
-
-
-
-
-
-
- -

-removePlotLine

-
-public void removePlotLine(InvientChartsConfig.AxisBase.NumberPlotLine plotLine)
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.ChartLabel.ChartLabelItem.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.ChartLabel.ChartLabelItem.html deleted file mode 100644 index bbd1565..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.ChartLabel.ChartLabelItem.html +++ /dev/null @@ -1,349 +0,0 @@ - - - - - - -InvientChartsConfig.ChartLabel.ChartLabelItem - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.ChartLabel.ChartLabelItem

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.ChartLabel.ChartLabelItem
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientChartsConfig.ChartLabel
-
-
-
-
public static class InvientChartsConfig.ChartLabel.ChartLabelItem
extends java.lang.Object
implements java.io.Serializable
- - -

-This class represents a label placed at arbitrary location in the - chart. The label can have html text and it can be styled using - css-style. -

- -

-

-
Author:
-
Invient
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.ChartLabel.ChartLabelItem(java.lang.String html, - java.lang.String style) - -
-          Creates a new instance with specified html and style arguments.
-  - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.StringgetHtml() - -
-           
- java.lang.StringgetStyle() - -
-           
- voidsetHtml(java.lang.String html) - -
-          Sets html for this label
- voidsetStyle(java.lang.String style) - -
-          Sets css style for this label
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.ChartLabel.ChartLabelItem

-
-public InvientChartsConfig.ChartLabel.ChartLabelItem(java.lang.String html,
-                                                     java.lang.String style)
-
-
Creates a new instance with specified html and style arguments. -

-

-
Parameters:
html -
style -
-
- - - - - - - - -
-Method Detail
- -

-getHtml

-
-public java.lang.String getHtml()
-
-
-
-
-
- -
Returns:
Returns html of this label
-
-
-
- -

-setHtml

-
-public void setHtml(java.lang.String html)
-
-
Sets html for this label -

-

-
-
-
-
Parameters:
html - It can be plain or html string.
-
-
-
- -

-getStyle

-
-public java.lang.String getStyle()
-
-
-
-
-
- -
Returns:
Returns css-style of this label
-
-
-
- -

-setStyle

-
-public void setStyle(java.lang.String style)
-
-
Sets css style for this label -

-

-
-
-
-
Parameters:
style -
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.ChartLabel.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.ChartLabel.html deleted file mode 100644 index 2d7b9b7..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.ChartLabel.html +++ /dev/null @@ -1,410 +0,0 @@ - - - - - - -InvientChartsConfig.ChartLabel - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.ChartLabel

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.ChartLabel
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientChartsConfig
-
-
-
-
public static class InvientChartsConfig.ChartLabel
extends java.lang.Object
implements java.io.Serializable
- - -

-The InvientChartsConfig.ChartLabel class represents a set of labels which an be - placed at arbitrary position in the chart. -

- -

-

-
Author:
-
Invient
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Nested Class Summary
-static classInvientChartsConfig.ChartLabel.ChartLabelItem - -
-          This class represents a label placed at arbitrary location in the - chart.
-  - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.ChartLabel() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidaddLabel(InvientChartsConfig.ChartLabel.ChartLabelItem label) - -
-          Appends the specified element at the end of InvientChartsConfig.ChartLabel.ChartLabelItem - list
- java.util.List<InvientChartsConfig.ChartLabel.ChartLabelItem>getLabels() - -
-           
- java.lang.StringgetStyle() - -
-           
- voidremoveLabel(InvientChartsConfig.ChartLabel.ChartLabelItem label) - -
-          Removes the specified element from the list of InvientChartsConfig.ChartLabel.ChartLabelItem
- voidsetLabels(java.util.List<InvientChartsConfig.ChartLabel.ChartLabelItem> labels) - -
-          Sets a list of InvientChartsConfig.ChartLabel.ChartLabelItem objects
- voidsetStyle(java.lang.String style) - -
-          Sets css style for all labels in this class
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.ChartLabel

-
-public InvientChartsConfig.ChartLabel()
-
-
- - - - - - - - -
-Method Detail
- -

-getStyle

-
-public java.lang.String getStyle()
-
-
-
-
-
- -
Returns:
Returns css style.
-
-
-
- -

-setStyle

-
-public void setStyle(java.lang.String style)
-
-
Sets css style for all labels in this class -

-

-
-
-
-
Parameters:
style - css style string
-
-
-
- -

-getLabels

-
-public java.util.List<InvientChartsConfig.ChartLabel.ChartLabelItem> getLabels()
-
-
-
-
-
- -
Returns:
Returns a list of InvientChartsConfig.ChartLabel.ChartLabelItem objects
-
-
-
- -

-setLabels

-
-public void setLabels(java.util.List<InvientChartsConfig.ChartLabel.ChartLabelItem> labels)
-
-
Sets a list of InvientChartsConfig.ChartLabel.ChartLabelItem objects -

-

-
-
-
-
Parameters:
labels -
-
-
-
- -

-addLabel

-
-public void addLabel(InvientChartsConfig.ChartLabel.ChartLabelItem label)
-
-
Appends the specified element at the end of InvientChartsConfig.ChartLabel.ChartLabelItem - list -

-

-
-
-
-
Parameters:
label - element to be appended
-
-
-
- -

-removeLabel

-
-public void removeLabel(InvientChartsConfig.ChartLabel.ChartLabelItem label)
-
-
Removes the specified element from the list of InvientChartsConfig.ChartLabel.ChartLabelItem -

-

-
-
-
-
Parameters:
label -
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.ColumnConfig.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.ColumnConfig.html deleted file mode 100644 index 90fb2f7..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.ColumnConfig.html +++ /dev/null @@ -1,258 +0,0 @@ - - - - - - -InvientChartsConfig.ColumnConfig - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.ColumnConfig

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.SeriesConfig
-      extended by com.invient.vaadin.charts.InvientChartsConfig.BaseBarConfig
-          extended by com.invient.vaadin.charts.InvientChartsConfig.ColumnConfig
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientChartsConfig
-
-
-
-
public static class InvientChartsConfig.ColumnConfig
extends InvientChartsConfig.BaseBarConfig
- - -

-This class contains configuration options for column series. -

- -

-

-
Author:
-
Invient
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.ColumnConfig() - -
-           
-  - - - - - - - -
-Method Summary
- - - - - - - -
Methods inherited from class com.invient.vaadin.charts.InvientChartsConfig.BaseBarConfig
getBorderColor, getBorderRadius, getBorderWidth, getColorByPoint, getGroupPadding, getHoverState, getMinPointLength, getPointPadding, getPointWidth, setBorderColor, setBorderRadius, setBorderWidth, setColorByPoint, setGroupPadding, setHoverState, setMinPointLength, setPointPadding, setPointWidth
- - - - - - - -
Methods inherited from class com.invient.vaadin.charts.InvientChartsConfig.SeriesConfig
getAllowPointSelect, getAnimation, getColor, getCursor, getDataLabel, getEnableMouseTracking, getShadow, getShowCheckbox, getShowInLegend, getStacking, getVisible, setAllowPointSelect, setAnimation, setColor, setCursor, setDataLabel, setEnableMouseTracking, setHoverState, setShadow, setShowCheckbox, setShowInLegend, setStacking, setVisible
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.ColumnConfig

-
-public InvientChartsConfig.ColumnConfig()
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.Credit.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.Credit.html deleted file mode 100644 index 17f9416..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.Credit.html +++ /dev/null @@ -1,483 +0,0 @@ - - - - - - -InvientChartsConfig.Credit - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.Credit

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.Credit
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientChartsConfig
-
-
-
-
public static final class InvientChartsConfig.Credit
extends java.lang.Object
implements java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.Credit() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.BooleangetEnabled() - -
-           
- java.lang.StringgetLink() - -
-           
- InvientChartsConfig.PositiongetPosition() - -
-           
- java.lang.StringgetStyle() - -
-           
- java.lang.StringgetText() - -
-           
- voidsetEnabled(java.lang.Boolean enabled) - -
-           
- voidsetLink(java.lang.String link) - -
-           
- voidsetPosition(InvientChartsConfig.Position position) - -
-           
- voidsetStyle(java.lang.String style) - -
-           
- voidsetText(java.lang.String text) - -
-           
- java.lang.StringtoString() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.Credit

-
-public InvientChartsConfig.Credit()
-
-
- - - - - - - - -
-Method Detail
- -

-getEnabled

-
-public java.lang.Boolean getEnabled()
-
-
-
-
-
-
-
-
-
- -

-setEnabled

-
-public void setEnabled(java.lang.Boolean enabled)
-
-
-
-
-
-
-
-
-
- -

-getLink

-
-public java.lang.String getLink()
-
-
-
-
-
-
-
-
-
- -

-setLink

-
-public void setLink(java.lang.String link)
-
-
-
-
-
-
-
-
-
- -

-getStyle

-
-public java.lang.String getStyle()
-
-
-
-
-
-
-
-
-
- -

-setStyle

-
-public void setStyle(java.lang.String style)
-
-
-
-
-
-
-
-
-
- -

-getText

-
-public java.lang.String getText()
-
-
-
-
-
-
-
-
-
- -

-setText

-
-public void setText(java.lang.String text)
-
-
-
-
-
-
-
-
-
- -

-getPosition

-
-public InvientChartsConfig.Position getPosition()
-
-
-
-
-
-
-
-
-
- -

-setPosition

-
-public void setPosition(InvientChartsConfig.Position position)
-
-
-
-
-
-
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
-
Overrides:
toString in class java.lang.Object
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.DashStyle.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.DashStyle.html deleted file mode 100644 index a22258f..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.DashStyle.html +++ /dev/null @@ -1,488 +0,0 @@ - - - - - - -InvientChartsConfig.DashStyle - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Enum InvientChartsConfig.DashStyle

-
-java.lang.Object
-  extended by java.lang.Enum<InvientChartsConfig.DashStyle>
-      extended by com.invient.vaadin.charts.InvientChartsConfig.DashStyle
-
-
-
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<InvientChartsConfig.DashStyle>
-
-
-
Enclosing class:
InvientChartsConfig
-
-
-
-
public static enum InvientChartsConfig.DashStyle
extends java.lang.Enum<InvientChartsConfig.DashStyle>
- - -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Enum Constant Summary
DASH - -
-           
DASH_DOT - -
-           
DOT - -
-           
LONG_DASH - -
-           
LONG_DASH_DOT - -
-           
LONG_DASH_DOT_DOT - -
-           
SHORT_DASH - -
-           
SHORT_DASH_DOT - -
-           
SHORT_DASH_DOT_DOT - -
-           
SHORT_DOT - -
-           
SOLID - -
-           
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.StringgetName() - -
-           
-static InvientChartsConfig.DashStylevalueOf(java.lang.String name) - -
-          Returns the enum constant of this type with the specified name.
-static InvientChartsConfig.DashStyle[]values() - -
-          Returns an array containing the constants of this enum type, in -the order they are declared.
- - - - - - - -
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Enum Constant Detail
- -

-SOLID

-
-public static final InvientChartsConfig.DashStyle SOLID
-
-
-
-
-
- -

-SHORT_DASH

-
-public static final InvientChartsConfig.DashStyle SHORT_DASH
-
-
-
-
-
- -

-SHORT_DOT

-
-public static final InvientChartsConfig.DashStyle SHORT_DOT
-
-
-
-
-
- -

-SHORT_DASH_DOT

-
-public static final InvientChartsConfig.DashStyle SHORT_DASH_DOT
-
-
-
-
-
- -

-SHORT_DASH_DOT_DOT

-
-public static final InvientChartsConfig.DashStyle SHORT_DASH_DOT_DOT
-
-
-
-
-
- -

-DOT

-
-public static final InvientChartsConfig.DashStyle DOT
-
-
-
-
-
- -

-DASH

-
-public static final InvientChartsConfig.DashStyle DASH
-
-
-
-
-
- -

-LONG_DASH

-
-public static final InvientChartsConfig.DashStyle LONG_DASH
-
-
-
-
-
- -

-DASH_DOT

-
-public static final InvientChartsConfig.DashStyle DASH_DOT
-
-
-
-
-
- -

-LONG_DASH_DOT

-
-public static final InvientChartsConfig.DashStyle LONG_DASH_DOT
-
-
-
-
-
- -

-LONG_DASH_DOT_DOT

-
-public static final InvientChartsConfig.DashStyle LONG_DASH_DOT_DOT
-
-
-
-
- - - - - - - - -
-Method Detail
- -

-values

-
-public static InvientChartsConfig.DashStyle[] values()
-
-
Returns an array containing the constants of this enum type, in -the order they are declared. This method may be used to iterate -over the constants as follows: -
-for (InvientChartsConfig.DashStyle c : InvientChartsConfig.DashStyle.values())
-    System.out.println(c);
-
-

-

- -
Returns:
an array containing the constants of this enum type, in -the order they are declared
-
-
-
- -

-valueOf

-
-public static InvientChartsConfig.DashStyle valueOf(java.lang.String name)
-
-
Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.) -

-

-
Parameters:
name - the name of the enum constant to be returned. -
Returns:
the enum constant with the specified name -
Throws: -
java.lang.IllegalArgumentException - if this enum type has no constant -with the specified name -
java.lang.NullPointerException - if the argument is null
-
-
-
- -

-getName

-
-public java.lang.String getName()
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.DataLabel.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.DataLabel.html deleted file mode 100644 index 564d0e6..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.DataLabel.html +++ /dev/null @@ -1,676 +0,0 @@ - - - - - - -InvientChartsConfig.DataLabel - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.DataLabel

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.DataLabel
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Direct Known Subclasses:
InvientChartsConfig.AxisDataLabel, InvientChartsConfig.PieDataLabel
-
-
-
Enclosing class:
InvientChartsConfig
-
-
-
-
public static class InvientChartsConfig.DataLabel
extends java.lang.Object
implements java.io.Serializable
- - -

-This class contains various attributes to format data labels. The data - labels are displayed along with points and axis. -

- -

-

-
Author:
-
Invient
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.DataLabel() - -
-           
InvientChartsConfig.DataLabel(boolean enabled) - -
-          If the argument is true then the datalabels will be displayed - otherwise not.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- InvientChartsConfig.HorzAligngetAlign() - -
-           
- ColorgetColor() - -
-           
- java.lang.BooleangetEnabled() - -
-           
- java.lang.StringgetFormatterJsFunc() - -
-           
- java.lang.IntegergetRotation() - -
-           
- java.lang.StringgetStyle() - -
-           
- java.lang.IntegergetX() - -
-           
- java.lang.IntegergetY() - -
-           
- voidsetAlign(InvientChartsConfig.HorzAlign align) - -
-           
- voidsetColor(Color color) - -
-          Sets color for the data labels.
- voidsetEnabled(java.lang.Boolean enabled) - -
-          If the argument is true then the datalabels will be displayed - otherwise not.
- voidsetFormatterJsFunc(java.lang.String formatterJsFunc) - -
-          Sets the argument string JavaScript function.
- voidsetRotation(java.lang.Integer rotation) - -
-          Sets text rotation in degrees
- voidsetStyle(java.lang.String style) - -
-          Sets css style for the data label
- voidsetX(java.lang.Integer x) - -
-          Sets the x position offset of the label relative to the point.
- voidsetY(java.lang.Integer y) - -
-          Sets the y position offset of the label relative to the point.
- java.lang.StringtoString() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.DataLabel

-
-public InvientChartsConfig.DataLabel()
-
-
-
- -

-InvientChartsConfig.DataLabel

-
-public InvientChartsConfig.DataLabel(boolean enabled)
-
-
If the argument is true then the datalabels will be displayed - otherwise not. -

-

-
Parameters:
enabled -
-
- - - - - - - - -
-Method Detail
- -

-getAlign

-
-public InvientChartsConfig.HorzAlign getAlign()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setAlign

-
-public void setAlign(InvientChartsConfig.HorzAlign align)
-
-
-
-
-
-
Parameters:
align -
-
-
-
- -

-getEnabled

-
-public java.lang.Boolean getEnabled()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setEnabled

-
-public void setEnabled(java.lang.Boolean enabled)
-
-
If the argument is true then the datalabels will be displayed - otherwise not. -

-

-
-
-
-
Parameters:
enabled -
-
-
-
- -

-getFormatterJsFunc

-
-public java.lang.String getFormatterJsFunc()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setFormatterJsFunc

-
-public void setFormatterJsFunc(java.lang.String formatterJsFunc)
-
-
Sets the argument string JavaScript function. This function will be - called to format the data label. Refer to highchart documentation for - more details on this - http://www.highcharts.com/ref/#plotOptions-series-dataLabels -

-

-
-
-
-
Parameters:
formatterJsFunc -
-
-
-
- -

-getRotation

-
-public java.lang.Integer getRotation()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setRotation

-
-public void setRotation(java.lang.Integer rotation)
-
-
Sets text rotation in degrees -

-

-
-
-
-
Parameters:
rotation -
-
-
-
- -

-getStyle

-
-public java.lang.String getStyle()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setStyle

-
-public void setStyle(java.lang.String style)
-
-
Sets css style for the data label -

-

-
-
-
-
Parameters:
style -
-
-
-
- -

-getX

-
-public java.lang.Integer getX()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setX

-
-public void setX(java.lang.Integer x)
-
-
Sets the x position offset of the label relative to the point. - Defaults to 0. -

-

-
-
-
-
Parameters:
x -
-
-
-
- -

-getY

-
-public java.lang.Integer getY()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setY

-
-public void setY(java.lang.Integer y)
-
-
Sets the y position offset of the label relative to the point. - Defaults to -6. -

-

-
-
-
-
Parameters:
y -
-
-
-
- -

-getColor

-
-public Color getColor()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setColor

-
-public void setColor(Color color)
-
-
Sets color for the data labels. e.g. if the color is blue then in - case of line series, for each point, the data label will be displayed - in blue color. -

-

-
-
-
-
Parameters:
color -
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
-
Overrides:
toString in class java.lang.Object
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.DateTimeAxis.DateTimeLabelFormat.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.DateTimeAxis.DateTimeLabelFormat.html deleted file mode 100644 index aa261af..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.DateTimeAxis.DateTimeLabelFormat.html +++ /dev/null @@ -1,524 +0,0 @@ - - - - - - -InvientChartsConfig.DateTimeAxis.DateTimeLabelFormat - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.DateTimeAxis.DateTimeLabelFormat

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.DateTimeAxis.DateTimeLabelFormat
-
-
-
Enclosing class:
InvientChartsConfig.DateTimeAxis
-
-
-
-
public static final class InvientChartsConfig.DateTimeAxis.DateTimeLabelFormat
extends java.lang.Object
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.DateTimeAxis.DateTimeLabelFormat() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.StringgetDay() - -
-           
- java.lang.StringgetHour() - -
-           
- java.lang.StringgetMinute() - -
-           
- java.lang.StringgetMonth() - -
-           
- java.lang.StringgetSecond() - -
-           
- java.lang.StringgetWeek() - -
-           
- java.lang.StringgetYear() - -
-           
- voidsetDay(java.lang.String day) - -
-           
- voidsetHour(java.lang.String hour) - -
-           
- voidsetMinute(java.lang.String minute) - -
-           
- voidsetMonth(java.lang.String month) - -
-           
- voidsetSecond(java.lang.String second) - -
-           
- voidsetWeek(java.lang.String week) - -
-           
- voidsetYear(java.lang.String year) - -
-           
- java.lang.StringtoString() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.DateTimeAxis.DateTimeLabelFormat

-
-public InvientChartsConfig.DateTimeAxis.DateTimeLabelFormat()
-
-
- - - - - - - - -
-Method Detail
- -

-getSecond

-
-public java.lang.String getSecond()
-
-
-
-
-
-
- -

-setSecond

-
-public void setSecond(java.lang.String second)
-
-
-
-
-
-
- -

-getMinute

-
-public java.lang.String getMinute()
-
-
-
-
-
-
- -

-setMinute

-
-public void setMinute(java.lang.String minute)
-
-
-
-
-
-
- -

-getHour

-
-public java.lang.String getHour()
-
-
-
-
-
-
- -

-setHour

-
-public void setHour(java.lang.String hour)
-
-
-
-
-
-
- -

-getDay

-
-public java.lang.String getDay()
-
-
-
-
-
-
- -

-setDay

-
-public void setDay(java.lang.String day)
-
-
-
-
-
-
- -

-getWeek

-
-public java.lang.String getWeek()
-
-
-
-
-
-
- -

-setWeek

-
-public void setWeek(java.lang.String week)
-
-
-
-
-
-
- -

-getMonth

-
-public java.lang.String getMonth()
-
-
-
-
-
-
- -

-setMonth

-
-public void setMonth(java.lang.String month)
-
-
-
-
-
-
- -

-getYear

-
-public java.lang.String getYear()
-
-
-
-
-
-
- -

-setYear

-
-public void setYear(java.lang.String year)
-
-
-
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
-
Overrides:
toString in class java.lang.Object
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.DateTimeAxis.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.DateTimeAxis.html deleted file mode 100644 index efc1086..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.DateTimeAxis.html +++ /dev/null @@ -1,595 +0,0 @@ - - - - - - -InvientChartsConfig.DateTimeAxis - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.DateTimeAxis

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.AxisBase
-      extended by com.invient.vaadin.charts.InvientChartsConfig.DateTimeAxis
-
-
-
All Implemented Interfaces:
InvientChartsConfig.Axis, InvientChartsConfig.XAxis, java.io.Serializable
-
-
-
Enclosing class:
InvientChartsConfig
-
-
-
-
public static final class InvientChartsConfig.DateTimeAxis
extends InvientChartsConfig.AxisBase
implements InvientChartsConfig.XAxis
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Nested Class Summary
-static classInvientChartsConfig.DateTimeAxis.DateTimeLabelFormat - -
-           
- - - - - - - -
Nested classes/interfaces inherited from class com.invient.vaadin.charts.InvientChartsConfig.AxisBase
InvientChartsConfig.AxisBase.AxisTitle, InvientChartsConfig.AxisBase.AxisTitleAlign, InvientChartsConfig.AxisBase.AxisType, InvientChartsConfig.AxisBase.DateTimePlotBand, InvientChartsConfig.AxisBase.DateTimePlotLine, InvientChartsConfig.AxisBase.Grid, InvientChartsConfig.AxisBase.MinorGrid, InvientChartsConfig.AxisBase.MinorTick, InvientChartsConfig.AxisBase.NumberPlotBand, InvientChartsConfig.AxisBase.NumberPlotLine, InvientChartsConfig.AxisBase.PlotBand, InvientChartsConfig.AxisBase.PlotLabel, InvientChartsConfig.AxisBase.PlotLine, InvientChartsConfig.AxisBase.Tick, InvientChartsConfig.AxisBase.TickmarkPlacement, InvientChartsConfig.AxisBase.TickPosition, InvientChartsConfig.AxisBase.WeekDay
-  - - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.DateTimeAxis() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidaddPlotBand(InvientChartsConfig.AxisBase.DateTimePlotBand plotBand) - -
-           
- voidaddPlotLine(InvientChartsConfig.AxisBase.DateTimePlotLine plotLine) - -
-           
- InvientChartsConfig.DateTimeAxis.DateTimeLabelFormatgetDateTimeLabelFormat() - -
-           
- java.util.DategetMax() - -
-           
- java.util.DategetMin() - -
-           
- java.util.LinkedHashSet<InvientChartsConfig.AxisBase.DateTimePlotBand>getPlotBands() - -
-           
- java.util.LinkedHashSet<InvientChartsConfig.AxisBase.DateTimePlotLine>getPlotLines() - -
-           
- voidremovePlotBand(InvientChartsConfig.AxisBase.DateTimePlotBand plotBand) - -
-           
- voidremovePlotLine(InvientChartsConfig.AxisBase.DateTimePlotLine plotLine) - -
-           
- voidsetDateTimeLabelFormat(InvientChartsConfig.DateTimeAxis.DateTimeLabelFormat dateTimeLabelFormat) - -
-           
- voidsetMax(java.util.Date max) - -
-           
- voidsetMin(java.util.Date min) - -
-           
- voidsetPlotBands(java.util.LinkedHashSet<InvientChartsConfig.AxisBase.DateTimePlotBand> plotBands) - -
-           
- voidsetPlotLines(java.util.LinkedHashSet<InvientChartsConfig.AxisBase.DateTimePlotLine> plotLines) - -
-           
- - - - - - - -
Methods inherited from class com.invient.vaadin.charts.InvientChartsConfig.AxisBase
getAlternateGridColor, getEndOnTick, getGrid, getId, getLineColor, getLineWidth, getLinkedTo, getMaxPadding, getMaxZoom, getMinorGrid, getMinorTick, getMinPadding, getOffset, getOpposite, getReversed, getShowFirstLabel, getShowLastLabel, getStartOfWeek, getStartOnTick, getTick, getTitle, getType, removePlotBand, removePlotLine, setAlternateGridColor, setEndOnTick, setGrid, setId, setLineColor, setLineWidth, setLinkedTo, setMaxPadding, setMaxZoom, setMinorGrid, setMinorTick, setMinPadding, setOffset, setOpposite, setReversed, setShowFirstLabel, setShowLastLabel, setStartOfWeek, setStartOnTick, setTick, setTitle
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
- - - - - - - -
Methods inherited from interface com.invient.vaadin.charts.InvientChartsConfig.Axis
getAlternateGridColor, getEndOnTick, getGrid, getId, getLineColor, getLineWidth, getLinkedTo, getMaxPadding, getMaxZoom, getMinorGrid, getMinorTick, getMinPadding, getOffset, getOpposite, getReversed, getShowFirstLabel, getShowLastLabel, getStartOfWeek, getStartOnTick, getTick, getTitle, getType, setAlternateGridColor, setEndOnTick, setGrid, setId, setLineColor, setLineWidth, setLinkedTo, setMaxPadding, setMaxZoom, setMinorGrid, setMinorTick, setMinPadding, setOffset, setOpposite, setReversed, setShowFirstLabel, setShowLastLabel, setStartOfWeek, setStartOnTick, setTick, setTitle
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.DateTimeAxis

-
-public InvientChartsConfig.DateTimeAxis()
-
-
- - - - - - - - -
-Method Detail
- -

-getDateTimeLabelFormat

-
-public InvientChartsConfig.DateTimeAxis.DateTimeLabelFormat getDateTimeLabelFormat()
-
-
-
-
-
-
-
-
-
- -

-setDateTimeLabelFormat

-
-public void setDateTimeLabelFormat(InvientChartsConfig.DateTimeAxis.DateTimeLabelFormat dateTimeLabelFormat)
-
-
-
-
-
-
-
-
-
- -

-setMax

-
-public void setMax(java.util.Date max)
-
-
-
-
-
-
-
-
-
- -

-setMin

-
-public void setMin(java.util.Date min)
-
-
-
-
-
-
-
-
-
- -

-getMin

-
-public java.util.Date getMin()
-
-
-
-
-
-
-
-
-
- -

-getMax

-
-public java.util.Date getMax()
-
-
-
-
-
-
-
-
-
- -

-getPlotBands

-
-public java.util.LinkedHashSet<InvientChartsConfig.AxisBase.DateTimePlotBand> getPlotBands()
-
-
-
-
-
-
-
-
-
- -

-setPlotBands

-
-public void setPlotBands(java.util.LinkedHashSet<InvientChartsConfig.AxisBase.DateTimePlotBand> plotBands)
-
-
-
-
-
-
-
-
-
- -

-addPlotBand

-
-public void addPlotBand(InvientChartsConfig.AxisBase.DateTimePlotBand plotBand)
-
-
-
-
-
-
-
-
-
- -

-removePlotBand

-
-public void removePlotBand(InvientChartsConfig.AxisBase.DateTimePlotBand plotBand)
-
-
-
-
-
-
-
-
-
- -

-getPlotLines

-
-public java.util.LinkedHashSet<InvientChartsConfig.AxisBase.DateTimePlotLine> getPlotLines()
-
-
-
-
-
-
-
-
-
- -

-setPlotLines

-
-public void setPlotLines(java.util.LinkedHashSet<InvientChartsConfig.AxisBase.DateTimePlotLine> plotLines)
-
-
-
-
-
-
-
-
-
- -

-addPlotLine

-
-public void addPlotLine(InvientChartsConfig.AxisBase.DateTimePlotLine plotLine)
-
-
-
-
-
-
-
-
-
- -

-removePlotLine

-
-public void removePlotLine(InvientChartsConfig.AxisBase.DateTimePlotLine plotLine)
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.GeneralChartConfig.Margin.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.GeneralChartConfig.Margin.html deleted file mode 100644 index a459bf5..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.GeneralChartConfig.Margin.html +++ /dev/null @@ -1,466 +0,0 @@ - - - - - - -InvientChartsConfig.GeneralChartConfig.Margin - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.GeneralChartConfig.Margin

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig.Margin
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientChartsConfig.GeneralChartConfig
-
-
-
-
public static class InvientChartsConfig.GeneralChartConfig.Margin
extends java.lang.Object
implements java.io.Serializable
- - -

-This class represents margin between the outer edge of the chart and - the plot area. -

- -

-

-
Author:
-
Invient
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.GeneralChartConfig.Margin() - -
-           
InvientChartsConfig.GeneralChartConfig.Margin(java.lang.Integer top, - java.lang.Integer right, - java.lang.Integer bottom, - java.lang.Integer left) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.IntegergetBottom() - -
-           
- java.lang.IntegergetLeft() - -
-           
- java.lang.IntegergetRight() - -
-           
- java.lang.IntegergetTop() - -
-           
- voidsetBottom(java.lang.Integer bottom) - -
-           
- voidsetLeft(java.lang.Integer left) - -
-           
- voidsetRight(java.lang.Integer right) - -
-           
- voidsetTop(java.lang.Integer top) - -
-           
- java.lang.StringtoString() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.GeneralChartConfig.Margin

-
-public InvientChartsConfig.GeneralChartConfig.Margin()
-
-
-
- -

-InvientChartsConfig.GeneralChartConfig.Margin

-
-public InvientChartsConfig.GeneralChartConfig.Margin(java.lang.Integer top,
-                                                     java.lang.Integer right,
-                                                     java.lang.Integer bottom,
-                                                     java.lang.Integer left)
-
-
- - - - - - - - -
-Method Detail
- -

-getLeft

-
-public java.lang.Integer getLeft()
-
-
-
-
-
-
-
-
-
- -

-setLeft

-
-public void setLeft(java.lang.Integer left)
-
-
-
-
-
-
-
-
-
- -

-getTop

-
-public java.lang.Integer getTop()
-
-
-
-
-
-
-
-
-
- -

-setTop

-
-public void setTop(java.lang.Integer top)
-
-
-
-
-
-
-
-
-
- -

-getRight

-
-public java.lang.Integer getRight()
-
-
-
-
-
-
-
-
-
- -

-setRight

-
-public void setRight(java.lang.Integer right)
-
-
-
-
-
-
-
-
-
- -

-getBottom

-
-public java.lang.Integer getBottom()
-
-
-
-
-
-
-
-
-
- -

-setBottom

-
-public void setBottom(java.lang.Integer bottom)
-
-
-
-
-
-
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
-
Overrides:
toString in class java.lang.Object
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.GeneralChartConfig.Plot.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.GeneralChartConfig.Plot.html deleted file mode 100644 index 89c5aa0..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.GeneralChartConfig.Plot.html +++ /dev/null @@ -1,490 +0,0 @@ - - - - - - -InvientChartsConfig.GeneralChartConfig.Plot - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.GeneralChartConfig.Plot

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig.Plot
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientChartsConfig.GeneralChartConfig
-
-
-
-
public static class InvientChartsConfig.GeneralChartConfig.Plot
extends java.lang.Object
implements java.io.Serializable
- - -

-This class represents drawing area of the chart and contains methods - specific to it. -

- -

-

-
Author:
-
chirag
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.GeneralChartConfig.Plot() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- PaintgetBackgroundColor() - -
-           
- java.lang.StringgetBackgroundImage() - -
-           
- PaintgetBorderColor() - -
-           
- java.lang.IntegergetBorderWidth() - -
-           
- java.lang.BooleangetShadow() - -
-           
- voidsetBackgroundColor(Paint backgroundColor) - -
-           
- voidsetBackgroundImage(java.lang.String backgroundImage) - -
-           
- voidsetBorderColor(Paint borderColor) - -
-           
- voidsetBorderWidth(java.lang.Integer borderWidth) - -
-           
- voidsetShadow(java.lang.Boolean shadow) - -
-           
- java.lang.StringtoString() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.GeneralChartConfig.Plot

-
-public InvientChartsConfig.GeneralChartConfig.Plot()
-
-
- - - - - - - - -
-Method Detail
- -

-getBackgroundColor

-
-public Paint getBackgroundColor()
-
-
-
-
-
-
-
-
-
- -

-setBackgroundColor

-
-public void setBackgroundColor(Paint backgroundColor)
-
-
-
-
-
-
-
-
-
- -

-getBackgroundImage

-
-public java.lang.String getBackgroundImage()
-
-
-
-
-
-
-
-
-
- -

-setBackgroundImage

-
-public void setBackgroundImage(java.lang.String backgroundImage)
-
-
-
-
-
-
-
-
-
- -

-getBorderColor

-
-public Paint getBorderColor()
-
-
-
-
-
-
-
-
-
- -

-setBorderColor

-
-public void setBorderColor(Paint borderColor)
-
-
-
-
-
-
-
-
-
- -

-getBorderWidth

-
-public java.lang.Integer getBorderWidth()
-
-
-
-
-
-
-
-
-
- -

-setBorderWidth

-
-public void setBorderWidth(java.lang.Integer borderWidth)
-
-
-
-
-
-
-
-
-
- -

-getShadow

-
-public java.lang.Boolean getShadow()
-
-
-
-
-
-
-
-
-
- -

-setShadow

-
-public void setShadow(java.lang.Boolean shadow)
-
-
-
-
-
-
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
-
Overrides:
toString in class java.lang.Object
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.GeneralChartConfig.Spacing.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.GeneralChartConfig.Spacing.html deleted file mode 100644 index 9b67733..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.GeneralChartConfig.Spacing.html +++ /dev/null @@ -1,446 +0,0 @@ - - - - - - -InvientChartsConfig.GeneralChartConfig.Spacing - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.GeneralChartConfig.Spacing

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig.Spacing
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientChartsConfig.GeneralChartConfig
-
-
-
-
public static class InvientChartsConfig.GeneralChartConfig.Spacing
extends java.lang.Object
implements java.io.Serializable
- - -

-This class represents space around the chart. The boundary of the - chart includes axis, axis labels, legend, chart title and subtitle. -

- -

-

-
Author:
-
Invient
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.GeneralChartConfig.Spacing() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.IntegergetBottom() - -
-           
- java.lang.IntegergetLeft() - -
-           
- java.lang.IntegergetRight() - -
-           
- java.lang.IntegergetTop() - -
-           
- voidsetBottom(java.lang.Integer bottom) - -
-           
- voidsetLeft(java.lang.Integer left) - -
-           
- voidsetRight(java.lang.Integer right) - -
-           
- voidsetTop(java.lang.Integer top) - -
-           
- java.lang.StringtoString() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.GeneralChartConfig.Spacing

-
-public InvientChartsConfig.GeneralChartConfig.Spacing()
-
-
- - - - - - - - -
-Method Detail
- -

-getLeft

-
-public java.lang.Integer getLeft()
-
-
-
-
-
-
-
-
-
- -

-setLeft

-
-public void setLeft(java.lang.Integer left)
-
-
-
-
-
-
-
-
-
- -

-getTop

-
-public java.lang.Integer getTop()
-
-
-
-
-
-
-
-
-
- -

-setTop

-
-public void setTop(java.lang.Integer top)
-
-
-
-
-
-
-
-
-
- -

-getRight

-
-public java.lang.Integer getRight()
-
-
-
-
-
-
-
-
-
- -

-setRight

-
-public void setRight(java.lang.Integer right)
-
-
-
-
-
-
-
-
-
- -

-getBottom

-
-public java.lang.Integer getBottom()
-
-
-
-
-
-
-
-
-
- -

-setBottom

-
-public void setBottom(java.lang.Integer bottom)
-
-
-
-
-
-
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
-
Overrides:
toString in class java.lang.Object
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.GeneralChartConfig.ZoomType.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.GeneralChartConfig.ZoomType.html deleted file mode 100644 index 9bb4454..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.GeneralChartConfig.ZoomType.html +++ /dev/null @@ -1,386 +0,0 @@ - - - - - - -InvientChartsConfig.GeneralChartConfig.ZoomType - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Enum InvientChartsConfig.GeneralChartConfig.ZoomType

-
-java.lang.Object
-  extended by java.lang.Enum<InvientChartsConfig.GeneralChartConfig.ZoomType>
-      extended by com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig.ZoomType
-
-
-
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<InvientChartsConfig.GeneralChartConfig.ZoomType>
-
-
-
Enclosing class:
InvientChartsConfig.GeneralChartConfig
-
-
-
-
public static enum InvientChartsConfig.GeneralChartConfig.ZoomType
extends java.lang.Enum<InvientChartsConfig.GeneralChartConfig.ZoomType>
- - -

-The value ZoomType.X represents horizontal zoom. The value - ZoomType.Y represents vertical zoom. The value - ZoomType.XY represents horizontal as well as vertical zoom. -

- -

-

-
Author:
-
Invient
-
-
- -

- - - - - - - - - - - - - - - - - - - -
-Enum Constant Summary
NONE - -
-           
X - -
-           
XY - -
-           
Y - -
-           
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.StringgetName() - -
-           
-static InvientChartsConfig.GeneralChartConfig.ZoomTypevalueOf(java.lang.String name) - -
-          Returns the enum constant of this type with the specified name.
-static InvientChartsConfig.GeneralChartConfig.ZoomType[]values() - -
-          Returns an array containing the constants of this enum type, in -the order they are declared.
- - - - - - - -
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Enum Constant Detail
- -

-X

-
-public static final InvientChartsConfig.GeneralChartConfig.ZoomType X
-
-
-
-
-
- -

-Y

-
-public static final InvientChartsConfig.GeneralChartConfig.ZoomType Y
-
-
-
-
-
- -

-XY

-
-public static final InvientChartsConfig.GeneralChartConfig.ZoomType XY
-
-
-
-
-
- -

-NONE

-
-public static final InvientChartsConfig.GeneralChartConfig.ZoomType NONE
-
-
-
-
- - - - - - - - -
-Method Detail
- -

-values

-
-public static InvientChartsConfig.GeneralChartConfig.ZoomType[] values()
-
-
Returns an array containing the constants of this enum type, in -the order they are declared. This method may be used to iterate -over the constants as follows: -
-for (InvientChartsConfig.GeneralChartConfig.ZoomType c : InvientChartsConfig.GeneralChartConfig.ZoomType.values())
-    System.out.println(c);
-
-

-

- -
Returns:
an array containing the constants of this enum type, in -the order they are declared
-
-
-
- -

-valueOf

-
-public static InvientChartsConfig.GeneralChartConfig.ZoomType valueOf(java.lang.String name)
-
-
Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.) -

-

-
Parameters:
name - the name of the enum constant to be returned. -
Returns:
the enum constant with the specified name -
Throws: -
java.lang.IllegalArgumentException - if this enum type has no constant -with the specified name -
java.lang.NullPointerException - if the argument is null
-
-
-
- -

-getName

-
-public java.lang.String getName()
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.GeneralChartConfig.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.GeneralChartConfig.html deleted file mode 100644 index 8c003ed..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.GeneralChartConfig.html +++ /dev/null @@ -1,1313 +0,0 @@ - - - - - - -InvientChartsConfig.GeneralChartConfig - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.GeneralChartConfig

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientChartsConfig
-
-
-
-
public static class InvientChartsConfig.GeneralChartConfig
extends java.lang.Object
implements java.io.Serializable
- - -

-This class contains configuration properties at a chart level. -

- -

-

-
Author:
-
Invient
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - - - - - - - - - - -
-Nested Class Summary
-static classInvientChartsConfig.GeneralChartConfig.Margin - -
-          This class represents margin between the outer edge of the chart and - the plot area.
-static classInvientChartsConfig.GeneralChartConfig.Plot - -
-          This class represents drawing area of the chart and contains methods - specific to it.
-static classInvientChartsConfig.GeneralChartConfig.Spacing - -
-          This class represents space around the chart.
-static classInvientChartsConfig.GeneralChartConfig.ZoomType - -
-          The value ZoomType.X represents horizontal zoom.
-  - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.GeneralChartConfig() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.BooleangetAlignTicks() - -
-           
- java.lang.BooleangetAnimation() - -
-           
- PaintgetBackgroundColor() - -
-           
- PaintgetBorderColor() - -
-           
- java.lang.IntegergetBorderRadius() - -
-           
- java.lang.IntegergetBorderWidth() - -
-           
- java.lang.StringgetClassName() - -
-           
- java.lang.IntegergetHeight() - -
-           
- java.lang.BooleangetIgnoreHiddenSeries() - -
-           
- java.lang.BooleangetInverted() - -
-           
- InvientChartsConfig.GeneralChartConfig.MargingetMargin() - -
-           
- InvientChartsConfig.GeneralChartConfig.PlotgetPlot() - -
-           
- java.lang.BooleangetReflow() - -
-           
- java.lang.BooleangetShadow() - -
-           
- java.lang.BooleangetShowAxes() - -
-           
- InvientChartsConfig.GeneralChartConfig.SpacinggetSpacing() - -
-           
- java.lang.StringgetStyle() - -
-           
- InvientCharts.SeriesTypegetType() - -
-           
- java.lang.IntegergetWidth() - -
-           
- InvientChartsConfig.GeneralChartConfig.ZoomTypegetZoomType() - -
-           
- booleanisClientZoom() - -
-           
- voidsetAlignTicks(java.lang.Boolean alignTicks) - -
-          When using multiple axis, the ticks of two or more opposite axes will - automatically be aligned by adding ticks to the axis or axes with the - least ticks.
- voidsetAnimation(java.lang.Boolean animation) - -
-          Set the overall animation for all chart updating.
- voidsetBackgroundColor(Paint backgroundColor) - -
-          Sets the background color for the outer chart area
- voidsetBorderColor(Paint borderColor) - -
-          Sets the border color for the outer chart border
- voidsetBorderRadius(java.lang.Integer borderRadius) - -
-          Sets radius for the outer chart border
- voidsetBorderWidth(java.lang.Integer borderWidth) - -
-          Sets pixel width of the outer chart border
- voidsetClassName(java.lang.String className) - -
-          A CSS class name to apply to the charts container
- voidsetClientZoom(boolean clientZoom) - -
-          If the argument is true then the scaling will happen on client.
- voidsetHeight(java.lang.Integer height) - -
-          Sets height for the chart
- voidsetIgnoreHiddenSeries(java.lang.Boolean ignoreHiddenSeries) - -
-          If the argument is true, the axes will scale to the remaining visible - series once one series is hidden.
- voidsetInverted(java.lang.Boolean inverted) - -
-          If the argument is true then the x-axis is reversed.
- voidsetMargin(InvientChartsConfig.GeneralChartConfig.Margin margin) - -
-           
- voidsetPlot(InvientChartsConfig.GeneralChartConfig.Plot plot) - -
-          Sets plot object
- voidsetReflow(java.lang.Boolean reflow) - -
-          A value of true indicates that the chart will fit the width of the - charts container otherwise not.
- voidsetShadow(java.lang.Boolean shadow) - -
-          A value of true indicates that the drop shadow will apply to the - outer chart area otherwise not.
- voidsetShowAxes(java.lang.Boolean showAxes) - -
-          If the argument is true then the axes will be shown initially.
- voidsetSpacing(InvientChartsConfig.GeneralChartConfig.Spacing spacing) - -
-           
- voidsetStyle(java.lang.String style) - -
-          A CSS string to apply to the charts container
- voidsetType(InvientCharts.SeriesType type) - -
-          Sets series type to one of line, spline, scatter, area, areaspline, - pie, bar and column.
- voidsetWidth(java.lang.Integer width) - -
-          Sets width for the chart
- voidsetZoomType(InvientChartsConfig.GeneralChartConfig.ZoomType zoomType) - -
-          Sets zoom type.
- java.lang.StringtoString() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.GeneralChartConfig

-
-public InvientChartsConfig.GeneralChartConfig()
-
-
- - - - - - - - -
-Method Detail
- -

-getAlignTicks

-
-public java.lang.Boolean getAlignTicks()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setAlignTicks

-
-public void setAlignTicks(java.lang.Boolean alignTicks)
-
-
When using multiple axis, the ticks of two or more opposite axes will - automatically be aligned by adding ticks to the axis or axes with the - least ticks. This can be prevented by setting alignTicks to false. -

-

-
-
-
-
Parameters:
alignTicks -
-
-
-
- -

-getAnimation

-
-public java.lang.Boolean getAnimation()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setAnimation

-
-public void setAnimation(java.lang.Boolean animation)
-
-
Set the overall animation for all chart updating. -

-

-
-
-
-
Parameters:
animation -
-
-
-
- -

-getClassName

-
-public java.lang.String getClassName()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setClassName

-
-public void setClassName(java.lang.String className)
-
-
A CSS class name to apply to the charts container -

-

-
-
-
-
Parameters:
className -
-
-
-
- -

-getPlot

-
-public InvientChartsConfig.GeneralChartConfig.Plot getPlot()
-
-
-
-
-
- -
Returns:
Returns plot object representing chart's drawing area
-
-
-
- -

-setPlot

-
-public void setPlot(InvientChartsConfig.GeneralChartConfig.Plot plot)
-
-
Sets plot object -

-

-
-
-
-
Parameters:
plot -
-
-
-
- -

-getReflow

-
-public java.lang.Boolean getReflow()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setReflow

-
-public void setReflow(java.lang.Boolean reflow)
-
-
A value of true indicates that the chart will fit the width of the - charts container otherwise not. -

-

-
-
-
-
Parameters:
reflow -
-
-
-
- -

-getShadow

-
-public java.lang.Boolean getShadow()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setShadow

-
-public void setShadow(java.lang.Boolean shadow)
-
-
A value of true indicates that the drop shadow will apply to the - outer chart area otherwise not. -

-

-
-
-
-
Parameters:
shadow -
-
-
-
- -

-getStyle

-
-public java.lang.String getStyle()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setStyle

-
-public void setStyle(java.lang.String style)
-
-
A CSS string to apply to the charts container -

-

-
-
-
-
Parameters:
style -
-
-
-
- -

-getBackgroundColor

-
-public Paint getBackgroundColor()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setBackgroundColor

-
-public void setBackgroundColor(Paint backgroundColor)
-
-
Sets the background color for the outer chart area -

-

-
-
-
-
Parameters:
backgroundColor -
-
-
-
- -

-getBorderColor

-
-public Paint getBorderColor()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setBorderColor

-
-public void setBorderColor(Paint borderColor)
-
-
Sets the border color for the outer chart border -

-

-
-
-
-
Parameters:
borderColor -
-
-
-
- -

-getBorderRadius

-
-public java.lang.Integer getBorderRadius()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setBorderRadius

-
-public void setBorderRadius(java.lang.Integer borderRadius)
-
-
Sets radius for the outer chart border -

-

-
-
-
-
Parameters:
borderRadius -
-
-
-
- -

-getBorderWidth

-
-public java.lang.Integer getBorderWidth()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setBorderWidth

-
-public void setBorderWidth(java.lang.Integer borderWidth)
-
-
Sets pixel width of the outer chart border -

-

-
-
-
-
Parameters:
borderWidth -
-
-
-
- -

-getHeight

-
-public java.lang.Integer getHeight()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setHeight

-
-public void setHeight(java.lang.Integer height)
-
-
Sets height for the chart -

-

-
-
-
-
Parameters:
height -
-
-
-
- -

-getWidth

-
-public java.lang.Integer getWidth()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setWidth

-
-public void setWidth(java.lang.Integer width)
-
-
Sets width for the chart -

-

-
-
-
-
Parameters:
width -
-
-
-
- -

-getIgnoreHiddenSeries

-
-public java.lang.Boolean getIgnoreHiddenSeries()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setIgnoreHiddenSeries

-
-public void setIgnoreHiddenSeries(java.lang.Boolean ignoreHiddenSeries)
-
-
If the argument is true, the axes will scale to the remaining visible - series once one series is hidden. If the argument is false, hiding - and showing a series will not affect the axes or the other series. -

-

-
-
-
-
Parameters:
ignoreHiddenSeries -
-
-
-
- -

-getInverted

-
-public java.lang.Boolean getInverted()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setInverted

-
-public void setInverted(java.lang.Boolean inverted)
-
-
If the argument is true then the x-axis is reversed. If a bar plot is - present, it will be inverted automatically. -

-

-
-
-
-
Parameters:
inverted -
-
-
-
- -

-getMargin

-
-public InvientChartsConfig.GeneralChartConfig.Margin getMargin()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setMargin

-
-public void setMargin(InvientChartsConfig.GeneralChartConfig.Margin margin)
-
-
-
-
-
-
Parameters:
margin -
-
-
-
- -

-getShowAxes

-
-public java.lang.Boolean getShowAxes()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setShowAxes

-
-public void setShowAxes(java.lang.Boolean showAxes)
-
-
If the argument is true then the axes will be shown initially. This - is useful when the chart is empty and axes must be shown. -

-

-
-
-
-
Parameters:
showAxes -
-
-
-
- -

-getSpacing

-
-public InvientChartsConfig.GeneralChartConfig.Spacing getSpacing()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setSpacing

-
-public void setSpacing(InvientChartsConfig.GeneralChartConfig.Spacing spacing)
-
-
-
-
-
-
Parameters:
spacing -
-
-
-
- -

-getType

-
-public InvientCharts.SeriesType getType()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setType

-
-public void setType(InvientCharts.SeriesType type)
-
-
Sets series type to one of line, spline, scatter, area, areaspline, - pie, bar and column. -

-

-
-
-
-
Parameters:
type -
-
-
-
- -

-getZoomType

-
-public InvientChartsConfig.GeneralChartConfig.ZoomType getZoomType()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setZoomType

-
-public void setZoomType(InvientChartsConfig.GeneralChartConfig.ZoomType zoomType)
-
-
Sets zoom type. It decides how a chart can be zoomed by dragging the - mouse. -

-

-
-
-
-
Parameters:
zoomType -
-
-
-
- -

-isClientZoom

-
-public boolean isClientZoom()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setClientZoom

-
-public void setClientZoom(boolean clientZoom)
-
-
If the argument is true then the scaling will happen on client. If - the argument is false then the chart will not scale. In any case, the - server will receive event notification if registered. -

-

-
-
-
-
Parameters:
clientZoom -
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
-
Overrides:
toString in class java.lang.Object
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.HorzAlign.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.HorzAlign.html deleted file mode 100644 index 65917c1..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.HorzAlign.html +++ /dev/null @@ -1,360 +0,0 @@ - - - - - - -InvientChartsConfig.HorzAlign - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Enum InvientChartsConfig.HorzAlign

-
-java.lang.Object
-  extended by java.lang.Enum<InvientChartsConfig.HorzAlign>
-      extended by com.invient.vaadin.charts.InvientChartsConfig.HorzAlign
-
-
-
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<InvientChartsConfig.HorzAlign>
-
-
-
Enclosing class:
InvientChartsConfig
-
-
-
-
public static enum InvientChartsConfig.HorzAlign
extends java.lang.Enum<InvientChartsConfig.HorzAlign>
- - -

-


- -

- - - - - - - - - - - - - - - - -
-Enum Constant Summary
CENTER - -
-           
LEFT - -
-           
RIGHT - -
-           
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.StringgetName() - -
-           
-static InvientChartsConfig.HorzAlignvalueOf(java.lang.String name) - -
-          Returns the enum constant of this type with the specified name.
-static InvientChartsConfig.HorzAlign[]values() - -
-          Returns an array containing the constants of this enum type, in -the order they are declared.
- - - - - - - -
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Enum Constant Detail
- -

-LEFT

-
-public static final InvientChartsConfig.HorzAlign LEFT
-
-
-
-
-
- -

-CENTER

-
-public static final InvientChartsConfig.HorzAlign CENTER
-
-
-
-
-
- -

-RIGHT

-
-public static final InvientChartsConfig.HorzAlign RIGHT
-
-
-
-
- - - - - - - - -
-Method Detail
- -

-values

-
-public static InvientChartsConfig.HorzAlign[] values()
-
-
Returns an array containing the constants of this enum type, in -the order they are declared. This method may be used to iterate -over the constants as follows: -
-for (InvientChartsConfig.HorzAlign c : InvientChartsConfig.HorzAlign.values())
-    System.out.println(c);
-
-

-

- -
Returns:
an array containing the constants of this enum type, in -the order they are declared
-
-
-
- -

-valueOf

-
-public static InvientChartsConfig.HorzAlign valueOf(java.lang.String name)
-
-
Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.) -

-

-
Parameters:
name - the name of the enum constant to be returned. -
Returns:
the enum constant with the specified name -
Throws: -
java.lang.IllegalArgumentException - if this enum type has no constant -with the specified name -
java.lang.NullPointerException - if the argument is null
-
-
-
- -

-getName

-
-public java.lang.String getName()
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.ImageMarker.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.ImageMarker.html deleted file mode 100644 index c14eeae..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.ImageMarker.html +++ /dev/null @@ -1,350 +0,0 @@ - - - - - - -InvientChartsConfig.ImageMarker - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.ImageMarker

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.AbstractMarker
-      extended by com.invient.vaadin.charts.InvientChartsConfig.ImageMarker
-
-
-
All Implemented Interfaces:
InvientChartsConfig.Marker, java.io.Serializable
-
-
-
Enclosing class:
InvientChartsConfig
-
-
-
-
public static class InvientChartsConfig.ImageMarker
extends InvientChartsConfig.AbstractMarker
- - -

-This marker can take url of an image which will be used as a marker for a - point or all points of a series. - - The url of an image must be with respect to root of the web application. - e.g. If an image named temperature.png is under directory - /img/climate then the url must be - /img/climate/temperature.png -

- -

-

-
Author:
-
Invient
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.ImageMarker(java.lang.String imageURL) - -
-          Creates this marker with specified arguments.
InvientChartsConfig.ImageMarker(java.lang.String imageURL, - boolean enabled) - -
-          Creates this marker with specified arguments.
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.StringgetImageURL() - -
-           
- voidsetImageURL(java.lang.String imageURL) - -
-           
- java.lang.StringtoString() - -
-           
- - - - - - - -
Methods inherited from class com.invient.vaadin.charts.InvientChartsConfig.AbstractMarker
getEnabled, setEnabled
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.ImageMarker

-
-public InvientChartsConfig.ImageMarker(java.lang.String imageURL,
-                                       boolean enabled)
-
-
Creates this marker with specified arguments. -

-

-
Parameters:
imageURL - - URL of an image
enabled - - If false then this marker will not be applied to a - point. What this means is that the data points of a line - chart will not stand out.
-
-
- -

-InvientChartsConfig.ImageMarker

-
-public InvientChartsConfig.ImageMarker(java.lang.String imageURL)
-
-
Creates this marker with specified arguments. -

-

-
Parameters:
imageURL - - URL of an image
-
- - - - - - - - -
-Method Detail
- -

-getImageURL

-
-public java.lang.String getImageURL()
-
-
- -
Returns:
-
-
-
- -

-setImageURL

-
-public void setImageURL(java.lang.String imageURL)
-
-
-
Parameters:
imageURL -
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
-
Overrides:
toString in class java.lang.Object
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.Legend.Layout.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.Legend.Layout.html deleted file mode 100644 index 5750e82..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.Legend.Layout.html +++ /dev/null @@ -1,344 +0,0 @@ - - - - - - -InvientChartsConfig.Legend.Layout - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Enum InvientChartsConfig.Legend.Layout

-
-java.lang.Object
-  extended by java.lang.Enum<InvientChartsConfig.Legend.Layout>
-      extended by com.invient.vaadin.charts.InvientChartsConfig.Legend.Layout
-
-
-
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<InvientChartsConfig.Legend.Layout>
-
-
-
Enclosing class:
InvientChartsConfig.Legend
-
-
-
-
public static enum InvientChartsConfig.Legend.Layout
extends java.lang.Enum<InvientChartsConfig.Legend.Layout>
- - -

-


- -

- - - - - - - - - - - - - -
-Enum Constant Summary
HORIZONTAL - -
-           
VERTICAL - -
-           
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.StringgetName() - -
-           
-static InvientChartsConfig.Legend.LayoutvalueOf(java.lang.String name) - -
-          Returns the enum constant of this type with the specified name.
-static InvientChartsConfig.Legend.Layout[]values() - -
-          Returns an array containing the constants of this enum type, in -the order they are declared.
- - - - - - - -
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Enum Constant Detail
- -

-HORIZONTAL

-
-public static final InvientChartsConfig.Legend.Layout HORIZONTAL
-
-
-
-
-
- -

-VERTICAL

-
-public static final InvientChartsConfig.Legend.Layout VERTICAL
-
-
-
-
- - - - - - - - -
-Method Detail
- -

-values

-
-public static InvientChartsConfig.Legend.Layout[] values()
-
-
Returns an array containing the constants of this enum type, in -the order they are declared. This method may be used to iterate -over the constants as follows: -
-for (InvientChartsConfig.Legend.Layout c : InvientChartsConfig.Legend.Layout.values())
-    System.out.println(c);
-
-

-

- -
Returns:
an array containing the constants of this enum type, in -the order they are declared
-
-
-
- -

-valueOf

-
-public static InvientChartsConfig.Legend.Layout valueOf(java.lang.String name)
-
-
Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.) -

-

-
Parameters:
name - the name of the enum constant to be returned. -
Returns:
the enum constant with the specified name -
Throws: -
java.lang.IllegalArgumentException - if this enum type has no constant -with the specified name -
java.lang.NullPointerException - if the argument is null
-
-
-
- -

-getName

-
-public java.lang.String getName()
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.Legend.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.Legend.html deleted file mode 100644 index 595e9c7..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.Legend.html +++ /dev/null @@ -1,1130 +0,0 @@ - - - - - - -InvientChartsConfig.Legend - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.Legend

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.Legend
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientChartsConfig
-
-
-
-
public static final class InvientChartsConfig.Legend
extends java.lang.Object
implements java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Nested Class Summary
-static classInvientChartsConfig.Legend.Layout - -
-           
-  - - - - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.Legend() - -
-           
InvientChartsConfig.Legend(boolean enabled) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- PaintgetBackgroundColor() - -
-           
- PaintgetBorderColor() - -
-           
- java.lang.IntegergetBorderRadius() - -
-           
- java.lang.IntegergetBorderWidth() - -
-           
- java.lang.BooleangetEnabled() - -
-           
- java.lang.BooleangetFloating() - -
-           
- java.lang.StringgetItemHiddenStyle() - -
-           
- java.lang.StringgetItemHoverStyle() - -
-           
- java.lang.StringgetItemStyle() - -
-           
- java.lang.IntegergetItemWidth() - -
-           
- java.lang.StringgetLabelFormatterJsFunc() - -
-           
- InvientChartsConfig.Legend.LayoutgetLayout() - -
-           
- java.lang.IntegergetMargin() - -
-           
- InvientChartsConfig.PositiongetPosition() - -
-           
- java.lang.BooleangetReversed() - -
-           
- java.lang.BooleangetShadow() - -
-           
- java.lang.IntegergetSymbolPadding() - -
-           
- java.lang.IntegergetSymbolWidth() - -
-           
- java.lang.IntegergetWidth() - -
-           
- voidsetBackgroundColor(Paint backgroundColor) - -
-           
- voidsetBorderColor(Paint borderColor) - -
-           
- voidsetBorderRadius(java.lang.Integer borderRadius) - -
-           
- voidsetBorderWidth(java.lang.Integer borderWidth) - -
-           
- voidsetEnabled(java.lang.Boolean enabled) - -
-           
- voidsetFloating(java.lang.Boolean floating) - -
-           
- voidsetItemHiddenStyle(java.lang.String itemHiddenStyle) - -
-           
- voidsetItemHoverStyle(java.lang.String itemHoverStyle) - -
-           
- voidsetItemStyle(java.lang.String itemStyle) - -
-           
- voidsetItemWidth(java.lang.Integer itemWidth) - -
-           
- voidsetLabelFormatterJsFunc(java.lang.String labelFormatterJsFunc) - -
-           
- voidsetLayout(InvientChartsConfig.Legend.Layout layout) - -
-           
- voidsetMargin(java.lang.Integer margin) - -
-           
- voidsetPosition(InvientChartsConfig.Position position) - -
-           
- voidsetReversed(java.lang.Boolean reversed) - -
-           
- voidsetShadow(java.lang.Boolean shadow) - -
-           
- voidsetSymbolPadding(java.lang.Integer symbolPadding) - -
-           
- voidsetSymbolWidth(java.lang.Integer symbolWidth) - -
-           
- voidsetWidth(java.lang.Integer width) - -
-           
- java.lang.StringtoString() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.Legend

-
-public InvientChartsConfig.Legend()
-
-
-
- -

-InvientChartsConfig.Legend

-
-public InvientChartsConfig.Legend(boolean enabled)
-
-
- - - - - - - - -
-Method Detail
- -

-getBackgroundColor

-
-public Paint getBackgroundColor()
-
-
-
-
-
-
-
-
-
- -

-setBackgroundColor

-
-public void setBackgroundColor(Paint backgroundColor)
-
-
-
-
-
-
-
-
-
- -

-getBorderColor

-
-public Paint getBorderColor()
-
-
-
-
-
-
-
-
-
- -

-setBorderColor

-
-public void setBorderColor(Paint borderColor)
-
-
-
-
-
-
-
-
-
- -

-getBorderRadius

-
-public java.lang.Integer getBorderRadius()
-
-
-
-
-
-
-
-
-
- -

-setBorderRadius

-
-public void setBorderRadius(java.lang.Integer borderRadius)
-
-
-
-
-
-
-
-
-
- -

-getBorderWidth

-
-public java.lang.Integer getBorderWidth()
-
-
-
-
-
-
-
-
-
- -

-setBorderWidth

-
-public void setBorderWidth(java.lang.Integer borderWidth)
-
-
-
-
-
-
-
-
-
- -

-getEnabled

-
-public java.lang.Boolean getEnabled()
-
-
-
-
-
-
-
-
-
- -

-setEnabled

-
-public void setEnabled(java.lang.Boolean enabled)
-
-
-
-
-
-
-
-
-
- -

-getFloating

-
-public java.lang.Boolean getFloating()
-
-
-
-
-
-
-
-
-
- -

-setFloating

-
-public void setFloating(java.lang.Boolean floating)
-
-
-
-
-
-
-
-
-
- -

-getItemHiddenStyle

-
-public java.lang.String getItemHiddenStyle()
-
-
-
-
-
-
-
-
-
- -

-setItemHiddenStyle

-
-public void setItemHiddenStyle(java.lang.String itemHiddenStyle)
-
-
-
-
-
-
-
-
-
- -

-getItemHoverStyle

-
-public java.lang.String getItemHoverStyle()
-
-
-
-
-
-
-
-
-
- -

-setItemHoverStyle

-
-public void setItemHoverStyle(java.lang.String itemHoverStyle)
-
-
-
-
-
-
-
-
-
- -

-getItemStyle

-
-public java.lang.String getItemStyle()
-
-
-
-
-
-
-
-
-
- -

-setItemStyle

-
-public void setItemStyle(java.lang.String itemStyle)
-
-
-
-
-
-
-
-
-
- -

-getItemWidth

-
-public java.lang.Integer getItemWidth()
-
-
-
-
-
-
-
-
-
- -

-setItemWidth

-
-public void setItemWidth(java.lang.Integer itemWidth)
-
-
-
-
-
-
-
-
-
- -

-getLayout

-
-public InvientChartsConfig.Legend.Layout getLayout()
-
-
-
-
-
-
-
-
-
- -

-setLayout

-
-public void setLayout(InvientChartsConfig.Legend.Layout layout)
-
-
-
-
-
-
-
-
-
- -

-getLabelFormatterJsFunc

-
-public java.lang.String getLabelFormatterJsFunc()
-
-
-
-
-
-
-
-
-
- -

-setLabelFormatterJsFunc

-
-public void setLabelFormatterJsFunc(java.lang.String labelFormatterJsFunc)
-
-
-
-
-
-
-
-
-
- -

-getMargin

-
-public java.lang.Integer getMargin()
-
-
-
-
-
-
-
-
-
- -

-setMargin

-
-public void setMargin(java.lang.Integer margin)
-
-
-
-
-
-
-
-
-
- -

-getReversed

-
-public java.lang.Boolean getReversed()
-
-
-
-
-
-
-
-
-
- -

-setReversed

-
-public void setReversed(java.lang.Boolean reversed)
-
-
-
-
-
-
-
-
-
- -

-getShadow

-
-public java.lang.Boolean getShadow()
-
-
-
-
-
-
-
-
-
- -

-setShadow

-
-public void setShadow(java.lang.Boolean shadow)
-
-
-
-
-
-
-
-
-
- -

-getSymbolPadding

-
-public java.lang.Integer getSymbolPadding()
-
-
-
-
-
-
-
-
-
- -

-setSymbolPadding

-
-public void setSymbolPadding(java.lang.Integer symbolPadding)
-
-
-
-
-
-
-
-
-
- -

-getSymbolWidth

-
-public java.lang.Integer getSymbolWidth()
-
-
-
-
-
-
-
-
-
- -

-setSymbolWidth

-
-public void setSymbolWidth(java.lang.Integer symbolWidth)
-
-
-
-
-
-
-
-
-
- -

-getWidth

-
-public java.lang.Integer getWidth()
-
-
-
-
-
-
-
-
-
- -

-setWidth

-
-public void setWidth(java.lang.Integer width)
-
-
-
-
-
-
-
-
-
- -

-getPosition

-
-public InvientChartsConfig.Position getPosition()
-
-
-
-
-
-
-
-
-
- -

-setPosition

-
-public void setPosition(InvientChartsConfig.Position position)
-
-
-
-
-
-
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
-
Overrides:
toString in class java.lang.Object
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.LineConfig.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.LineConfig.html deleted file mode 100644 index 21002e8..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.LineConfig.html +++ /dev/null @@ -1,310 +0,0 @@ - - - - - - -InvientChartsConfig.LineConfig - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.LineConfig

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.SeriesConfig
-      extended by com.invient.vaadin.charts.InvientChartsConfig.BaseLineConfig
-          extended by com.invient.vaadin.charts.InvientChartsConfig.LineConfig
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientChartsConfig
-
-
-
-
public static class InvientChartsConfig.LineConfig
extends InvientChartsConfig.BaseLineConfig
- - -

-This class contains configuration options for line series -

- -

-

-
Author:
-
Invient
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.LineConfig() - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.BooleangetStep() - -
-           
- voidsetStep(java.lang.Boolean step) - -
-          If the argument is true then line will be drawn using steps otherwise - not.
- - - - - - - -
Methods inherited from class com.invient.vaadin.charts.InvientChartsConfig.BaseLineConfig
getDashStyle, getLineWidth, getMarker, getPointInterval, getPointStart, getStickyTracking, setDashStyle, setLineWidth, setMarker, setPointInterval, setPointStart, setStickyTracking
- - - - - - - -
Methods inherited from class com.invient.vaadin.charts.InvientChartsConfig.SeriesConfig
getAllowPointSelect, getAnimation, getColor, getCursor, getDataLabel, getEnableMouseTracking, getHoverState, getShadow, getShowCheckbox, getShowInLegend, getStacking, getVisible, setAllowPointSelect, setAnimation, setColor, setCursor, setDataLabel, setEnableMouseTracking, setHoverState, setShadow, setShowCheckbox, setShowInLegend, setStacking, setVisible
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.LineConfig

-
-public InvientChartsConfig.LineConfig()
-
-
- - - - - - - - -
-Method Detail
- -

-getStep

-
-public java.lang.Boolean getStep()
-
-
- -
Returns:
Returns true if the line should be drawn using steps otherwise false.
-
-
-
- -

-setStep

-
-public void setStep(java.lang.Boolean step)
-
-
If the argument is true then line will be drawn using steps otherwise - not. Defaults to false. -

-

-
Parameters:
step -
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.Marker.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.Marker.html deleted file mode 100644 index 6d5f3ee..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.Marker.html +++ /dev/null @@ -1,259 +0,0 @@ - - - - - - -InvientChartsConfig.Marker - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Interface InvientChartsConfig.Marker

-
-
All Superinterfaces:
java.io.Serializable
-
-
-
All Known Implementing Classes:
InvientChartsConfig.AbstractMarker, InvientChartsConfig.ImageMarker, InvientChartsConfig.SymbolMarker
-
-
-
Enclosing class:
InvientChartsConfig
-
-
-
-
public static interface InvientChartsConfig.Marker
extends java.io.Serializable
- - -

-Defines a marker for a point. Markers are applied to a point of chart's - series. The marker can be applied at the time of drawing the chart or - when a point is selcted or hovered. - - There are two types of marker. -

-

- -

-

-
Author:
-
Invient
-
See Also:
InvientChartsConfig.SymbolMarker, -InvientChartsConfig.ImageMarker
-
- -

- - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.BooleangetEnabled() - -
-           
- voidsetEnabled(java.lang.Boolean enabled) - -
-           
-  -

- - - - - - - - -
-Method Detail
- -

-getEnabled

-
-java.lang.Boolean getEnabled()
-
-
-
-
-
-
-
-
-
- -

-setEnabled

-
-void setEnabled(java.lang.Boolean enabled)
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.MarkerState.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.MarkerState.html deleted file mode 100644 index 28f1c63..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.MarkerState.html +++ /dev/null @@ -1,533 +0,0 @@ - - - - - - -InvientChartsConfig.MarkerState - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.MarkerState

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.MarkerState
-
-
-
All Implemented Interfaces:
InvientChartsConfig.State, java.io.Serializable
-
-
-
Enclosing class:
InvientChartsConfig
-
-
-
-
public static final class InvientChartsConfig.MarkerState
extends java.lang.Object
implements InvientChartsConfig.State
- - -

-Defines a set of attributes which gets applied to a point when a point is - selected or hovered. By default, markers are enabled so when a mouse is - over a point marker gets applied. To turn off marker, set flag enabled to - false. - - A point marker is useful only if the marker is not an image. -

- -

-

-
Author:
-
Invient
-
See Also:
InvientChartsConfig.ImageMarker, -InvientChartsConfig.SymbolMarker, -Serialized Form
-
- -

- - - - - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.MarkerState() - -
-          Creates this marker with enabled = true
InvientChartsConfig.MarkerState(boolean enabled) - -
-          Creates this marker with specified argument.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.BooleangetEnabled() - -
-           
- PaintgetFillColor() - -
-           
- PaintgetLineColor() - -
-           
- java.lang.IntegergetLineWidth() - -
-           
- java.lang.IntegergetRadius() - -
-           
- voidsetEnabled(java.lang.Boolean enabled) - -
-          If enabled = false then the marker will not be applied to a point on - hover or select state.
- voidsetFillColor(Paint fillColor) - -
-          Sets fill color for the marker.
- voidsetLineColor(Paint lineColor) - -
-          Sets color of the point marker's outline.
- voidsetLineWidth(java.lang.Integer lineWidth) - -
-          Sets width of the point marker's outline.
- voidsetRadius(java.lang.Integer radius) - -
-          Sets radius of the point marker.
- java.lang.StringtoString() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.MarkerState

-
-public InvientChartsConfig.MarkerState()
-
-
Creates this marker with enabled = true -

-

-
- -

-InvientChartsConfig.MarkerState

-
-public InvientChartsConfig.MarkerState(boolean enabled)
-
-
Creates this marker with specified argument. If enabled = false then - the marker will not be applied to a point on hover or select state. -

-

- - - - - - - - -
-Method Detail
- -

-getEnabled

-
-public java.lang.Boolean getEnabled()
-
-
-
Specified by:
getEnabled in interface InvientChartsConfig.State
-
-
-
-
-
-
- -

-setEnabled

-
-public void setEnabled(java.lang.Boolean enabled)
-
-
If enabled = false then the marker will not be applied to a point on - hover or select state. Defaults to true -

-

-
-
-
-
Parameters:
enabled -
-
-
-
- -

-getFillColor

-
-public Paint getFillColor()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setFillColor

-
-public void setFillColor(Paint fillColor)
-
-
Sets fill color for the marker. When not specified it takes color of - a series or point. -

-

-
-
-
-
Parameters:
fillColor -
-
-
-
- -

-getLineColor

-
-public Paint getLineColor()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setLineColor

-
-public void setLineColor(Paint lineColor)
-
-
Sets color of the point marker's outline. When not specified it takes - color of a series or point. -

-

-
-
-
-
Parameters:
lineColor -
-
-
-
- -

-getLineWidth

-
-public java.lang.Integer getLineWidth()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setLineWidth

-
-public void setLineWidth(java.lang.Integer lineWidth)
-
-
Sets width of the point marker's outline. Defaults to 0. -

-

-
-
-
-
Parameters:
lineWidth -
-
-
-
- -

-getRadius

-
-public java.lang.Integer getRadius()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setRadius

-
-public void setRadius(java.lang.Integer radius)
-
-
Sets radius of the point marker. Defaults to 0. -

-

-
-
-
-
Parameters:
radius -
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
-
Overrides:
toString in class java.lang.Object
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.NonLinearSeriesState.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.NonLinearSeriesState.html deleted file mode 100644 index f5815f1..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.NonLinearSeriesState.html +++ /dev/null @@ -1,302 +0,0 @@ - - - - - - -InvientChartsConfig.NonLinearSeriesState - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.NonLinearSeriesState

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.SeriesState
-      extended by com.invient.vaadin.charts.InvientChartsConfig.NonLinearSeriesState
-
-
-
All Implemented Interfaces:
InvientChartsConfig.State, java.io.Serializable
-
-
-
Enclosing class:
InvientChartsConfig
-
-
-
-
public static class InvientChartsConfig.NonLinearSeriesState
extends InvientChartsConfig.SeriesState
- - -

-Defines a set of attributes which are meaningful for bar and colum - series. -

- -

-

-
Author:
-
Invient
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.NonLinearSeriesState() - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.DoublegetBrightness() - -
-           
- voidsetBrightness(java.lang.Double brightness) - -
-          Sets intensity of brightness for a point.
- - - - - - - -
Methods inherited from class com.invient.vaadin.charts.InvientChartsConfig.SeriesState
getEnabled, getLineWidth, setEnabled, setLineWidth
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.NonLinearSeriesState

-
-public InvientChartsConfig.NonLinearSeriesState()
-
-
- - - - - - - - -
-Method Detail
- -

-getBrightness

-
-public java.lang.Double getBrightness()
-
-
- -
Returns:
-
-
-
- -

-setBrightness

-
-public void setBrightness(java.lang.Double brightness)
-
-
Sets intensity of brightness for a point. This applies only to bar - and column series/chart - - Defaults to 0.1 -

-

-
Parameters:
brightness -
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.NumberAxis.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.NumberAxis.html deleted file mode 100644 index 42a7748..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.NumberAxis.html +++ /dev/null @@ -1,539 +0,0 @@ - - - - - - -InvientChartsConfig.NumberAxis - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.NumberAxis

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.AxisBase
-      extended by com.invient.vaadin.charts.InvientChartsConfig.NumberAxis
-
-
-
All Implemented Interfaces:
InvientChartsConfig.Axis, java.io.Serializable
-
-
-
Direct Known Subclasses:
InvientChartsConfig.NumberXAxis, InvientChartsConfig.NumberYAxis
-
-
-
Enclosing class:
InvientChartsConfig
-
-
-
-
public abstract static class InvientChartsConfig.NumberAxis
extends InvientChartsConfig.AxisBase
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - -
-Nested Class Summary
- - - - - - - -
Nested classes/interfaces inherited from class com.invient.vaadin.charts.InvientChartsConfig.AxisBase
InvientChartsConfig.AxisBase.AxisTitle, InvientChartsConfig.AxisBase.AxisTitleAlign, InvientChartsConfig.AxisBase.AxisType, InvientChartsConfig.AxisBase.DateTimePlotBand, InvientChartsConfig.AxisBase.DateTimePlotLine, InvientChartsConfig.AxisBase.Grid, InvientChartsConfig.AxisBase.MinorGrid, InvientChartsConfig.AxisBase.MinorTick, InvientChartsConfig.AxisBase.NumberPlotBand, InvientChartsConfig.AxisBase.NumberPlotLine, InvientChartsConfig.AxisBase.PlotBand, InvientChartsConfig.AxisBase.PlotLabel, InvientChartsConfig.AxisBase.PlotLine, InvientChartsConfig.AxisBase.Tick, InvientChartsConfig.AxisBase.TickmarkPlacement, InvientChartsConfig.AxisBase.TickPosition, InvientChartsConfig.AxisBase.WeekDay
-  - - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.NumberAxis() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidaddPlotBand(InvientChartsConfig.AxisBase.NumberPlotBand plotBand) - -
-           
- voidaddPlotLine(InvientChartsConfig.AxisBase.NumberPlotLine plotLine) - -
-           
- java.lang.BooleangetAllowDecimals() - -
-           
- java.lang.DoublegetMax() - -
-           
- java.lang.DoublegetMin() - -
-           
- java.util.LinkedHashSet<InvientChartsConfig.AxisBase.NumberPlotBand>getPlotBands() - -
-           
- java.util.LinkedHashSet<InvientChartsConfig.AxisBase.NumberPlotLine>getPlotLines() - -
-           
- voidremovePlotBand(InvientChartsConfig.AxisBase.NumberPlotBand plotBand) - -
-           
- voidremovePlotLine(InvientChartsConfig.AxisBase.NumberPlotLine plotLine) - -
-           
- voidsetAllowDecimals(java.lang.Boolean allowDecimals) - -
-           
- voidsetMax(java.lang.Double max) - -
-           
- voidsetMin(java.lang.Double min) - -
-           
- voidsetPlotBands(java.util.LinkedHashSet<InvientChartsConfig.AxisBase.NumberPlotBand> plotBands) - -
-           
- voidsetPlotLines(java.util.LinkedHashSet<InvientChartsConfig.AxisBase.NumberPlotLine> plotLines) - -
-           
- - - - - - - -
Methods inherited from class com.invient.vaadin.charts.InvientChartsConfig.AxisBase
getAlternateGridColor, getEndOnTick, getGrid, getId, getLineColor, getLineWidth, getLinkedTo, getMaxPadding, getMaxZoom, getMinorGrid, getMinorTick, getMinPadding, getOffset, getOpposite, getReversed, getShowFirstLabel, getShowLastLabel, getStartOfWeek, getStartOnTick, getTick, getTitle, getType, removePlotBand, removePlotLine, setAlternateGridColor, setEndOnTick, setGrid, setId, setLineColor, setLineWidth, setLinkedTo, setMaxPadding, setMaxZoom, setMinorGrid, setMinorTick, setMinPadding, setOffset, setOpposite, setReversed, setShowFirstLabel, setShowLastLabel, setStartOfWeek, setStartOnTick, setTick, setTitle
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.NumberAxis

-
-public InvientChartsConfig.NumberAxis()
-
-
- - - - - - - - -
-Method Detail
- -

-getAllowDecimals

-
-public java.lang.Boolean getAllowDecimals()
-
-
-
-
-
-
- -

-setAllowDecimals

-
-public void setAllowDecimals(java.lang.Boolean allowDecimals)
-
-
-
-
-
-
- -

-setMax

-
-public void setMax(java.lang.Double max)
-
-
-
-
-
-
- -

-setMin

-
-public void setMin(java.lang.Double min)
-
-
-
-
-
-
- -

-getMin

-
-public java.lang.Double getMin()
-
-
-
-
-
-
- -

-getMax

-
-public java.lang.Double getMax()
-
-
-
-
-
-
- -

-getPlotBands

-
-public java.util.LinkedHashSet<InvientChartsConfig.AxisBase.NumberPlotBand> getPlotBands()
-
-
-
-
-
-
- -

-setPlotBands

-
-public void setPlotBands(java.util.LinkedHashSet<InvientChartsConfig.AxisBase.NumberPlotBand> plotBands)
-
-
-
-
-
-
- -

-addPlotBand

-
-public void addPlotBand(InvientChartsConfig.AxisBase.NumberPlotBand plotBand)
-
-
-
-
-
-
- -

-removePlotBand

-
-public void removePlotBand(InvientChartsConfig.AxisBase.NumberPlotBand plotBand)
-
-
-
-
-
-
- -

-getPlotLines

-
-public java.util.LinkedHashSet<InvientChartsConfig.AxisBase.NumberPlotLine> getPlotLines()
-
-
-
-
-
-
- -

-setPlotLines

-
-public void setPlotLines(java.util.LinkedHashSet<InvientChartsConfig.AxisBase.NumberPlotLine> plotLines)
-
-
-
-
-
-
- -

-addPlotLine

-
-public void addPlotLine(InvientChartsConfig.AxisBase.NumberPlotLine plotLine)
-
-
-
-
-
-
- -

-removePlotLine

-
-public void removePlotLine(InvientChartsConfig.AxisBase.NumberPlotLine plotLine)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.NumberXAxis.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.NumberXAxis.html deleted file mode 100644 index c0607c9..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.NumberXAxis.html +++ /dev/null @@ -1,334 +0,0 @@ - - - - - - -InvientChartsConfig.NumberXAxis - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.NumberXAxis

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.AxisBase
-      extended by com.invient.vaadin.charts.InvientChartsConfig.NumberAxis
-          extended by com.invient.vaadin.charts.InvientChartsConfig.NumberXAxis
-
-
-
All Implemented Interfaces:
InvientChartsConfig.Axis, InvientChartsConfig.XAxis, java.io.Serializable
-
-
-
Enclosing class:
InvientChartsConfig
-
-
-
-
public static final class InvientChartsConfig.NumberXAxis
extends InvientChartsConfig.NumberAxis
implements InvientChartsConfig.XAxis
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - -
-Nested Class Summary
- - - - - - - -
Nested classes/interfaces inherited from class com.invient.vaadin.charts.InvientChartsConfig.AxisBase
InvientChartsConfig.AxisBase.AxisTitle, InvientChartsConfig.AxisBase.AxisTitleAlign, InvientChartsConfig.AxisBase.AxisType, InvientChartsConfig.AxisBase.DateTimePlotBand, InvientChartsConfig.AxisBase.DateTimePlotLine, InvientChartsConfig.AxisBase.Grid, InvientChartsConfig.AxisBase.MinorGrid, InvientChartsConfig.AxisBase.MinorTick, InvientChartsConfig.AxisBase.NumberPlotBand, InvientChartsConfig.AxisBase.NumberPlotLine, InvientChartsConfig.AxisBase.PlotBand, InvientChartsConfig.AxisBase.PlotLabel, InvientChartsConfig.AxisBase.PlotLine, InvientChartsConfig.AxisBase.Tick, InvientChartsConfig.AxisBase.TickmarkPlacement, InvientChartsConfig.AxisBase.TickPosition, InvientChartsConfig.AxisBase.WeekDay
-  - - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.NumberXAxis() - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- InvientChartsConfig.XAxisDataLabelgetLabel() - -
-           
- voidsetLabel(InvientChartsConfig.XAxisDataLabel label) - -
-           
- - - - - - - -
Methods inherited from class com.invient.vaadin.charts.InvientChartsConfig.NumberAxis
addPlotBand, addPlotLine, getAllowDecimals, getMax, getMin, getPlotBands, getPlotLines, removePlotBand, removePlotLine, setAllowDecimals, setMax, setMin, setPlotBands, setPlotLines
- - - - - - - -
Methods inherited from class com.invient.vaadin.charts.InvientChartsConfig.AxisBase
getAlternateGridColor, getEndOnTick, getGrid, getId, getLineColor, getLineWidth, getLinkedTo, getMaxPadding, getMaxZoom, getMinorGrid, getMinorTick, getMinPadding, getOffset, getOpposite, getReversed, getShowFirstLabel, getShowLastLabel, getStartOfWeek, getStartOnTick, getTick, getTitle, getType, removePlotBand, removePlotLine, setAlternateGridColor, setEndOnTick, setGrid, setId, setLineColor, setLineWidth, setLinkedTo, setMaxPadding, setMaxZoom, setMinorGrid, setMinorTick, setMinPadding, setOffset, setOpposite, setReversed, setShowFirstLabel, setShowLastLabel, setStartOfWeek, setStartOnTick, setTick, setTitle
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
- - - - - - - -
Methods inherited from interface com.invient.vaadin.charts.InvientChartsConfig.Axis
getAlternateGridColor, getEndOnTick, getGrid, getId, getLineColor, getLineWidth, getLinkedTo, getMaxPadding, getMaxZoom, getMinorGrid, getMinorTick, getMinPadding, getOffset, getOpposite, getReversed, getShowFirstLabel, getShowLastLabel, getStartOfWeek, getStartOnTick, getTick, getTitle, getType, setAlternateGridColor, setEndOnTick, setGrid, setId, setLineColor, setLineWidth, setLinkedTo, setMaxPadding, setMaxZoom, setMinorGrid, setMinorTick, setMinPadding, setOffset, setOpposite, setReversed, setShowFirstLabel, setShowLastLabel, setStartOfWeek, setStartOnTick, setTick, setTitle
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.NumberXAxis

-
-public InvientChartsConfig.NumberXAxis()
-
-
- - - - - - - - -
-Method Detail
- -

-setLabel

-
-public void setLabel(InvientChartsConfig.XAxisDataLabel label)
-
-
-
-
-
-
-
-
-
- -

-getLabel

-
-public InvientChartsConfig.XAxisDataLabel getLabel()
-
-
-
-
-
- -
Returns:
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.NumberYAxis.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.NumberYAxis.html deleted file mode 100644 index 5038dc3..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.NumberYAxis.html +++ /dev/null @@ -1,334 +0,0 @@ - - - - - - -InvientChartsConfig.NumberYAxis - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.NumberYAxis

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.AxisBase
-      extended by com.invient.vaadin.charts.InvientChartsConfig.NumberAxis
-          extended by com.invient.vaadin.charts.InvientChartsConfig.NumberYAxis
-
-
-
All Implemented Interfaces:
InvientChartsConfig.Axis, InvientChartsConfig.YAxis, java.io.Serializable
-
-
-
Enclosing class:
InvientChartsConfig
-
-
-
-
public static final class InvientChartsConfig.NumberYAxis
extends InvientChartsConfig.NumberAxis
implements InvientChartsConfig.YAxis
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - -
-Nested Class Summary
- - - - - - - -
Nested classes/interfaces inherited from class com.invient.vaadin.charts.InvientChartsConfig.AxisBase
InvientChartsConfig.AxisBase.AxisTitle, InvientChartsConfig.AxisBase.AxisTitleAlign, InvientChartsConfig.AxisBase.AxisType, InvientChartsConfig.AxisBase.DateTimePlotBand, InvientChartsConfig.AxisBase.DateTimePlotLine, InvientChartsConfig.AxisBase.Grid, InvientChartsConfig.AxisBase.MinorGrid, InvientChartsConfig.AxisBase.MinorTick, InvientChartsConfig.AxisBase.NumberPlotBand, InvientChartsConfig.AxisBase.NumberPlotLine, InvientChartsConfig.AxisBase.PlotBand, InvientChartsConfig.AxisBase.PlotLabel, InvientChartsConfig.AxisBase.PlotLine, InvientChartsConfig.AxisBase.Tick, InvientChartsConfig.AxisBase.TickmarkPlacement, InvientChartsConfig.AxisBase.TickPosition, InvientChartsConfig.AxisBase.WeekDay
-  - - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.NumberYAxis() - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- InvientChartsConfig.YAxisDataLabelgetLabel() - -
-           
- voidsetLabel(InvientChartsConfig.YAxisDataLabel label) - -
-           
- - - - - - - -
Methods inherited from class com.invient.vaadin.charts.InvientChartsConfig.NumberAxis
addPlotBand, addPlotLine, getAllowDecimals, getMax, getMin, getPlotBands, getPlotLines, removePlotBand, removePlotLine, setAllowDecimals, setMax, setMin, setPlotBands, setPlotLines
- - - - - - - -
Methods inherited from class com.invient.vaadin.charts.InvientChartsConfig.AxisBase
getAlternateGridColor, getEndOnTick, getGrid, getId, getLineColor, getLineWidth, getLinkedTo, getMaxPadding, getMaxZoom, getMinorGrid, getMinorTick, getMinPadding, getOffset, getOpposite, getReversed, getShowFirstLabel, getShowLastLabel, getStartOfWeek, getStartOnTick, getTick, getTitle, getType, removePlotBand, removePlotLine, setAlternateGridColor, setEndOnTick, setGrid, setId, setLineColor, setLineWidth, setLinkedTo, setMaxPadding, setMaxZoom, setMinorGrid, setMinorTick, setMinPadding, setOffset, setOpposite, setReversed, setShowFirstLabel, setShowLastLabel, setStartOfWeek, setStartOnTick, setTick, setTitle
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
- - - - - - - -
Methods inherited from interface com.invient.vaadin.charts.InvientChartsConfig.Axis
getAlternateGridColor, getEndOnTick, getGrid, getId, getLineColor, getLineWidth, getLinkedTo, getMaxPadding, getMaxZoom, getMinorGrid, getMinorTick, getMinPadding, getOffset, getOpposite, getReversed, getShowFirstLabel, getShowLastLabel, getStartOfWeek, getStartOnTick, getTick, getTitle, getType, setAlternateGridColor, setEndOnTick, setGrid, setId, setLineColor, setLineWidth, setLinkedTo, setMaxPadding, setMaxZoom, setMinorGrid, setMinorTick, setMinPadding, setOffset, setOpposite, setReversed, setShowFirstLabel, setShowLastLabel, setStartOfWeek, setStartOnTick, setTick, setTitle
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.NumberYAxis

-
-public InvientChartsConfig.NumberYAxis()
-
-
- - - - - - - - -
-Method Detail
- -

-setLabel

-
-public void setLabel(InvientChartsConfig.YAxisDataLabel label)
-
-
-
-
-
-
-
-
-
- -

-getLabel

-
-public InvientChartsConfig.YAxisDataLabel getLabel()
-
-
-
-
-
- -
Returns:
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.PieConfig.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.PieConfig.html deleted file mode 100644 index bd84af3..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.PieConfig.html +++ /dev/null @@ -1,755 +0,0 @@ - - - - - - -InvientChartsConfig.PieConfig - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.PieConfig

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.SeriesConfig
-      extended by com.invient.vaadin.charts.InvientChartsConfig.PieConfig
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientChartsConfig
-
-
-
-
public static class InvientChartsConfig.PieConfig
extends InvientChartsConfig.SeriesConfig
- - -

-This class contains configuration options for pie series. -

- -

-

-
Author:
-
Invient
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.PieConfig() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- PaintgetBorderColor() - -
-           
- java.lang.IntegergetBorderWidth() - -
-           
- java.lang.IntegergetCenterX() - -
-           
- java.lang.IntegergetCenterY() - -
-           
- InvientChartsConfig.PieDataLabelgetDataLabel() - -
-           
- InvientChartsConfig.NonLinearSeriesStategetHoverState() - -
-           
- java.lang.IntegergetInnerSize() - -
-           
- java.lang.BooleangetShadow() - -
-           
- java.lang.IntegergetSize() - -
-           
- java.lang.IntegergetSlicedOffset() - -
-           
- java.lang.BooleangetVisible() - -
-           
- voidsetBorderColor(Paint borderColor) - -
-          Sets color of border surrounding each slice.
- voidsetBorderWidth(java.lang.Integer borderWidth) - -
-          Sets width of border surrounding each slice.
- voidsetCenterX(java.lang.Integer centerX) - -
-          Sets x position (in pixel) of the center of the pie chart relative to - the plot area.
- voidsetCenterY(java.lang.Integer centerY) - -
-          Sets y position (in pixel) of the center of the pie chart relative to - the plot area.
- voidsetDataLabel(InvientChartsConfig.PieDataLabel dataLabel) - -
-          Sets an object of InvientChartsConfig.PieDataLabel which contains configuration - for formatting data labels.
- voidsetHoverState(InvientChartsConfig.NonLinearSeriesState state) - -
-          Sets state which should be applied to a slice when a mouse is over - the slice
- voidsetInnerSize(java.lang.Integer innerSize) - -
-          Sets the size of the inner diameter for the pie.
- voidsetShadow(java.lang.Boolean shadow) - -
-          If the argument is true then a shadow will be shown to the graph line - otherwise not.
- voidsetSize(java.lang.Integer size) - -
-          Sets size of diameter of the pie relative to the plot area.
- voidsetSlicedOffset(java.lang.Integer slicedOffset) - -
-          Sets offset in pixel by which a slice should be moved out from the - center.
- voidsetVisible(java.lang.Boolean visible) - -
-          If the argument is true then the series is visible otherwise not when - a chart is rendered initially.
- - - - - - - -
Methods inherited from class com.invient.vaadin.charts.InvientChartsConfig.SeriesConfig
getAllowPointSelect, getAnimation, getColor, getCursor, getEnableMouseTracking, getShowCheckbox, getShowInLegend, getStacking, setAllowPointSelect, setAnimation, setColor, setCursor, setDataLabel, setEnableMouseTracking, setHoverState, setShowCheckbox, setShowInLegend, setStacking
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.PieConfig

-
-public InvientChartsConfig.PieConfig()
-
-
- - - - - - - - -
-Method Detail
- -

-getCenterX

-
-public java.lang.Integer getCenterX()
-
-
- -
Returns:
Returns x position (in pixel) of the center of the pie chart relative to - the plot area.
-
-
-
- -

-setCenterX

-
-public void setCenterX(java.lang.Integer centerX)
-
-
Sets x position (in pixel) of the center of the pie chart relative to - the plot area. -

-

-
Parameters:
centerX -
-
-
-
- -

-getCenterY

-
-public java.lang.Integer getCenterY()
-
-
- -
Returns:
Returns y position (in pixel) of the center of the pie chart relative to - the plot area.
-
-
-
- -

-setCenterY

-
-public void setCenterY(java.lang.Integer centerY)
-
-
Sets y position (in pixel) of the center of the pie chart relative to - the plot area. -

-

-
Parameters:
centerY -
-
-
-
- -

-getBorderColor

-
-public Paint getBorderColor()
-
-
- -
Returns:
Returns color of border surrounding each slice.
-
-
-
- -

-setBorderColor

-
-public void setBorderColor(Paint borderColor)
-
-
Sets color of border surrounding each slice. -

-

-
Parameters:
borderColor -
-
-
-
- -

-getBorderWidth

-
-public java.lang.Integer getBorderWidth()
-
-
- -
Returns:
Returns width of the border surrounding each slice.
-
-
-
- -

-setBorderWidth

-
-public void setBorderWidth(java.lang.Integer borderWidth)
-
-
Sets width of border surrounding each slice. -

-

-
Parameters:
borderWidth -
-
-
-
- -

-getInnerSize

-
-public java.lang.Integer getInnerSize()
-
-
- -
Returns:
Returns size of the inner diameter of the pie.
-
-
-
- -

-setInnerSize

-
-public void setInnerSize(java.lang.Integer innerSize)
-
-
Sets the size of the inner diameter for the pie. Any value greater - than 0 renders a donut chart. -

-

-
Parameters:
innerSize -
-
-
-
- -

-getSize

-
-public java.lang.Integer getSize()
-
-
- -
Returns:
Returns size of diameter of the pie relative to the plot area.
-
-
-
- -

-setSize

-
-public void setSize(java.lang.Integer size)
-
-
Sets size of diameter of the pie relative to the plot area. -

-

-
Parameters:
size -
-
-
-
- -

-getSlicedOffset

-
-public java.lang.Integer getSlicedOffset()
-
-
- -
Returns:
Returns offset in pixel by which a slice should be moved out from the - center.
-
-
-
- -

-setSlicedOffset

-
-public void setSlicedOffset(java.lang.Integer slicedOffset)
-
-
Sets offset in pixel by which a slice should be moved out from the - center. -

-

-
Parameters:
slicedOffset -
-
-
-
- -

-setVisible

-
-public void setVisible(java.lang.Boolean visible)
-                throws java.lang.UnsupportedOperationException
-
-
Description copied from class: InvientChartsConfig.SeriesConfig
-
If the argument is true then the series is visible otherwise not when - a chart is rendered initially. Defaults to true However, this is not - applicable for series related to Pie chart. -

-

-
Overrides:
setVisible in class InvientChartsConfig.SeriesConfig
-
-
- -
Throws: -
java.lang.UnsupportedOperationException - Pie chart does not support visible property so this - method throws an exception if invoked.
-
-
-
- -

-setShadow

-
-public void setShadow(java.lang.Boolean shadow)
-               throws java.lang.UnsupportedOperationException
-
-
Description copied from class: InvientChartsConfig.SeriesConfig
-
If the argument is true then a shadow will be shown to the graph line - otherwise not. Defaults to true. -

-

-
Overrides:
setShadow in class InvientChartsConfig.SeriesConfig
-
-
- -
Throws: -
java.lang.UnsupportedOperationException - Pie chart does not support shadow property so this - method throws an exception if invoked.
-
-
-
- -

-getVisible

-
-public java.lang.Boolean getVisible()
-
-
-
Overrides:
getVisible in class InvientChartsConfig.SeriesConfig
-
-
- -
Returns:
Returns null as pie does not support toggle (show/hide pie) feature.
-
-
-
- -

-getShadow

-
-public java.lang.Boolean getShadow()
-
-
-
Overrides:
getShadow in class InvientChartsConfig.SeriesConfig
-
-
- -
Returns:
Returns null as pie series does not support shadow.
-
-
-
- -

-setDataLabel

-
-public void setDataLabel(InvientChartsConfig.PieDataLabel dataLabel)
-
-
Sets an object of InvientChartsConfig.PieDataLabel which contains configuration - for formatting data labels. -

-

-
Parameters:
dataLabel -
-
-
-
- -

-getDataLabel

-
-public InvientChartsConfig.PieDataLabel getDataLabel()
-
-
-
Overrides:
getDataLabel in class InvientChartsConfig.SeriesConfig
-
-
- -
Returns:
-
-
-
- -

-setHoverState

-
-public void setHoverState(InvientChartsConfig.NonLinearSeriesState state)
-
-
Sets state which should be applied to a slice when a mouse is over - the slice -

-

-
Parameters:
state -
-
-
-
- -

-getHoverState

-
-public InvientChartsConfig.NonLinearSeriesState getHoverState()
-
-
-
Overrides:
getHoverState in class InvientChartsConfig.SeriesConfig
-
-
- -
Returns:
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.PieDataLabel.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.PieDataLabel.html deleted file mode 100644 index 98049ad..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.PieDataLabel.html +++ /dev/null @@ -1,469 +0,0 @@ - - - - - - -InvientChartsConfig.PieDataLabel - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.PieDataLabel

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.DataLabel
-      extended by com.invient.vaadin.charts.InvientChartsConfig.PieDataLabel
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientChartsConfig
-
-
-
-
public static final class InvientChartsConfig.PieDataLabel
extends InvientChartsConfig.DataLabel
- - -

-This class contains configuration attributes of data labels specific to - Pie series. -

- -

-

-
Author:
-
Invient
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.PieDataLabel() - -
-           
InvientChartsConfig.PieDataLabel(boolean enabled) - -
-          If the argument is true then the datalabels will be displayed - otherwise not.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- PaintgetConnectorColor() - -
-           
- java.lang.IntegergetConnectorPadding() - -
-           
- java.lang.IntegergetConnectorWidth() - -
-           
- java.lang.IntegergetDistance() - -
-           
- voidsetConnectorColor(Paint connectorColor) - -
-          Sets the color of the line connecting the data label to the pie - slice.
- voidsetConnectorPadding(java.lang.Integer connectorPadding) - -
-          Sets the distance (in pixel) from the data label to the connector.
- voidsetConnectorWidth(java.lang.Integer connectorWidth) - -
-          Sets width (in pixel) of the line connecting the data label to the - pie slice.
- voidsetDistance(java.lang.Integer distance) - -
-          Sets the distance (in pixel) of the data label from the pie's edge.
- java.lang.StringtoString() - -
-           
- - - - - - - -
Methods inherited from class com.invient.vaadin.charts.InvientChartsConfig.DataLabel
getAlign, getColor, getEnabled, getFormatterJsFunc, getRotation, getStyle, getX, getY, setAlign, setColor, setEnabled, setFormatterJsFunc, setRotation, setStyle, setX, setY
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.PieDataLabel

-
-public InvientChartsConfig.PieDataLabel()
-
-
-
- -

-InvientChartsConfig.PieDataLabel

-
-public InvientChartsConfig.PieDataLabel(boolean enabled)
-
-
If the argument is true then the datalabels will be displayed - otherwise not. -

-

-
Parameters:
enabled -
-
- - - - - - - - -
-Method Detail
- -

-getConnectorWidth

-
-public java.lang.Integer getConnectorWidth()
-
-
- -
Returns:
-
-
-
- -

-setConnectorWidth

-
-public void setConnectorWidth(java.lang.Integer connectorWidth)
-
-
Sets width (in pixel) of the line connecting the data label to the - pie slice. Defaults to 1. -

-

-
Parameters:
connectorWidth -
-
-
-
- -

-getConnectorColor

-
-public Paint getConnectorColor()
-
-
- -
Returns:
-
-
-
- -

-setConnectorColor

-
-public void setConnectorColor(Paint connectorColor)
-
-
Sets the color of the line connecting the data label to the pie - slice. -

-

-
Parameters:
connectorColor -
-
-
-
- -

-getConnectorPadding

-
-public java.lang.Integer getConnectorPadding()
-
-
- -
Returns:
-
-
-
- -

-setConnectorPadding

-
-public void setConnectorPadding(java.lang.Integer connectorPadding)
-
-
Sets the distance (in pixel) from the data label to the connector. - Defaults to 5. -

-

-
Parameters:
connectorPadding -
-
-
-
- -

-getDistance

-
-public java.lang.Integer getDistance()
-
-
- -
Returns:
-
-
-
- -

-setDistance

-
-public void setDistance(java.lang.Integer distance)
-
-
Sets the distance (in pixel) of the data label from the pie's edge. -

-

-
Parameters:
distance -
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
-
Overrides:
toString in class InvientChartsConfig.DataLabel
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.PointConfig.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.PointConfig.html deleted file mode 100644 index 7513858..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.PointConfig.html +++ /dev/null @@ -1,520 +0,0 @@ - - - - - - -InvientChartsConfig.PointConfig - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.PointConfig

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.PointConfig
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientChartsConfig
-
-
-
-
public static final class InvientChartsConfig.PointConfig
extends java.lang.Object
implements java.io.Serializable
- - -

-Defines configuration per point in a series. It is possible to assign - each point a different color and marker. -

- -

-

-
Author:
-
Invient
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.PointConfig(java.lang.Boolean sliced) - -
-          Creates an instance of this class with specified argument.
InvientChartsConfig.PointConfig(java.lang.Boolean sliced, - java.lang.Boolean selected, - Paint color, - InvientChartsConfig.Marker marker) - -
-           
InvientChartsConfig.PointConfig(InvientChartsConfig.Marker marker) - -
-          Creates an instance of this class with specified marker
InvientChartsConfig.PointConfig(Paint color) - -
-          Creates an instance of this class with specified color
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- PaintgetColor() - -
-           
- InvientChartsConfig.MarkergetMarker() - -
-           
- java.lang.BooleangetSelected() - -
-           
- java.lang.BooleangetSliced() - -
-           
- voidsetColor(Paint color) - -
-           
- voidsetMarker(InvientChartsConfig.Marker marker) - -
-           
- voidsetSelected(java.lang.Boolean selected) - -
-           
- voidsetSliced(java.lang.Boolean sliced) - -
-           
- java.lang.StringtoString() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.PointConfig

-
-public InvientChartsConfig.PointConfig(InvientChartsConfig.Marker marker)
-
-
Creates an instance of this class with specified marker -

-

-
Parameters:
marker -
-
-
- -

-InvientChartsConfig.PointConfig

-
-public InvientChartsConfig.PointConfig(Paint color)
-
-
Creates an instance of this class with specified color -

-

-
Parameters:
color -
-
-
- -

-InvientChartsConfig.PointConfig

-
-public InvientChartsConfig.PointConfig(java.lang.Boolean sliced)
-
-
Creates an instance of this class with specified argument. The sliced - attribute has meaning only for Pie chart/series. -

-

-
Parameters:
sliced -
-
-
- -

-InvientChartsConfig.PointConfig

-
-public InvientChartsConfig.PointConfig(java.lang.Boolean sliced,
-                                       java.lang.Boolean selected,
-                                       Paint color,
-                                       InvientChartsConfig.Marker marker)
-
-
-
Parameters:
sliced - - If true then the slice of a pie will be at an offset - from the center of the pie. Applicable only for Pie - chart/series.
selected - - If true then the point, to which this object is - associated, will be shown as selected otherwise not.
color - - Specifies individual color for a point, to which this - object is associated.
marker - - Specifies marker for a point, to which this object is - associated.
See Also:
InvientChartsConfig.Marker, -Color
-
- - - - - - - - -
-Method Detail
- -

-getSliced

-
-public java.lang.Boolean getSliced()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setSliced

-
-public void setSliced(java.lang.Boolean sliced)
-
-
-
-
-
-
Parameters:
sliced -
-
-
-
- -

-getSelected

-
-public java.lang.Boolean getSelected()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setSelected

-
-public void setSelected(java.lang.Boolean selected)
-
-
-
-
-
-
Parameters:
selected -
-
-
-
- -

-getColor

-
-public Paint getColor()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setColor

-
-public void setColor(Paint color)
-
-
-
-
-
-
Parameters:
color -
-
-
-
- -

-getMarker

-
-public InvientChartsConfig.Marker getMarker()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setMarker

-
-public void setMarker(InvientChartsConfig.Marker marker)
-
-
-
-
-
-
Parameters:
marker -
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
-
Overrides:
toString in class java.lang.Object
-
-
- -
Returns:
Returns string representation of this object.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.Position.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.Position.html deleted file mode 100644 index 97fc35a..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.Position.html +++ /dev/null @@ -1,439 +0,0 @@ - - - - - - -InvientChartsConfig.Position - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.Position

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.Position
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientChartsConfig
-
-
-
-
public static final class InvientChartsConfig.Position
extends java.lang.Object
implements java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.Position() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- InvientChartsConfig.HorzAligngetAlign() - -
-           
- InvientChartsConfig.VertAligngetVertAlign() - -
-           
- java.lang.IntegergetX() - -
-           
- java.lang.IntegergetY() - -
-           
- voidsetAlign(InvientChartsConfig.HorzAlign align) - -
-           
- voidsetVertAlign(InvientChartsConfig.VertAlign vertAlign) - -
-           
- voidsetX(java.lang.Integer x) - -
-           
- voidsetY(java.lang.Integer y) - -
-           
- java.lang.StringtoString() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.Position

-
-public InvientChartsConfig.Position()
-
-
- - - - - - - - -
-Method Detail
- -

-getAlign

-
-public InvientChartsConfig.HorzAlign getAlign()
-
-
-
-
-
-
-
-
-
- -

-setAlign

-
-public void setAlign(InvientChartsConfig.HorzAlign align)
-
-
-
-
-
-
-
-
-
- -

-getVertAlign

-
-public InvientChartsConfig.VertAlign getVertAlign()
-
-
-
-
-
-
-
-
-
- -

-setVertAlign

-
-public void setVertAlign(InvientChartsConfig.VertAlign vertAlign)
-
-
-
-
-
-
-
-
-
- -

-getX

-
-public java.lang.Integer getX()
-
-
-
-
-
-
-
-
-
- -

-setX

-
-public void setX(java.lang.Integer x)
-
-
-
-
-
-
-
-
-
- -

-getY

-
-public java.lang.Integer getY()
-
-
-
-
-
-
-
-
-
- -

-setY

-
-public void setY(java.lang.Integer y)
-
-
-
-
-
-
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
-
Overrides:
toString in class java.lang.Object
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.ScatterConfig.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.ScatterConfig.html deleted file mode 100644 index cce8c21..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.ScatterConfig.html +++ /dev/null @@ -1,321 +0,0 @@ - - - - - - -InvientChartsConfig.ScatterConfig - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.ScatterConfig

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.SeriesConfig
-      extended by com.invient.vaadin.charts.InvientChartsConfig.BaseLineConfig
-          extended by com.invient.vaadin.charts.InvientChartsConfig.ScatterConfig
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientChartsConfig
-
-
-
-
public static class InvientChartsConfig.ScatterConfig
extends InvientChartsConfig.BaseLineConfig
- - -

-This class contains configuration options for scatter series -

- -

-

-
Author:
-
Invient
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.ScatterConfig() - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.BooleangetShadow() - -
-           
- voidsetShadow(java.lang.Boolean shadow) - -
-          If the argument is true then a shadow will be shown to the graph line - otherwise not.
- - - - - - - -
Methods inherited from class com.invient.vaadin.charts.InvientChartsConfig.BaseLineConfig
getDashStyle, getLineWidth, getMarker, getPointInterval, getPointStart, getStickyTracking, setDashStyle, setLineWidth, setMarker, setPointInterval, setPointStart, setStickyTracking
- - - - - - - -
Methods inherited from class com.invient.vaadin.charts.InvientChartsConfig.SeriesConfig
getAllowPointSelect, getAnimation, getColor, getCursor, getDataLabel, getEnableMouseTracking, getHoverState, getShowCheckbox, getShowInLegend, getStacking, getVisible, setAllowPointSelect, setAnimation, setColor, setCursor, setDataLabel, setEnableMouseTracking, setHoverState, setShowCheckbox, setShowInLegend, setStacking, setVisible
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.ScatterConfig

-
-public InvientChartsConfig.ScatterConfig()
-
-
- - - - - - - - -
-Method Detail
- -

-setShadow

-
-public void setShadow(java.lang.Boolean shadow)
-               throws java.lang.UnsupportedOperationException
-
-
Description copied from class: InvientChartsConfig.SeriesConfig
-
If the argument is true then a shadow will be shown to the graph line - otherwise not. Defaults to true. -

-

-
Overrides:
setShadow in class InvientChartsConfig.SeriesConfig
-
-
-
Parameters:
shadow - -
Throws: -
java.lang.UnsupportedOperationException - Scatter series does not support shadow so this method - throws an exception if invoked.
-
-
-
- -

-getShadow

-
-public java.lang.Boolean getShadow()
-
-
-
Overrides:
getShadow in class InvientChartsConfig.SeriesConfig
-
-
- -
Returns:
Returns null as scatter series does not have shadow.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.SeriesConfig.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.SeriesConfig.html deleted file mode 100644 index 27ee909..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.SeriesConfig.html +++ /dev/null @@ -1,845 +0,0 @@ - - - - - - -InvientChartsConfig.SeriesConfig - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.SeriesConfig

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.SeriesConfig
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Direct Known Subclasses:
InvientChartsConfig.BaseBarConfig, InvientChartsConfig.BaseLineConfig, InvientChartsConfig.PieConfig
-
-
-
Enclosing class:
InvientChartsConfig
-
-
-
-
public static class InvientChartsConfig.SeriesConfig
extends java.lang.Object
implements java.io.Serializable
- - -

-This class contains general configuration options for all series types - such as line, area and pie. -

- -

-

-
Author:
-
Invient
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.SeriesConfig() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.BooleangetAllowPointSelect() - -
-           
- java.lang.BooleangetAnimation() - -
-           
- PaintgetColor() - -
-           
- java.lang.StringgetCursor() - -
-           
- InvientChartsConfig.DataLabelgetDataLabel() - -
-           
- java.lang.BooleangetEnableMouseTracking() - -
-           
- InvientChartsConfig.SeriesStategetHoverState() - -
-           
- java.lang.BooleangetShadow() - -
-           
- java.lang.BooleangetShowCheckbox() - -
-           
- java.lang.BooleangetShowInLegend() - -
-           
- InvientChartsConfig.StackinggetStacking() - -
-           
- java.lang.BooleangetVisible() - -
-           
- voidsetAllowPointSelect(java.lang.Boolean allowPointSelect) - -
-          If the argument is true then the points of a can be selected - otherwise not.
- voidsetAnimation(java.lang.Boolean animation) - -
-          If the argument is true then animation will be enabled when a series - will be displayed otherwise not.
- voidsetColor(Paint color) - -
-          Sets color for the series.
- voidsetCursor(java.lang.String cursor) - -
-          Sets the cursor style.
- voidsetDataLabel(InvientChartsConfig.DataLabel dataLabel) - -
-          Sets how point value should be formatted and displayed for each - point.
- voidsetEnableMouseTracking(java.lang.Boolean enableMouseTracking) - -
-          If the argument is true then the mouse tracking will be enabled for a - series otherwise not.
- voidsetHoverState(InvientChartsConfig.SeriesState state) - -
-          Sets attributes which should be applied to a series when series is - hovered.
- voidsetShadow(java.lang.Boolean shadow) - -
-          If the argument is true then a shadow will be shown to the graph line - otherwise not.
- voidsetShowCheckbox(java.lang.Boolean showCheckbox) - -
-          If the argument is true then a checkbox is displayed next to the - legend item in the legend area.
- voidsetShowInLegend(java.lang.Boolean showInLegend) - -
-          If the argument is true then a series will be displayed in the legend - otherwise not.
- voidsetStacking(InvientChartsConfig.Stacking stacking) - -
-          Specifies whether the values of each series should be stacked on top - of each other or not.
- voidsetVisible(java.lang.Boolean visible) - -
-          If the argument is true then the series is visible otherwise not when - a chart is rendered initially.
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.SeriesConfig

-
-public InvientChartsConfig.SeriesConfig()
-
-
- - - - - - - - -
-Method Detail
- -

-getAllowPointSelect

-
-public java.lang.Boolean getAllowPointSelect()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setAllowPointSelect

-
-public void setAllowPointSelect(java.lang.Boolean allowPointSelect)
-
-
If the argument is true then the points of a can be selected - otherwise not. Defaults to false, The point on a chart will toggle. - Also, whenever a point is selected or deselected, the registered - event listeners will be triggered. -

-

-
-
-
-
Parameters:
allowPointSelect -
-
-
-
- -

-getAnimation

-
-public java.lang.Boolean getAnimation()
-
-
-
-
-
-
-
-
-
- -

-setAnimation

-
-public void setAnimation(java.lang.Boolean animation)
-
-
If the argument is true then animation will be enabled when a series - will be displayed otherwise not. Defaults to false. -

-

-
-
-
-
Parameters:
animation -
-
-
-
- -

-getEnableMouseTracking

-
-public java.lang.Boolean getEnableMouseTracking()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setEnableMouseTracking

-
-public void setEnableMouseTracking(java.lang.Boolean enableMouseTracking)
-
-
If the argument is true then the mouse tracking will be enabled for a - series otherwise not. Defaults to true. -

-

-
-
-
-
Parameters:
enableMouseTracking -
-
-
-
- -

-getShowInLegend

-
-public java.lang.Boolean getShowInLegend()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setShowInLegend

-
-public void setShowInLegend(java.lang.Boolean showInLegend)
-
-
If the argument is true then a series will be displayed in the legend - otherwise not. Defaults to true. -

-

-
-
-
-
Parameters:
showInLegend -
-
-
-
- -

-getCursor

-
-public java.lang.String getCursor()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setCursor

-
-public void setCursor(java.lang.String cursor)
-
-
Sets the cursor style. E.g. cursor can be set to css cursor style - 'pointer', 'hand' or any other. Defaults to null. -

-

-
-
-
-
Parameters:
cursor -
-
-
-
- -

-getStacking

-
-public InvientChartsConfig.Stacking getStacking()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setStacking

-
-public void setStacking(InvientChartsConfig.Stacking stacking)
-
-
Specifies whether the values of each series should be stacked on top - of each other or not. Defaults to null. If the argument is null then - the values of each series are not stacked. -

-

-
-
-
-
Parameters:
stacking -
-
-
-
- -

-getShowCheckbox

-
-public java.lang.Boolean getShowCheckbox()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setShowCheckbox

-
-public void setShowCheckbox(java.lang.Boolean showCheckbox)
-
-
If the argument is true then a checkbox is displayed next to the - legend item in the legend area. Defaults to false -

-

-
-
-
-
Parameters:
showCheckbox -
-
-
-
- -

-getVisible

-
-public java.lang.Boolean getVisible()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setVisible

-
-public void setVisible(java.lang.Boolean visible)
-                throws java.lang.UnsupportedOperationException
-
-
If the argument is true then the series is visible otherwise not when - a chart is rendered initially. Defaults to true However, this is not - applicable for series related to Pie chart. -

-

-
-
-
-
Parameters:
visible - -
Throws: -
java.lang.UnsupportedOperationException - If this method is invoked on InvientChartsConfig.PieConfig
-
-
-
- -

-getShadow

-
-public java.lang.Boolean getShadow()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setShadow

-
-public void setShadow(java.lang.Boolean shadow)
-               throws java.lang.UnsupportedOperationException
-
-
If the argument is true then a shadow will be shown to the graph line - otherwise not. Defaults to true. -

-

-
-
-
-
Parameters:
shadow - -
Throws: -
java.lang.UnsupportedOperationException - If this method is invoked on InvientChartsConfig.PieConfig
-
-
-
- -

-getHoverState

-
-public InvientChartsConfig.SeriesState getHoverState()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setHoverState

-
-public void setHoverState(InvientChartsConfig.SeriesState state)
-
-
Sets attributes which should be applied to a series when series is - hovered. -

-

-
-
-
-
Parameters:
state -
-
-
-
- -

-getDataLabel

-
-public InvientChartsConfig.DataLabel getDataLabel()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setDataLabel

-
-public void setDataLabel(InvientChartsConfig.DataLabel dataLabel)
-
-
Sets how point value should be formatted and displayed for each - point. -

-

-
-
-
-
Parameters:
dataLabel -
-
-
-
- -

-getColor

-
-public Paint getColor()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setColor

-
-public void setColor(Paint color)
-
-
Sets color for the series. -

-

-
-
-
-
Parameters:
color -
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.SeriesState.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.SeriesState.html deleted file mode 100644 index 93c479b..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.SeriesState.html +++ /dev/null @@ -1,352 +0,0 @@ - - - - - - -InvientChartsConfig.SeriesState - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.SeriesState

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.SeriesState
-
-
-
All Implemented Interfaces:
InvientChartsConfig.State, java.io.Serializable
-
-
-
Direct Known Subclasses:
InvientChartsConfig.NonLinearSeriesState
-
-
-
Enclosing class:
InvientChartsConfig
-
-
-
-
public static class InvientChartsConfig.SeriesState
extends java.lang.Object
implements InvientChartsConfig.State
- - -

-Defines a set of attributes which will be applied to a series upon hover. - The attributes linWidth is not applicable for Pie, Scatter, Bar and - Column series. -

- -

-

-
Author:
-
Invient
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.SeriesState() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.BooleangetEnabled() - -
-           
- java.lang.IntegergetLineWidth() - -
-           
- voidsetEnabled(java.lang.Boolean enabled) - -
-          If the argument is true then the other properties of this class have - impact on visual rendering of the series when a series is hovered or - when a mouse is over the legend.
- voidsetLineWidth(java.lang.Integer lineWidth) - -
-          Sets width of a line in pixel.
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.SeriesState

-
-public InvientChartsConfig.SeriesState()
-
-
- - - - - - - - -
-Method Detail
- -

-getEnabled

-
-public java.lang.Boolean getEnabled()
-
-
-
Specified by:
getEnabled in interface InvientChartsConfig.State
-
-
-
-
-
-
- -

-setEnabled

-
-public void setEnabled(java.lang.Boolean enabled)
-
-
If the argument is true then the other properties of this class have - impact on visual rendering of the series when a series is hovered or - when a mouse is over the legend. Enabling this has a performance - penalty. - - Defaults to false. -

-

-
-
-
-
Parameters:
enabled -
-
-
-
- -

-getLineWidth

-
-public java.lang.Integer getLineWidth()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setLineWidth

-
-public void setLineWidth(java.lang.Integer lineWidth)
-
-
Sets width of a line in pixel. Defaults to 2. -

-

-
-
-
-
Parameters:
lineWidth -
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.SplineConfig.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.SplineConfig.html deleted file mode 100644 index 8493ad8..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.SplineConfig.html +++ /dev/null @@ -1,258 +0,0 @@ - - - - - - -InvientChartsConfig.SplineConfig - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.SplineConfig

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.SeriesConfig
-      extended by com.invient.vaadin.charts.InvientChartsConfig.BaseLineConfig
-          extended by com.invient.vaadin.charts.InvientChartsConfig.SplineConfig
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientChartsConfig
-
-
-
-
public static class InvientChartsConfig.SplineConfig
extends InvientChartsConfig.BaseLineConfig
- - -

-This class contains configuration options for spline series -

- -

-

-
Author:
-
Invient
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.SplineConfig() - -
-           
-  - - - - - - - -
-Method Summary
- - - - - - - -
Methods inherited from class com.invient.vaadin.charts.InvientChartsConfig.BaseLineConfig
getDashStyle, getLineWidth, getMarker, getPointInterval, getPointStart, getStickyTracking, setDashStyle, setLineWidth, setMarker, setPointInterval, setPointStart, setStickyTracking
- - - - - - - -
Methods inherited from class com.invient.vaadin.charts.InvientChartsConfig.SeriesConfig
getAllowPointSelect, getAnimation, getColor, getCursor, getDataLabel, getEnableMouseTracking, getHoverState, getShadow, getShowCheckbox, getShowInLegend, getStacking, getVisible, setAllowPointSelect, setAnimation, setColor, setCursor, setDataLabel, setEnableMouseTracking, setHoverState, setShadow, setShowCheckbox, setShowInLegend, setStacking, setVisible
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.SplineConfig

-
-public InvientChartsConfig.SplineConfig()
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.Stacking.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.Stacking.html deleted file mode 100644 index 270e806..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.Stacking.html +++ /dev/null @@ -1,358 +0,0 @@ - - - - - - -InvientChartsConfig.Stacking - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Enum InvientChartsConfig.Stacking

-
-java.lang.Object
-  extended by java.lang.Enum<InvientChartsConfig.Stacking>
-      extended by com.invient.vaadin.charts.InvientChartsConfig.Stacking
-
-
-
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<InvientChartsConfig.Stacking>
-
-
-
Enclosing class:
InvientChartsConfig
-
-
-
-
public static enum InvientChartsConfig.Stacking
extends java.lang.Enum<InvientChartsConfig.Stacking>
- - -

-Defines ways in which series of a chart can be stacked. - - Stacking.Normal - represents that the values of each series are stacked. - - Stacking.Percent - represents that the the values of each series are - stacked based on percentage of sum of total value, where total value is - sum of values of all points on a particular tick of an axis. -

- -

-

-
Author:
-
Invient
-
-
- -

- - - - - - - - - - - - - -
-Enum Constant Summary
NORMAL - -
-           
PERCENT - -
-           
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.StringgetName() - -
-           
-static InvientChartsConfig.StackingvalueOf(java.lang.String name) - -
-          Returns the enum constant of this type with the specified name.
-static InvientChartsConfig.Stacking[]values() - -
-          Returns an array containing the constants of this enum type, in -the order they are declared.
- - - - - - - -
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Enum Constant Detail
- -

-NORMAL

-
-public static final InvientChartsConfig.Stacking NORMAL
-
-
-
-
-
- -

-PERCENT

-
-public static final InvientChartsConfig.Stacking PERCENT
-
-
-
-
- - - - - - - - -
-Method Detail
- -

-values

-
-public static InvientChartsConfig.Stacking[] values()
-
-
Returns an array containing the constants of this enum type, in -the order they are declared. This method may be used to iterate -over the constants as follows: -
-for (InvientChartsConfig.Stacking c : InvientChartsConfig.Stacking.values())
-    System.out.println(c);
-
-

-

- -
Returns:
an array containing the constants of this enum type, in -the order they are declared
-
-
-
- -

-valueOf

-
-public static InvientChartsConfig.Stacking valueOf(java.lang.String name)
-
-
Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.) -

-

-
Parameters:
name - the name of the enum constant to be returned. -
Returns:
the enum constant with the specified name -
Throws: -
java.lang.IllegalArgumentException - if this enum type has no constant -with the specified name -
java.lang.NullPointerException - if the argument is null
-
-
-
- -

-getName

-
-public java.lang.String getName()
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.State.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.State.html deleted file mode 100644 index f936c03..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.State.html +++ /dev/null @@ -1,229 +0,0 @@ - - - - - - -InvientChartsConfig.State - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Interface InvientChartsConfig.State

-
-
All Superinterfaces:
java.io.Serializable
-
-
-
All Known Implementing Classes:
InvientChartsConfig.MarkerState, InvientChartsConfig.NonLinearSeriesState, InvientChartsConfig.SeriesState
-
-
-
Enclosing class:
InvientChartsConfig
-
-
-
-
public static interface InvientChartsConfig.State
extends java.io.Serializable
- - -

-Defines state for a series and point. A series can be in hover state. A - point can be in hover and select state. In each state, a series and a - point can have different visual clues. This is achived by setting some - attributes of a seires and point. -

- -

-

-
Author:
-
Invient
-
See Also:
InvientChartsConfig.SeriesState
-
- -

- - - - - - - - - - - - -
-Method Summary
- java.lang.BooleangetEnabled() - -
-           
-  -

- - - - - - - - -
-Method Detail
- -

-getEnabled

-
-java.lang.Boolean getEnabled()
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.SubTitle.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.SubTitle.html deleted file mode 100644 index dc0ac61..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.SubTitle.html +++ /dev/null @@ -1,248 +0,0 @@ - - - - - - -InvientChartsConfig.SubTitle - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.SubTitle

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.TitleBase
-      extended by com.invient.vaadin.charts.InvientChartsConfig.SubTitle
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientChartsConfig
-
-
-
-
public static final class InvientChartsConfig.SubTitle
extends InvientChartsConfig.TitleBase
- - -

-Defines attributes of chart subtitle. -

- -

-

-
Author:
-
Invient
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.SubTitle() - -
-           
-  - - - - - - - -
-Method Summary
- - - - - - - -
Methods inherited from class com.invient.vaadin.charts.InvientChartsConfig.TitleBase
getAlign, getFloating, getStyle, getText, getVertAlign, getX, getY, setAlign, setFloating, setStyle, setText, setVertAlign, setX, setY
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.SubTitle

-
-public InvientChartsConfig.SubTitle()
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.SymbolMarker.Symbol.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.SymbolMarker.Symbol.html deleted file mode 100644 index ac734b8..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.SymbolMarker.Symbol.html +++ /dev/null @@ -1,401 +0,0 @@ - - - - - - -InvientChartsConfig.SymbolMarker.Symbol - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Enum InvientChartsConfig.SymbolMarker.Symbol

-
-java.lang.Object
-  extended by java.lang.Enum<InvientChartsConfig.SymbolMarker.Symbol>
-      extended by com.invient.vaadin.charts.InvientChartsConfig.SymbolMarker.Symbol
-
-
-
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<InvientChartsConfig.SymbolMarker.Symbol>
-
-
-
Enclosing class:
InvientChartsConfig.SymbolMarker
-
-
-
-
public static enum InvientChartsConfig.SymbolMarker.Symbol
extends java.lang.Enum<InvientChartsConfig.SymbolMarker.Symbol>
- - -

-Defines predefined marker shapes to be used along with - InvientChartsConfig.SymbolMarker -

- -

-

-
Author:
-
Invient
-
See Also:
InvientChartsConfig.SymbolMarker
-
- -

- - - - - - - - - - - - - - - - - - - - - - -
-Enum Constant Summary
CIRCLE - -
-           
DIAMOND - -
-           
SQUARE - -
-           
TRIANGLE - -
-           
TRIANGLE_DOWN - -
-           
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.StringgetName() - -
-           
-static InvientChartsConfig.SymbolMarker.SymbolvalueOf(java.lang.String name) - -
-          Returns the enum constant of this type with the specified name.
-static InvientChartsConfig.SymbolMarker.Symbol[]values() - -
-          Returns an array containing the constants of this enum type, in -the order they are declared.
- - - - - - - -
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Enum Constant Detail
- -

-CIRCLE

-
-public static final InvientChartsConfig.SymbolMarker.Symbol CIRCLE
-
-
-
-
-
- -

-DIAMOND

-
-public static final InvientChartsConfig.SymbolMarker.Symbol DIAMOND
-
-
-
-
-
- -

-SQUARE

-
-public static final InvientChartsConfig.SymbolMarker.Symbol SQUARE
-
-
-
-
-
- -

-TRIANGLE

-
-public static final InvientChartsConfig.SymbolMarker.Symbol TRIANGLE
-
-
-
-
-
- -

-TRIANGLE_DOWN

-
-public static final InvientChartsConfig.SymbolMarker.Symbol TRIANGLE_DOWN
-
-
-
-
- - - - - - - - -
-Method Detail
- -

-values

-
-public static InvientChartsConfig.SymbolMarker.Symbol[] values()
-
-
Returns an array containing the constants of this enum type, in -the order they are declared. This method may be used to iterate -over the constants as follows: -
-for (InvientChartsConfig.SymbolMarker.Symbol c : InvientChartsConfig.SymbolMarker.Symbol.values())
-    System.out.println(c);
-
-

-

- -
Returns:
an array containing the constants of this enum type, in -the order they are declared
-
-
-
- -

-valueOf

-
-public static InvientChartsConfig.SymbolMarker.Symbol valueOf(java.lang.String name)
-
-
Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.) -

-

-
Parameters:
name - the name of the enum constant to be returned. -
Returns:
the enum constant with the specified name -
Throws: -
java.lang.IllegalArgumentException - if this enum type has no constant -with the specified name -
java.lang.NullPointerException - if the argument is null
-
-
-
- -

-getName

-
-public java.lang.String getName()
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.SymbolMarker.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.SymbolMarker.html deleted file mode 100644 index 3864f5c..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.SymbolMarker.html +++ /dev/null @@ -1,726 +0,0 @@ - - - - - - -InvientChartsConfig.SymbolMarker - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.SymbolMarker

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.AbstractMarker
-      extended by com.invient.vaadin.charts.InvientChartsConfig.SymbolMarker
-
-
-
All Implemented Interfaces:
InvientChartsConfig.Marker, java.io.Serializable
-
-
-
Enclosing class:
InvientChartsConfig
-
-
-
-
public static class InvientChartsConfig.SymbolMarker
extends InvientChartsConfig.AbstractMarker
- - -

-This marker has predefined shape which cannot be changed. However, marker - attributes can be set. -

- -

-

-
Author:
-
Invient
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Nested Class Summary
-static classInvientChartsConfig.SymbolMarker.Symbol - -
-          Defines predefined marker shapes to be used along with - InvientChartsConfig.SymbolMarker
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.SymbolMarker() - -
-          Creates this marker with enabled = true
InvientChartsConfig.SymbolMarker(boolean enabled) - -
-          Creates this marker with specified arguments.
InvientChartsConfig.SymbolMarker(java.lang.Integer radius) - -
-          Creates this marker with specified arguments.
InvientChartsConfig.SymbolMarker(InvientChartsConfig.SymbolMarker.Symbol symbol) - -
-          Creates this marker with specified arguments.
InvientChartsConfig.SymbolMarker(Paint lineColor) - -
-          Creates this marker with specified arguments.
InvientChartsConfig.SymbolMarker(Paint lineColor, - java.lang.Integer radius) - -
-          Creates this marker with specified arguments.
InvientChartsConfig.SymbolMarker(Paint lineColor, - java.lang.Integer radius, - InvientChartsConfig.SymbolMarker.Symbol symbol) - -
-          Creates this marker with specified arguments.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- PaintgetFillColor() - -
-           
- InvientChartsConfig.MarkerStategetHoverState() - -
-           
- PaintgetLineColor() - -
-           
- java.lang.IntegergetLineWidth() - -
-           
- java.lang.IntegergetRadius() - -
-           
- InvientChartsConfig.MarkerStategetSelectState() - -
-           
- InvientChartsConfig.SymbolMarker.SymbolgetSymbol() - -
-           
- voidsetFillColor(Paint fillColor) - -
-          Sets color of the point marker
- voidsetHoverState(InvientChartsConfig.MarkerState hoverState) - -
-          Sets marker to be applied to a point when it is hovered.
- voidsetLineColor(Paint lineColor) - -
-          Sets color of the point marker's outline
- voidsetLineWidth(java.lang.Integer lineWidth) - -
-          Sets width of the point marker outline
- voidsetRadius(java.lang.Integer radius) - -
-          Sets radius of the point marker
- voidsetSelectState(InvientChartsConfig.MarkerState selectState) - -
-          Sets marker to be applied to a point when it is selected.
- voidsetSymbol(InvientChartsConfig.SymbolMarker.Symbol symbol) - -
-          Sets symbol for the point marker.
- java.lang.StringtoString() - -
-           
- - - - - - - -
Methods inherited from class com.invient.vaadin.charts.InvientChartsConfig.AbstractMarker
getEnabled, setEnabled
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.SymbolMarker

-
-public InvientChartsConfig.SymbolMarker()
-
-
Creates this marker with enabled = true -

-

-
- -

-InvientChartsConfig.SymbolMarker

-
-public InvientChartsConfig.SymbolMarker(boolean enabled)
-
-
Creates this marker with specified arguments. -

-

-
Parameters:
enabled - If false then this marker will not be applied to a point. - What this means is that the data points of a line chart - will not stand out.
-
-
- -

-InvientChartsConfig.SymbolMarker

-
-public InvientChartsConfig.SymbolMarker(Paint lineColor)
-
-
Creates this marker with specified arguments. -

-

-
Parameters:
lineColor - - Color of the point marker's outline
-
-
- -

-InvientChartsConfig.SymbolMarker

-
-public InvientChartsConfig.SymbolMarker(java.lang.Integer radius)
-
-
Creates this marker with specified arguments. -

-

-
Parameters:
radius - Radius of the point marker.
-
-
- -

-InvientChartsConfig.SymbolMarker

-
-public InvientChartsConfig.SymbolMarker(InvientChartsConfig.SymbolMarker.Symbol symbol)
-
-
Creates this marker with specified arguments. -

-

-
Parameters:
symbol - It must be one of the predefine symbol such as - Symbol.CIRCLE or Symbol.DIAMOND
-
-
- -

-InvientChartsConfig.SymbolMarker

-
-public InvientChartsConfig.SymbolMarker(Paint lineColor,
-                                        java.lang.Integer radius)
-
-
Creates this marker with specified arguments. -

-

-
Parameters:
lineColor - Color of the point marker's outline
radius - Radius of the point marker.
-
-
- -

-InvientChartsConfig.SymbolMarker

-
-public InvientChartsConfig.SymbolMarker(Paint lineColor,
-                                        java.lang.Integer radius,
-                                        InvientChartsConfig.SymbolMarker.Symbol symbol)
-
-
Creates this marker with specified arguments. -

-

-
Parameters:
lineColor - - Color of the point marker's outline
radius - Radius of the point marker.
symbol - It must be one of the predefine symbol such as - Symbol.CIRCLE or Symbol.DIAMOND
-
- - - - - - - - -
-Method Detail
- -

-getLineColor

-
-public Paint getLineColor()
-
-
-
-
-
-
-
-
-
- -

-setLineColor

-
-public void setLineColor(Paint lineColor)
-
-
Sets color of the point marker's outline -

-

-
-
-
-
Parameters:
lineColor -
-
-
-
- -

-getFillColor

-
-public Paint getFillColor()
-
-
-
-
-
-
-
-
-
- -

-setFillColor

-
-public void setFillColor(Paint fillColor)
-
-
Sets color of the point marker -

-

-
-
-
-
Parameters:
fillColor -
-
-
-
- -

-getLineWidth

-
-public java.lang.Integer getLineWidth()
-
-
-
-
-
-
-
-
-
- -

-setLineWidth

-
-public void setLineWidth(java.lang.Integer lineWidth)
-
-
Sets width of the point marker outline -

-

-
-
-
-
Parameters:
lineWidth -
-
-
-
- -

-getRadius

-
-public java.lang.Integer getRadius()
-
-
-
-
-
-
-
-
-
- -

-setRadius

-
-public void setRadius(java.lang.Integer radius)
-
-
Sets radius of the point marker -

-

-
-
-
-
Parameters:
radius -
-
-
-
- -

-getSymbol

-
-public InvientChartsConfig.SymbolMarker.Symbol getSymbol()
-
-
- -
Returns:
-
-
-
- -

-setSymbol

-
-public void setSymbol(InvientChartsConfig.SymbolMarker.Symbol symbol)
-
-
Sets symbol for the point marker. It must be one of the predefine - symbol such as Symbol.CIRCLE or Symbol.DIAMOND -

-

-
Parameters:
symbol -
-
-
-
- -

-getHoverState

-
-public InvientChartsConfig.MarkerState getHoverState()
-
-
- -
Returns:
-
-
-
- -

-setHoverState

-
-public void setHoverState(InvientChartsConfig.MarkerState hoverState)
-
-
Sets marker to be applied to a point when it is hovered. -

-

-
Parameters:
hoverState -
-
-
-
- -

-getSelectState

-
-public InvientChartsConfig.MarkerState getSelectState()
-
-
- -
Returns:
-
-
-
- -

-setSelectState

-
-public void setSelectState(InvientChartsConfig.MarkerState selectState)
-
-
Sets marker to be applied to a point when it is selected. -

-

-
Parameters:
selectState -
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
-
Overrides:
toString in class java.lang.Object
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.Title.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.Title.html deleted file mode 100644 index 1055431..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.Title.html +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - -InvientChartsConfig.Title - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.Title

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.TitleBase
-      extended by com.invient.vaadin.charts.InvientChartsConfig.Title
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientChartsConfig
-
-
-
-
public static final class InvientChartsConfig.Title
extends InvientChartsConfig.TitleBase
- - -

-Defines attributes of chart title. -

- -

-

-
Author:
-
Invient
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.Title() - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.IntegergetMargin() - -
-           
- voidsetMargin(java.lang.Integer margin) - -
-          Sets margin (in pixel) between the chart title and subtitle, if any.
- - - - - - - -
Methods inherited from class com.invient.vaadin.charts.InvientChartsConfig.TitleBase
getAlign, getFloating, getStyle, getText, getVertAlign, getX, getY, setAlign, setFloating, setStyle, setText, setVertAlign, setX, setY
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.Title

-
-public InvientChartsConfig.Title()
-
-
- - - - - - - - -
-Method Detail
- -

-getMargin

-
-public java.lang.Integer getMargin()
-
-
- -
Returns:
-
-
-
- -

-setMargin

-
-public void setMargin(java.lang.Integer margin)
-
-
Sets margin (in pixel) between the chart title and subtitle, if any. - If chart subtitle doesn't exist then it indicates the margin between - subtitle and plotarea. Defaults to 15 -

-

-
Parameters:
margin -
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.TitleBase.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.TitleBase.html deleted file mode 100644 index 75a13fb..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.TitleBase.html +++ /dev/null @@ -1,596 +0,0 @@ - - - - - - -InvientChartsConfig.TitleBase - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.TitleBase

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.TitleBase
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Direct Known Subclasses:
InvientChartsConfig.SubTitle, InvientChartsConfig.Title
-
-
-
Enclosing class:
InvientChartsConfig
-
-
-
-
public abstract static class InvientChartsConfig.TitleBase
extends java.lang.Object
implements java.io.Serializable
- - -

-A chart has a title and a subtitle. This class defines attributes which - are common to both. - - The text of a title can be plain text or html text containing html - elements. It is also possible to apply css to the title. The css must be - valid css string e.g. { color: 'red' } -

- -

-

-
Author:
-
Invient
-
See Also:
InvientChartsConfig.Title, -InvientChartsConfig.SubTitle, -InvientChartsConfig.HorzAlign, -InvientChartsConfig.VertAlign, -Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.TitleBase() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- InvientChartsConfig.HorzAligngetAlign() - -
-           
- java.lang.BooleangetFloating() - -
-           
- java.lang.StringgetStyle() - -
-           
- java.lang.StringgetText() - -
-           
- InvientChartsConfig.VertAligngetVertAlign() - -
-           
- java.lang.IntegergetX() - -
-           
- java.lang.IntegergetY() - -
-           
- voidsetAlign(InvientChartsConfig.HorzAlign align) - -
-          Sets horizontal alignment of the title.
- voidsetFloating(java.lang.Boolean floating) - -
-          If the argument is true then the plot area will not move to make - space for the chart title.
- voidsetStyle(java.lang.String style) - -
-          Sets css for the title.
- voidsetText(java.lang.String text) - -
-          Sets text for the chart's title.
- voidsetVertAlign(InvientChartsConfig.VertAlign vertAlign) - -
-          Sets horizontal alignment of the title.
- voidsetX(java.lang.Integer x) - -
-          Sets x position (in pixel) of the title relative to the alignment - within Spacing.left and Spacing.right.
- voidsetY(java.lang.Integer y) - -
-          Sets y position (in pixel) of the title relative to the alignment - within Spacing.top and Spacing.bottom.
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.TitleBase

-
-public InvientChartsConfig.TitleBase()
-
-
- - - - - - - - -
-Method Detail
- -

-getAlign

-
-public InvientChartsConfig.HorzAlign getAlign()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setAlign

-
-public void setAlign(InvientChartsConfig.HorzAlign align)
-
-
Sets horizontal alignment of the title. Defaults to HorzAlign.CENTER -

-

-
-
-
-
Parameters:
align -
-
-
-
- -

-getVertAlign

-
-public InvientChartsConfig.VertAlign getVertAlign()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setVertAlign

-
-public void setVertAlign(InvientChartsConfig.VertAlign vertAlign)
-
-
Sets horizontal alignment of the title. Defaults to VertAlign.TOP -

-

-
-
-
-
Parameters:
vertAlign -
-
-
-
- -

-getFloating

-
-public java.lang.Boolean getFloating()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setFloating

-
-public void setFloating(java.lang.Boolean floating)
-
-
If the argument is true then the plot area will not move to make - space for the chart title. Defaults to false. -

-

-
-
-
-
Parameters:
floating -
-
-
-
- -

-getText

-
-public java.lang.String getText()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setText

-
-public void setText(java.lang.String text)
-
-
Sets text for the chart's title. The text can be plain or html - string. -

-

-
-
-
-
Parameters:
text -
-
-
-
- -

-getX

-
-public java.lang.Integer getX()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setX

-
-public void setX(java.lang.Integer x)
-
-
Sets x position (in pixel) of the title relative to the alignment - within Spacing.left and Spacing.right. Defaults to 0 -

-

-
-
-
-
Parameters:
x -
-
-
-
- -

-getY

-
-public java.lang.Integer getY()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setY

-
-public void setY(java.lang.Integer y)
-
-
Sets y position (in pixel) of the title relative to the alignment - within Spacing.top and Spacing.bottom. Defaults to 0 -

-

-
-
-
-
Parameters:
y -
-
-
-
- -

-getStyle

-
-public java.lang.String getStyle()
-
-
-
-
-
- -
Returns:
-
-
-
- -

-setStyle

-
-public void setStyle(java.lang.String style)
-
-
Sets css for the title. The css must be a valid css object. e.g. css - string "{ color:'red' }" is valid but "{ color: 'red'" is invalid. -

-

-
-
-
-
Parameters:
style -
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.Tooltip.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.Tooltip.html deleted file mode 100644 index b4dceee..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.Tooltip.html +++ /dev/null @@ -1,747 +0,0 @@ - - - - - - -InvientChartsConfig.Tooltip - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.Tooltip

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.Tooltip
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientChartsConfig
-
-
-
-
public static final class InvientChartsConfig.Tooltip
extends java.lang.Object
implements java.io.Serializable
- - -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.Tooltip() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- PaintgetBackgroundColor() - -
-           
- PaintgetBorderColor() - -
-           
- java.lang.IntegergetBorderRadius() - -
-           
- java.lang.IntegergetBorderWidth() - -
-           
- java.lang.BooleangetCrosshairs() - -
-           
- java.lang.BooleangetEnabled() - -
-           
- java.lang.StringgetFormatterJsFunc() - -
-           
- java.lang.BooleangetShadow() - -
-           
- java.lang.BooleangetShared() - -
-           
- java.lang.IntegergetSnap() - -
-           
- java.lang.StringgetStyle() - -
-           
- voidsetBackgroundColor(Paint backgroundColor) - -
-           
- voidsetBorderColor(Paint borderColor) - -
-           
- voidsetBorderRadius(java.lang.Integer borderRadius) - -
-           
- voidsetBorderWidth(java.lang.Integer borderWidth) - -
-           
- voidsetCrosshairs(java.lang.Boolean crosshairs) - -
-           
- voidsetEnabled(java.lang.Boolean enabled) - -
-           
- voidsetFormatterJsFunc(java.lang.String formatterJsFunc) - -
-           
- voidsetShadow(java.lang.Boolean shadow) - -
-           
- voidsetShared(java.lang.Boolean shared) - -
-           
- voidsetSnap(java.lang.Integer snap) - -
-           
- voidsetStyle(java.lang.String style) - -
-           
- java.lang.StringtoString() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.Tooltip

-
-public InvientChartsConfig.Tooltip()
-
-
- - - - - - - - -
-Method Detail
- -

-getBackgroundColor

-
-public Paint getBackgroundColor()
-
-
-
-
-
-
-
-
-
- -

-setBackgroundColor

-
-public void setBackgroundColor(Paint backgroundColor)
-
-
-
-
-
-
-
-
-
- -

-getBorderColor

-
-public Paint getBorderColor()
-
-
-
-
-
-
-
-
-
- -

-setBorderColor

-
-public void setBorderColor(Paint borderColor)
-
-
-
-
-
-
-
-
-
- -

-getBorderRadius

-
-public java.lang.Integer getBorderRadius()
-
-
-
-
-
-
-
-
-
- -

-setBorderRadius

-
-public void setBorderRadius(java.lang.Integer borderRadius)
-
-
-
-
-
-
-
-
-
- -

-getBorderWidth

-
-public java.lang.Integer getBorderWidth()
-
-
-
-
-
-
-
-
-
- -

-setBorderWidth

-
-public void setBorderWidth(java.lang.Integer borderWidth)
-
-
-
-
-
-
-
-
-
- -

-getCrosshairs

-
-public java.lang.Boolean getCrosshairs()
-
-
-
-
-
-
-
-
-
- -

-setCrosshairs

-
-public void setCrosshairs(java.lang.Boolean crosshairs)
-
-
-
-
-
-
-
-
-
- -

-getEnabled

-
-public java.lang.Boolean getEnabled()
-
-
-
-
-
-
-
-
-
- -

-setEnabled

-
-public void setEnabled(java.lang.Boolean enabled)
-
-
-
-
-
-
-
-
-
- -

-getFormatterJsFunc

-
-public java.lang.String getFormatterJsFunc()
-
-
-
-
-
-
-
-
-
- -

-setFormatterJsFunc

-
-public void setFormatterJsFunc(java.lang.String formatterJsFunc)
-
-
-
-
-
-
-
-
-
- -

-getShadow

-
-public java.lang.Boolean getShadow()
-
-
-
-
-
-
-
-
-
- -

-setShadow

-
-public void setShadow(java.lang.Boolean shadow)
-
-
-
-
-
-
-
-
-
- -

-getShared

-
-public java.lang.Boolean getShared()
-
-
-
-
-
-
-
-
-
- -

-setShared

-
-public void setShared(java.lang.Boolean shared)
-
-
-
-
-
-
-
-
-
- -

-getSnap

-
-public java.lang.Integer getSnap()
-
-
-
-
-
-
-
-
-
- -

-setSnap

-
-public void setSnap(java.lang.Integer snap)
-
-
-
-
-
-
-
-
-
- -

-getStyle

-
-public java.lang.String getStyle()
-
-
-
-
-
-
-
-
-
- -

-setStyle

-
-public void setStyle(java.lang.String style)
-
-
-
-
-
-
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
-
Overrides:
toString in class java.lang.Object
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.VertAlign.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.VertAlign.html deleted file mode 100644 index edf2eb0..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.VertAlign.html +++ /dev/null @@ -1,360 +0,0 @@ - - - - - - -InvientChartsConfig.VertAlign - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Enum InvientChartsConfig.VertAlign

-
-java.lang.Object
-  extended by java.lang.Enum<InvientChartsConfig.VertAlign>
-      extended by com.invient.vaadin.charts.InvientChartsConfig.VertAlign
-
-
-
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<InvientChartsConfig.VertAlign>
-
-
-
Enclosing class:
InvientChartsConfig
-
-
-
-
public static enum InvientChartsConfig.VertAlign
extends java.lang.Enum<InvientChartsConfig.VertAlign>
- - -

-


- -

- - - - - - - - - - - - - - - - -
-Enum Constant Summary
BOTTOM - -
-           
MIDDLE - -
-           
TOP - -
-           
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.StringgetName() - -
-           
-static InvientChartsConfig.VertAlignvalueOf(java.lang.String name) - -
-          Returns the enum constant of this type with the specified name.
-static InvientChartsConfig.VertAlign[]values() - -
-          Returns an array containing the constants of this enum type, in -the order they are declared.
- - - - - - - -
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Enum Constant Detail
- -

-TOP

-
-public static final InvientChartsConfig.VertAlign TOP
-
-
-
-
-
- -

-MIDDLE

-
-public static final InvientChartsConfig.VertAlign MIDDLE
-
-
-
-
-
- -

-BOTTOM

-
-public static final InvientChartsConfig.VertAlign BOTTOM
-
-
-
-
- - - - - - - - -
-Method Detail
- -

-values

-
-public static InvientChartsConfig.VertAlign[] values()
-
-
Returns an array containing the constants of this enum type, in -the order they are declared. This method may be used to iterate -over the constants as follows: -
-for (InvientChartsConfig.VertAlign c : InvientChartsConfig.VertAlign.values())
-    System.out.println(c);
-
-

-

- -
Returns:
an array containing the constants of this enum type, in -the order they are declared
-
-
-
- -

-valueOf

-
-public static InvientChartsConfig.VertAlign valueOf(java.lang.String name)
-
-
Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.) -

-

-
Parameters:
name - the name of the enum constant to be returned. -
Returns:
the enum constant with the specified name -
Throws: -
java.lang.IllegalArgumentException - if this enum type has no constant -with the specified name -
java.lang.NullPointerException - if the argument is null
-
-
-
- -

-getName

-
-public java.lang.String getName()
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.XAxis.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.XAxis.html deleted file mode 100644 index c2b099d..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.XAxis.html +++ /dev/null @@ -1,196 +0,0 @@ - - - - - - -InvientChartsConfig.XAxis - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Interface InvientChartsConfig.XAxis

-
-
All Superinterfaces:
InvientChartsConfig.Axis, java.io.Serializable
-
-
-
All Known Implementing Classes:
InvientChartsConfig.CategoryAxis, InvientChartsConfig.DateTimeAxis, InvientChartsConfig.NumberXAxis
-
-
-
Enclosing class:
InvientChartsConfig
-
-
-
-
public static interface InvientChartsConfig.XAxis
extends InvientChartsConfig.Axis
- - -

-


- -

- - - - - - - - -
-Method Summary
- - - - - - - -
Methods inherited from interface com.invient.vaadin.charts.InvientChartsConfig.Axis
getAlternateGridColor, getEndOnTick, getGrid, getId, getLineColor, getLineWidth, getLinkedTo, getMaxPadding, getMaxZoom, getMinorGrid, getMinorTick, getMinPadding, getOffset, getOpposite, getReversed, getShowFirstLabel, getShowLastLabel, getStartOfWeek, getStartOnTick, getTick, getTitle, getType, setAlternateGridColor, setEndOnTick, setGrid, setId, setLineColor, setLineWidth, setLinkedTo, setMaxPadding, setMaxZoom, setMinorGrid, setMinorTick, setMinPadding, setOffset, setOpposite, setReversed, setShowFirstLabel, setShowLastLabel, setStartOfWeek, setStartOnTick, setTick, setTitle
-  -

- -


- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.XAxisDataLabel.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.XAxisDataLabel.html deleted file mode 100644 index cdf379f..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.XAxisDataLabel.html +++ /dev/null @@ -1,331 +0,0 @@ - - - - - - -InvientChartsConfig.XAxisDataLabel - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.XAxisDataLabel

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.DataLabel
-      extended by com.invient.vaadin.charts.InvientChartsConfig.AxisDataLabel
-          extended by com.invient.vaadin.charts.InvientChartsConfig.XAxisDataLabel
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientChartsConfig
-
-
-
-
public static final class InvientChartsConfig.XAxisDataLabel
extends InvientChartsConfig.AxisDataLabel
- - -

-This class contains configuration properties specifically for x-axis - labels. -

- -

-

-
Author:
-
Invient
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.XAxisDataLabel() - -
-           
InvientChartsConfig.XAxisDataLabel(boolean enabled) - -
-          If the argument is true then the data labels will be displayed - otherwise not.
-  - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.IntegergetStaggerLines() - -
-           
- voidsetStaggerLines(java.lang.Integer staggerLines) - -
-          Sets number of lines to spread the labels over to make room or - tighter labels.
- - - - - - - -
Methods inherited from class com.invient.vaadin.charts.InvientChartsConfig.AxisDataLabel
getStep, setStep
- - - - - - - -
Methods inherited from class com.invient.vaadin.charts.InvientChartsConfig.DataLabel
getAlign, getColor, getEnabled, getFormatterJsFunc, getRotation, getStyle, getX, getY, setAlign, setColor, setEnabled, setFormatterJsFunc, setRotation, setStyle, setX, setY, toString
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.XAxisDataLabel

-
-public InvientChartsConfig.XAxisDataLabel(boolean enabled)
-
-
If the argument is true then the data labels will be displayed - otherwise not. -

-

-
Parameters:
enabled -
-
-
- -

-InvientChartsConfig.XAxisDataLabel

-
-public InvientChartsConfig.XAxisDataLabel()
-
-
- - - - - - - - -
-Method Detail
- -

-getStaggerLines

-
-public java.lang.Integer getStaggerLines()
-
-
- -
Returns:
-
-
-
- -

-setStaggerLines

-
-public void setStaggerLines(java.lang.Integer staggerLines)
-
-
Sets number of lines to spread the labels over to make room or - tighter labels. -

-

-
Parameters:
staggerLines -
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.YAxis.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.YAxis.html deleted file mode 100644 index 0c2a753..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.YAxis.html +++ /dev/null @@ -1,196 +0,0 @@ - - - - - - -InvientChartsConfig.YAxis - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Interface InvientChartsConfig.YAxis

-
-
All Superinterfaces:
InvientChartsConfig.Axis, java.io.Serializable
-
-
-
All Known Implementing Classes:
InvientChartsConfig.NumberYAxis
-
-
-
Enclosing class:
InvientChartsConfig
-
-
-
-
public static interface InvientChartsConfig.YAxis
extends InvientChartsConfig.Axis
- - -

-


- -

- - - - - - - - -
-Method Summary
- - - - - - - -
Methods inherited from interface com.invient.vaadin.charts.InvientChartsConfig.Axis
getAlternateGridColor, getEndOnTick, getGrid, getId, getLineColor, getLineWidth, getLinkedTo, getMaxPadding, getMaxZoom, getMinorGrid, getMinorTick, getMinPadding, getOffset, getOpposite, getReversed, getShowFirstLabel, getShowLastLabel, getStartOfWeek, getStartOnTick, getTick, getTitle, getType, setAlternateGridColor, setEndOnTick, setGrid, setId, setLineColor, setLineWidth, setLinkedTo, setMaxPadding, setMaxZoom, setMinorGrid, setMinorTick, setMinPadding, setOffset, setOpposite, setReversed, setShowFirstLabel, setShowLastLabel, setStartOfWeek, setStartOnTick, setTick, setTitle
-  -

- -


- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.YAxisDataLabel.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.YAxisDataLabel.html deleted file mode 100644 index c25a4e6..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.YAxisDataLabel.html +++ /dev/null @@ -1,279 +0,0 @@ - - - - - - -InvientChartsConfig.YAxisDataLabel - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig.YAxisDataLabel

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig.DataLabel
-      extended by com.invient.vaadin.charts.InvientChartsConfig.AxisDataLabel
-          extended by com.invient.vaadin.charts.InvientChartsConfig.YAxisDataLabel
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
Enclosing class:
InvientChartsConfig
-
-
-
-
public static final class InvientChartsConfig.YAxisDataLabel
extends InvientChartsConfig.AxisDataLabel
- - -

-This class contains configuration properties specifically for x-axis - labels. -

- -

-

-
Author:
-
Invient
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig.YAxisDataLabel() - -
-           
InvientChartsConfig.YAxisDataLabel(boolean enabled) - -
-          If the argument is true then the data labels will be displayed - otherwise not.
-  - - - - - - - -
-Method Summary
- - - - - - - -
Methods inherited from class com.invient.vaadin.charts.InvientChartsConfig.AxisDataLabel
getStep, setStep
- - - - - - - -
Methods inherited from class com.invient.vaadin.charts.InvientChartsConfig.DataLabel
getAlign, getColor, getEnabled, getFormatterJsFunc, getRotation, getStyle, getX, getY, setAlign, setColor, setEnabled, setFormatterJsFunc, setRotation, setStyle, setX, setY, toString
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig.YAxisDataLabel

-
-public InvientChartsConfig.YAxisDataLabel()
-
-
-
- -

-InvientChartsConfig.YAxisDataLabel

-
-public InvientChartsConfig.YAxisDataLabel(boolean enabled)
-
-
If the argument is true then the data labels will be displayed - otherwise not. -

-

-
Parameters:
enabled -
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/InvientChartsConfig.html b/doc/com/invient/vaadin/charts/InvientChartsConfig.html deleted file mode 100644 index d27bc8d..0000000 --- a/doc/com/invient/vaadin/charts/InvientChartsConfig.html +++ /dev/null @@ -1,1181 +0,0 @@ - - - - - - -InvientChartsConfig - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Class InvientChartsConfig

-
-java.lang.Object
-  extended by com.invient.vaadin.charts.InvientChartsConfig
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
-
public final class InvientChartsConfig
extends java.lang.Object
implements java.io.Serializable
- - -

-This class encapsulates a number of configuration options for the - InvientChars. These configuration options are InvientChartsConfig.Title, InvientChartsConfig.SubTitle - , InvientChartsConfig.GeneralChartConfig, InvientChartsConfig.Credit, InvientChartsConfig.Legend, InvientChartsConfig.Tooltip - , InvientChartsConfig.ChartLabel, InvientChartsConfig.SeriesConfig, InvientChartsConfig.XAxis and InvientChartsConfig.YAxis - - All configuration properties which are of object type are initialized with an - object instance. - - These configuration options are static and generally set once. After a chart - (InvientCharts) created, any changes made to the configuration options - will not reflect in the chart. You would have to create a new chart - InvientCharts - - For some APIs, the description has been taken from - http://www.highcharts.com/ref/ -

- -

-

-
Author:
-
Invient
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Nested Class Summary
-static classInvientChartsConfig.AbstractMarker - -
-          Defines attributes for a marker.
-static classInvientChartsConfig.AreaConfig - -
-          This class contains configuration options for area series, area and - areaspline.
-static classInvientChartsConfig.AreaSplineConfig - -
-          This class contains configuration options for areaspline series
-static interfaceInvientChartsConfig.Axis - -
-           
-static classInvientChartsConfig.AxisBase - -
-          This class defines attributes common to X axis and Y axis.
-static classInvientChartsConfig.AxisDataLabel - -
-          This class contains configuration properties for axis labels.
-static classInvientChartsConfig.BarConfig - -
-          This class contains configuration options for bar series.
-static classInvientChartsConfig.BaseBarConfig - -
-          This class contains configuration options for bar and column series.
-static classInvientChartsConfig.BaseLineConfig - -
-          This class contains configuration options for line series such as line - and area but not column series.
-static classInvientChartsConfig.CategoryAxis - -
-           
-static classInvientChartsConfig.ChartLabel - -
-          The InvientChartsConfig.ChartLabel class represents a set of labels which an be - placed at arbitrary position in the chart.
-static classInvientChartsConfig.ColumnConfig - -
-          This class contains configuration options for column series.
-static classInvientChartsConfig.Credit - -
-           
-static classInvientChartsConfig.DashStyle - -
-           
-static classInvientChartsConfig.DataLabel - -
-          This class contains various attributes to format data labels.
-static classInvientChartsConfig.DateTimeAxis - -
-           
-static classInvientChartsConfig.GeneralChartConfig - -
-          This class contains configuration properties at a chart level.
-static classInvientChartsConfig.HorzAlign - -
-           
-static classInvientChartsConfig.ImageMarker - -
-          This marker can take url of an image which will be used as a marker for a - point or all points of a series.
-static classInvientChartsConfig.Legend - -
-           
-static classInvientChartsConfig.LineConfig - -
-          This class contains configuration options for line series
-static interfaceInvientChartsConfig.Marker - -
-          Defines a marker for a point.
-static classInvientChartsConfig.MarkerState - -
-          Defines a set of attributes which gets applied to a point when a point is - selected or hovered.
-static classInvientChartsConfig.NonLinearSeriesState - -
-          Defines a set of attributes which are meaningful for bar and colum - series.
-static classInvientChartsConfig.NumberAxis - -
-           
-static classInvientChartsConfig.NumberXAxis - -
-           
-static classInvientChartsConfig.NumberYAxis - -
-           
-static classInvientChartsConfig.PieConfig - -
-          This class contains configuration options for pie series.
-static classInvientChartsConfig.PieDataLabel - -
-          This class contains configuration attributes of data labels specific to - Pie series.
-static classInvientChartsConfig.PointConfig - -
-          Defines configuration per point in a series.
-static classInvientChartsConfig.Position - -
-           
-static classInvientChartsConfig.ScatterConfig - -
-          This class contains configuration options for scatter series
-static classInvientChartsConfig.SeriesConfig - -
-          This class contains general configuration options for all series types - such as line, area and pie.
-static classInvientChartsConfig.SeriesState - -
-          Defines a set of attributes which will be applied to a series upon hover.
-static classInvientChartsConfig.SplineConfig - -
-          This class contains configuration options for spline series
-static classInvientChartsConfig.Stacking - -
-          Defines ways in which series of a chart can be stacked.
-static interfaceInvientChartsConfig.State - -
-          Defines state for a series and point.
-static classInvientChartsConfig.SubTitle - -
-          Defines attributes of chart subtitle.
-static classInvientChartsConfig.SymbolMarker - -
-          This marker has predefined shape which cannot be changed.
-static classInvientChartsConfig.Title - -
-          Defines attributes of chart title.
-static classInvientChartsConfig.TitleBase - -
-          A chart has a title and a subtitle.
-static classInvientChartsConfig.Tooltip - -
-           
-static classInvientChartsConfig.VertAlign - -
-           
-static interfaceInvientChartsConfig.XAxis - -
-           
-static classInvientChartsConfig.XAxisDataLabel - -
-          This class contains configuration properties specifically for x-axis - labels.
-static interfaceInvientChartsConfig.YAxis - -
-           
-static classInvientChartsConfig.YAxisDataLabel - -
-          This class contains configuration properties specifically for x-axis - labels.
-  - - - - - - - - - - -
-Constructor Summary
InvientChartsConfig() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidaddSeriesConfig(InvientChartsConfig.SeriesConfig seriesConfig) - -
-          Adds the specified argument only if it is non-null.
- booleanaddXAxes(InvientChartsConfig.XAxis xAxis) - -
-          Adds specified x-axis to the collection of x-axis
- booleanaddYAxes(InvientChartsConfig.YAxis yAxis) - -
-          Adds specified y-axis to the collection of y-axis
- InvientChartsConfig.ChartLabelgetChartLabel() - -
-           
- InvientChartsConfig.CreditgetCredit() - -
-           
- InvientChartsConfig.GeneralChartConfiggetGeneralChartConfig() - -
-           
- InvientChartsConfig.LegendgetLegend() - -
-           
- InvientChartsConfig.SubTitlegetSubtitle() - -
-           
- InvientChartsConfig.TitlegetTitle() - -
-           
- InvientChartsConfig.TooltipgetTooltip() - -
-           
- java.util.LinkedHashSet<InvientChartsConfig.XAxis>getXAxes() - -
-           
- java.util.LinkedHashSet<InvientChartsConfig.YAxis>getYAxes() - -
-           
- voidsetChartLabel(InvientChartsConfig.ChartLabel chartLabel) - -
-          Sets the argument InvientChartsConfig.ChartLabel object only if it is non-null
- voidsetCredit(InvientChartsConfig.Credit credit) - -
-          Sets the InvientChartsConfig.Credit object only if the argument credit is non-null
- voidsetGeneralChartConfig(InvientChartsConfig.GeneralChartConfig generalChartConfig) - -
-          Sets InvientChartsConfig.GeneralChartConfig object only if the argument is non-null
- voidsetLegend(InvientChartsConfig.Legend legend) - -
-          Sets InvientChartsConfig.Legend object only if the argument legend is non-null
- voidsetSeriesConfig(java.util.LinkedHashSet<InvientChartsConfig.SeriesConfig> seriesConfigs) - -
-          Sets a set of InvientChartsConfig.SeriesConfig objects only if the argument is - non-null
- voidsetSubtitle(InvientChartsConfig.SubTitle subtitle) - -
-          Sets the argument subtitle only if the argument is non-null
- voidsetTitle(InvientChartsConfig.Title title) - -
-          Sets the argument title only if the argument title is non-null
- voidsetTooltip(InvientChartsConfig.Tooltip tooltip) - -
-          Sets InvientChartsConfig.Tooltip object only if the argument tooltip is non-null
- voidsetXAxes(java.util.LinkedHashSet<InvientChartsConfig.XAxis> xAxes) - -
-          Sets a collection of x-axis for the chart.
- voidsetYAxes(java.util.LinkedHashSet<InvientChartsConfig.YAxis> yAxes) - -
-          Sets a collection of y-axis for the chart.
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InvientChartsConfig

-
-public InvientChartsConfig()
-
-
- - - - - - - - -
-Method Detail
- -

-getChartLabel

-
-public InvientChartsConfig.ChartLabel getChartLabel()
-
-
-
-
-
- -
Returns:
The InvientChartsConfig.ChartLabel object representing labels at arbitrary - position in the chart.
-
-
-
- -

-setChartLabel

-
-public void setChartLabel(InvientChartsConfig.ChartLabel chartLabel)
-
-
Sets the argument InvientChartsConfig.ChartLabel object only if it is non-null -

-

-
-
-
-
Parameters:
chartLabel -
-
-
-
- -

-getXAxes

-
-public java.util.LinkedHashSet<InvientChartsConfig.XAxis> getXAxes()
-
-
-
-
-
- -
Returns:
Returns a collection of x-axis.
-
-
-
- -

-setXAxes

-
-public void setXAxes(java.util.LinkedHashSet<InvientChartsConfig.XAxis> xAxes)
-
-
Sets a collection of x-axis for the chart. The collection of x-axis is - set only if argument xAxes is non-null. -

-

-
-
-
-
Parameters:
xAxes -
-
-
-
- -

-addXAxes

-
-public boolean addXAxes(InvientChartsConfig.XAxis xAxis)
-
-
Adds specified x-axis to the collection of x-axis -

-

-
-
-
-
Parameters:
xAxis - -
Returns:
Returns true if the x-axis is added successfully otherwise false
-
-
-
- -

-getYAxes

-
-public java.util.LinkedHashSet<InvientChartsConfig.YAxis> getYAxes()
-
-
-
-
-
- -
Returns:
Returns a collection of y-axis.
-
-
-
- -

-setYAxes

-
-public void setYAxes(java.util.LinkedHashSet<InvientChartsConfig.YAxis> yAxes)
-
-
Sets a collection of y-axis for the chart. The collection of y-axis is - set only if argument yAxes is non-null -

-

-
-
-
-
Parameters:
yAxes -
-
-
-
- -

-addYAxes

-
-public boolean addYAxes(InvientChartsConfig.YAxis yAxis)
-
-
Adds specified y-axis to the collection of y-axis -

-

-
-
-
-
Parameters:
yAxis - -
Returns:
Returns true if the y-axis is added successfully otherwise false
-
-
-
- -

-getTitle

-
-public InvientChartsConfig.Title getTitle()
-
-
-
-
-
- -
Returns:
Returns InvientChartsConfig.Title object
-
-
-
- -

-setTitle

-
-public void setTitle(InvientChartsConfig.Title title)
-
-
Sets the argument title only if the argument title is non-null -

-

-
-
-
-
Parameters:
title -
-
-
-
- -

-getSubtitle

-
-public InvientChartsConfig.SubTitle getSubtitle()
-
-
-
-
-
- -
Returns:
Returns subtitle
-
-
-
- -

-setSubtitle

-
-public void setSubtitle(InvientChartsConfig.SubTitle subtitle)
-
-
Sets the argument subtitle only if the argument is non-null -

-

-
-
-
-
Parameters:
subtitle -
-
-
-
- -

-getTooltip

-
-public InvientChartsConfig.Tooltip getTooltip()
-
-
-
-
-
- -
Returns:
Returns tooltip object associated with this class
-
-
-
- -

-setTooltip

-
-public void setTooltip(InvientChartsConfig.Tooltip tooltip)
-
-
Sets InvientChartsConfig.Tooltip object only if the argument tooltip is non-null -

-

-
-
-
-
Parameters:
tooltip -
-
-
-
- -

-getLegend

-
-public InvientChartsConfig.Legend getLegend()
-
-
-
-
-
- -
Returns:
Returns legend object of the chart
-
-
-
- -

-setLegend

-
-public void setLegend(InvientChartsConfig.Legend legend)
-
-
Sets InvientChartsConfig.Legend object only if the argument legend is non-null -

-

-
-
-
-
Parameters:
legend -
-
-
-
- -

-getCredit

-
-public InvientChartsConfig.Credit getCredit()
-
-
-
-
-
- -
Returns:
Returns credit object of the chart
-
-
-
- -

-setCredit

-
-public void setCredit(InvientChartsConfig.Credit credit)
-
-
Sets the InvientChartsConfig.Credit object only if the argument credit is non-null -

-

-
-
-
-
Parameters:
credit -
-
-
-
- -

-getGeneralChartConfig

-
-public InvientChartsConfig.GeneralChartConfig getGeneralChartConfig()
-
-
-
-
-
- -
Returns:
Returns InvientChartsConfig.GeneralChartConfig object
-
-
-
- -

-setGeneralChartConfig

-
-public void setGeneralChartConfig(InvientChartsConfig.GeneralChartConfig generalChartConfig)
-
-
Sets InvientChartsConfig.GeneralChartConfig object only if the argument is non-null -

-

-
-
-
-
Parameters:
generalChartConfig -
-
-
-
- -

-setSeriesConfig

-
-public void setSeriesConfig(java.util.LinkedHashSet<InvientChartsConfig.SeriesConfig> seriesConfigs)
-
-
Sets a set of InvientChartsConfig.SeriesConfig objects only if the argument is - non-null -

-

-
-
-
-
Parameters:
seriesConfigs -
-
-
-
- -

-addSeriesConfig

-
-public void addSeriesConfig(InvientChartsConfig.SeriesConfig seriesConfig)
-
-
Adds the specified argument only if it is non-null. -

-

-
-
-
-
Parameters:
seriesConfig - -
Throws: -
java.lang.IllegalArgumentException - if the argument is null
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/Paint.html b/doc/com/invient/vaadin/charts/Paint.html deleted file mode 100644 index 0163296..0000000 --- a/doc/com/invient/vaadin/charts/Paint.html +++ /dev/null @@ -1,230 +0,0 @@ - - - - - - -Paint - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts -
-Interface Paint

-
-
All Superinterfaces:
java.io.Serializable
-
-
-
All Known Subinterfaces:
Color, Gradient
-
-
-
All Known Implementing Classes:
Color.RGB, Color.RGBA, Gradient.LinearGradient
-
-
-
-
public interface Paint
extends java.io.Serializable
- - -

-This Paint interface defines how color patterns can be generated - when drawing the InvientCharts. -

- -

-

-
Author:
-
Invient
-
-
- -

- - - - - - - - - - - - -
-Method Summary
- java.lang.StringgetString() - -
-          Returns String representation of an object of type Paint.
-  -

- - - - - - - - -
-Method Detail
- -

-getString

-
-java.lang.String getString()
-
-
Returns String representation of an object of type Paint. -

-

-
-
-
- -
Returns:
Returns String representation of an object of type Paint.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/Color.RGB.html b/doc/com/invient/vaadin/charts/class-use/Color.RGB.html deleted file mode 100644 index b7d2563..0000000 --- a/doc/com/invient/vaadin/charts/class-use/Color.RGB.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.Color.RGB - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.Color.RGB

-
- - - - - - - - - -
-Packages that use Color.RGB
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of Color.RGB in com.invient.vaadin.charts
-  -

- - - - - - - - - -
Subclasses of Color.RGB in com.invient.vaadin.charts
-static classColor.RGBA - -
-          Represents RGBA color value.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/Color.RGBA.html b/doc/com/invient/vaadin/charts/class-use/Color.RGBA.html deleted file mode 100644 index a9d1523..0000000 --- a/doc/com/invient/vaadin/charts/class-use/Color.RGBA.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.Color.RGBA - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.Color.RGBA

-
-No usage of com.invient.vaadin.charts.Color.RGBA -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/Color.html b/doc/com/invient/vaadin/charts/class-use/Color.html deleted file mode 100644 index ebee0f0..0000000 --- a/doc/com/invient/vaadin/charts/class-use/Color.html +++ /dev/null @@ -1,259 +0,0 @@ - - - - - - -Uses of Interface com.invient.vaadin.charts.Color - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
com.invient.vaadin.charts.Color

-
- - - - - - - - - -
-Packages that use Color
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of Color in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - -
Classes in com.invient.vaadin.charts that implement Color
-static classColor.RGB - -
-          Represents RBG color value.
-static classColor.RGBA - -
-          Represents RGBA color value.
-  -

- - - - - - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts that return Color
- ColorInvientChartsConfig.DataLabel.getColor() - -
-           
- ColorGradient.ColorStop.getColor() - -
-           
- ColorGradient.LinearGradient.LinearColorStop.getColor() - -
-           
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type Color
- voidInvientChartsConfig.DataLabel.setColor(Color color) - -
-          Sets color for the data labels.
-  -

- - - - - - - - - - - -
Constructors in com.invient.vaadin.charts with parameters of type Color
Gradient.LinearGradient.LinearColorStop(double stopAt, - Color color) - -
-           
Gradient.LinearGradient.LinearColorStop(double stopAt, - Gradient.Unit stopAtUnit, - Color color) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/Gradient.ColorStop.html b/doc/com/invient/vaadin/charts/class-use/Gradient.ColorStop.html deleted file mode 100644 index 149d3b2..0000000 --- a/doc/com/invient/vaadin/charts/class-use/Gradient.ColorStop.html +++ /dev/null @@ -1,196 +0,0 @@ - - - - - - -Uses of Interface com.invient.vaadin.charts.Gradient.ColorStop - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
com.invient.vaadin.charts.Gradient.ColorStop

-
- - - - - - - - - -
-Packages that use Gradient.ColorStop
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of Gradient.ColorStop in com.invient.vaadin.charts
-  -

- - - - - - - - - -
Classes in com.invient.vaadin.charts that implement Gradient.ColorStop
-static classGradient.LinearGradient.LinearColorStop - -
-          Represents stop-value and color for the Gradient.LinearGradient
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts that return types with arguments of type Gradient.ColorStop
- java.util.List<? extends Gradient.ColorStop>Gradient.getColorStops() - -
-          Returns a list of colorstops associated with this gradient.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/Gradient.LinearGradient.LinearColorStop.html b/doc/com/invient/vaadin/charts/class-use/Gradient.LinearGradient.LinearColorStop.html deleted file mode 100644 index df6f4c8..0000000 --- a/doc/com/invient/vaadin/charts/class-use/Gradient.LinearGradient.LinearColorStop.html +++ /dev/null @@ -1,213 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.Gradient.LinearGradient.LinearColorStop - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.Gradient.LinearGradient.LinearColorStop

-
- - - - - - - - - -
-Packages that use Gradient.LinearGradient.LinearColorStop
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of Gradient.LinearGradient.LinearColorStop in com.invient.vaadin.charts
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts that return types with arguments of type Gradient.LinearGradient.LinearColorStop
- java.util.List<Gradient.LinearGradient.LinearColorStop>Gradient.LinearGradient.getColorStops() - -
-           
-  -

- - - - - - - - - - - -
Constructor parameters in com.invient.vaadin.charts with type arguments of type Gradient.LinearGradient.LinearColorStop
Gradient.LinearGradient(int xStart, - Gradient.Unit xStartUnit, - int yStart, - Gradient.Unit yStartUnit, - int xEnd, - Gradient.Unit xEndUnit, - int yEnd, - Gradient.Unit yEndUnit, - java.util.List<Gradient.LinearGradient.LinearColorStop> colorStops) - -
-           
Gradient.LinearGradient(int xStart, - int yStart, - int xEnd, - int yEnd, - java.util.List<Gradient.LinearGradient.LinearColorStop> colorStops) - -
-          Creates a LinearGradient with the specified xStart, xEnd, yStart and - yEnd values with default Gradient.Unit value number.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/Gradient.LinearGradient.html b/doc/com/invient/vaadin/charts/class-use/Gradient.LinearGradient.html deleted file mode 100644 index f91deac..0000000 --- a/doc/com/invient/vaadin/charts/class-use/Gradient.LinearGradient.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.Gradient.LinearGradient - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.Gradient.LinearGradient

-
-No usage of com.invient.vaadin.charts.Gradient.LinearGradient -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/Gradient.Unit.html b/doc/com/invient/vaadin/charts/class-use/Gradient.Unit.html deleted file mode 100644 index 75ddec1..0000000 --- a/doc/com/invient/vaadin/charts/class-use/Gradient.Unit.html +++ /dev/null @@ -1,299 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.Gradient.Unit - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.Gradient.Unit

-
- - - - - - - - - -
-Packages that use Gradient.Unit
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of Gradient.Unit in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts that return Gradient.Unit
- Gradient.UnitGradient.ColorStop.getStopAtUnit() - -
-           
- Gradient.UnitGradient.LinearGradient.LinearColorStop.getStopAtUnit() - -
-           
- Gradient.UnitGradient.getxEndUnit() - -
-          Returns the unit of x-coordinate of a point at which linear gradient ends.
- Gradient.UnitGradient.LinearGradient.getxEndUnit() - -
-           
- Gradient.UnitGradient.getxStartUnit() - -
-          Returns the unit of x-coordinate of a point at which linear gradient starts.
- Gradient.UnitGradient.LinearGradient.getxStartUnit() - -
-           
- Gradient.UnitGradient.getyEndUnit() - -
-          Returns the unit of y-coordinate of a point at which linear gradient ends.
- Gradient.UnitGradient.LinearGradient.getyEndUnit() - -
-           
- Gradient.UnitGradient.getyStartUnit() - -
-          Returns the unit of y-coordinate of a point at which linear gradient starts.
- Gradient.UnitGradient.LinearGradient.getyStartUnit() - -
-           
-static Gradient.UnitGradient.Unit.valueOf(java.lang.String name) - -
-          Returns the enum constant of this type with the specified name.
-static Gradient.Unit[]Gradient.Unit.values() - -
-          Returns an array containing the constants of this enum type, in -the order they are declared.
-  -

- - - - - - - - - - - -
Constructors in com.invient.vaadin.charts with parameters of type Gradient.Unit
Gradient.LinearGradient.LinearColorStop(double stopAt, - Gradient.Unit stopAtUnit, - Color color) - -
-           
Gradient.LinearGradient(int xStart, - Gradient.Unit xStartUnit, - int yStart, - Gradient.Unit yStartUnit, - int xEnd, - Gradient.Unit xEndUnit, - int yEnd, - Gradient.Unit yEndUnit, - java.util.List<Gradient.LinearGradient.LinearColorStop> colorStops) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/Gradient.html b/doc/com/invient/vaadin/charts/class-use/Gradient.html deleted file mode 100644 index 03a1b6a..0000000 --- a/doc/com/invient/vaadin/charts/class-use/Gradient.html +++ /dev/null @@ -1,181 +0,0 @@ - - - - - - -Uses of Interface com.invient.vaadin.charts.Gradient - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
com.invient.vaadin.charts.Gradient

-
- - - - - - - - - -
-Packages that use Gradient
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of Gradient in com.invient.vaadin.charts
-  -

- - - - - - - - - -
Classes in com.invient.vaadin.charts that implement Gradient
-static classGradient.LinearGradient - -
-          Represents linear gradient where points of a linear gradient specify a - line.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientCharts.ChartAddSeriesEvent.html b/doc/com/invient/vaadin/charts/class-use/InvientCharts.ChartAddSeriesEvent.html deleted file mode 100644 index d0f217a..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientCharts.ChartAddSeriesEvent.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientCharts.ChartAddSeriesEvent - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientCharts.ChartAddSeriesEvent

-
- - - - - - - - - -
-Packages that use InvientCharts.ChartAddSeriesEvent
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientCharts.ChartAddSeriesEvent in com.invient.vaadin.charts
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientCharts.ChartAddSeriesEvent
- voidInvientCharts.ChartAddSeriesListener.chartAddSeries(InvientCharts.ChartAddSeriesEvent chartAddSeriesEvent) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientCharts.ChartAddSeriesListener.html b/doc/com/invient/vaadin/charts/class-use/InvientCharts.ChartAddSeriesListener.html deleted file mode 100644 index bcba69a..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientCharts.ChartAddSeriesListener.html +++ /dev/null @@ -1,188 +0,0 @@ - - - - - - -Uses of Interface com.invient.vaadin.charts.InvientCharts.ChartAddSeriesListener - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
com.invient.vaadin.charts.InvientCharts.ChartAddSeriesListener

-
- - - - - - - - - -
-Packages that use InvientCharts.ChartAddSeriesListener
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientCharts.ChartAddSeriesListener in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientCharts.ChartAddSeriesListener
- voidInvientCharts.addListener(InvientCharts.ChartAddSeriesListener listener) - -
-          Adds the series add listener.
- voidInvientCharts.removeListener(InvientCharts.ChartAddSeriesListener listener) - -
-          Removes the series add listener.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientCharts.ChartArea.html b/doc/com/invient/vaadin/charts/class-use/InvientCharts.ChartArea.html deleted file mode 100644 index 3c2eda2..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientCharts.ChartArea.html +++ /dev/null @@ -1,197 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientCharts.ChartArea - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientCharts.ChartArea

-
- - - - - - - - - -
-Packages that use InvientCharts.ChartArea
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientCharts.ChartArea in com.invient.vaadin.charts
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts that return InvientCharts.ChartArea
- InvientCharts.ChartAreaInvientCharts.ChartZoomEvent.getChartArea() - -
-          Returns the chartArea object containing dimensions of zoomed area of - the chart
-  -

- - - - - - - - -
Constructors in com.invient.vaadin.charts with parameters of type InvientCharts.ChartArea
InvientCharts.ChartZoomEvent(com.vaadin.ui.Component source, - InvientCharts chart, - InvientCharts.ChartArea chartArea) - -
-          New instance of the chart zoom event.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientCharts.ChartClickEvent.html b/doc/com/invient/vaadin/charts/class-use/InvientCharts.ChartClickEvent.html deleted file mode 100644 index 29baf50..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientCharts.ChartClickEvent.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientCharts.ChartClickEvent - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientCharts.ChartClickEvent

-
- - - - - - - - - -
-Packages that use InvientCharts.ChartClickEvent
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientCharts.ChartClickEvent in com.invient.vaadin.charts
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientCharts.ChartClickEvent
- voidInvientCharts.ChartClickListener.chartClick(InvientCharts.ChartClickEvent chartClickEvent) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientCharts.ChartClickListener.html b/doc/com/invient/vaadin/charts/class-use/InvientCharts.ChartClickListener.html deleted file mode 100644 index 7bf396a..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientCharts.ChartClickListener.html +++ /dev/null @@ -1,188 +0,0 @@ - - - - - - -Uses of Interface com.invient.vaadin.charts.InvientCharts.ChartClickListener - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
com.invient.vaadin.charts.InvientCharts.ChartClickListener

-
- - - - - - - - - -
-Packages that use InvientCharts.ChartClickListener
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientCharts.ChartClickListener in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientCharts.ChartClickListener
- voidInvientCharts.addListener(InvientCharts.ChartClickListener listener) - -
-          Adds the chart click listener.
- voidInvientCharts.removeListener(InvientCharts.ChartClickListener listener) - -
-          Removes the chart click listener.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientCharts.ChartResetZoomEvent.html b/doc/com/invient/vaadin/charts/class-use/InvientCharts.ChartResetZoomEvent.html deleted file mode 100644 index 083d6eb..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientCharts.ChartResetZoomEvent.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientCharts.ChartResetZoomEvent - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientCharts.ChartResetZoomEvent

-
- - - - - - - - - -
-Packages that use InvientCharts.ChartResetZoomEvent
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientCharts.ChartResetZoomEvent in com.invient.vaadin.charts
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientCharts.ChartResetZoomEvent
- voidInvientCharts.ChartResetZoomListener.chartResetZoom(InvientCharts.ChartResetZoomEvent chartResetZoomEvent) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientCharts.ChartResetZoomListener.html b/doc/com/invient/vaadin/charts/class-use/InvientCharts.ChartResetZoomListener.html deleted file mode 100644 index f086876..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientCharts.ChartResetZoomListener.html +++ /dev/null @@ -1,188 +0,0 @@ - - - - - - -Uses of Interface com.invient.vaadin.charts.InvientCharts.ChartResetZoomListener - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
com.invient.vaadin.charts.InvientCharts.ChartResetZoomListener

-
- - - - - - - - - -
-Packages that use InvientCharts.ChartResetZoomListener
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientCharts.ChartResetZoomListener in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientCharts.ChartResetZoomListener
- voidInvientCharts.addListener(InvientCharts.ChartResetZoomListener listener) - -
-          Adds the chart reset zoom listener.
- voidInvientCharts.removeListener(InvientCharts.ChartResetZoomListener listener) - -
-          Removes the chart reset zoom listener.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientCharts.ChartSVGAvailableEvent.html b/doc/com/invient/vaadin/charts/class-use/InvientCharts.ChartSVGAvailableEvent.html deleted file mode 100644 index 2710643..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientCharts.ChartSVGAvailableEvent.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientCharts.ChartSVGAvailableEvent - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientCharts.ChartSVGAvailableEvent

-
- - - - - - - - - -
-Packages that use InvientCharts.ChartSVGAvailableEvent
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientCharts.ChartSVGAvailableEvent in com.invient.vaadin.charts
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientCharts.ChartSVGAvailableEvent
- voidInvientCharts.ChartSVGAvailableListener.svgAvailable(InvientCharts.ChartSVGAvailableEvent chartSVGAvailableEvent) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientCharts.ChartSVGAvailableListener.html b/doc/com/invient/vaadin/charts/class-use/InvientCharts.ChartSVGAvailableListener.html deleted file mode 100644 index 3879adb..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientCharts.ChartSVGAvailableListener.html +++ /dev/null @@ -1,188 +0,0 @@ - - - - - - -Uses of Interface com.invient.vaadin.charts.InvientCharts.ChartSVGAvailableListener - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
com.invient.vaadin.charts.InvientCharts.ChartSVGAvailableListener

-
- - - - - - - - - -
-Packages that use InvientCharts.ChartSVGAvailableListener
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientCharts.ChartSVGAvailableListener in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientCharts.ChartSVGAvailableListener
- voidInvientCharts.addListener(InvientCharts.ChartSVGAvailableListener listener) - -
-          Adds the chart svg available listener for this chart.
- voidInvientCharts.removeListener(InvientCharts.ChartSVGAvailableListener listener) - -
-          Removes the chart svg available listener for this chart.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientCharts.ChartZoomEvent.html b/doc/com/invient/vaadin/charts/class-use/InvientCharts.ChartZoomEvent.html deleted file mode 100644 index f52e8de..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientCharts.ChartZoomEvent.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientCharts.ChartZoomEvent - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientCharts.ChartZoomEvent

-
- - - - - - - - - -
-Packages that use InvientCharts.ChartZoomEvent
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientCharts.ChartZoomEvent in com.invient.vaadin.charts
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientCharts.ChartZoomEvent
- voidInvientCharts.ChartZoomListener.chartZoom(InvientCharts.ChartZoomEvent chartZoomEvent) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientCharts.ChartZoomListener.html b/doc/com/invient/vaadin/charts/class-use/InvientCharts.ChartZoomListener.html deleted file mode 100644 index 83c33b4..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientCharts.ChartZoomListener.html +++ /dev/null @@ -1,188 +0,0 @@ - - - - - - -Uses of Interface com.invient.vaadin.charts.InvientCharts.ChartZoomListener - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
com.invient.vaadin.charts.InvientCharts.ChartZoomListener

-
- - - - - - - - - -
-Packages that use InvientCharts.ChartZoomListener
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientCharts.ChartZoomListener in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientCharts.ChartZoomListener
- voidInvientCharts.addListener(InvientCharts.ChartZoomListener listener) - -
-          Adds the chart zoom listener.
- voidInvientCharts.removeListener(InvientCharts.ChartZoomListener listener) - -
-          Removes the chart zoom listener.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientCharts.DateTimePoint.html b/doc/com/invient/vaadin/charts/class-use/InvientCharts.DateTimePoint.html deleted file mode 100644 index 89b7c0a..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientCharts.DateTimePoint.html +++ /dev/null @@ -1,256 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientCharts.DateTimePoint - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientCharts.DateTimePoint

-
- - - - - - - - - -
-Packages that use InvientCharts.DateTimePoint
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientCharts.DateTimePoint in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts that return types with arguments of type InvientCharts.DateTimePoint
- java.util.LinkedHashSet<InvientCharts.DateTimePoint>InvientCharts.DateTimeSeries.addPoint(InvientCharts.DateTimePoint... points) - -
-          Appends the specified point into the series if they do not exists in - this series.
- java.util.LinkedHashSet<InvientCharts.DateTimePoint>InvientCharts.DateTimeSeries.addPoint(InvientCharts.DateTimePoint point, - boolean shift) - -
-          Append the specified point into this series.
- java.util.LinkedHashSet<InvientCharts.DateTimePoint>InvientCharts.DateTimeSeries.getPoints() - -
-           
- java.util.LinkedHashSet<InvientCharts.DateTimePoint>InvientCharts.DateTimeSeries.setSeriesPoints(java.util.LinkedHashSet<InvientCharts.DateTimePoint> points) - -
-          Sets points into this series.
-  -

- - - - - - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientCharts.DateTimePoint
- java.util.LinkedHashSet<InvientCharts.DateTimePoint>InvientCharts.DateTimeSeries.addPoint(InvientCharts.DateTimePoint... points) - -
-          Appends the specified point into the series if they do not exists in - this series.
- java.util.LinkedHashSet<InvientCharts.DateTimePoint>InvientCharts.DateTimeSeries.addPoint(InvientCharts.DateTimePoint point, - boolean shift) - -
-          Append the specified point into this series.
- voidInvientCharts.DateTimeSeries.removePoint(InvientCharts.DateTimePoint... points) - -
-          Removes all points specified as method argument into this series
-  -

- - - - - - - - - -
Method parameters in com.invient.vaadin.charts with type arguments of type InvientCharts.DateTimePoint
- java.util.LinkedHashSet<InvientCharts.DateTimePoint>InvientCharts.DateTimeSeries.setSeriesPoints(java.util.LinkedHashSet<InvientCharts.DateTimePoint> points) - -
-          Sets points into this series.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientCharts.DateTimeSeries.html b/doc/com/invient/vaadin/charts/class-use/InvientCharts.DateTimeSeries.html deleted file mode 100644 index 0057002..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientCharts.DateTimeSeries.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientCharts.DateTimeSeries - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientCharts.DateTimeSeries

-
-No usage of com.invient.vaadin.charts.InvientCharts.DateTimeSeries -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientCharts.DecimalPoint.html b/doc/com/invient/vaadin/charts/class-use/InvientCharts.DecimalPoint.html deleted file mode 100644 index 4c66670..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientCharts.DecimalPoint.html +++ /dev/null @@ -1,256 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientCharts.DecimalPoint - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientCharts.DecimalPoint

-
- - - - - - - - - -
-Packages that use InvientCharts.DecimalPoint
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientCharts.DecimalPoint in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts that return types with arguments of type InvientCharts.DecimalPoint
- java.util.LinkedHashSet<InvientCharts.DecimalPoint>InvientCharts.XYSeries.addPoint(InvientCharts.DecimalPoint... points) - -
-          Appends the specified point into the series if they do not exists in - this series.
- java.util.LinkedHashSet<InvientCharts.DecimalPoint>InvientCharts.XYSeries.addPoint(InvientCharts.DecimalPoint point, - boolean shift) - -
-          Append the specified point into this series.
- java.util.LinkedHashSet<InvientCharts.DecimalPoint>InvientCharts.XYSeries.getPoints() - -
-           
- java.util.LinkedHashSet<InvientCharts.DecimalPoint>InvientCharts.XYSeries.setSeriesPoints(java.util.LinkedHashSet<InvientCharts.DecimalPoint> points) - -
-          Sets points into this series.
-  -

- - - - - - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientCharts.DecimalPoint
- java.util.LinkedHashSet<InvientCharts.DecimalPoint>InvientCharts.XYSeries.addPoint(InvientCharts.DecimalPoint... points) - -
-          Appends the specified point into the series if they do not exists in - this series.
- java.util.LinkedHashSet<InvientCharts.DecimalPoint>InvientCharts.XYSeries.addPoint(InvientCharts.DecimalPoint point, - boolean shift) - -
-          Append the specified point into this series.
- voidInvientCharts.XYSeries.removePoint(InvientCharts.DecimalPoint... points) - -
-          Removes the specified point from the series
-  -

- - - - - - - - - -
Method parameters in com.invient.vaadin.charts with type arguments of type InvientCharts.DecimalPoint
- java.util.LinkedHashSet<InvientCharts.DecimalPoint>InvientCharts.XYSeries.setSeriesPoints(java.util.LinkedHashSet<InvientCharts.DecimalPoint> points) - -
-          Sets points into this series.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientCharts.MousePosition.html b/doc/com/invient/vaadin/charts/class-use/InvientCharts.MousePosition.html deleted file mode 100644 index 9b7e852..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientCharts.MousePosition.html +++ /dev/null @@ -1,233 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientCharts.MousePosition - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientCharts.MousePosition

-
- - - - - - - - - -
-Packages that use InvientCharts.MousePosition
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientCharts.MousePosition in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts that return InvientCharts.MousePosition
- InvientCharts.MousePositionInvientCharts.PointClickEvent.getMousePosition() - -
-           
- InvientCharts.MousePositionInvientCharts.SeriesClickEvent.getMousePosition() - -
-           
- InvientCharts.MousePositionInvientCharts.ChartClickEvent.getMousePosition() - -
-          Returns the position of a mouse when the click event occurred
-  -

- - - - - - - - - - - - - - -
Constructors in com.invient.vaadin.charts with parameters of type InvientCharts.MousePosition
InvientCharts.ChartClickEvent(com.vaadin.ui.Component source, - InvientCharts chart, - InvientCharts.Point point, - InvientCharts.MousePosition mousePosition) - -
-          New instance of the chart click event.
InvientCharts.PointClickEvent(com.vaadin.ui.Component source, - InvientCharts chart, - java.lang.String category, - InvientCharts.Point point, - InvientCharts.MousePosition mousePosition) - -
-          New instance of the point click event.
InvientCharts.SeriesClickEvent(com.vaadin.ui.Component source, - InvientCharts chart, - InvientCharts.Series series, - InvientCharts.Point point, - InvientCharts.MousePosition mousePosition) - -
-          New instance of the series click event.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientCharts.PieChartLegendItemClickEvent.html b/doc/com/invient/vaadin/charts/class-use/InvientCharts.PieChartLegendItemClickEvent.html deleted file mode 100644 index 5de7a25..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientCharts.PieChartLegendItemClickEvent.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientCharts.PieChartLegendItemClickEvent - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientCharts.PieChartLegendItemClickEvent

-
- - - - - - - - - -
-Packages that use InvientCharts.PieChartLegendItemClickEvent
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientCharts.PieChartLegendItemClickEvent in com.invient.vaadin.charts
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientCharts.PieChartLegendItemClickEvent
- voidInvientCharts.PieChartLegendItemClickListener.legendItemClick(InvientCharts.PieChartLegendItemClickEvent legendItemClickEvent) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientCharts.PieChartLegendItemClickListener.html b/doc/com/invient/vaadin/charts/class-use/InvientCharts.PieChartLegendItemClickListener.html deleted file mode 100644 index dc2828a..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientCharts.PieChartLegendItemClickListener.html +++ /dev/null @@ -1,188 +0,0 @@ - - - - - - -Uses of Interface com.invient.vaadin.charts.InvientCharts.PieChartLegendItemClickListener - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
com.invient.vaadin.charts.InvientCharts.PieChartLegendItemClickListener

-
- - - - - - - - - -
-Packages that use InvientCharts.PieChartLegendItemClickListener
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientCharts.PieChartLegendItemClickListener in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientCharts.PieChartLegendItemClickListener
- voidInvientCharts.addListener(InvientCharts.PieChartLegendItemClickListener listener) - -
-          Adds the piechart legend item click listener.
- voidInvientCharts.removeListener(InvientCharts.PieChartLegendItemClickListener listener) - -
-          Removes the piechart legend item click listener.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientCharts.Point.html b/doc/com/invient/vaadin/charts/class-use/InvientCharts.Point.html deleted file mode 100644 index 86e17c3..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientCharts.Point.html +++ /dev/null @@ -1,325 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientCharts.Point - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientCharts.Point

-
- - - - - - - - - -
-Packages that use InvientCharts.Point
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientCharts.Point in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - -
Subclasses of InvientCharts.Point in com.invient.vaadin.charts
-static classInvientCharts.DateTimePoint - -
-          This class represent a point with (X, Y) both as number.
-static classInvientCharts.DecimalPoint - -
-          This class represent a point with (X, Y) both as number.
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts that return InvientCharts.Point
- InvientCharts.PointInvientCharts.SeriesClickEvent.getNearestPoint() - -
-           
- InvientCharts.PointInvientCharts.PointClickEvent.getPoint() - -
-           
- InvientCharts.PointInvientCharts.PointRemoveEvent.getPoint() - -
-           
- InvientCharts.PointInvientCharts.PointUnselectEvent.getPoint() - -
-           
- InvientCharts.PointInvientCharts.PointSelectEvent.getPoint() - -
-           
- InvientCharts.PointInvientCharts.PieChartLegendItemClickEvent.getPoint() - -
-           
- InvientCharts.PointInvientCharts.ChartClickEvent.getPoint() - -
-          Returns the point representing the position where the click event - occurred in axes units
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - -
Constructors in com.invient.vaadin.charts with parameters of type InvientCharts.Point
InvientCharts.ChartClickEvent(com.vaadin.ui.Component source, - InvientCharts chart, - InvientCharts.Point point, - InvientCharts.MousePosition mousePosition) - -
-          New instance of the chart click event.
InvientCharts.PieChartLegendItemClickEvent(com.vaadin.ui.Component source, - InvientCharts chart, - InvientCharts.Point point) - -
-          New instance of the piechart legend item click event
InvientCharts.PointClickEvent(com.vaadin.ui.Component source, - InvientCharts chart, - java.lang.String category, - InvientCharts.Point point, - InvientCharts.MousePosition mousePosition) - -
-          New instance of the point click event.
InvientCharts.PointRemoveEvent(com.vaadin.ui.Component source, - InvientCharts chart, - java.lang.String category, - InvientCharts.Point point) - -
-          New instance of the point remove event.
InvientCharts.PointSelectEvent(com.vaadin.ui.Component source, - InvientCharts chart, - java.lang.String category, - InvientCharts.Point point) - -
-          New instance of the point select event.
InvientCharts.PointUnselectEvent(com.vaadin.ui.Component source, - InvientCharts chart, - java.lang.String category, - InvientCharts.Point point) - -
-          New instance of the point unselect event.
InvientCharts.SeriesClickEvent(com.vaadin.ui.Component source, - InvientCharts chart, - InvientCharts.Series series, - InvientCharts.Point point, - InvientCharts.MousePosition mousePosition) - -
-          New instance of the series click event.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientCharts.PointClickEvent.html b/doc/com/invient/vaadin/charts/class-use/InvientCharts.PointClickEvent.html deleted file mode 100644 index 414c53d..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientCharts.PointClickEvent.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientCharts.PointClickEvent - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientCharts.PointClickEvent

-
- - - - - - - - - -
-Packages that use InvientCharts.PointClickEvent
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientCharts.PointClickEvent in com.invient.vaadin.charts
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientCharts.PointClickEvent
- voidInvientCharts.PointClickListener.pointClick(InvientCharts.PointClickEvent pointClickEvent) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientCharts.PointClickListener.html b/doc/com/invient/vaadin/charts/class-use/InvientCharts.PointClickListener.html deleted file mode 100644 index d5f9a46..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientCharts.PointClickListener.html +++ /dev/null @@ -1,190 +0,0 @@ - - - - - - -Uses of Interface com.invient.vaadin.charts.InvientCharts.PointClickListener - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
com.invient.vaadin.charts.InvientCharts.PointClickListener

-
- - - - - - - - - -
-Packages that use InvientCharts.PointClickListener
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientCharts.PointClickListener in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientCharts.PointClickListener
- voidInvientCharts.addListener(InvientCharts.PointClickListener listener, - InvientCharts.SeriesType... seriesTypes) - -
-          Adds the point click listener.
- voidInvientCharts.removeListener(InvientCharts.PointClickListener listener, - InvientCharts.SeriesType... seriesTypes) - -
-          Removes the point click listener.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientCharts.PointRemoveEvent.html b/doc/com/invient/vaadin/charts/class-use/InvientCharts.PointRemoveEvent.html deleted file mode 100644 index 4f9801a..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientCharts.PointRemoveEvent.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientCharts.PointRemoveEvent - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientCharts.PointRemoveEvent

-
- - - - - - - - - -
-Packages that use InvientCharts.PointRemoveEvent
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientCharts.PointRemoveEvent in com.invient.vaadin.charts
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientCharts.PointRemoveEvent
- voidInvientCharts.PointRemoveListener.pointRemove(InvientCharts.PointRemoveEvent pointRemoveEvent) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientCharts.PointRemoveListener.html b/doc/com/invient/vaadin/charts/class-use/InvientCharts.PointRemoveListener.html deleted file mode 100644 index 6de9a30..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientCharts.PointRemoveListener.html +++ /dev/null @@ -1,190 +0,0 @@ - - - - - - -Uses of Interface com.invient.vaadin.charts.InvientCharts.PointRemoveListener - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
com.invient.vaadin.charts.InvientCharts.PointRemoveListener

-
- - - - - - - - - -
-Packages that use InvientCharts.PointRemoveListener
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientCharts.PointRemoveListener in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientCharts.PointRemoveListener
- voidInvientCharts.addListener(InvientCharts.PointRemoveListener listener, - InvientCharts.SeriesType... seriesTypes) - -
-          Adds the point remove listener.
- voidInvientCharts.removeListener(InvientCharts.PointRemoveListener listener, - InvientCharts.SeriesType... seriesTypes) - -
-          Removes the point remove listener.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientCharts.PointSelectEvent.html b/doc/com/invient/vaadin/charts/class-use/InvientCharts.PointSelectEvent.html deleted file mode 100644 index 1af94f7..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientCharts.PointSelectEvent.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientCharts.PointSelectEvent - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientCharts.PointSelectEvent

-
- - - - - - - - - -
-Packages that use InvientCharts.PointSelectEvent
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientCharts.PointSelectEvent in com.invient.vaadin.charts
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientCharts.PointSelectEvent
- voidInvientCharts.PointSelectListener.pointSelected(InvientCharts.PointSelectEvent pointSelectEvent) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientCharts.PointSelectListener.html b/doc/com/invient/vaadin/charts/class-use/InvientCharts.PointSelectListener.html deleted file mode 100644 index ac02f8d..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientCharts.PointSelectListener.html +++ /dev/null @@ -1,190 +0,0 @@ - - - - - - -Uses of Interface com.invient.vaadin.charts.InvientCharts.PointSelectListener - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
com.invient.vaadin.charts.InvientCharts.PointSelectListener

-
- - - - - - - - - -
-Packages that use InvientCharts.PointSelectListener
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientCharts.PointSelectListener in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientCharts.PointSelectListener
- voidInvientCharts.addListener(InvientCharts.PointSelectListener listener, - InvientCharts.SeriesType... seriesTypes) - -
-          Adds the point select listener.
- voidInvientCharts.removeListener(InvientCharts.PointSelectListener listener, - InvientCharts.SeriesType... seriesTypes) - -
-          Removes the point select listener.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientCharts.PointUnselectEvent.html b/doc/com/invient/vaadin/charts/class-use/InvientCharts.PointUnselectEvent.html deleted file mode 100644 index fd3e1eb..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientCharts.PointUnselectEvent.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientCharts.PointUnselectEvent - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientCharts.PointUnselectEvent

-
- - - - - - - - - -
-Packages that use InvientCharts.PointUnselectEvent
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientCharts.PointUnselectEvent in com.invient.vaadin.charts
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientCharts.PointUnselectEvent
- voidInvientCharts.PointUnselectListener.pointUnSelect(InvientCharts.PointUnselectEvent pointUnSelectEvent) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientCharts.PointUnselectListener.html b/doc/com/invient/vaadin/charts/class-use/InvientCharts.PointUnselectListener.html deleted file mode 100644 index c95bf4a..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientCharts.PointUnselectListener.html +++ /dev/null @@ -1,190 +0,0 @@ - - - - - - -Uses of Interface com.invient.vaadin.charts.InvientCharts.PointUnselectListener - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
com.invient.vaadin.charts.InvientCharts.PointUnselectListener

-
- - - - - - - - - -
-Packages that use InvientCharts.PointUnselectListener
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientCharts.PointUnselectListener in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientCharts.PointUnselectListener
- voidInvientCharts.addListener(InvientCharts.PointUnselectListener listener, - InvientCharts.SeriesType... seriesTypes) - -
-          Adds the point unselect listener.
- voidInvientCharts.removeListener(InvientCharts.PointUnselectListener listener, - InvientCharts.SeriesType... seriesTypes) - -
-          Removes the point unselect listener.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientCharts.Series.html b/doc/com/invient/vaadin/charts/class-use/InvientCharts.Series.html deleted file mode 100644 index 22b003e..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientCharts.Series.html +++ /dev/null @@ -1,480 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientCharts.Series - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientCharts.Series

-
- - - - - - - - - -
-Packages that use InvientCharts.Series
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientCharts.Series in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - -
Subclasses of InvientCharts.Series in com.invient.vaadin.charts
-static classInvientCharts.DateTimeSeries - -
-          This class defines a datetime series.
-static classInvientCharts.XYSeries - -
-          This class defines a number series.
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts that return InvientCharts.Series
- InvientCharts.SeriesInvientCharts.SeriesClickEvent.getSeries() - -
-           
- InvientCharts.SeriesInvientCharts.SeriesHideEvent.getSeries() - -
-           
- InvientCharts.SeriesInvientCharts.SeriesShowEvent.getSeries() - -
-           
- InvientCharts.SeriesInvientCharts.SeriesLegendItemClickEvent.getSeries() - -
-           
- InvientCharts.SeriesInvientCharts.Point.getSeries() - -
-           
- InvientCharts.SeriesInvientCharts.getSeries(java.lang.String name) - -
-          Returns a series whose name matches the argument name.
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts that return types with arguments of type InvientCharts.Series
- java.util.LinkedHashSet<InvientCharts.Series>InvientCharts.getAllSeries() - -
-          Returns all series associated with this chart.
-  -

- - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientCharts.Series
- voidInvientCharts.addSeries(InvientCharts.Series seriesData) - -
-          Adds the argument series to this chart.
- voidInvientCharts.removeSeries(InvientCharts.Series seriesData) - -
-          Removes the argument seriesData from this chart.
-  -

- - - - - - - - - -
Method parameters in com.invient.vaadin.charts with type arguments of type InvientCharts.Series
- voidInvientCharts.setSeries(java.util.LinkedHashSet<InvientCharts.Series> series) - -
-          The data of a chart is defined in terms of InvientCharts.Series.
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Constructors in com.invient.vaadin.charts with parameters of type InvientCharts.Series
InvientCharts.DateTimePoint(InvientCharts.Series series) - -
-           
InvientCharts.DateTimePoint(InvientCharts.Series series, - java.util.Date x, - double y) - -
-           
InvientCharts.DateTimePoint(InvientCharts.Series series, - double y) - -
-           
InvientCharts.DateTimePoint(InvientCharts.Series series, - java.lang.String name, - double y) - -
-           
InvientCharts.DateTimePoint(InvientCharts.Series series, - java.lang.String name, - double y, - InvientChartsConfig.PointConfig config) - -
-           
InvientCharts.DecimalPoint(InvientCharts.Series series) - -
-           
InvientCharts.DecimalPoint(InvientCharts.Series series, - double y) - -
-           
InvientCharts.DecimalPoint(InvientCharts.Series series, - double x, - double y) - -
-           
InvientCharts.DecimalPoint(InvientCharts.Series series, - java.lang.Double x, - java.lang.Double y) - -
-           
InvientCharts.DecimalPoint(InvientCharts.Series series, - double x, - double y, - InvientChartsConfig.PointConfig config) - -
-           
InvientCharts.DecimalPoint(InvientCharts.Series series, - java.lang.Double x, - java.lang.Double y, - InvientChartsConfig.PointConfig config) - -
-           
InvientCharts.DecimalPoint(InvientCharts.Series series, - double y, - InvientChartsConfig.PointConfig config) - -
-           
InvientCharts.DecimalPoint(InvientCharts.Series series, - java.lang.String name, - double y) - -
-           
InvientCharts.DecimalPoint(InvientCharts.Series series, - java.lang.String name, - double y, - InvientChartsConfig.PointConfig config) - -
-           
InvientCharts.Point(InvientCharts.Series series) - -
-          Creates a point with given arguments.
InvientCharts.Point(InvientCharts.Series series, - InvientChartsConfig.PointConfig config) - -
-          Creates a point with given arguments.
InvientCharts.Point(InvientCharts.Series series, - java.lang.String name) - -
-          Creates a point with given arguments.
InvientCharts.Point(InvientCharts.Series series, - java.lang.String name, - InvientChartsConfig.PointConfig config) - -
-          Creates a point with given arguments.
InvientCharts.SeriesClickEvent(com.vaadin.ui.Component source, - InvientCharts chart, - InvientCharts.Series series, - InvientCharts.Point point, - InvientCharts.MousePosition mousePosition) - -
-          New instance of the series click event.
InvientCharts.SeriesHideEvent(com.vaadin.ui.Component source, - InvientCharts chart, - InvientCharts.Series series) - -
-           
InvientCharts.SeriesLegendItemClickEvent(com.vaadin.ui.Component source, - InvientCharts chart, - InvientCharts.Series series) - -
-          New instance of the point click event.
InvientCharts.SeriesShowEvent(com.vaadin.ui.Component source, - InvientCharts chart, - InvientCharts.Series series) - -
-          New instance of the series show event.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientCharts.SeriesClickEvent.html b/doc/com/invient/vaadin/charts/class-use/InvientCharts.SeriesClickEvent.html deleted file mode 100644 index 9ad86e0..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientCharts.SeriesClickEvent.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientCharts.SeriesClickEvent - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientCharts.SeriesClickEvent

-
- - - - - - - - - -
-Packages that use InvientCharts.SeriesClickEvent
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientCharts.SeriesClickEvent in com.invient.vaadin.charts
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientCharts.SeriesClickEvent
- voidInvientCharts.SeriesClickListerner.seriesClick(InvientCharts.SeriesClickEvent seriesClickEvent) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientCharts.SeriesClickListerner.html b/doc/com/invient/vaadin/charts/class-use/InvientCharts.SeriesClickListerner.html deleted file mode 100644 index 6eaf5bf..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientCharts.SeriesClickListerner.html +++ /dev/null @@ -1,190 +0,0 @@ - - - - - - -Uses of Interface com.invient.vaadin.charts.InvientCharts.SeriesClickListerner - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
com.invient.vaadin.charts.InvientCharts.SeriesClickListerner

-
- - - - - - - - - -
-Packages that use InvientCharts.SeriesClickListerner
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientCharts.SeriesClickListerner in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientCharts.SeriesClickListerner
- voidInvientCharts.addListener(InvientCharts.SeriesClickListerner listener, - InvientCharts.SeriesType... seriesTypes) - -
-          Adds the series click listener.
- voidInvientCharts.removeListener(InvientCharts.SeriesClickListerner listener, - InvientCharts.SeriesType... seriesTypes) - -
-          Removes the series click listener.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientCharts.SeriesHideEvent.html b/doc/com/invient/vaadin/charts/class-use/InvientCharts.SeriesHideEvent.html deleted file mode 100644 index 0f137d8..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientCharts.SeriesHideEvent.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientCharts.SeriesHideEvent - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientCharts.SeriesHideEvent

-
- - - - - - - - - -
-Packages that use InvientCharts.SeriesHideEvent
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientCharts.SeriesHideEvent in com.invient.vaadin.charts
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientCharts.SeriesHideEvent
- voidInvientCharts.SeriesHideListerner.seriesHide(InvientCharts.SeriesHideEvent seriesHideEvent) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientCharts.SeriesHideListerner.html b/doc/com/invient/vaadin/charts/class-use/InvientCharts.SeriesHideListerner.html deleted file mode 100644 index d66bef0..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientCharts.SeriesHideListerner.html +++ /dev/null @@ -1,190 +0,0 @@ - - - - - - -Uses of Interface com.invient.vaadin.charts.InvientCharts.SeriesHideListerner - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
com.invient.vaadin.charts.InvientCharts.SeriesHideListerner

-
- - - - - - - - - -
-Packages that use InvientCharts.SeriesHideListerner
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientCharts.SeriesHideListerner in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientCharts.SeriesHideListerner
- voidInvientCharts.addListener(InvientCharts.SeriesHideListerner listener, - InvientCharts.SeriesType... seriesTypes) - -
-          Adds the series hide listener.
- voidInvientCharts.removeListener(InvientCharts.SeriesHideListerner listener, - InvientCharts.SeriesType... seriesTypes) - -
-          Removes the series hide listener.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientCharts.SeriesLegendItemClickEvent.html b/doc/com/invient/vaadin/charts/class-use/InvientCharts.SeriesLegendItemClickEvent.html deleted file mode 100644 index 6a3be31..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientCharts.SeriesLegendItemClickEvent.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientCharts.SeriesLegendItemClickEvent - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientCharts.SeriesLegendItemClickEvent

-
- - - - - - - - - -
-Packages that use InvientCharts.SeriesLegendItemClickEvent
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientCharts.SeriesLegendItemClickEvent in com.invient.vaadin.charts
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientCharts.SeriesLegendItemClickEvent
- voidInvientCharts.SeriesLegendItemClickListerner.seriesLegendItemClick(InvientCharts.SeriesLegendItemClickEvent seriesLegendItemClickEvent) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientCharts.SeriesLegendItemClickListerner.html b/doc/com/invient/vaadin/charts/class-use/InvientCharts.SeriesLegendItemClickListerner.html deleted file mode 100644 index ac79a42..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientCharts.SeriesLegendItemClickListerner.html +++ /dev/null @@ -1,190 +0,0 @@ - - - - - - -Uses of Interface com.invient.vaadin.charts.InvientCharts.SeriesLegendItemClickListerner - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
com.invient.vaadin.charts.InvientCharts.SeriesLegendItemClickListerner

-
- - - - - - - - - -
-Packages that use InvientCharts.SeriesLegendItemClickListerner
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientCharts.SeriesLegendItemClickListerner in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientCharts.SeriesLegendItemClickListerner
- voidInvientCharts.addListener(InvientCharts.SeriesLegendItemClickListerner listener, - InvientCharts.SeriesType... seriesTypes) - -
-          Adds the series legend item click listener.
- voidInvientCharts.removeListener(InvientCharts.SeriesLegendItemClickListerner listener, - InvientCharts.SeriesType... seriesTypes) - -
-          Removes the series legend item click listener.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientCharts.SeriesShowEvent.html b/doc/com/invient/vaadin/charts/class-use/InvientCharts.SeriesShowEvent.html deleted file mode 100644 index d3a33b1..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientCharts.SeriesShowEvent.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientCharts.SeriesShowEvent - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientCharts.SeriesShowEvent

-
- - - - - - - - - -
-Packages that use InvientCharts.SeriesShowEvent
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientCharts.SeriesShowEvent in com.invient.vaadin.charts
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientCharts.SeriesShowEvent
- voidInvientCharts.SeriesShowListerner.seriesShow(InvientCharts.SeriesShowEvent seriesShowEvent) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientCharts.SeriesShowListerner.html b/doc/com/invient/vaadin/charts/class-use/InvientCharts.SeriesShowListerner.html deleted file mode 100644 index 4a95b73..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientCharts.SeriesShowListerner.html +++ /dev/null @@ -1,190 +0,0 @@ - - - - - - -Uses of Interface com.invient.vaadin.charts.InvientCharts.SeriesShowListerner - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
com.invient.vaadin.charts.InvientCharts.SeriesShowListerner

-
- - - - - - - - - -
-Packages that use InvientCharts.SeriesShowListerner
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientCharts.SeriesShowListerner in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientCharts.SeriesShowListerner
- voidInvientCharts.addListener(InvientCharts.SeriesShowListerner listener, - InvientCharts.SeriesType... seriesTypes) - -
-          Adds the series show listener.
- voidInvientCharts.removeListener(InvientCharts.SeriesShowListerner listener, - InvientCharts.SeriesType... seriesTypes) - -
-          Removes the series show listener.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientCharts.SeriesType.html b/doc/com/invient/vaadin/charts/class-use/InvientCharts.SeriesType.html deleted file mode 100644 index 528c46c..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientCharts.SeriesType.html +++ /dev/null @@ -1,445 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientCharts.SeriesType - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientCharts.SeriesType

-
- - - - - - - - - -
-Packages that use InvientCharts.SeriesType
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientCharts.SeriesType in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts that return InvientCharts.SeriesType
- InvientCharts.SeriesTypeInvientChartsConfig.GeneralChartConfig.getType() - -
-           
- InvientCharts.SeriesTypeInvientCharts.Series.getType() - -
-           
-static InvientCharts.SeriesTypeInvientCharts.SeriesType.valueOf(java.lang.String name) - -
-          Returns the enum constant of this type with the specified name.
-static InvientCharts.SeriesType[]InvientCharts.SeriesType.values() - -
-          Returns an array containing the constants of this enum type, in -the order they are declared.
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientCharts.SeriesType
- voidInvientCharts.addListener(InvientCharts.PointClickListener listener, - InvientCharts.SeriesType... seriesTypes) - -
-          Adds the point click listener.
- voidInvientCharts.addListener(InvientCharts.PointRemoveListener listener, - InvientCharts.SeriesType... seriesTypes) - -
-          Adds the point remove listener.
- voidInvientCharts.addListener(InvientCharts.PointSelectListener listener, - InvientCharts.SeriesType... seriesTypes) - -
-          Adds the point select listener.
- voidInvientCharts.addListener(InvientCharts.PointUnselectListener listener, - InvientCharts.SeriesType... seriesTypes) - -
-          Adds the point unselect listener.
- voidInvientCharts.addListener(InvientCharts.SeriesClickListerner listener, - InvientCharts.SeriesType... seriesTypes) - -
-          Adds the series click listener.
- voidInvientCharts.addListener(InvientCharts.SeriesHideListerner listener, - InvientCharts.SeriesType... seriesTypes) - -
-          Adds the series hide listener.
- voidInvientCharts.addListener(InvientCharts.SeriesLegendItemClickListerner listener, - InvientCharts.SeriesType... seriesTypes) - -
-          Adds the series legend item click listener.
- voidInvientCharts.addListener(InvientCharts.SeriesShowListerner listener, - InvientCharts.SeriesType... seriesTypes) - -
-          Adds the series show listener.
- voidInvientCharts.removeListener(InvientCharts.PointClickListener listener, - InvientCharts.SeriesType... seriesTypes) - -
-          Removes the point click listener.
- voidInvientCharts.removeListener(InvientCharts.PointRemoveListener listener, - InvientCharts.SeriesType... seriesTypes) - -
-          Removes the point remove listener.
- voidInvientCharts.removeListener(InvientCharts.PointSelectListener listener, - InvientCharts.SeriesType... seriesTypes) - -
-          Removes the point select listener.
- voidInvientCharts.removeListener(InvientCharts.PointUnselectListener listener, - InvientCharts.SeriesType... seriesTypes) - -
-          Removes the point unselect listener.
- voidInvientCharts.removeListener(InvientCharts.SeriesClickListerner listener, - InvientCharts.SeriesType... seriesTypes) - -
-          Removes the series click listener.
- voidInvientCharts.removeListener(InvientCharts.SeriesHideListerner listener, - InvientCharts.SeriesType... seriesTypes) - -
-          Removes the series hide listener.
- voidInvientCharts.removeListener(InvientCharts.SeriesLegendItemClickListerner listener, - InvientCharts.SeriesType... seriesTypes) - -
-          Removes the series legend item click listener.
- voidInvientCharts.removeListener(InvientCharts.SeriesShowListerner listener, - InvientCharts.SeriesType... seriesTypes) - -
-          Removes the series show listener.
- voidInvientChartsConfig.GeneralChartConfig.setType(InvientCharts.SeriesType type) - -
-          Sets series type to one of line, spline, scatter, area, areaspline, - pie, bar and column.
- voidInvientCharts.Series.setType(InvientCharts.SeriesType type) - -
-          Sets type of this series
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Constructors in com.invient.vaadin.charts with parameters of type InvientCharts.SeriesType
InvientCharts.DateTimeSeries(java.lang.String name, - InvientCharts.SeriesType seriesType) - -
-          Creates a series with given name and type.
InvientCharts.DateTimeSeries(java.lang.String name, - InvientCharts.SeriesType seriesType, - boolean isIncludeTime) - -
-          Creates a series with given name, type and boolean value.
InvientCharts.DateTimeSeries(java.lang.String name, - InvientCharts.SeriesType seriesType, - InvientChartsConfig.SeriesConfig config) - -
-          Creates a series with given name, type and configuration.
InvientCharts.DateTimeSeries(java.lang.String name, - InvientCharts.SeriesType seriesType, - InvientChartsConfig.SeriesConfig config, - boolean isIncludeTime) - -
-          Creates a series with given name, type, configuration and boolean - value.
InvientCharts.Series(java.lang.String name, - InvientCharts.SeriesType seriesType) - -
-          Creates a series with given name and type
InvientCharts.Series(java.lang.String name, - InvientCharts.SeriesType seriesType, - InvientChartsConfig.SeriesConfig config) - -
-          Creates a series with given name, type and configuration
InvientCharts.XYSeries(java.lang.String name, - InvientCharts.SeriesType seriesType) - -
-          Creates a series with given name and type
InvientCharts.XYSeries(java.lang.String name, - InvientCharts.SeriesType seriesType, - InvientChartsConfig.SeriesConfig config) - -
-          Creates a series with given name, type and configuration
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientCharts.XYSeries.html b/doc/com/invient/vaadin/charts/class-use/InvientCharts.XYSeries.html deleted file mode 100644 index c034f90..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientCharts.XYSeries.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientCharts.XYSeries - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientCharts.XYSeries

-
-No usage of com.invient.vaadin.charts.InvientCharts.XYSeries -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientCharts.html b/doc/com/invient/vaadin/charts/class-use/InvientCharts.html deleted file mode 100644 index 1ef15cb..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientCharts.html +++ /dev/null @@ -1,411 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientCharts - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientCharts

-
- - - - - - - - - -
-Packages that use InvientCharts
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientCharts in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts that return InvientCharts
- InvientChartsInvientCharts.PointClickEvent.getChart() - -
-           
- InvientChartsInvientCharts.PointRemoveEvent.getChart() - -
-           
- InvientChartsInvientCharts.PointUnselectEvent.getChart() - -
-           
- InvientChartsInvientCharts.PointSelectEvent.getChart() - -
-           
- InvientChartsInvientCharts.SeriesClickEvent.getChart() - -
-           
- InvientChartsInvientCharts.SeriesHideEvent.getChart() - -
-           
- InvientChartsInvientCharts.SeriesShowEvent.getChart() - -
-           
- InvientChartsInvientCharts.SeriesLegendItemClickEvent.getChart() - -
-           
- InvientChartsInvientCharts.PieChartLegendItemClickEvent.getChart() - -
-           
- InvientChartsInvientCharts.ChartClickEvent.getChart() - -
-          Returns the chart object on which the click event occurred
- InvientChartsInvientCharts.ChartAddSeriesEvent.getChart() - -
-          Returns the chart object to which a series is added
- InvientChartsInvientCharts.ChartZoomEvent.getChart() - -
-          Returns the chart object for which the zoom event has occurred
- InvientChartsInvientCharts.ChartResetZoomEvent.getChart() - -
-          Returns the chart object for which zoom has been reset to normal
- InvientChartsInvientCharts.ChartSVGAvailableEvent.getChart() - -
-          Returns the chart object for which an svg string representation is - available
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Constructors in com.invient.vaadin.charts with parameters of type InvientCharts
InvientCharts.ChartAddSeriesEvent(com.vaadin.ui.Component source, - InvientCharts chart) - -
-          New instance of the chart add series event.
InvientCharts.ChartClickEvent(com.vaadin.ui.Component source, - InvientCharts chart, - InvientCharts.Point point, - InvientCharts.MousePosition mousePosition) - -
-          New instance of the chart click event.
InvientCharts.ChartResetZoomEvent(com.vaadin.ui.Component source, - InvientCharts chart) - -
-          New instance of the chart reset zoom event
InvientCharts.ChartSVGAvailableEvent(com.vaadin.ui.Component source, - InvientCharts chart, - java.lang.String svg) - -
-          New instance of the chart svg available event.
InvientCharts.ChartZoomEvent(com.vaadin.ui.Component source, - InvientCharts chart, - InvientCharts.ChartArea chartArea) - -
-          New instance of the chart zoom event.
InvientCharts.PieChartLegendItemClickEvent(com.vaadin.ui.Component source, - InvientCharts chart, - InvientCharts.Point point) - -
-          New instance of the piechart legend item click event
InvientCharts.PointClickEvent(com.vaadin.ui.Component source, - InvientCharts chart, - java.lang.String category, - InvientCharts.Point point, - InvientCharts.MousePosition mousePosition) - -
-          New instance of the point click event.
InvientCharts.PointRemoveEvent(com.vaadin.ui.Component source, - InvientCharts chart, - java.lang.String category, - InvientCharts.Point point) - -
-          New instance of the point remove event.
InvientCharts.PointSelectEvent(com.vaadin.ui.Component source, - InvientCharts chart, - java.lang.String category, - InvientCharts.Point point) - -
-          New instance of the point select event.
InvientCharts.PointUnselectEvent(com.vaadin.ui.Component source, - InvientCharts chart, - java.lang.String category, - InvientCharts.Point point) - -
-          New instance of the point unselect event.
InvientCharts.SeriesClickEvent(com.vaadin.ui.Component source, - InvientCharts chart, - InvientCharts.Series series, - InvientCharts.Point point, - InvientCharts.MousePosition mousePosition) - -
-          New instance of the series click event.
InvientCharts.SeriesHideEvent(com.vaadin.ui.Component source, - InvientCharts chart, - InvientCharts.Series series) - -
-           
InvientCharts.SeriesLegendItemClickEvent(com.vaadin.ui.Component source, - InvientCharts chart, - InvientCharts.Series series) - -
-          New instance of the point click event.
InvientCharts.SeriesShowEvent(com.vaadin.ui.Component source, - InvientCharts chart, - InvientCharts.Series series) - -
-          New instance of the series show event.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AbstractMarker.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AbstractMarker.html deleted file mode 100644 index 18c0171..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AbstractMarker.html +++ /dev/null @@ -1,189 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.AbstractMarker - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.AbstractMarker

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.AbstractMarker
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.AbstractMarker in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - -
Subclasses of InvientChartsConfig.AbstractMarker in com.invient.vaadin.charts
-static classInvientChartsConfig.ImageMarker - -
-          This marker can take url of an image which will be used as a marker for a - point or all points of a series.
-static classInvientChartsConfig.SymbolMarker - -
-          This marker has predefined shape which cannot be changed.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AreaConfig.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AreaConfig.html deleted file mode 100644 index 528b7e9..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AreaConfig.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.AreaConfig - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.AreaConfig

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.AreaConfig
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.AreaConfig in com.invient.vaadin.charts
-  -

- - - - - - - - - -
Subclasses of InvientChartsConfig.AreaConfig in com.invient.vaadin.charts
-static classInvientChartsConfig.AreaSplineConfig - -
-          This class contains configuration options for areaspline series
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AreaSplineConfig.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AreaSplineConfig.html deleted file mode 100644 index 8947a1a..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AreaSplineConfig.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.AreaSplineConfig - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.AreaSplineConfig

-
-No usage of com.invient.vaadin.charts.InvientChartsConfig.AreaSplineConfig -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.Axis.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.Axis.html deleted file mode 100644 index fe0cb67..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.Axis.html +++ /dev/null @@ -1,292 +0,0 @@ - - - - - - -Uses of Interface com.invient.vaadin.charts.InvientChartsConfig.Axis - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
com.invient.vaadin.charts.InvientChartsConfig.Axis

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.Axis
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.Axis in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - -
Subinterfaces of InvientChartsConfig.Axis in com.invient.vaadin.charts
-static interfaceInvientChartsConfig.XAxis - -
-           
-static interfaceInvientChartsConfig.YAxis - -
-           
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Classes in com.invient.vaadin.charts that implement InvientChartsConfig.Axis
-static classInvientChartsConfig.AxisBase - -
-          This class defines attributes common to X axis and Y axis.
-static classInvientChartsConfig.CategoryAxis - -
-           
-static classInvientChartsConfig.DateTimeAxis - -
-           
-static classInvientChartsConfig.NumberAxis - -
-           
-static classInvientChartsConfig.NumberXAxis - -
-           
-static classInvientChartsConfig.NumberYAxis - -
-           
-  -

- - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts that return InvientChartsConfig.Axis
- InvientChartsConfig.AxisInvientChartsConfig.AxisBase.getLinkedTo() - -
-           
- InvientChartsConfig.AxisInvientChartsConfig.Axis.getLinkedTo() - -
-           
-  -

- - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientChartsConfig.Axis
- voidInvientChartsConfig.AxisBase.setLinkedTo(InvientChartsConfig.Axis linkedTo) - -
-          Sets another axis which is linked with this axis.
- voidInvientChartsConfig.Axis.setLinkedTo(InvientChartsConfig.Axis linkedTo) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.AxisTitle.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.AxisTitle.html deleted file mode 100644 index 953ed14..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.AxisTitle.html +++ /dev/null @@ -1,212 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.AxisTitle - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.AxisBase.AxisTitle

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.AxisBase.AxisTitle
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.AxisBase.AxisTitle in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts that return InvientChartsConfig.AxisBase.AxisTitle
- InvientChartsConfig.AxisBase.AxisTitleInvientChartsConfig.AxisBase.getTitle() - -
-           
- InvientChartsConfig.AxisBase.AxisTitleInvientChartsConfig.Axis.getTitle() - -
-           
-  -

- - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientChartsConfig.AxisBase.AxisTitle
- voidInvientChartsConfig.AxisBase.setTitle(InvientChartsConfig.AxisBase.AxisTitle title) - -
-          Sets title for the axis
- voidInvientChartsConfig.Axis.setTitle(InvientChartsConfig.AxisBase.AxisTitle title) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.AxisTitleAlign.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.AxisTitleAlign.html deleted file mode 100644 index fb77db0..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.AxisTitleAlign.html +++ /dev/null @@ -1,213 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.AxisTitleAlign - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.AxisBase.AxisTitleAlign

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.AxisBase.AxisTitleAlign
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.AxisBase.AxisTitleAlign in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts that return InvientChartsConfig.AxisBase.AxisTitleAlign
- InvientChartsConfig.AxisBase.AxisTitleAlignInvientChartsConfig.AxisBase.AxisTitle.getAlign() - -
-           
-static InvientChartsConfig.AxisBase.AxisTitleAlignInvientChartsConfig.AxisBase.AxisTitleAlign.valueOf(java.lang.String name) - -
-          Returns the enum constant of this type with the specified name.
-static InvientChartsConfig.AxisBase.AxisTitleAlign[]InvientChartsConfig.AxisBase.AxisTitleAlign.values() - -
-          Returns an array containing the constants of this enum type, in -the order they are declared.
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientChartsConfig.AxisBase.AxisTitleAlign
- voidInvientChartsConfig.AxisBase.AxisTitle.setAlign(InvientChartsConfig.AxisBase.AxisTitleAlign align) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.AxisType.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.AxisType.html deleted file mode 100644 index 38ae3d7..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.AxisType.html +++ /dev/null @@ -1,205 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.AxisType - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.AxisBase.AxisType

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.AxisBase.AxisType
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.AxisBase.AxisType in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts that return InvientChartsConfig.AxisBase.AxisType
- InvientChartsConfig.AxisBase.AxisTypeInvientChartsConfig.AxisBase.getType() - -
-           
- InvientChartsConfig.AxisBase.AxisTypeInvientChartsConfig.Axis.getType() - -
-           
-static InvientChartsConfig.AxisBase.AxisTypeInvientChartsConfig.AxisBase.AxisType.valueOf(java.lang.String name) - -
-          Returns the enum constant of this type with the specified name.
-static InvientChartsConfig.AxisBase.AxisType[]InvientChartsConfig.AxisBase.AxisType.values() - -
-          Returns an array containing the constants of this enum type, in -the order they are declared.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.DateTimePlotBand.DateTimeRange.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.DateTimePlotBand.DateTimeRange.html deleted file mode 100644 index 80788f1..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.DateTimePlotBand.DateTimeRange.html +++ /dev/null @@ -1,196 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.DateTimePlotBand.DateTimeRange - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.AxisBase.DateTimePlotBand.DateTimeRange

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.AxisBase.DateTimePlotBand.DateTimeRange
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.AxisBase.DateTimePlotBand.DateTimeRange in com.invient.vaadin.charts
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts that return InvientChartsConfig.AxisBase.DateTimePlotBand.DateTimeRange
- InvientChartsConfig.AxisBase.DateTimePlotBand.DateTimeRangeInvientChartsConfig.AxisBase.DateTimePlotBand.getRange() - -
-           
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientChartsConfig.AxisBase.DateTimePlotBand.DateTimeRange
- voidInvientChartsConfig.AxisBase.DateTimePlotBand.setRange(InvientChartsConfig.AxisBase.DateTimePlotBand.DateTimeRange range) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.DateTimePlotBand.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.DateTimePlotBand.html deleted file mode 100644 index 4e359a9..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.DateTimePlotBand.html +++ /dev/null @@ -1,220 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.DateTimePlotBand - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.AxisBase.DateTimePlotBand

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.AxisBase.DateTimePlotBand
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.AxisBase.DateTimePlotBand in com.invient.vaadin.charts
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts that return types with arguments of type InvientChartsConfig.AxisBase.DateTimePlotBand
- java.util.LinkedHashSet<InvientChartsConfig.AxisBase.DateTimePlotBand>InvientChartsConfig.DateTimeAxis.getPlotBands() - -
-           
-  -

- - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientChartsConfig.AxisBase.DateTimePlotBand
- voidInvientChartsConfig.DateTimeAxis.addPlotBand(InvientChartsConfig.AxisBase.DateTimePlotBand plotBand) - -
-           
- voidInvientChartsConfig.DateTimeAxis.removePlotBand(InvientChartsConfig.AxisBase.DateTimePlotBand plotBand) - -
-           
-  -

- - - - - - - - - -
Method parameters in com.invient.vaadin.charts with type arguments of type InvientChartsConfig.AxisBase.DateTimePlotBand
- voidInvientChartsConfig.DateTimeAxis.setPlotBands(java.util.LinkedHashSet<InvientChartsConfig.AxisBase.DateTimePlotBand> plotBands) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.DateTimePlotLine.DateTimeValue.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.DateTimePlotLine.DateTimeValue.html deleted file mode 100644 index 9e0e625..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.DateTimePlotLine.DateTimeValue.html +++ /dev/null @@ -1,196 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.DateTimePlotLine.DateTimeValue - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.AxisBase.DateTimePlotLine.DateTimeValue

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.AxisBase.DateTimePlotLine.DateTimeValue
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.AxisBase.DateTimePlotLine.DateTimeValue in com.invient.vaadin.charts
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts that return InvientChartsConfig.AxisBase.DateTimePlotLine.DateTimeValue
- InvientChartsConfig.AxisBase.DateTimePlotLine.DateTimeValueInvientChartsConfig.AxisBase.DateTimePlotLine.getValue() - -
-           
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientChartsConfig.AxisBase.DateTimePlotLine.DateTimeValue
- voidInvientChartsConfig.AxisBase.DateTimePlotLine.setValue(InvientChartsConfig.AxisBase.DateTimePlotLine.DateTimeValue value) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.DateTimePlotLine.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.DateTimePlotLine.html deleted file mode 100644 index ec432a7..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.DateTimePlotLine.html +++ /dev/null @@ -1,220 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.DateTimePlotLine - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.AxisBase.DateTimePlotLine

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.AxisBase.DateTimePlotLine
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.AxisBase.DateTimePlotLine in com.invient.vaadin.charts
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts that return types with arguments of type InvientChartsConfig.AxisBase.DateTimePlotLine
- java.util.LinkedHashSet<InvientChartsConfig.AxisBase.DateTimePlotLine>InvientChartsConfig.DateTimeAxis.getPlotLines() - -
-           
-  -

- - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientChartsConfig.AxisBase.DateTimePlotLine
- voidInvientChartsConfig.DateTimeAxis.addPlotLine(InvientChartsConfig.AxisBase.DateTimePlotLine plotLine) - -
-           
- voidInvientChartsConfig.DateTimeAxis.removePlotLine(InvientChartsConfig.AxisBase.DateTimePlotLine plotLine) - -
-           
-  -

- - - - - - - - - -
Method parameters in com.invient.vaadin.charts with type arguments of type InvientChartsConfig.AxisBase.DateTimePlotLine
- voidInvientChartsConfig.DateTimeAxis.setPlotLines(java.util.LinkedHashSet<InvientChartsConfig.AxisBase.DateTimePlotLine> plotLines) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.Grid.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.Grid.html deleted file mode 100644 index 07fef8f..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.Grid.html +++ /dev/null @@ -1,212 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.Grid - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.AxisBase.Grid

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.AxisBase.Grid
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.AxisBase.Grid in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts that return InvientChartsConfig.AxisBase.Grid
- InvientChartsConfig.AxisBase.GridInvientChartsConfig.AxisBase.getGrid() - -
-           
- InvientChartsConfig.AxisBase.GridInvientChartsConfig.Axis.getGrid() - -
-           
-  -

- - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientChartsConfig.AxisBase.Grid
- voidInvientChartsConfig.AxisBase.setGrid(InvientChartsConfig.AxisBase.Grid grid) - -
-          Sets grid for this axis
- voidInvientChartsConfig.Axis.setGrid(InvientChartsConfig.AxisBase.Grid grid) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.MinorGrid.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.MinorGrid.html deleted file mode 100644 index 70210f7..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.MinorGrid.html +++ /dev/null @@ -1,228 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.MinorGrid - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.AxisBase.MinorGrid

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.AxisBase.MinorGrid
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.AxisBase.MinorGrid in com.invient.vaadin.charts
-  -

- - - - - - - - - -
Subclasses of InvientChartsConfig.AxisBase.MinorGrid in com.invient.vaadin.charts
-static classInvientChartsConfig.AxisBase.Grid - -
-          Defines attributes of grid lines of the chart.
-  -

- - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts that return InvientChartsConfig.AxisBase.MinorGrid
- InvientChartsConfig.AxisBase.MinorGridInvientChartsConfig.AxisBase.getMinorGrid() - -
-           
- InvientChartsConfig.AxisBase.MinorGridInvientChartsConfig.Axis.getMinorGrid() - -
-           
-  -

- - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientChartsConfig.AxisBase.MinorGrid
- voidInvientChartsConfig.AxisBase.setMinorGrid(InvientChartsConfig.AxisBase.MinorGrid minorGrid) - -
-           
- voidInvientChartsConfig.Axis.setMinorGrid(InvientChartsConfig.AxisBase.MinorGrid minorGrid) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.MinorTick.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.MinorTick.html deleted file mode 100644 index a38600f..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.MinorTick.html +++ /dev/null @@ -1,228 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.MinorTick - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.AxisBase.MinorTick

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.AxisBase.MinorTick
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.AxisBase.MinorTick in com.invient.vaadin.charts
-  -

- - - - - - - - - -
Subclasses of InvientChartsConfig.AxisBase.MinorTick in com.invient.vaadin.charts
-static classInvientChartsConfig.AxisBase.Tick - -
-          Defines attributes of a tick marks.
-  -

- - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts that return InvientChartsConfig.AxisBase.MinorTick
- InvientChartsConfig.AxisBase.MinorTickInvientChartsConfig.AxisBase.getMinorTick() - -
-           
- InvientChartsConfig.AxisBase.MinorTickInvientChartsConfig.Axis.getMinorTick() - -
-           
-  -

- - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientChartsConfig.AxisBase.MinorTick
- voidInvientChartsConfig.AxisBase.setMinorTick(InvientChartsConfig.AxisBase.MinorTick minorTick) - -
-           
- voidInvientChartsConfig.Axis.setMinorTick(InvientChartsConfig.AxisBase.MinorTick minorTick) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.NumberPlotBand.NumberRange.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.NumberPlotBand.NumberRange.html deleted file mode 100644 index 9cdbd0a..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.NumberPlotBand.NumberRange.html +++ /dev/null @@ -1,196 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.NumberPlotBand.NumberRange - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.AxisBase.NumberPlotBand.NumberRange

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.AxisBase.NumberPlotBand.NumberRange
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.AxisBase.NumberPlotBand.NumberRange in com.invient.vaadin.charts
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts that return InvientChartsConfig.AxisBase.NumberPlotBand.NumberRange
- InvientChartsConfig.AxisBase.NumberPlotBand.NumberRangeInvientChartsConfig.AxisBase.NumberPlotBand.getRange() - -
-           
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientChartsConfig.AxisBase.NumberPlotBand.NumberRange
- voidInvientChartsConfig.AxisBase.NumberPlotBand.setRange(InvientChartsConfig.AxisBase.NumberPlotBand.NumberRange range) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.NumberPlotBand.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.NumberPlotBand.html deleted file mode 100644 index 818e417..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.NumberPlotBand.html +++ /dev/null @@ -1,252 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.NumberPlotBand - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.AxisBase.NumberPlotBand

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.AxisBase.NumberPlotBand
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.AxisBase.NumberPlotBand in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts that return types with arguments of type InvientChartsConfig.AxisBase.NumberPlotBand
- java.util.LinkedHashSet<InvientChartsConfig.AxisBase.NumberPlotBand>InvientChartsConfig.NumberAxis.getPlotBands() - -
-           
- java.util.LinkedHashSet<InvientChartsConfig.AxisBase.NumberPlotBand>InvientChartsConfig.CategoryAxis.getPlotBands() - -
-           
-  -

- - - - - - - - - - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientChartsConfig.AxisBase.NumberPlotBand
- voidInvientChartsConfig.NumberAxis.addPlotBand(InvientChartsConfig.AxisBase.NumberPlotBand plotBand) - -
-           
- voidInvientChartsConfig.CategoryAxis.addPlotBand(InvientChartsConfig.AxisBase.NumberPlotBand plotBand) - -
-           
- voidInvientChartsConfig.NumberAxis.removePlotBand(InvientChartsConfig.AxisBase.NumberPlotBand plotBand) - -
-           
- voidInvientChartsConfig.CategoryAxis.removePlotBand(InvientChartsConfig.AxisBase.NumberPlotBand plotBand) - -
-           
-  -

- - - - - - - - - - - - - -
Method parameters in com.invient.vaadin.charts with type arguments of type InvientChartsConfig.AxisBase.NumberPlotBand
- voidInvientChartsConfig.NumberAxis.setPlotBands(java.util.LinkedHashSet<InvientChartsConfig.AxisBase.NumberPlotBand> plotBands) - -
-           
- voidInvientChartsConfig.CategoryAxis.setPlotBands(java.util.LinkedHashSet<InvientChartsConfig.AxisBase.NumberPlotBand> plotBands) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.NumberPlotLine.NumberValue.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.NumberPlotLine.NumberValue.html deleted file mode 100644 index 64264d8..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.NumberPlotLine.NumberValue.html +++ /dev/null @@ -1,196 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.NumberPlotLine.NumberValue - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.AxisBase.NumberPlotLine.NumberValue

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.AxisBase.NumberPlotLine.NumberValue
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.AxisBase.NumberPlotLine.NumberValue in com.invient.vaadin.charts
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts that return InvientChartsConfig.AxisBase.NumberPlotLine.NumberValue
- InvientChartsConfig.AxisBase.NumberPlotLine.NumberValueInvientChartsConfig.AxisBase.NumberPlotLine.getValue() - -
-           
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientChartsConfig.AxisBase.NumberPlotLine.NumberValue
- voidInvientChartsConfig.AxisBase.NumberPlotLine.setValue(InvientChartsConfig.AxisBase.NumberPlotLine.NumberValue value) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.NumberPlotLine.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.NumberPlotLine.html deleted file mode 100644 index f118777..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.NumberPlotLine.html +++ /dev/null @@ -1,252 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.NumberPlotLine - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.AxisBase.NumberPlotLine

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.AxisBase.NumberPlotLine
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.AxisBase.NumberPlotLine in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts that return types with arguments of type InvientChartsConfig.AxisBase.NumberPlotLine
- java.util.LinkedHashSet<InvientChartsConfig.AxisBase.NumberPlotLine>InvientChartsConfig.NumberAxis.getPlotLines() - -
-           
- java.util.LinkedHashSet<InvientChartsConfig.AxisBase.NumberPlotLine>InvientChartsConfig.CategoryAxis.getPlotLines() - -
-           
-  -

- - - - - - - - - - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientChartsConfig.AxisBase.NumberPlotLine
- voidInvientChartsConfig.NumberAxis.addPlotLine(InvientChartsConfig.AxisBase.NumberPlotLine plotLine) - -
-           
- voidInvientChartsConfig.CategoryAxis.addPlotLine(InvientChartsConfig.AxisBase.NumberPlotLine plotLine) - -
-           
- voidInvientChartsConfig.NumberAxis.removePlotLine(InvientChartsConfig.AxisBase.NumberPlotLine plotLine) - -
-           
- voidInvientChartsConfig.CategoryAxis.removePlotLine(InvientChartsConfig.AxisBase.NumberPlotLine plotLine) - -
-           
-  -

- - - - - - - - - - - - - -
Method parameters in com.invient.vaadin.charts with type arguments of type InvientChartsConfig.AxisBase.NumberPlotLine
- voidInvientChartsConfig.NumberAxis.setPlotLines(java.util.LinkedHashSet<InvientChartsConfig.AxisBase.NumberPlotLine> plotLines) - -
-           
- voidInvientChartsConfig.CategoryAxis.setPlotLines(java.util.LinkedHashSet<InvientChartsConfig.AxisBase.NumberPlotLine> plotLines) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.PlotBand.Range.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.PlotBand.Range.html deleted file mode 100644 index eda1a47..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.PlotBand.Range.html +++ /dev/null @@ -1,188 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotBand.Range - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotBand.Range

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.AxisBase.PlotBand.Range
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.AxisBase.PlotBand.Range in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - -
Subclasses of InvientChartsConfig.AxisBase.PlotBand.Range in com.invient.vaadin.charts
-static classInvientChartsConfig.AxisBase.DateTimePlotBand.DateTimeRange - -
-           
-static classInvientChartsConfig.AxisBase.NumberPlotBand.NumberRange - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.PlotBand.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.PlotBand.html deleted file mode 100644 index c5df152..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.PlotBand.html +++ /dev/null @@ -1,188 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotBand - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotBand

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.AxisBase.PlotBand
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.AxisBase.PlotBand in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - -
Subclasses of InvientChartsConfig.AxisBase.PlotBand in com.invient.vaadin.charts
-static classInvientChartsConfig.AxisBase.DateTimePlotBand - -
-           
-static classInvientChartsConfig.AxisBase.NumberPlotBand - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.PlotLabel.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.PlotLabel.html deleted file mode 100644 index 171a98e..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.PlotLabel.html +++ /dev/null @@ -1,212 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotLabel - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotLabel

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.AxisBase.PlotLabel
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.AxisBase.PlotLabel in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts that return InvientChartsConfig.AxisBase.PlotLabel
- InvientChartsConfig.AxisBase.PlotLabelInvientChartsConfig.AxisBase.PlotBand.getLabel() - -
-           
- InvientChartsConfig.AxisBase.PlotLabelInvientChartsConfig.AxisBase.PlotLine.getLabel() - -
-           
-  -

- - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientChartsConfig.AxisBase.PlotLabel
- voidInvientChartsConfig.AxisBase.PlotBand.setLabel(InvientChartsConfig.AxisBase.PlotLabel label) - -
-           
- voidInvientChartsConfig.AxisBase.PlotLine.setLabel(InvientChartsConfig.AxisBase.PlotLabel label) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.PlotLine.Value.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.PlotLine.Value.html deleted file mode 100644 index f181cb9..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.PlotLine.Value.html +++ /dev/null @@ -1,188 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotLine.Value - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotLine.Value

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.AxisBase.PlotLine.Value
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.AxisBase.PlotLine.Value in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - -
Subclasses of InvientChartsConfig.AxisBase.PlotLine.Value in com.invient.vaadin.charts
-static classInvientChartsConfig.AxisBase.DateTimePlotLine.DateTimeValue - -
-           
-static classInvientChartsConfig.AxisBase.NumberPlotLine.NumberValue - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.PlotLine.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.PlotLine.html deleted file mode 100644 index 83c105a..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.PlotLine.html +++ /dev/null @@ -1,188 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotLine - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotLine

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.AxisBase.PlotLine
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.AxisBase.PlotLine in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - -
Subclasses of InvientChartsConfig.AxisBase.PlotLine in com.invient.vaadin.charts
-static classInvientChartsConfig.AxisBase.DateTimePlotLine - -
-           
-static classInvientChartsConfig.AxisBase.NumberPlotLine - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.Tick.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.Tick.html deleted file mode 100644 index 301f566..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.Tick.html +++ /dev/null @@ -1,212 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.Tick - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.AxisBase.Tick

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.AxisBase.Tick
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.AxisBase.Tick in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts that return InvientChartsConfig.AxisBase.Tick
- InvientChartsConfig.AxisBase.TickInvientChartsConfig.AxisBase.getTick() - -
-           
- InvientChartsConfig.AxisBase.TickInvientChartsConfig.Axis.getTick() - -
-           
-  -

- - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientChartsConfig.AxisBase.Tick
- voidInvientChartsConfig.AxisBase.setTick(InvientChartsConfig.AxisBase.Tick tick) - -
-          Sets tick for the axis
- voidInvientChartsConfig.Axis.setTick(InvientChartsConfig.AxisBase.Tick tick) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.TickPosition.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.TickPosition.html deleted file mode 100644 index 2c4bad5..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.TickPosition.html +++ /dev/null @@ -1,213 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.TickPosition - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.AxisBase.TickPosition

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.AxisBase.TickPosition
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.AxisBase.TickPosition in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts that return InvientChartsConfig.AxisBase.TickPosition
- InvientChartsConfig.AxisBase.TickPositionInvientChartsConfig.AxisBase.MinorTick.getPosition() - -
-           
-static InvientChartsConfig.AxisBase.TickPositionInvientChartsConfig.AxisBase.TickPosition.valueOf(java.lang.String name) - -
-          Returns the enum constant of this type with the specified name.
-static InvientChartsConfig.AxisBase.TickPosition[]InvientChartsConfig.AxisBase.TickPosition.values() - -
-          Returns an array containing the constants of this enum type, in -the order they are declared.
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientChartsConfig.AxisBase.TickPosition
- voidInvientChartsConfig.AxisBase.MinorTick.setPosition(InvientChartsConfig.AxisBase.TickPosition position) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.TickmarkPlacement.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.TickmarkPlacement.html deleted file mode 100644 index de00a41..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.TickmarkPlacement.html +++ /dev/null @@ -1,213 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.TickmarkPlacement - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.AxisBase.TickmarkPlacement

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.AxisBase.TickmarkPlacement
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.AxisBase.TickmarkPlacement in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts that return InvientChartsConfig.AxisBase.TickmarkPlacement
- InvientChartsConfig.AxisBase.TickmarkPlacementInvientChartsConfig.AxisBase.Tick.getPlacement() - -
-           
-static InvientChartsConfig.AxisBase.TickmarkPlacementInvientChartsConfig.AxisBase.TickmarkPlacement.valueOf(java.lang.String name) - -
-          Returns the enum constant of this type with the specified name.
-static InvientChartsConfig.AxisBase.TickmarkPlacement[]InvientChartsConfig.AxisBase.TickmarkPlacement.values() - -
-          Returns an array containing the constants of this enum type, in -the order they are declared.
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientChartsConfig.AxisBase.TickmarkPlacement
- voidInvientChartsConfig.AxisBase.Tick.setPlacement(InvientChartsConfig.AxisBase.TickmarkPlacement placement) - -
-          Sets placement of the tick marks.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.WeekDay.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.WeekDay.html deleted file mode 100644 index 17db8b5..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.WeekDay.html +++ /dev/null @@ -1,229 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.WeekDay - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.AxisBase.WeekDay

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.AxisBase.WeekDay
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.AxisBase.WeekDay in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts that return InvientChartsConfig.AxisBase.WeekDay
- InvientChartsConfig.AxisBase.WeekDayInvientChartsConfig.AxisBase.getStartOfWeek() - -
-           
- InvientChartsConfig.AxisBase.WeekDayInvientChartsConfig.Axis.getStartOfWeek() - -
-           
-static InvientChartsConfig.AxisBase.WeekDayInvientChartsConfig.AxisBase.WeekDay.valueOf(java.lang.String name) - -
-          Returns the enum constant of this type with the specified name.
-static InvientChartsConfig.AxisBase.WeekDay[]InvientChartsConfig.AxisBase.WeekDay.values() - -
-          Returns an array containing the constants of this enum type, in -the order they are declared.
-  -

- - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientChartsConfig.AxisBase.WeekDay
- voidInvientChartsConfig.AxisBase.setStartOfWeek(InvientChartsConfig.AxisBase.WeekDay startOfWeek) - -
-          Sets a day to be considered as start of the week.
- voidInvientChartsConfig.Axis.setStartOfWeek(InvientChartsConfig.AxisBase.WeekDay startOfWeek) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.html deleted file mode 100644 index 980a2fe..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisBase.html +++ /dev/null @@ -1,212 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.AxisBase - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.AxisBase

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.AxisBase
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.AxisBase in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - -
Subclasses of InvientChartsConfig.AxisBase in com.invient.vaadin.charts
-static classInvientChartsConfig.CategoryAxis - -
-           
-static classInvientChartsConfig.DateTimeAxis - -
-           
-static classInvientChartsConfig.NumberAxis - -
-           
-static classInvientChartsConfig.NumberXAxis - -
-           
-static classInvientChartsConfig.NumberYAxis - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisDataLabel.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisDataLabel.html deleted file mode 100644 index 2a585d6..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.AxisDataLabel.html +++ /dev/null @@ -1,190 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.AxisDataLabel - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.AxisDataLabel

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.AxisDataLabel
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.AxisDataLabel in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - -
Subclasses of InvientChartsConfig.AxisDataLabel in com.invient.vaadin.charts
-static classInvientChartsConfig.XAxisDataLabel - -
-          This class contains configuration properties specifically for x-axis - labels.
-static classInvientChartsConfig.YAxisDataLabel - -
-          This class contains configuration properties specifically for x-axis - labels.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.BarConfig.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.BarConfig.html deleted file mode 100644 index 00d0026..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.BarConfig.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.BarConfig - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.BarConfig

-
-No usage of com.invient.vaadin.charts.InvientChartsConfig.BarConfig -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.BaseBarConfig.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.BaseBarConfig.html deleted file mode 100644 index 6ca85ee..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.BaseBarConfig.html +++ /dev/null @@ -1,188 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.BaseBarConfig - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.BaseBarConfig

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.BaseBarConfig
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.BaseBarConfig in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - -
Subclasses of InvientChartsConfig.BaseBarConfig in com.invient.vaadin.charts
-static classInvientChartsConfig.BarConfig - -
-          This class contains configuration options for bar series.
-static classInvientChartsConfig.ColumnConfig - -
-          This class contains configuration options for column series.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.BaseLineConfig.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.BaseLineConfig.html deleted file mode 100644 index 34ce23f..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.BaseLineConfig.html +++ /dev/null @@ -1,213 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.BaseLineConfig - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.BaseLineConfig

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.BaseLineConfig
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.BaseLineConfig in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - -
Subclasses of InvientChartsConfig.BaseLineConfig in com.invient.vaadin.charts
-static classInvientChartsConfig.AreaConfig - -
-          This class contains configuration options for area series, area and - areaspline.
-static classInvientChartsConfig.AreaSplineConfig - -
-          This class contains configuration options for areaspline series
-static classInvientChartsConfig.LineConfig - -
-          This class contains configuration options for line series
-static classInvientChartsConfig.ScatterConfig - -
-          This class contains configuration options for scatter series
-static classInvientChartsConfig.SplineConfig - -
-          This class contains configuration options for spline series
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.CategoryAxis.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.CategoryAxis.html deleted file mode 100644 index 79cab68..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.CategoryAxis.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.CategoryAxis - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.CategoryAxis

-
-No usage of com.invient.vaadin.charts.InvientChartsConfig.CategoryAxis -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.ChartLabel.ChartLabelItem.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.ChartLabel.ChartLabelItem.html deleted file mode 100644 index e39fa0e..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.ChartLabel.ChartLabelItem.html +++ /dev/null @@ -1,221 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.ChartLabel.ChartLabelItem - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.ChartLabel.ChartLabelItem

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.ChartLabel.ChartLabelItem
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.ChartLabel.ChartLabelItem in com.invient.vaadin.charts
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts that return types with arguments of type InvientChartsConfig.ChartLabel.ChartLabelItem
- java.util.List<InvientChartsConfig.ChartLabel.ChartLabelItem>InvientChartsConfig.ChartLabel.getLabels() - -
-           
-  -

- - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientChartsConfig.ChartLabel.ChartLabelItem
- voidInvientChartsConfig.ChartLabel.addLabel(InvientChartsConfig.ChartLabel.ChartLabelItem label) - -
-          Appends the specified element at the end of InvientChartsConfig.ChartLabel.ChartLabelItem - list
- voidInvientChartsConfig.ChartLabel.removeLabel(InvientChartsConfig.ChartLabel.ChartLabelItem label) - -
-          Removes the specified element from the list of InvientChartsConfig.ChartLabel.ChartLabelItem
-  -

- - - - - - - - - -
Method parameters in com.invient.vaadin.charts with type arguments of type InvientChartsConfig.ChartLabel.ChartLabelItem
- voidInvientChartsConfig.ChartLabel.setLabels(java.util.List<InvientChartsConfig.ChartLabel.ChartLabelItem> labels) - -
-          Sets a list of InvientChartsConfig.ChartLabel.ChartLabelItem objects
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.ChartLabel.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.ChartLabel.html deleted file mode 100644 index fbe1df5..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.ChartLabel.html +++ /dev/null @@ -1,196 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.ChartLabel - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.ChartLabel

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.ChartLabel
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.ChartLabel in com.invient.vaadin.charts
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts that return InvientChartsConfig.ChartLabel
- InvientChartsConfig.ChartLabelInvientChartsConfig.getChartLabel() - -
-           
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientChartsConfig.ChartLabel
- voidInvientChartsConfig.setChartLabel(InvientChartsConfig.ChartLabel chartLabel) - -
-          Sets the argument InvientChartsConfig.ChartLabel object only if it is non-null
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.ColumnConfig.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.ColumnConfig.html deleted file mode 100644 index 3c7a806..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.ColumnConfig.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.ColumnConfig - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.ColumnConfig

-
-No usage of com.invient.vaadin.charts.InvientChartsConfig.ColumnConfig -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.Credit.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.Credit.html deleted file mode 100644 index e424503..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.Credit.html +++ /dev/null @@ -1,196 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.Credit - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.Credit

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.Credit
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.Credit in com.invient.vaadin.charts
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts that return InvientChartsConfig.Credit
- InvientChartsConfig.CreditInvientChartsConfig.getCredit() - -
-           
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientChartsConfig.Credit
- voidInvientChartsConfig.setCredit(InvientChartsConfig.Credit credit) - -
-          Sets the InvientChartsConfig.Credit object only if the argument credit is non-null
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.DashStyle.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.DashStyle.html deleted file mode 100644 index 842a253..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.DashStyle.html +++ /dev/null @@ -1,245 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.DashStyle - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.DashStyle

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.DashStyle
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.DashStyle in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts that return InvientChartsConfig.DashStyle
- InvientChartsConfig.DashStyleInvientChartsConfig.BaseLineConfig.getDashStyle() - -
-           
- InvientChartsConfig.DashStyleInvientChartsConfig.AxisBase.PlotLine.getDashStyle() - -
-           
- InvientChartsConfig.DashStyleInvientChartsConfig.AxisBase.MinorGrid.getLineDashStyle() - -
-           
-static InvientChartsConfig.DashStyleInvientChartsConfig.DashStyle.valueOf(java.lang.String name) - -
-          Returns the enum constant of this type with the specified name.
-static InvientChartsConfig.DashStyle[]InvientChartsConfig.DashStyle.values() - -
-          Returns an array containing the constants of this enum type, in -the order they are declared.
-  -

- - - - - - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientChartsConfig.DashStyle
- voidInvientChartsConfig.BaseLineConfig.setDashStyle(InvientChartsConfig.DashStyle dashStyle) - -
-          Sets dash style to use when drawing a series.
- voidInvientChartsConfig.AxisBase.PlotLine.setDashStyle(InvientChartsConfig.DashStyle dashStyle) - -
-           
- voidInvientChartsConfig.AxisBase.MinorGrid.setLineDashStyle(InvientChartsConfig.DashStyle lineDashStyle) - -
-          Sets dash or dot style of the minor grid lines.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.DataLabel.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.DataLabel.html deleted file mode 100644 index 0cb8095..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.DataLabel.html +++ /dev/null @@ -1,240 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.DataLabel - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.DataLabel

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.DataLabel
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.DataLabel in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - - - - - - - - - -
Subclasses of InvientChartsConfig.DataLabel in com.invient.vaadin.charts
-static classInvientChartsConfig.AxisDataLabel - -
-          This class contains configuration properties for axis labels.
-static classInvientChartsConfig.PieDataLabel - -
-          This class contains configuration attributes of data labels specific to - Pie series.
-static classInvientChartsConfig.XAxisDataLabel - -
-          This class contains configuration properties specifically for x-axis - labels.
-static classInvientChartsConfig.YAxisDataLabel - -
-          This class contains configuration properties specifically for x-axis - labels.
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts that return InvientChartsConfig.DataLabel
- InvientChartsConfig.DataLabelInvientChartsConfig.SeriesConfig.getDataLabel() - -
-           
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientChartsConfig.DataLabel
- voidInvientChartsConfig.SeriesConfig.setDataLabel(InvientChartsConfig.DataLabel dataLabel) - -
-          Sets how point value should be formatted and displayed for each - point.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.DateTimeAxis.DateTimeLabelFormat.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.DateTimeAxis.DateTimeLabelFormat.html deleted file mode 100644 index 4eca386..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.DateTimeAxis.DateTimeLabelFormat.html +++ /dev/null @@ -1,196 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.DateTimeAxis.DateTimeLabelFormat - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.DateTimeAxis.DateTimeLabelFormat

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.DateTimeAxis.DateTimeLabelFormat
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.DateTimeAxis.DateTimeLabelFormat in com.invient.vaadin.charts
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts that return InvientChartsConfig.DateTimeAxis.DateTimeLabelFormat
- InvientChartsConfig.DateTimeAxis.DateTimeLabelFormatInvientChartsConfig.DateTimeAxis.getDateTimeLabelFormat() - -
-           
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientChartsConfig.DateTimeAxis.DateTimeLabelFormat
- voidInvientChartsConfig.DateTimeAxis.setDateTimeLabelFormat(InvientChartsConfig.DateTimeAxis.DateTimeLabelFormat dateTimeLabelFormat) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.DateTimeAxis.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.DateTimeAxis.html deleted file mode 100644 index 5cb9ee1..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.DateTimeAxis.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.DateTimeAxis - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.DateTimeAxis

-
-No usage of com.invient.vaadin.charts.InvientChartsConfig.DateTimeAxis -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.GeneralChartConfig.Margin.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.GeneralChartConfig.Margin.html deleted file mode 100644 index 84b668c..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.GeneralChartConfig.Margin.html +++ /dev/null @@ -1,196 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig.Margin - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig.Margin

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.GeneralChartConfig.Margin
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.GeneralChartConfig.Margin in com.invient.vaadin.charts
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts that return InvientChartsConfig.GeneralChartConfig.Margin
- InvientChartsConfig.GeneralChartConfig.MarginInvientChartsConfig.GeneralChartConfig.getMargin() - -
-           
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientChartsConfig.GeneralChartConfig.Margin
- voidInvientChartsConfig.GeneralChartConfig.setMargin(InvientChartsConfig.GeneralChartConfig.Margin margin) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.GeneralChartConfig.Plot.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.GeneralChartConfig.Plot.html deleted file mode 100644 index d08c790..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.GeneralChartConfig.Plot.html +++ /dev/null @@ -1,196 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig.Plot - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig.Plot

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.GeneralChartConfig.Plot
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.GeneralChartConfig.Plot in com.invient.vaadin.charts
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts that return InvientChartsConfig.GeneralChartConfig.Plot
- InvientChartsConfig.GeneralChartConfig.PlotInvientChartsConfig.GeneralChartConfig.getPlot() - -
-           
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientChartsConfig.GeneralChartConfig.Plot
- voidInvientChartsConfig.GeneralChartConfig.setPlot(InvientChartsConfig.GeneralChartConfig.Plot plot) - -
-          Sets plot object
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.GeneralChartConfig.Spacing.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.GeneralChartConfig.Spacing.html deleted file mode 100644 index 49e4a4b..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.GeneralChartConfig.Spacing.html +++ /dev/null @@ -1,196 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig.Spacing - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig.Spacing

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.GeneralChartConfig.Spacing
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.GeneralChartConfig.Spacing in com.invient.vaadin.charts
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts that return InvientChartsConfig.GeneralChartConfig.Spacing
- InvientChartsConfig.GeneralChartConfig.SpacingInvientChartsConfig.GeneralChartConfig.getSpacing() - -
-           
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientChartsConfig.GeneralChartConfig.Spacing
- voidInvientChartsConfig.GeneralChartConfig.setSpacing(InvientChartsConfig.GeneralChartConfig.Spacing spacing) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.GeneralChartConfig.ZoomType.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.GeneralChartConfig.ZoomType.html deleted file mode 100644 index a001e31..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.GeneralChartConfig.ZoomType.html +++ /dev/null @@ -1,213 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig.ZoomType - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig.ZoomType

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.GeneralChartConfig.ZoomType
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.GeneralChartConfig.ZoomType in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts that return InvientChartsConfig.GeneralChartConfig.ZoomType
- InvientChartsConfig.GeneralChartConfig.ZoomTypeInvientChartsConfig.GeneralChartConfig.getZoomType() - -
-           
-static InvientChartsConfig.GeneralChartConfig.ZoomTypeInvientChartsConfig.GeneralChartConfig.ZoomType.valueOf(java.lang.String name) - -
-          Returns the enum constant of this type with the specified name.
-static InvientChartsConfig.GeneralChartConfig.ZoomType[]InvientChartsConfig.GeneralChartConfig.ZoomType.values() - -
-          Returns an array containing the constants of this enum type, in -the order they are declared.
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientChartsConfig.GeneralChartConfig.ZoomType
- voidInvientChartsConfig.GeneralChartConfig.setZoomType(InvientChartsConfig.GeneralChartConfig.ZoomType zoomType) - -
-          Sets zoom type.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.GeneralChartConfig.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.GeneralChartConfig.html deleted file mode 100644 index 24c9408..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.GeneralChartConfig.html +++ /dev/null @@ -1,196 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.GeneralChartConfig
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.GeneralChartConfig in com.invient.vaadin.charts
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts that return InvientChartsConfig.GeneralChartConfig
- InvientChartsConfig.GeneralChartConfigInvientChartsConfig.getGeneralChartConfig() - -
-           
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientChartsConfig.GeneralChartConfig
- voidInvientChartsConfig.setGeneralChartConfig(InvientChartsConfig.GeneralChartConfig generalChartConfig) - -
-          Sets InvientChartsConfig.GeneralChartConfig object only if the argument is non-null
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.HorzAlign.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.HorzAlign.html deleted file mode 100644 index 85bb6ff..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.HorzAlign.html +++ /dev/null @@ -1,277 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.HorzAlign - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.HorzAlign

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.HorzAlign
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.HorzAlign in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts that return InvientChartsConfig.HorzAlign
- InvientChartsConfig.HorzAlignInvientChartsConfig.DataLabel.getAlign() - -
-           
- InvientChartsConfig.HorzAlignInvientChartsConfig.TitleBase.getAlign() - -
-           
- InvientChartsConfig.HorzAlignInvientChartsConfig.AxisBase.PlotLabel.getAlign() - -
-           
- InvientChartsConfig.HorzAlignInvientChartsConfig.Position.getAlign() - -
-           
- InvientChartsConfig.HorzAlignInvientChartsConfig.AxisBase.PlotLabel.getTextAlign() - -
-           
-static InvientChartsConfig.HorzAlignInvientChartsConfig.HorzAlign.valueOf(java.lang.String name) - -
-          Returns the enum constant of this type with the specified name.
-static InvientChartsConfig.HorzAlign[]InvientChartsConfig.HorzAlign.values() - -
-          Returns an array containing the constants of this enum type, in -the order they are declared.
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientChartsConfig.HorzAlign
- voidInvientChartsConfig.DataLabel.setAlign(InvientChartsConfig.HorzAlign align) - -
-           
- voidInvientChartsConfig.TitleBase.setAlign(InvientChartsConfig.HorzAlign align) - -
-          Sets horizontal alignment of the title.
- voidInvientChartsConfig.AxisBase.PlotLabel.setAlign(InvientChartsConfig.HorzAlign align) - -
-           
- voidInvientChartsConfig.Position.setAlign(InvientChartsConfig.HorzAlign align) - -
-           
- voidInvientChartsConfig.AxisBase.PlotLabel.setTextAlign(InvientChartsConfig.HorzAlign textAlign) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.ImageMarker.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.ImageMarker.html deleted file mode 100644 index 11b9404..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.ImageMarker.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.ImageMarker - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.ImageMarker

-
-No usage of com.invient.vaadin.charts.InvientChartsConfig.ImageMarker -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.Legend.Layout.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.Legend.Layout.html deleted file mode 100644 index 1ed25bc..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.Legend.Layout.html +++ /dev/null @@ -1,213 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.Legend.Layout - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.Legend.Layout

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.Legend.Layout
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.Legend.Layout in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts that return InvientChartsConfig.Legend.Layout
- InvientChartsConfig.Legend.LayoutInvientChartsConfig.Legend.getLayout() - -
-           
-static InvientChartsConfig.Legend.LayoutInvientChartsConfig.Legend.Layout.valueOf(java.lang.String name) - -
-          Returns the enum constant of this type with the specified name.
-static InvientChartsConfig.Legend.Layout[]InvientChartsConfig.Legend.Layout.values() - -
-          Returns an array containing the constants of this enum type, in -the order they are declared.
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientChartsConfig.Legend.Layout
- voidInvientChartsConfig.Legend.setLayout(InvientChartsConfig.Legend.Layout layout) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.Legend.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.Legend.html deleted file mode 100644 index 238e478..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.Legend.html +++ /dev/null @@ -1,196 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.Legend - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.Legend

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.Legend
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.Legend in com.invient.vaadin.charts
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts that return InvientChartsConfig.Legend
- InvientChartsConfig.LegendInvientChartsConfig.getLegend() - -
-           
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientChartsConfig.Legend
- voidInvientChartsConfig.setLegend(InvientChartsConfig.Legend legend) - -
-          Sets InvientChartsConfig.Legend object only if the argument legend is non-null
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.LineConfig.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.LineConfig.html deleted file mode 100644 index f7f0e07..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.LineConfig.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.LineConfig - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.LineConfig

-
-No usage of com.invient.vaadin.charts.InvientChartsConfig.LineConfig -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.Marker.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.Marker.html deleted file mode 100644 index bc550ab..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.Marker.html +++ /dev/null @@ -1,268 +0,0 @@ - - - - - - -Uses of Interface com.invient.vaadin.charts.InvientChartsConfig.Marker - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
com.invient.vaadin.charts.InvientChartsConfig.Marker

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.Marker
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.Marker in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - - - - - -
Classes in com.invient.vaadin.charts that implement InvientChartsConfig.Marker
-static classInvientChartsConfig.AbstractMarker - -
-          Defines attributes for a marker.
-static classInvientChartsConfig.ImageMarker - -
-          This marker can take url of an image which will be used as a marker for a - point or all points of a series.
-static classInvientChartsConfig.SymbolMarker - -
-          This marker has predefined shape which cannot be changed.
-  -

- - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts that return InvientChartsConfig.Marker
- InvientChartsConfig.MarkerInvientChartsConfig.BaseLineConfig.getMarker() - -
-           
- InvientChartsConfig.MarkerInvientChartsConfig.PointConfig.getMarker() - -
-           
-  -

- - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientChartsConfig.Marker
- voidInvientChartsConfig.BaseLineConfig.setMarker(InvientChartsConfig.Marker marker) - -
-          Sets marker for points of a series
- voidInvientChartsConfig.PointConfig.setMarker(InvientChartsConfig.Marker marker) - -
-           
-  -

- - - - - - - - - - - -
Constructors in com.invient.vaadin.charts with parameters of type InvientChartsConfig.Marker
InvientChartsConfig.PointConfig(java.lang.Boolean sliced, - java.lang.Boolean selected, - Paint color, - InvientChartsConfig.Marker marker) - -
-           
InvientChartsConfig.PointConfig(InvientChartsConfig.Marker marker) - -
-          Creates an instance of this class with specified marker
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.MarkerState.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.MarkerState.html deleted file mode 100644 index 4ce4916..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.MarkerState.html +++ /dev/null @@ -1,212 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.MarkerState - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.MarkerState

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.MarkerState
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.MarkerState in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts that return InvientChartsConfig.MarkerState
- InvientChartsConfig.MarkerStateInvientChartsConfig.SymbolMarker.getHoverState() - -
-           
- InvientChartsConfig.MarkerStateInvientChartsConfig.SymbolMarker.getSelectState() - -
-           
-  -

- - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientChartsConfig.MarkerState
- voidInvientChartsConfig.SymbolMarker.setHoverState(InvientChartsConfig.MarkerState hoverState) - -
-          Sets marker to be applied to a point when it is hovered.
- voidInvientChartsConfig.SymbolMarker.setSelectState(InvientChartsConfig.MarkerState selectState) - -
-          Sets marker to be applied to a point when it is selected.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.NonLinearSeriesState.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.NonLinearSeriesState.html deleted file mode 100644 index 096945c..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.NonLinearSeriesState.html +++ /dev/null @@ -1,214 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.NonLinearSeriesState - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.NonLinearSeriesState

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.NonLinearSeriesState
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.NonLinearSeriesState in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts that return InvientChartsConfig.NonLinearSeriesState
- InvientChartsConfig.NonLinearSeriesStateInvientChartsConfig.PieConfig.getHoverState() - -
-           
- InvientChartsConfig.NonLinearSeriesStateInvientChartsConfig.BaseBarConfig.getHoverState() - -
-           
-  -

- - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientChartsConfig.NonLinearSeriesState
- voidInvientChartsConfig.PieConfig.setHoverState(InvientChartsConfig.NonLinearSeriesState state) - -
-          Sets state which should be applied to a slice when a mouse is over - the slice
- voidInvientChartsConfig.BaseBarConfig.setHoverState(InvientChartsConfig.NonLinearSeriesState state) - -
-          Sets state which should be applied to a bar or column when a mouse is - over the bar or column
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.NumberAxis.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.NumberAxis.html deleted file mode 100644 index ed0c9bb..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.NumberAxis.html +++ /dev/null @@ -1,188 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.NumberAxis - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.NumberAxis

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.NumberAxis
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.NumberAxis in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - -
Subclasses of InvientChartsConfig.NumberAxis in com.invient.vaadin.charts
-static classInvientChartsConfig.NumberXAxis - -
-           
-static classInvientChartsConfig.NumberYAxis - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.NumberXAxis.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.NumberXAxis.html deleted file mode 100644 index d76449e..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.NumberXAxis.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.NumberXAxis - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.NumberXAxis

-
-No usage of com.invient.vaadin.charts.InvientChartsConfig.NumberXAxis -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.NumberYAxis.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.NumberYAxis.html deleted file mode 100644 index 1fdeca3..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.NumberYAxis.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.NumberYAxis - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.NumberYAxis

-
-No usage of com.invient.vaadin.charts.InvientChartsConfig.NumberYAxis -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.PieConfig.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.PieConfig.html deleted file mode 100644 index a4b83b1..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.PieConfig.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.PieConfig - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.PieConfig

-
-No usage of com.invient.vaadin.charts.InvientChartsConfig.PieConfig -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.PieDataLabel.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.PieDataLabel.html deleted file mode 100644 index 7ab7707..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.PieDataLabel.html +++ /dev/null @@ -1,197 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.PieDataLabel - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.PieDataLabel

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.PieDataLabel
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.PieDataLabel in com.invient.vaadin.charts
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts that return InvientChartsConfig.PieDataLabel
- InvientChartsConfig.PieDataLabelInvientChartsConfig.PieConfig.getDataLabel() - -
-           
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientChartsConfig.PieDataLabel
- voidInvientChartsConfig.PieConfig.setDataLabel(InvientChartsConfig.PieDataLabel dataLabel) - -
-          Sets an object of InvientChartsConfig.PieDataLabel which contains configuration - for formatting data labels.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.PointConfig.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.PointConfig.html deleted file mode 100644 index 35d3f78..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.PointConfig.html +++ /dev/null @@ -1,263 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.PointConfig - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.PointConfig

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.PointConfig
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.PointConfig in com.invient.vaadin.charts
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts that return InvientChartsConfig.PointConfig
- InvientChartsConfig.PointConfigInvientCharts.Point.getConfig() - -
-           
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientChartsConfig.PointConfig
- voidInvientCharts.Point.setConfig(InvientChartsConfig.PointConfig config) - -
-          Sets InvientChartsConfig.PointConfig for this point
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - -
Constructors in com.invient.vaadin.charts with parameters of type InvientChartsConfig.PointConfig
InvientCharts.DateTimePoint(InvientCharts.Series series, - java.lang.String name, - double y, - InvientChartsConfig.PointConfig config) - -
-           
InvientCharts.DecimalPoint(InvientCharts.Series series, - double x, - double y, - InvientChartsConfig.PointConfig config) - -
-           
InvientCharts.DecimalPoint(InvientCharts.Series series, - java.lang.Double x, - java.lang.Double y, - InvientChartsConfig.PointConfig config) - -
-           
InvientCharts.DecimalPoint(InvientCharts.Series series, - double y, - InvientChartsConfig.PointConfig config) - -
-           
InvientCharts.DecimalPoint(InvientCharts.Series series, - java.lang.String name, - double y, - InvientChartsConfig.PointConfig config) - -
-           
InvientCharts.Point(InvientCharts.Series series, - InvientChartsConfig.PointConfig config) - -
-          Creates a point with given arguments.
InvientCharts.Point(InvientCharts.Series series, - java.lang.String name, - InvientChartsConfig.PointConfig config) - -
-          Creates a point with given arguments.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.Position.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.Position.html deleted file mode 100644 index 66a0452..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.Position.html +++ /dev/null @@ -1,212 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.Position - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.Position

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.Position
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.Position in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts that return InvientChartsConfig.Position
- InvientChartsConfig.PositionInvientChartsConfig.Legend.getPosition() - -
-           
- InvientChartsConfig.PositionInvientChartsConfig.Credit.getPosition() - -
-           
-  -

- - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientChartsConfig.Position
- voidInvientChartsConfig.Legend.setPosition(InvientChartsConfig.Position position) - -
-           
- voidInvientChartsConfig.Credit.setPosition(InvientChartsConfig.Position position) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.ScatterConfig.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.ScatterConfig.html deleted file mode 100644 index 3da27fe..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.ScatterConfig.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.ScatterConfig - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.ScatterConfig

-
-No usage of com.invient.vaadin.charts.InvientChartsConfig.ScatterConfig -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.SeriesConfig.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.SeriesConfig.html deleted file mode 100644 index d5ccf85..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.SeriesConfig.html +++ /dev/null @@ -1,374 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.SeriesConfig - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.SeriesConfig

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.SeriesConfig
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.SeriesConfig in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Subclasses of InvientChartsConfig.SeriesConfig in com.invient.vaadin.charts
-static classInvientChartsConfig.AreaConfig - -
-          This class contains configuration options for area series, area and - areaspline.
-static classInvientChartsConfig.AreaSplineConfig - -
-          This class contains configuration options for areaspline series
-static classInvientChartsConfig.BarConfig - -
-          This class contains configuration options for bar series.
-static classInvientChartsConfig.BaseBarConfig - -
-          This class contains configuration options for bar and column series.
-static classInvientChartsConfig.BaseLineConfig - -
-          This class contains configuration options for line series such as line - and area but not column series.
-static classInvientChartsConfig.ColumnConfig - -
-          This class contains configuration options for column series.
-static classInvientChartsConfig.LineConfig - -
-          This class contains configuration options for line series
-static classInvientChartsConfig.PieConfig - -
-          This class contains configuration options for pie series.
-static classInvientChartsConfig.ScatterConfig - -
-          This class contains configuration options for scatter series
-static classInvientChartsConfig.SplineConfig - -
-          This class contains configuration options for spline series
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts that return InvientChartsConfig.SeriesConfig
- InvientChartsConfig.SeriesConfigInvientCharts.Series.getConfig() - -
-           
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientChartsConfig.SeriesConfig
- voidInvientChartsConfig.addSeriesConfig(InvientChartsConfig.SeriesConfig seriesConfig) - -
-          Adds the specified argument only if it is non-null.
-  -

- - - - - - - - - -
Method parameters in com.invient.vaadin.charts with type arguments of type InvientChartsConfig.SeriesConfig
- voidInvientChartsConfig.setSeriesConfig(java.util.LinkedHashSet<InvientChartsConfig.SeriesConfig> seriesConfigs) - -
-          Sets a set of InvientChartsConfig.SeriesConfig objects only if the argument is - non-null
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Constructors in com.invient.vaadin.charts with parameters of type InvientChartsConfig.SeriesConfig
InvientCharts.DateTimeSeries(java.lang.String name, - InvientCharts.SeriesType seriesType, - InvientChartsConfig.SeriesConfig config) - -
-          Creates a series with given name, type and configuration.
InvientCharts.DateTimeSeries(java.lang.String name, - InvientCharts.SeriesType seriesType, - InvientChartsConfig.SeriesConfig config, - boolean isIncludeTime) - -
-          Creates a series with given name, type, configuration and boolean - value.
InvientCharts.DateTimeSeries(java.lang.String name, - InvientChartsConfig.SeriesConfig config) - -
-          Creates a series with given name and configuration.
InvientCharts.DateTimeSeries(java.lang.String name, - InvientChartsConfig.SeriesConfig config, - boolean isIncludeTime) - -
-          Creates a series with given name, configuration and boolean value.
InvientCharts.Series(java.lang.String name, - InvientCharts.SeriesType seriesType, - InvientChartsConfig.SeriesConfig config) - -
-          Creates a series with given name, type and configuration
InvientCharts.Series(java.lang.String name, - InvientChartsConfig.SeriesConfig config) - -
-          Creates a series with given name and configuration
InvientCharts.XYSeries(java.lang.String name, - InvientCharts.SeriesType seriesType, - InvientChartsConfig.SeriesConfig config) - -
-          Creates a series with given name, type and configuration
InvientCharts.XYSeries(java.lang.String name, - InvientChartsConfig.SeriesConfig config) - -
-          Creates a series with given name and configuration
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.SeriesState.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.SeriesState.html deleted file mode 100644 index ada9bb8..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.SeriesState.html +++ /dev/null @@ -1,214 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.SeriesState - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.SeriesState

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.SeriesState
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.SeriesState in com.invient.vaadin.charts
-  -

- - - - - - - - - -
Subclasses of InvientChartsConfig.SeriesState in com.invient.vaadin.charts
-static classInvientChartsConfig.NonLinearSeriesState - -
-          Defines a set of attributes which are meaningful for bar and colum - series.
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts that return InvientChartsConfig.SeriesState
- InvientChartsConfig.SeriesStateInvientChartsConfig.SeriesConfig.getHoverState() - -
-           
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientChartsConfig.SeriesState
- voidInvientChartsConfig.SeriesConfig.setHoverState(InvientChartsConfig.SeriesState state) - -
-          Sets attributes which should be applied to a series when series is - hovered.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.SplineConfig.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.SplineConfig.html deleted file mode 100644 index 856f019..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.SplineConfig.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.SplineConfig - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.SplineConfig

-
-No usage of com.invient.vaadin.charts.InvientChartsConfig.SplineConfig -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.Stacking.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.Stacking.html deleted file mode 100644 index 06325f5..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.Stacking.html +++ /dev/null @@ -1,214 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.Stacking - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.Stacking

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.Stacking
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.Stacking in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts that return InvientChartsConfig.Stacking
- InvientChartsConfig.StackingInvientChartsConfig.SeriesConfig.getStacking() - -
-           
-static InvientChartsConfig.StackingInvientChartsConfig.Stacking.valueOf(java.lang.String name) - -
-          Returns the enum constant of this type with the specified name.
-static InvientChartsConfig.Stacking[]InvientChartsConfig.Stacking.values() - -
-          Returns an array containing the constants of this enum type, in -the order they are declared.
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientChartsConfig.Stacking
- voidInvientChartsConfig.SeriesConfig.setStacking(InvientChartsConfig.Stacking stacking) - -
-          Specifies whether the values of each series should be stacked on top - of each other or not.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.State.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.State.html deleted file mode 100644 index 76c8b16..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.State.html +++ /dev/null @@ -1,198 +0,0 @@ - - - - - - -Uses of Interface com.invient.vaadin.charts.InvientChartsConfig.State - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
com.invient.vaadin.charts.InvientChartsConfig.State

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.State
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.State in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - - - - - -
Classes in com.invient.vaadin.charts that implement InvientChartsConfig.State
-static classInvientChartsConfig.MarkerState - -
-          Defines a set of attributes which gets applied to a point when a point is - selected or hovered.
-static classInvientChartsConfig.NonLinearSeriesState - -
-          Defines a set of attributes which are meaningful for bar and colum - series.
-static classInvientChartsConfig.SeriesState - -
-          Defines a set of attributes which will be applied to a series upon hover.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.SubTitle.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.SubTitle.html deleted file mode 100644 index 8d80948..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.SubTitle.html +++ /dev/null @@ -1,196 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.SubTitle - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.SubTitle

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.SubTitle
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.SubTitle in com.invient.vaadin.charts
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts that return InvientChartsConfig.SubTitle
- InvientChartsConfig.SubTitleInvientChartsConfig.getSubtitle() - -
-           
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientChartsConfig.SubTitle
- voidInvientChartsConfig.setSubtitle(InvientChartsConfig.SubTitle subtitle) - -
-          Sets the argument subtitle only if the argument is non-null
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.SymbolMarker.Symbol.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.SymbolMarker.Symbol.html deleted file mode 100644 index ae35e52..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.SymbolMarker.Symbol.html +++ /dev/null @@ -1,235 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.SymbolMarker.Symbol - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.SymbolMarker.Symbol

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.SymbolMarker.Symbol
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.SymbolMarker.Symbol in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts that return InvientChartsConfig.SymbolMarker.Symbol
- InvientChartsConfig.SymbolMarker.SymbolInvientChartsConfig.SymbolMarker.getSymbol() - -
-           
-static InvientChartsConfig.SymbolMarker.SymbolInvientChartsConfig.SymbolMarker.Symbol.valueOf(java.lang.String name) - -
-          Returns the enum constant of this type with the specified name.
-static InvientChartsConfig.SymbolMarker.Symbol[]InvientChartsConfig.SymbolMarker.Symbol.values() - -
-          Returns an array containing the constants of this enum type, in -the order they are declared.
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientChartsConfig.SymbolMarker.Symbol
- voidInvientChartsConfig.SymbolMarker.setSymbol(InvientChartsConfig.SymbolMarker.Symbol symbol) - -
-          Sets symbol for the point marker.
-  -

- - - - - - - - - - - -
Constructors in com.invient.vaadin.charts with parameters of type InvientChartsConfig.SymbolMarker.Symbol
InvientChartsConfig.SymbolMarker(InvientChartsConfig.SymbolMarker.Symbol symbol) - -
-          Creates this marker with specified arguments.
InvientChartsConfig.SymbolMarker(Paint lineColor, - java.lang.Integer radius, - InvientChartsConfig.SymbolMarker.Symbol symbol) - -
-          Creates this marker with specified arguments.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.SymbolMarker.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.SymbolMarker.html deleted file mode 100644 index 20d9a63..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.SymbolMarker.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.SymbolMarker - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.SymbolMarker

-
-No usage of com.invient.vaadin.charts.InvientChartsConfig.SymbolMarker -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.Title.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.Title.html deleted file mode 100644 index 782a1ea..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.Title.html +++ /dev/null @@ -1,196 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.Title - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.Title

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.Title
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.Title in com.invient.vaadin.charts
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts that return InvientChartsConfig.Title
- InvientChartsConfig.TitleInvientChartsConfig.getTitle() - -
-           
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientChartsConfig.Title
- voidInvientChartsConfig.setTitle(InvientChartsConfig.Title title) - -
-          Sets the argument title only if the argument title is non-null
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.TitleBase.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.TitleBase.html deleted file mode 100644 index 05ecfa1..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.TitleBase.html +++ /dev/null @@ -1,188 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.TitleBase - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.TitleBase

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.TitleBase
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.TitleBase in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - -
Subclasses of InvientChartsConfig.TitleBase in com.invient.vaadin.charts
-static classInvientChartsConfig.SubTitle - -
-          Defines attributes of chart subtitle.
-static classInvientChartsConfig.Title - -
-          Defines attributes of chart title.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.Tooltip.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.Tooltip.html deleted file mode 100644 index d344e37..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.Tooltip.html +++ /dev/null @@ -1,196 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.Tooltip - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.Tooltip

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.Tooltip
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.Tooltip in com.invient.vaadin.charts
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts that return InvientChartsConfig.Tooltip
- InvientChartsConfig.TooltipInvientChartsConfig.getTooltip() - -
-           
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientChartsConfig.Tooltip
- voidInvientChartsConfig.setTooltip(InvientChartsConfig.Tooltip tooltip) - -
-          Sets InvientChartsConfig.Tooltip object only if the argument tooltip is non-null
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.VertAlign.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.VertAlign.html deleted file mode 100644 index 251d1ee..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.VertAlign.html +++ /dev/null @@ -1,245 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.VertAlign - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.VertAlign

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.VertAlign
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.VertAlign in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts that return InvientChartsConfig.VertAlign
- InvientChartsConfig.VertAlignInvientChartsConfig.TitleBase.getVertAlign() - -
-           
- InvientChartsConfig.VertAlignInvientChartsConfig.AxisBase.PlotLabel.getVertAlign() - -
-           
- InvientChartsConfig.VertAlignInvientChartsConfig.Position.getVertAlign() - -
-           
-static InvientChartsConfig.VertAlignInvientChartsConfig.VertAlign.valueOf(java.lang.String name) - -
-          Returns the enum constant of this type with the specified name.
-static InvientChartsConfig.VertAlign[]InvientChartsConfig.VertAlign.values() - -
-          Returns an array containing the constants of this enum type, in -the order they are declared.
-  -

- - - - - - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientChartsConfig.VertAlign
- voidInvientChartsConfig.TitleBase.setVertAlign(InvientChartsConfig.VertAlign vertAlign) - -
-          Sets horizontal alignment of the title.
- voidInvientChartsConfig.AxisBase.PlotLabel.setVertAlign(InvientChartsConfig.VertAlign vertAlign) - -
-           
- voidInvientChartsConfig.Position.setVertAlign(InvientChartsConfig.VertAlign vertAlign) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.XAxis.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.XAxis.html deleted file mode 100644 index 8132055..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.XAxis.html +++ /dev/null @@ -1,268 +0,0 @@ - - - - - - -Uses of Interface com.invient.vaadin.charts.InvientChartsConfig.XAxis - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
com.invient.vaadin.charts.InvientChartsConfig.XAxis

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.XAxis
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.XAxis in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - - - - - -
Classes in com.invient.vaadin.charts that implement InvientChartsConfig.XAxis
-static classInvientChartsConfig.CategoryAxis - -
-           
-static classInvientChartsConfig.DateTimeAxis - -
-           
-static classInvientChartsConfig.NumberXAxis - -
-           
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts that return InvientChartsConfig.XAxis
- InvientChartsConfig.XAxisInvientCharts.Series.getXAxis() - -
-           
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts that return types with arguments of type InvientChartsConfig.XAxis
- java.util.LinkedHashSet<InvientChartsConfig.XAxis>InvientChartsConfig.getXAxes() - -
-           
-  -

- - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientChartsConfig.XAxis
- booleanInvientChartsConfig.addXAxes(InvientChartsConfig.XAxis xAxis) - -
-          Adds specified x-axis to the collection of x-axis
- voidInvientCharts.Series.setXAxis(InvientChartsConfig.XAxis xAxis) - -
-          Sets x-axis of this series.
-  -

- - - - - - - - - -
Method parameters in com.invient.vaadin.charts with type arguments of type InvientChartsConfig.XAxis
- voidInvientChartsConfig.setXAxes(java.util.LinkedHashSet<InvientChartsConfig.XAxis> xAxes) - -
-          Sets a collection of x-axis for the chart.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.XAxisDataLabel.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.XAxisDataLabel.html deleted file mode 100644 index 21bab6f..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.XAxisDataLabel.html +++ /dev/null @@ -1,212 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.XAxisDataLabel - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.XAxisDataLabel

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.XAxisDataLabel
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.XAxisDataLabel in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts that return InvientChartsConfig.XAxisDataLabel
- InvientChartsConfig.XAxisDataLabelInvientChartsConfig.NumberXAxis.getLabel() - -
-           
- InvientChartsConfig.XAxisDataLabelInvientChartsConfig.CategoryAxis.getLabel() - -
-           
-  -

- - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientChartsConfig.XAxisDataLabel
- voidInvientChartsConfig.NumberXAxis.setLabel(InvientChartsConfig.XAxisDataLabel label) - -
-           
- voidInvientChartsConfig.CategoryAxis.setLabel(InvientChartsConfig.XAxisDataLabel label) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.YAxis.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.YAxis.html deleted file mode 100644 index 4b5c4bc..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.YAxis.html +++ /dev/null @@ -1,252 +0,0 @@ - - - - - - -Uses of Interface com.invient.vaadin.charts.InvientChartsConfig.YAxis - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
com.invient.vaadin.charts.InvientChartsConfig.YAxis

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.YAxis
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.YAxis in com.invient.vaadin.charts
-  -

- - - - - - - - - -
Classes in com.invient.vaadin.charts that implement InvientChartsConfig.YAxis
-static classInvientChartsConfig.NumberYAxis - -
-           
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts that return InvientChartsConfig.YAxis
- InvientChartsConfig.YAxisInvientCharts.Series.getYAxis() - -
-           
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts that return types with arguments of type InvientChartsConfig.YAxis
- java.util.LinkedHashSet<InvientChartsConfig.YAxis>InvientChartsConfig.getYAxes() - -
-           
-  -

- - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientChartsConfig.YAxis
- booleanInvientChartsConfig.addYAxes(InvientChartsConfig.YAxis yAxis) - -
-          Adds specified y-axis to the collection of y-axis
- voidInvientCharts.Series.setYAxis(InvientChartsConfig.YAxis yAxis) - -
-          Sets y-axis of this series.
-  -

- - - - - - - - - -
Method parameters in com.invient.vaadin.charts with type arguments of type InvientChartsConfig.YAxis
- voidInvientChartsConfig.setYAxes(java.util.LinkedHashSet<InvientChartsConfig.YAxis> yAxes) - -
-          Sets a collection of y-axis for the chart.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.YAxisDataLabel.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.YAxisDataLabel.html deleted file mode 100644 index 6eb6a6c..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.YAxisDataLabel.html +++ /dev/null @@ -1,196 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig.YAxisDataLabel - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig.YAxisDataLabel

-
- - - - - - - - - -
-Packages that use InvientChartsConfig.YAxisDataLabel
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig.YAxisDataLabel in com.invient.vaadin.charts
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts that return InvientChartsConfig.YAxisDataLabel
- InvientChartsConfig.YAxisDataLabelInvientChartsConfig.NumberYAxis.getLabel() - -
-           
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type InvientChartsConfig.YAxisDataLabel
- voidInvientChartsConfig.NumberYAxis.setLabel(InvientChartsConfig.YAxisDataLabel label) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.html b/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.html deleted file mode 100644 index b3bd128..0000000 --- a/doc/com/invient/vaadin/charts/class-use/InvientChartsConfig.html +++ /dev/null @@ -1,194 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.InvientChartsConfig - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.InvientChartsConfig

-
- - - - - - - - - -
-Packages that use InvientChartsConfig
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of InvientChartsConfig in com.invient.vaadin.charts
-  -

- - - - - - - - - -
Methods in com.invient.vaadin.charts that return InvientChartsConfig
- InvientChartsConfigInvientCharts.getConfig() - -
-          Returns chart configuration object
-  -

- - - - - - - - -
Constructors in com.invient.vaadin.charts with parameters of type InvientChartsConfig
InvientCharts(InvientChartsConfig chartConfig) - -
-          Creates this chart object with given chart configuration
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/class-use/Paint.html b/doc/com/invient/vaadin/charts/class-use/Paint.html deleted file mode 100644 index ef042af..0000000 --- a/doc/com/invient/vaadin/charts/class-use/Paint.html +++ /dev/null @@ -1,715 +0,0 @@ - - - - - - -Uses of Interface com.invient.vaadin.charts.Paint - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Interface
com.invient.vaadin.charts.Paint

-
- - - - - - - - - -
-Packages that use Paint
com.invient.vaadin.charts  
-  -

- - - - - -
-Uses of Paint in com.invient.vaadin.charts
-  -

- - - - - - - - - - - - - -
Subinterfaces of Paint in com.invient.vaadin.charts
- interfaceColor - -
-          The Color interface represents RBG and RBGA colors.
- interfaceGradient - -
-          The Gradient defines a way to fill a shape with a linear color gradient - pattern.
-  -

- - - - - - - - - - - - - - - - - -
Classes in com.invient.vaadin.charts that implement Paint
-static classColor.RGB - -
-          Represents RBG color value.
-static classColor.RGBA - -
-          Represents RGBA color value.
-static classGradient.LinearGradient - -
-          Represents linear gradient where points of a linear gradient specify a - line.
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts that return Paint
- PaintInvientChartsConfig.AxisBase.getAlternateGridColor() - -
-           
- PaintInvientChartsConfig.Axis.getAlternateGridColor() - -
-           
- PaintInvientChartsConfig.GeneralChartConfig.getBackgroundColor() - -
-           
- PaintInvientChartsConfig.GeneralChartConfig.Plot.getBackgroundColor() - -
-           
- PaintInvientChartsConfig.Legend.getBackgroundColor() - -
-           
- PaintInvientChartsConfig.Tooltip.getBackgroundColor() - -
-           
- PaintInvientChartsConfig.GeneralChartConfig.getBorderColor() - -
-           
- PaintInvientChartsConfig.GeneralChartConfig.Plot.getBorderColor() - -
-           
- PaintInvientChartsConfig.PieConfig.getBorderColor() - -
-           
- PaintInvientChartsConfig.BaseBarConfig.getBorderColor() - -
-           
- PaintInvientChartsConfig.Legend.getBorderColor() - -
-           
- PaintInvientChartsConfig.Tooltip.getBorderColor() - -
-           
- PaintInvientChartsConfig.SeriesConfig.getColor() - -
-           
- PaintInvientChartsConfig.PointConfig.getColor() - -
-           
- PaintInvientChartsConfig.AxisBase.MinorTick.getColor() - -
-           
- PaintInvientChartsConfig.AxisBase.PlotBand.getColor() - -
-           
- PaintInvientChartsConfig.AxisBase.PlotLine.getColor() - -
-           
- PaintInvientChartsConfig.PieDataLabel.getConnectorColor() - -
-           
- PaintInvientChartsConfig.AreaConfig.getFillColor() - -
-           
- PaintInvientChartsConfig.MarkerState.getFillColor() - -
-           
- PaintInvientChartsConfig.SymbolMarker.getFillColor() - -
-           
- PaintInvientChartsConfig.AreaConfig.getLineColor() - -
-           
- PaintInvientChartsConfig.MarkerState.getLineColor() - -
-           
- PaintInvientChartsConfig.SymbolMarker.getLineColor() - -
-           
- PaintInvientChartsConfig.AxisBase.getLineColor() - -
-           
- PaintInvientChartsConfig.AxisBase.MinorGrid.getLineColor() - -
-           
- PaintInvientChartsConfig.Axis.getLineColor() - -
-           
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in com.invient.vaadin.charts with parameters of type Paint
- voidInvientChartsConfig.AxisBase.setAlternateGridColor(Paint alternateGridColor) - -
-          Sets a color to be used for alternate grids of the chart
- voidInvientChartsConfig.Axis.setAlternateGridColor(Paint alternateGridColor) - -
-           
- voidInvientChartsConfig.GeneralChartConfig.setBackgroundColor(Paint backgroundColor) - -
-          Sets the background color for the outer chart area
- voidInvientChartsConfig.GeneralChartConfig.Plot.setBackgroundColor(Paint backgroundColor) - -
-           
- voidInvientChartsConfig.Legend.setBackgroundColor(Paint backgroundColor) - -
-           
- voidInvientChartsConfig.Tooltip.setBackgroundColor(Paint backgroundColor) - -
-           
- voidInvientChartsConfig.GeneralChartConfig.setBorderColor(Paint borderColor) - -
-          Sets the border color for the outer chart border
- voidInvientChartsConfig.GeneralChartConfig.Plot.setBorderColor(Paint borderColor) - -
-           
- voidInvientChartsConfig.PieConfig.setBorderColor(Paint borderColor) - -
-          Sets color of border surrounding each slice.
- voidInvientChartsConfig.BaseBarConfig.setBorderColor(Paint borderColor) - -
-          Sets the color of the border surronding each column or bar.
- voidInvientChartsConfig.Legend.setBorderColor(Paint borderColor) - -
-           
- voidInvientChartsConfig.Tooltip.setBorderColor(Paint borderColor) - -
-           
- voidInvientChartsConfig.SeriesConfig.setColor(Paint color) - -
-          Sets color for the series.
- voidInvientChartsConfig.PointConfig.setColor(Paint color) - -
-           
- voidInvientChartsConfig.AxisBase.MinorTick.setColor(Paint color) - -
-           
- voidInvientChartsConfig.AxisBase.PlotBand.setColor(Paint color) - -
-           
- voidInvientChartsConfig.AxisBase.PlotLine.setColor(Paint color) - -
-           
- voidInvientChartsConfig.PieDataLabel.setConnectorColor(Paint connectorColor) - -
-          Sets the color of the line connecting the data label to the pie - slice.
- voidInvientChartsConfig.AreaConfig.setFillColor(Paint fillColor) - -
-          Sets fill gradient for the area
- voidInvientChartsConfig.MarkerState.setFillColor(Paint fillColor) - -
-          Sets fill color for the marker.
- voidInvientChartsConfig.SymbolMarker.setFillColor(Paint fillColor) - -
-          Sets color of the point marker
- voidInvientChartsConfig.AreaConfig.setLineColor(Paint lineColor) - -
-          Sets line color for the line of an area.
- voidInvientChartsConfig.MarkerState.setLineColor(Paint lineColor) - -
-          Sets color of the point marker's outline.
- voidInvientChartsConfig.SymbolMarker.setLineColor(Paint lineColor) - -
-          Sets color of the point marker's outline
- voidInvientChartsConfig.AxisBase.setLineColor(Paint lineColor) - -
-          Sets a color for line of this axis.
- voidInvientChartsConfig.AxisBase.MinorGrid.setLineColor(Paint lineColor) - -
-          Sets color of the minor grid lines
- voidInvientChartsConfig.Axis.setLineColor(Paint lineColor) - -
-           
-  -

- - - - - - - - - - - - - - - - - - - - -
Constructors in com.invient.vaadin.charts with parameters of type Paint
InvientChartsConfig.PointConfig(java.lang.Boolean sliced, - java.lang.Boolean selected, - Paint color, - InvientChartsConfig.Marker marker) - -
-           
InvientChartsConfig.PointConfig(Paint color) - -
-          Creates an instance of this class with specified color
InvientChartsConfig.SymbolMarker(Paint lineColor) - -
-          Creates this marker with specified arguments.
InvientChartsConfig.SymbolMarker(Paint lineColor, - java.lang.Integer radius) - -
-          Creates this marker with specified arguments.
InvientChartsConfig.SymbolMarker(Paint lineColor, - java.lang.Integer radius, - InvientChartsConfig.SymbolMarker.Symbol symbol) - -
-          Creates this marker with specified arguments.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/package-frame.html b/doc/com/invient/vaadin/charts/package-frame.html deleted file mode 100644 index fb82573..0000000 --- a/doc/com/invient/vaadin/charts/package-frame.html +++ /dev/null @@ -1,268 +0,0 @@ - - - - - - -com.invient.vaadin.charts - - - - - - - - - - - -com.invient.vaadin.charts - - - - -
-Interfaces  - -
-Color -
-Gradient -
-Gradient.ColorStop -
-InvientCharts.ChartAddSeriesListener -
-InvientCharts.ChartClickListener -
-InvientCharts.ChartResetZoomListener -
-InvientCharts.ChartSVGAvailableListener -
-InvientCharts.ChartZoomListener -
-InvientCharts.PieChartLegendItemClickListener -
-InvientCharts.PointClickListener -
-InvientCharts.PointRemoveListener -
-InvientCharts.PointSelectListener -
-InvientCharts.PointUnselectListener -
-InvientCharts.SeriesClickListerner -
-InvientCharts.SeriesHideListerner -
-InvientCharts.SeriesLegendItemClickListerner -
-InvientCharts.SeriesShowListerner -
-InvientChartsConfig.Axis -
-InvientChartsConfig.Marker -
-InvientChartsConfig.State -
-InvientChartsConfig.XAxis -
-InvientChartsConfig.YAxis -
-Paint
- - - - - - -
-Classes  - -
-Color.RGB -
-Color.RGBA -
-Gradient.LinearGradient -
-Gradient.LinearGradient.LinearColorStop -
-InvientCharts -
-InvientCharts.DateTimePoint -
-InvientCharts.DateTimeSeries -
-InvientCharts.DecimalPoint -
-InvientCharts.Point -
-InvientCharts.Series -
-InvientCharts.XYSeries -
-InvientChartsConfig -
-InvientChartsConfig.AbstractMarker -
-InvientChartsConfig.AreaConfig -
-InvientChartsConfig.AreaSplineConfig -
-InvientChartsConfig.AxisBase -
-InvientChartsConfig.AxisBase.AxisTitle -
-InvientChartsConfig.AxisBase.DateTimePlotBand -
-InvientChartsConfig.AxisBase.DateTimePlotBand.DateTimeRange -
-InvientChartsConfig.AxisBase.DateTimePlotLine -
-InvientChartsConfig.AxisBase.DateTimePlotLine.DateTimeValue -
-InvientChartsConfig.AxisBase.Grid -
-InvientChartsConfig.AxisBase.MinorGrid -
-InvientChartsConfig.AxisBase.MinorTick -
-InvientChartsConfig.AxisBase.NumberPlotBand -
-InvientChartsConfig.AxisBase.NumberPlotBand.NumberRange -
-InvientChartsConfig.AxisBase.NumberPlotLine -
-InvientChartsConfig.AxisBase.NumberPlotLine.NumberValue -
-InvientChartsConfig.AxisBase.PlotBand -
-InvientChartsConfig.AxisBase.PlotBand.Range -
-InvientChartsConfig.AxisBase.PlotLabel -
-InvientChartsConfig.AxisBase.PlotLine -
-InvientChartsConfig.AxisBase.PlotLine.Value -
-InvientChartsConfig.AxisBase.Tick -
-InvientChartsConfig.AxisDataLabel -
-InvientChartsConfig.BarConfig -
-InvientChartsConfig.BaseBarConfig -
-InvientChartsConfig.BaseLineConfig -
-InvientChartsConfig.CategoryAxis -
-InvientChartsConfig.ChartLabel -
-InvientChartsConfig.ChartLabel.ChartLabelItem -
-InvientChartsConfig.ColumnConfig -
-InvientChartsConfig.Credit -
-InvientChartsConfig.DataLabel -
-InvientChartsConfig.DateTimeAxis -
-InvientChartsConfig.DateTimeAxis.DateTimeLabelFormat -
-InvientChartsConfig.GeneralChartConfig -
-InvientChartsConfig.GeneralChartConfig.Margin -
-InvientChartsConfig.GeneralChartConfig.Plot -
-InvientChartsConfig.GeneralChartConfig.Spacing -
-InvientChartsConfig.ImageMarker -
-InvientChartsConfig.Legend -
-InvientChartsConfig.LineConfig -
-InvientChartsConfig.MarkerState -
-InvientChartsConfig.NonLinearSeriesState -
-InvientChartsConfig.NumberAxis -
-InvientChartsConfig.NumberXAxis -
-InvientChartsConfig.NumberYAxis -
-InvientChartsConfig.PieConfig -
-InvientChartsConfig.PieDataLabel -
-InvientChartsConfig.PointConfig -
-InvientChartsConfig.Position -
-InvientChartsConfig.ScatterConfig -
-InvientChartsConfig.SeriesConfig -
-InvientChartsConfig.SeriesState -
-InvientChartsConfig.SplineConfig -
-InvientChartsConfig.SubTitle -
-InvientChartsConfig.SymbolMarker -
-InvientChartsConfig.Title -
-InvientChartsConfig.TitleBase -
-InvientChartsConfig.Tooltip -
-InvientChartsConfig.XAxisDataLabel -
-InvientChartsConfig.YAxisDataLabel
- - - - - - -
-Enums  - -
-Gradient.Unit -
-InvientCharts.SeriesType -
-InvientChartsConfig.AxisBase.AxisTitleAlign -
-InvientChartsConfig.AxisBase.AxisType -
-InvientChartsConfig.AxisBase.TickmarkPlacement -
-InvientChartsConfig.AxisBase.TickPosition -
-InvientChartsConfig.AxisBase.WeekDay -
-InvientChartsConfig.DashStyle -
-InvientChartsConfig.GeneralChartConfig.ZoomType -
-InvientChartsConfig.HorzAlign -
-InvientChartsConfig.Legend.Layout -
-InvientChartsConfig.Stacking -
-InvientChartsConfig.SymbolMarker.Symbol -
-InvientChartsConfig.VertAlign
- - - - diff --git a/doc/com/invient/vaadin/charts/package-summary.html b/doc/com/invient/vaadin/charts/package-summary.html deleted file mode 100644 index 4d02cf4..0000000 --- a/doc/com/invient/vaadin/charts/package-summary.html +++ /dev/null @@ -1,646 +0,0 @@ - - - - - - -com.invient.vaadin.charts - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-

-Package com.invient.vaadin.charts -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Interface Summary
ColorThe Color interface represents RBG and RBGA colors.
GradientThe Gradient defines a way to fill a shape with a linear color gradient - pattern.
Gradient.ColorStopRepresents a stop-value and a color.
InvientCharts.ChartAddSeriesListenerInterface for listening for a InvientCharts.ChartAddSeriesEvent triggered by - InvientCharts
InvientCharts.ChartClickListenerInterface for listening for a InvientCharts.ChartClickEvent triggered by - InvientCharts
InvientCharts.ChartResetZoomListenerInterface for listening for a InvientCharts.ChartResetZoomEvent triggered by - InvientCharts
InvientCharts.ChartSVGAvailableListenerInterface for listening for a InvientCharts.ChartSVGAvailableEvent triggered by - InvientCharts.
InvientCharts.ChartZoomListenerInterface for listening for a InvientCharts.ChartZoomEvent triggered by - InvientCharts
InvientCharts.PieChartLegendItemClickListenerInterface for listening for a InvientCharts.PieChartLegendItemClickEvent - triggered by InvientCharts
InvientCharts.PointClickListenerInterface for listening for a InvientCharts.PointClickEvent triggered by - InvientCharts
InvientCharts.PointRemoveListenerInterface for listening for a InvientCharts.PointRemoveEvent triggered by - InvientCharts
InvientCharts.PointSelectListenerInterface for listening for a InvientCharts.PointSelectListener triggered by - InvientCharts
InvientCharts.PointUnselectListenerInterface for listening for a InvientCharts.PointUnselectEvent triggered by - InvientCharts
InvientCharts.SeriesClickListernerInterface for listening for a InvientCharts.SeriesClickListerner triggered by - InvientCharts
InvientCharts.SeriesHideListernerInterface for listening for a InvientCharts.SeriesHideEvent triggered by - InvientCharts
InvientCharts.SeriesLegendItemClickListernerInterface for listening for a InvientCharts.SeriesLegendItemClickEvent - triggered by InvientCharts
InvientCharts.SeriesShowListernerInterface for listening for a InvientCharts.SeriesShowEvent triggered by - InvientCharts
InvientChartsConfig.Axis 
InvientChartsConfig.MarkerDefines a marker for a point.
InvientChartsConfig.StateDefines state for a series and point.
InvientChartsConfig.XAxis 
InvientChartsConfig.YAxis 
PaintThis Paint interface defines how color patterns can be generated - when drawing the InvientCharts.
-  - -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Class Summary
Color.RGBRepresents RBG color value.
Color.RGBARepresents RGBA color value.
Gradient.LinearGradientRepresents linear gradient where points of a linear gradient specify a - line.
Gradient.LinearGradient.LinearColorStopRepresents stop-value and color for the Gradient.LinearGradient
InvientChartsA Vaddin component representing charts.
InvientCharts.DateTimePointThis class represent a point with (X, Y) both as number.
InvientCharts.DateTimeSeriesThis class defines a datetime series.
InvientCharts.DecimalPointThis class represent a point with (X, Y) both as number.
InvientCharts.PointThis class represents a point of the chart's series.
InvientCharts.SeriesThis class defines a series of the chart.
InvientCharts.XYSeriesThis class defines a number series.
InvientChartsConfigThis class encapsulates a number of configuration options for the - InvientChars.
InvientChartsConfig.AbstractMarkerDefines attributes for a marker.
InvientChartsConfig.AreaConfigThis class contains configuration options for area series, area and - areaspline.
InvientChartsConfig.AreaSplineConfigThis class contains configuration options for areaspline series
InvientChartsConfig.AxisBaseThis class defines attributes common to X axis and Y axis.
InvientChartsConfig.AxisBase.AxisTitle 
InvientChartsConfig.AxisBase.DateTimePlotBand 
InvientChartsConfig.AxisBase.DateTimePlotBand.DateTimeRange 
InvientChartsConfig.AxisBase.DateTimePlotLine 
InvientChartsConfig.AxisBase.DateTimePlotLine.DateTimeValue 
InvientChartsConfig.AxisBase.GridDefines attributes of grid lines of the chart.
InvientChartsConfig.AxisBase.MinorGridDefines attributes of minor grid lines of the chart.
InvientChartsConfig.AxisBase.MinorTickDefines attributes of a minor tick.
InvientChartsConfig.AxisBase.NumberPlotBand 
InvientChartsConfig.AxisBase.NumberPlotBand.NumberRange 
InvientChartsConfig.AxisBase.NumberPlotLine 
InvientChartsConfig.AxisBase.NumberPlotLine.NumberValue 
InvientChartsConfig.AxisBase.PlotBand 
InvientChartsConfig.AxisBase.PlotBand.Range 
InvientChartsConfig.AxisBase.PlotLabel 
InvientChartsConfig.AxisBase.PlotLine 
InvientChartsConfig.AxisBase.PlotLine.Value 
InvientChartsConfig.AxisBase.TickDefines attributes of a tick marks.
InvientChartsConfig.AxisDataLabelThis class contains configuration properties for axis labels.
InvientChartsConfig.BarConfigThis class contains configuration options for bar series.
InvientChartsConfig.BaseBarConfigThis class contains configuration options for bar and column series.
InvientChartsConfig.BaseLineConfigThis class contains configuration options for line series such as line - and area but not column series.
InvientChartsConfig.CategoryAxis 
InvientChartsConfig.ChartLabelThe InvientChartsConfig.ChartLabel class represents a set of labels which an be - placed at arbitrary position in the chart.
InvientChartsConfig.ChartLabel.ChartLabelItemThis class represents a label placed at arbitrary location in the - chart.
InvientChartsConfig.ColumnConfigThis class contains configuration options for column series.
InvientChartsConfig.Credit 
InvientChartsConfig.DataLabelThis class contains various attributes to format data labels.
InvientChartsConfig.DateTimeAxis 
InvientChartsConfig.DateTimeAxis.DateTimeLabelFormat 
InvientChartsConfig.GeneralChartConfigThis class contains configuration properties at a chart level.
InvientChartsConfig.GeneralChartConfig.MarginThis class represents margin between the outer edge of the chart and - the plot area.
InvientChartsConfig.GeneralChartConfig.PlotThis class represents drawing area of the chart and contains methods - specific to it.
InvientChartsConfig.GeneralChartConfig.SpacingThis class represents space around the chart.
InvientChartsConfig.ImageMarkerThis marker can take url of an image which will be used as a marker for a - point or all points of a series.
InvientChartsConfig.Legend 
InvientChartsConfig.LineConfigThis class contains configuration options for line series
InvientChartsConfig.MarkerStateDefines a set of attributes which gets applied to a point when a point is - selected or hovered.
InvientChartsConfig.NonLinearSeriesStateDefines a set of attributes which are meaningful for bar and colum - series.
InvientChartsConfig.NumberAxis 
InvientChartsConfig.NumberXAxis 
InvientChartsConfig.NumberYAxis 
InvientChartsConfig.PieConfigThis class contains configuration options for pie series.
InvientChartsConfig.PieDataLabelThis class contains configuration attributes of data labels specific to - Pie series.
InvientChartsConfig.PointConfigDefines configuration per point in a series.
InvientChartsConfig.Position 
InvientChartsConfig.ScatterConfigThis class contains configuration options for scatter series
InvientChartsConfig.SeriesConfigThis class contains general configuration options for all series types - such as line, area and pie.
InvientChartsConfig.SeriesStateDefines a set of attributes which will be applied to a series upon hover.
InvientChartsConfig.SplineConfigThis class contains configuration options for spline series
InvientChartsConfig.SubTitleDefines attributes of chart subtitle.
InvientChartsConfig.SymbolMarkerThis marker has predefined shape which cannot be changed.
InvientChartsConfig.TitleDefines attributes of chart title.
InvientChartsConfig.TitleBaseA chart has a title and a subtitle.
InvientChartsConfig.Tooltip 
InvientChartsConfig.XAxisDataLabelThis class contains configuration properties specifically for x-axis - labels.
InvientChartsConfig.YAxisDataLabelThis class contains configuration properties specifically for x-axis - labels.
-  - -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Enum Summary
Gradient.Unit 
InvientCharts.SeriesType 
InvientChartsConfig.AxisBase.AxisTitleAlign 
InvientChartsConfig.AxisBase.AxisTypeDefines axis types.
InvientChartsConfig.AxisBase.TickmarkPlacementDefines position of the tick marks with respect to the axis - categories.
InvientChartsConfig.AxisBase.TickPositionDefines position of the axis ticks with respect to the axis line
InvientChartsConfig.AxisBase.WeekDay 
InvientChartsConfig.DashStyle 
InvientChartsConfig.GeneralChartConfig.ZoomTypeThe value ZoomType.X represents horizontal zoom.
InvientChartsConfig.HorzAlign 
InvientChartsConfig.Legend.Layout 
InvientChartsConfig.StackingDefines ways in which series of a chart can be stacked.
InvientChartsConfig.SymbolMarker.SymbolDefines predefined marker shapes to be used along with - InvientChartsConfig.SymbolMarker
InvientChartsConfig.VertAlign 
-  - -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/package-tree.html b/doc/com/invient/vaadin/charts/package-tree.html deleted file mode 100644 index 5701d03..0000000 --- a/doc/com/invient/vaadin/charts/package-tree.html +++ /dev/null @@ -1,260 +0,0 @@ - - - - - - -com.invient.vaadin.charts Class Hierarchy - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package com.invient.vaadin.charts -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -

-Interface Hierarchy -

- -

-Enum Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/package-use.html b/doc/com/invient/vaadin/charts/package-use.html deleted file mode 100644 index cfd4acf..0000000 --- a/doc/com/invient/vaadin/charts/package-use.html +++ /dev/null @@ -1,850 +0,0 @@ - - - - - - -Uses of Package com.invient.vaadin.charts - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Package
com.invient.vaadin.charts

-
- - - - - - - - - -
-Packages that use com.invient.vaadin.charts
com.invient.vaadin.charts  
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Classes in com.invient.vaadin.charts used by com.invient.vaadin.charts
Color - -
-          The Color interface represents RBG and RBGA colors.
Color.RGB - -
-          Represents RBG color value.
Gradient - -
-          The Gradient defines a way to fill a shape with a linear color gradient - pattern.
Gradient.ColorStop - -
-          Represents a stop-value and a color.
Gradient.LinearGradient.LinearColorStop - -
-          Represents stop-value and color for the Gradient.LinearGradient
Gradient.Unit - -
-           
InvientCharts - -
-          A Vaddin component representing charts.
InvientCharts.ChartAddSeriesEvent - -
-          Add series event.
InvientCharts.ChartAddSeriesListener - -
-          Interface for listening for a InvientCharts.ChartAddSeriesEvent triggered by - InvientCharts
InvientCharts.ChartArea - -
-          Defines information on the selected area.
InvientCharts.ChartClickEvent - -
-          Chart Click event.
InvientCharts.ChartClickListener - -
-          Interface for listening for a InvientCharts.ChartClickEvent triggered by - InvientCharts
InvientCharts.ChartResetZoomEvent - -
-          Chart reset zoom event.
InvientCharts.ChartResetZoomListener - -
-          Interface for listening for a InvientCharts.ChartResetZoomEvent triggered by - InvientCharts
InvientCharts.ChartSVGAvailableEvent - -
-          Chart SVG event.
InvientCharts.ChartSVGAvailableListener - -
-          Interface for listening for a InvientCharts.ChartSVGAvailableEvent triggered by - InvientCharts.
InvientCharts.ChartZoomEvent - -
-          Chart zoom event.
InvientCharts.ChartZoomListener - -
-          Interface for listening for a InvientCharts.ChartZoomEvent triggered by - InvientCharts
InvientCharts.DateTimePoint - -
-          This class represent a point with (X, Y) both as number.
InvientCharts.DecimalPoint - -
-          This class represent a point with (X, Y) both as number.
InvientCharts.MousePosition - -
-          This class contain mouse coordinates when a click event occurs on a - chart, a series or a point.
InvientCharts.PieChartLegendItemClickEvent - -
-          PieChart legend item click event.
InvientCharts.PieChartLegendItemClickListener - -
-          Interface for listening for a InvientCharts.PieChartLegendItemClickEvent - triggered by InvientCharts
InvientCharts.Point - -
-          This class represents a point of the chart's series.
InvientCharts.PointClickEvent - -
-          Click event.
InvientCharts.PointClickListener - -
-          Interface for listening for a InvientCharts.PointClickEvent triggered by - InvientCharts
InvientCharts.PointRemoveEvent - -
-          Point remove event.
InvientCharts.PointRemoveListener - -
-          Interface for listening for a InvientCharts.PointRemoveEvent triggered by - InvientCharts
InvientCharts.PointSelectEvent - -
-          Point select event.
InvientCharts.PointSelectListener - -
-          Interface for listening for a InvientCharts.PointSelectListener triggered by - InvientCharts
InvientCharts.PointUnselectEvent - -
-          Poin unselect event.
InvientCharts.PointUnselectListener - -
-          Interface for listening for a InvientCharts.PointUnselectEvent triggered by - InvientCharts
InvientCharts.Series - -
-          This class defines a series of the chart.
InvientCharts.SeriesClickEvent - -
-          Series click event.
InvientCharts.SeriesClickListerner - -
-          Interface for listening for a InvientCharts.SeriesClickListerner triggered by - InvientCharts
InvientCharts.SeriesHideEvent - -
-          Series Hide event.
InvientCharts.SeriesHideListerner - -
-          Interface for listening for a InvientCharts.SeriesHideEvent triggered by - InvientCharts
InvientCharts.SeriesLegendItemClickEvent - -
-          Series legend item click event.
InvientCharts.SeriesLegendItemClickListerner - -
-          Interface for listening for a InvientCharts.SeriesLegendItemClickEvent - triggered by InvientCharts
InvientCharts.SeriesShowEvent - -
-          Series show event.
InvientCharts.SeriesShowListerner - -
-          Interface for listening for a InvientCharts.SeriesShowEvent triggered by - InvientCharts
InvientCharts.SeriesType - -
-           
InvientChartsConfig - -
-          This class encapsulates a number of configuration options for the - InvientChars.
InvientChartsConfig.AbstractMarker - -
-          Defines attributes for a marker.
InvientChartsConfig.AreaConfig - -
-          This class contains configuration options for area series, area and - areaspline.
InvientChartsConfig.Axis - -
-           
InvientChartsConfig.AxisBase - -
-          This class defines attributes common to X axis and Y axis.
InvientChartsConfig.AxisBase.AxisTitle - -
-           
InvientChartsConfig.AxisBase.AxisTitleAlign - -
-           
InvientChartsConfig.AxisBase.AxisType - -
-          Defines axis types.
InvientChartsConfig.AxisBase.DateTimePlotBand - -
-           
InvientChartsConfig.AxisBase.DateTimePlotBand.DateTimeRange - -
-           
InvientChartsConfig.AxisBase.DateTimePlotLine - -
-           
InvientChartsConfig.AxisBase.DateTimePlotLine.DateTimeValue - -
-           
InvientChartsConfig.AxisBase.Grid - -
-          Defines attributes of grid lines of the chart.
InvientChartsConfig.AxisBase.MinorGrid - -
-          Defines attributes of minor grid lines of the chart.
InvientChartsConfig.AxisBase.MinorTick - -
-          Defines attributes of a minor tick.
InvientChartsConfig.AxisBase.NumberPlotBand - -
-           
InvientChartsConfig.AxisBase.NumberPlotBand.NumberRange - -
-           
InvientChartsConfig.AxisBase.NumberPlotLine - -
-           
InvientChartsConfig.AxisBase.NumberPlotLine.NumberValue - -
-           
InvientChartsConfig.AxisBase.PlotBand - -
-           
InvientChartsConfig.AxisBase.PlotBand.Range - -
-           
InvientChartsConfig.AxisBase.PlotLabel - -
-           
InvientChartsConfig.AxisBase.PlotLine - -
-           
InvientChartsConfig.AxisBase.PlotLine.Value - -
-           
InvientChartsConfig.AxisBase.Tick - -
-          Defines attributes of a tick marks.
InvientChartsConfig.AxisBase.TickmarkPlacement - -
-          Defines position of the tick marks with respect to the axis - categories.
InvientChartsConfig.AxisBase.TickPosition - -
-          Defines position of the axis ticks with respect to the axis line
InvientChartsConfig.AxisBase.WeekDay - -
-           
InvientChartsConfig.AxisDataLabel - -
-          This class contains configuration properties for axis labels.
InvientChartsConfig.BaseBarConfig - -
-          This class contains configuration options for bar and column series.
InvientChartsConfig.BaseLineConfig - -
-          This class contains configuration options for line series such as line - and area but not column series.
InvientChartsConfig.ChartLabel - -
-          The InvientChartsConfig.ChartLabel class represents a set of labels which an be - placed at arbitrary position in the chart.
InvientChartsConfig.ChartLabel.ChartLabelItem - -
-          This class represents a label placed at arbitrary location in the - chart.
InvientChartsConfig.Credit - -
-           
InvientChartsConfig.DashStyle - -
-           
InvientChartsConfig.DataLabel - -
-          This class contains various attributes to format data labels.
InvientChartsConfig.DateTimeAxis.DateTimeLabelFormat - -
-           
InvientChartsConfig.GeneralChartConfig - -
-          This class contains configuration properties at a chart level.
InvientChartsConfig.GeneralChartConfig.Margin - -
-          This class represents margin between the outer edge of the chart and - the plot area.
InvientChartsConfig.GeneralChartConfig.Plot - -
-          This class represents drawing area of the chart and contains methods - specific to it.
InvientChartsConfig.GeneralChartConfig.Spacing - -
-          This class represents space around the chart.
InvientChartsConfig.GeneralChartConfig.ZoomType - -
-          The value ZoomType.X represents horizontal zoom.
InvientChartsConfig.HorzAlign - -
-           
InvientChartsConfig.Legend - -
-           
InvientChartsConfig.Legend.Layout - -
-           
InvientChartsConfig.Marker - -
-          Defines a marker for a point.
InvientChartsConfig.MarkerState - -
-          Defines a set of attributes which gets applied to a point when a point is - selected or hovered.
InvientChartsConfig.NonLinearSeriesState - -
-          Defines a set of attributes which are meaningful for bar and colum - series.
InvientChartsConfig.NumberAxis - -
-           
InvientChartsConfig.PieDataLabel - -
-          This class contains configuration attributes of data labels specific to - Pie series.
InvientChartsConfig.PointConfig - -
-          Defines configuration per point in a series.
InvientChartsConfig.Position - -
-           
InvientChartsConfig.SeriesConfig - -
-          This class contains general configuration options for all series types - such as line, area and pie.
InvientChartsConfig.SeriesState - -
-          Defines a set of attributes which will be applied to a series upon hover.
InvientChartsConfig.Stacking - -
-          Defines ways in which series of a chart can be stacked.
InvientChartsConfig.State - -
-          Defines state for a series and point.
InvientChartsConfig.SubTitle - -
-          Defines attributes of chart subtitle.
InvientChartsConfig.SymbolMarker.Symbol - -
-          Defines predefined marker shapes to be used along with - InvientChartsConfig.SymbolMarker
InvientChartsConfig.Title - -
-          Defines attributes of chart title.
InvientChartsConfig.TitleBase - -
-          A chart has a title and a subtitle.
InvientChartsConfig.Tooltip - -
-           
InvientChartsConfig.VertAlign - -
-           
InvientChartsConfig.XAxis - -
-           
InvientChartsConfig.XAxisDataLabel - -
-          This class contains configuration properties specifically for x-axis - labels.
InvientChartsConfig.YAxis - -
-           
InvientChartsConfig.YAxisDataLabel - -
-          This class contains configuration properties specifically for x-axis - labels.
Paint - -
-          This Paint interface defines how color patterns can be generated - when drawing the InvientCharts.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/widgetset/client/ui/VInvientCharts.html b/doc/com/invient/vaadin/charts/widgetset/client/ui/VInvientCharts.html deleted file mode 100644 index 49dde38..0000000 --- a/doc/com/invient/vaadin/charts/widgetset/client/ui/VInvientCharts.html +++ /dev/null @@ -1,412 +0,0 @@ - - - - - - -VInvientCharts - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.invient.vaadin.charts.widgetset.client.ui -
-Class VInvientCharts

-
-java.lang.Object
-  extended by com.google.gwt.user.client.ui.UIObject
-      extended by com.google.gwt.user.client.ui.Widget
-          extended by com.invient.vaadin.charts.widgetset.client.ui.VInvientCharts
-
-
-
All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.IsWidget, com.vaadin.terminal.gwt.client.Paintable
-
-
-
-
public class VInvientCharts
extends com.google.gwt.user.client.ui.Widget
implements com.vaadin.terminal.gwt.client.Paintable
- - -

-Client side widget which communicates with the server. Messages from the - server are shown as HTML and mouse clicks are sent to the server. - - Reads data from UIDL and create appropriate JavaScript overlay objects such - as GwtChart, GwtAxis, GwtInvientChartsConfig, - GwtPoint and GwtSeries - - Uses a method newChart() of GwtInvientChartsUtil to create a chart - object of type GwtChart -

- -

-

-
Author:
-
Invient
-
-
- -

- - - - - - - -
-Nested Class Summary
- - - - - - - -
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
-  - - - - - - - - - - - -
-Field Summary
-static java.lang.StringCLASSNAME - -
-          Set the CSS class name to allow styling.
- - - - - - - -
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
-  - - - - - - - - - - -
-Constructor Summary
VInvientCharts() - -
-          The constructor should first call super() to initialize the component and - then handle any initialization relevant to Vaadin.
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidonLoad() - -
-           
- voidonUnload() - -
-           
- voidupdateFromUIDL(com.vaadin.terminal.gwt.client.UIDL uidl, - com.vaadin.terminal.gwt.client.ApplicationConnection client) - -
-          Called whenever an update is received from the server
- - - - - - - -
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, fireEvent, getLayoutData, getParent, isAttached, onBrowserEvent, removeFromParent, setLayoutData, sinkEvents
- - - - - - - -
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleName, getStylePrimaryName, getTitle, isVisible, isVisible, removeStyleDependentName, removeStyleName, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-CLASSNAME

-
-public static final java.lang.String CLASSNAME
-
-
Set the CSS class name to allow styling. -

-

-
See Also:
Constant Field Values
-
- - - - - - - - -
-Constructor Detail
- -

-VInvientCharts

-
-public VInvientCharts()
-
-
The constructor should first call super() to initialize the component and - then handle any initialization relevant to Vaadin. -

-

- - - - - - - - -
-Method Detail
- -

-updateFromUIDL

-
-public void updateFromUIDL(com.vaadin.terminal.gwt.client.UIDL uidl,
-                           com.vaadin.terminal.gwt.client.ApplicationConnection client)
-
-
Called whenever an update is received from the server -

-

-
Specified by:
updateFromUIDL in interface com.vaadin.terminal.gwt.client.Paintable
-
-
-
-
-
-
- -

-onLoad

-
-public void onLoad()
-
-
-
Overrides:
onLoad in class com.google.gwt.user.client.ui.Widget
-
-
-
-
-
-
- -

-onUnload

-
-public void onUnload()
-
-
-
Overrides:
onUnload in class com.google.gwt.user.client.ui.Widget
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/widgetset/client/ui/class-use/VInvientCharts.html b/doc/com/invient/vaadin/charts/widgetset/client/ui/class-use/VInvientCharts.html deleted file mode 100644 index bccbbf4..0000000 --- a/doc/com/invient/vaadin/charts/widgetset/client/ui/class-use/VInvientCharts.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - -Uses of Class com.invient.vaadin.charts.widgetset.client.ui.VInvientCharts - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Class
com.invient.vaadin.charts.widgetset.client.ui.VInvientCharts

-
-No usage of com.invient.vaadin.charts.widgetset.client.ui.VInvientCharts -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/widgetset/client/ui/package-frame.html b/doc/com/invient/vaadin/charts/widgetset/client/ui/package-frame.html deleted file mode 100644 index e8ce093..0000000 --- a/doc/com/invient/vaadin/charts/widgetset/client/ui/package-frame.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - -com.invient.vaadin.charts.widgetset.client.ui - - - - - - - - - - - -com.invient.vaadin.charts.widgetset.client.ui - - - - -
-Classes  - -
-VInvientCharts
- - - - diff --git a/doc/com/invient/vaadin/charts/widgetset/client/ui/package-summary.html b/doc/com/invient/vaadin/charts/widgetset/client/ui/package-summary.html deleted file mode 100644 index 8105695..0000000 --- a/doc/com/invient/vaadin/charts/widgetset/client/ui/package-summary.html +++ /dev/null @@ -1,157 +0,0 @@ - - - - - - -com.invient.vaadin.charts.widgetset.client.ui - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-

-Package com.invient.vaadin.charts.widgetset.client.ui -

- - - - - - - - - -
-Class Summary
VInvientChartsClient side widget which communicates with the server.
-  - -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/widgetset/client/ui/package-tree.html b/doc/com/invient/vaadin/charts/widgetset/client/ui/package-tree.html deleted file mode 100644 index d2e4c01..0000000 --- a/doc/com/invient/vaadin/charts/widgetset/client/ui/package-tree.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - -com.invient.vaadin.charts.widgetset.client.ui Class Hierarchy - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package com.invient.vaadin.charts.widgetset.client.ui -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/com/invient/vaadin/charts/widgetset/client/ui/package-use.html b/doc/com/invient/vaadin/charts/widgetset/client/ui/package-use.html deleted file mode 100644 index 7fc786d..0000000 --- a/doc/com/invient/vaadin/charts/widgetset/client/ui/package-use.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - -Uses of Package com.invient.vaadin.charts.widgetset.client.ui - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Uses of Package
com.invient.vaadin.charts.widgetset.client.ui

-
-No usage of com.invient.vaadin.charts.widgetset.client.ui -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/constant-values.html b/doc/constant-values.html deleted file mode 100644 index d111d9c..0000000 --- a/doc/constant-values.html +++ /dev/null @@ -1,174 +0,0 @@ - - - - - - -Constant Field Values - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Constant Field Values

-
-
-Contents - - - - - - -
-com.invient.*
- -

- - - - - - - - - - - - -
com.invient.vaadin.charts.widgetset.client.ui.VInvientCharts
-public static final java.lang.StringCLASSNAME"v-invientcharts"
- -

- -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/deprecated-list.html b/doc/deprecated-list.html deleted file mode 100644 index e6a6d95..0000000 --- a/doc/deprecated-list.html +++ /dev/null @@ -1,146 +0,0 @@ - - - - - - -Deprecated List - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Deprecated API

-
-
-Contents - -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/help-doc.html b/doc/help-doc.html deleted file mode 100644 index be724d9..0000000 --- a/doc/help-doc.html +++ /dev/null @@ -1,223 +0,0 @@ - - - - - - -API Help - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-How This API Document Is Organized

-
-This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.

-Overview

-
- -

-The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.

-

-Package

-
- -

-Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain four categories:

    -
  • Interfaces (italic)
  • Classes
  • Enums
  • Exceptions
  • Errors
  • Annotation Types
-
-

-Class/Interface

-
- -

-Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

    -
  • Class inheritance diagram
  • Direct Subclasses
  • All Known Subinterfaces
  • All Known Implementing Classes
  • Class/interface declaration
  • Class/interface description -

    -

  • Nested Class Summary
  • Field Summary
  • Constructor Summary
  • Method Summary -

    -

  • Field Detail
  • Constructor Detail
  • Method Detail
-Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
- -

-Annotation Type

-
- -

-Each annotation type has its own separate page with the following sections:

    -
  • Annotation Type declaration
  • Annotation Type description
  • Required Element Summary
  • Optional Element Summary
  • Element Detail
-
- -

-Enum

-
- -

-Each enum has its own separate page with the following sections:

    -
  • Enum declaration
  • Enum description
  • Enum Constant Summary
  • Enum Constant Detail
-
-

-Use

-
-Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.
-

-Tree (Class Hierarchy)

-
-There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.
    -
  • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
  • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
-
-

-Deprecated API

-
-The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
-

-Index

-
-The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
-

-Prev/Next

-These links take you to the next or previous class, interface, package, or related page.

-Frames/No Frames

-These links show and hide the HTML frames. All pages are available with or without frames. -

-

-Serialized Form

-Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description. -

-

-Constant Field Values

-The Constant Field Values page lists the static final fields and their values. -

- - -This help file applies to API documentation generated using the standard doclet. - -
-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/index-files/index-1.html b/doc/index-files/index-1.html deleted file mode 100644 index 5536509..0000000 --- a/doc/index-files/index-1.html +++ /dev/null @@ -1,232 +0,0 @@ - - - - - - -A-Index - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -A C E G H I L P R S T U V
-

-A

-
-
addLabel(InvientChartsConfig.ChartLabel.ChartLabelItem) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.ChartLabel -
Appends the specified element at the end of InvientChartsConfig.ChartLabel.ChartLabelItem - list -
addListener(InvientCharts.PointClickListener, InvientCharts.SeriesType...) - -Method in class com.invient.vaadin.charts.InvientCharts -
Adds the point click listener. -
addListener(InvientCharts.PointRemoveListener, InvientCharts.SeriesType...) - -Method in class com.invient.vaadin.charts.InvientCharts -
Adds the point remove listener. -
addListener(InvientCharts.PointUnselectListener, InvientCharts.SeriesType...) - -Method in class com.invient.vaadin.charts.InvientCharts -
Adds the point unselect listener. -
addListener(InvientCharts.PointSelectListener, InvientCharts.SeriesType...) - -Method in class com.invient.vaadin.charts.InvientCharts -
Adds the point select listener. -
addListener(InvientCharts.SeriesClickListerner, InvientCharts.SeriesType...) - -Method in class com.invient.vaadin.charts.InvientCharts -
Adds the series click listener. -
addListener(InvientCharts.SeriesHideListerner, InvientCharts.SeriesType...) - -Method in class com.invient.vaadin.charts.InvientCharts -
Adds the series hide listener. -
addListener(InvientCharts.SeriesShowListerner, InvientCharts.SeriesType...) - -Method in class com.invient.vaadin.charts.InvientCharts -
Adds the series show listener. -
addListener(InvientCharts.SeriesLegendItemClickListerner, InvientCharts.SeriesType...) - -Method in class com.invient.vaadin.charts.InvientCharts -
Adds the series legend item click listener. -
addListener(InvientCharts.PieChartLegendItemClickListener) - -Method in class com.invient.vaadin.charts.InvientCharts -
Adds the piechart legend item click listener. -
addListener(InvientCharts.ChartClickListener) - -Method in class com.invient.vaadin.charts.InvientCharts -
Adds the chart click listener. -
addListener(InvientCharts.ChartAddSeriesListener) - -Method in class com.invient.vaadin.charts.InvientCharts -
Adds the series add listener. -
addListener(InvientCharts.ChartZoomListener) - -Method in class com.invient.vaadin.charts.InvientCharts -
Adds the chart zoom listener. -
addListener(InvientCharts.ChartResetZoomListener) - -Method in class com.invient.vaadin.charts.InvientCharts -
Adds the chart reset zoom listener. -
addListener(InvientCharts.ChartSVGAvailableListener) - -Method in class com.invient.vaadin.charts.InvientCharts -
Adds the chart svg available listener for this chart. -
addPlotBand(InvientChartsConfig.AxisBase.NumberPlotBand) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.CategoryAxis -
  -
addPlotBand(InvientChartsConfig.AxisBase.DateTimePlotBand) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.DateTimeAxis -
  -
addPlotBand(InvientChartsConfig.AxisBase.NumberPlotBand) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.NumberAxis -
  -
addPlotLine(InvientChartsConfig.AxisBase.NumberPlotLine) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.CategoryAxis -
  -
addPlotLine(InvientChartsConfig.AxisBase.DateTimePlotLine) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.DateTimeAxis -
  -
addPlotLine(InvientChartsConfig.AxisBase.NumberPlotLine) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.NumberAxis -
  -
addPoint(InvientCharts.DateTimePoint...) - -Method in class com.invient.vaadin.charts.InvientCharts.DateTimeSeries -
Appends the specified point into the series if they do not exists in - this series. -
addPoint(InvientCharts.DateTimePoint, boolean) - -Method in class com.invient.vaadin.charts.InvientCharts.DateTimeSeries -
Append the specified point into this series. -
addPoint(InvientCharts.DecimalPoint...) - -Method in class com.invient.vaadin.charts.InvientCharts.XYSeries -
Appends the specified point into the series if they do not exists in - this series. -
addPoint(InvientCharts.DecimalPoint, boolean) - -Method in class com.invient.vaadin.charts.InvientCharts.XYSeries -
Append the specified point into this series. -
addSeries(InvientCharts.Series) - -Method in class com.invient.vaadin.charts.InvientCharts -
Adds the argument series to this chart. -
addSeriesConfig(InvientChartsConfig.SeriesConfig) - -Method in class com.invient.vaadin.charts.InvientChartsConfig -
Adds the specified argument only if it is non-null. -
addXAxes(InvientChartsConfig.XAxis) - -Method in class com.invient.vaadin.charts.InvientChartsConfig -
Adds specified x-axis to the collection of x-axis -
addYAxes(InvientChartsConfig.YAxis) - -Method in class com.invient.vaadin.charts.InvientChartsConfig -
Adds specified y-axis to the collection of y-axis -
-
- - - - - - - - - - - - - - - -
- -
- - - -A C E G H I L P R S T U V
- - - diff --git a/doc/index-files/index-10.html b/doc/index-files/index-10.html deleted file mode 100644 index b671638..0000000 --- a/doc/index-files/index-10.html +++ /dev/null @@ -1,1081 +0,0 @@ - - - - - - -S-Index - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -A C E G H I L P R S T U V
-

-S

-
-
seriesClick(InvientCharts.SeriesClickEvent) - -Method in interface com.invient.vaadin.charts.InvientCharts.SeriesClickListerner -
  -
seriesHide(InvientCharts.SeriesHideEvent) - -Method in interface com.invient.vaadin.charts.InvientCharts.SeriesHideListerner -
  -
seriesLegendItemClick(InvientCharts.SeriesLegendItemClickEvent) - -Method in interface com.invient.vaadin.charts.InvientCharts.SeriesLegendItemClickListerner -
  -
seriesShow(InvientCharts.SeriesShowEvent) - -Method in interface com.invient.vaadin.charts.InvientCharts.SeriesShowListerner -
  -
setAlign(InvientChartsConfig.AxisBase.AxisTitleAlign) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.AxisTitle -
  -
setAlign(InvientChartsConfig.HorzAlign) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotLabel -
  -
setAlign(InvientChartsConfig.HorzAlign) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.DataLabel -
  -
setAlign(InvientChartsConfig.HorzAlign) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Position -
  -
setAlign(InvientChartsConfig.HorzAlign) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.TitleBase -
Sets horizontal alignment of the title. -
setAlignTicks(Boolean) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig -
When using multiple axis, the ticks of two or more opposite axes will - automatically be aligned by adding ticks to the axis or axes with the - least ticks. -
setAllowDecimals(Boolean) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.NumberAxis -
  -
setAllowPointSelect(Boolean) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.SeriesConfig -
If the argument is true then the points of a can be selected - otherwise not. -
setAlternateGridColor(Paint) - -Method in interface com.invient.vaadin.charts.InvientChartsConfig.Axis -
  -
setAlternateGridColor(Paint) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase -
Sets a color to be used for alternate grids of the chart -
setAnimation(Boolean) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig -
Set the overall animation for all chart updating. -
setAnimation(Boolean) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.SeriesConfig -
If the argument is true then animation will be enabled when a series - will be displayed otherwise not. -
setBackgroundColor(Paint) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig.Plot -
  -
setBackgroundColor(Paint) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig -
Sets the background color for the outer chart area -
setBackgroundColor(Paint) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Legend -
  -
setBackgroundColor(Paint) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Tooltip -
  -
setBackgroundImage(String) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig.Plot -
  -
setBorderColor(Paint) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.BaseBarConfig -
Sets the color of the border surronding each column or bar. -
setBorderColor(Paint) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig.Plot -
  -
setBorderColor(Paint) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig -
Sets the border color for the outer chart border -
setBorderColor(Paint) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Legend -
  -
setBorderColor(Paint) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.PieConfig -
Sets color of border surrounding each slice. -
setBorderColor(Paint) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Tooltip -
  -
setBorderRadius(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.BaseBarConfig -
Sets corner radius of the border surronding each column or bar. -
setBorderRadius(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig -
Sets radius for the outer chart border -
setBorderRadius(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Legend -
  -
setBorderRadius(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Tooltip -
  -
setBorderWidth(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.BaseBarConfig -
Sets width of the border surronding each column or bar. -
setBorderWidth(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig.Plot -
  -
setBorderWidth(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig -
Sets pixel width of the outer chart border -
setBorderWidth(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Legend -
  -
setBorderWidth(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.PieConfig -
Sets width of border surrounding each slice. -
setBorderWidth(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Tooltip -
  -
setBottom(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig.Margin -
  -
setBottom(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig.Spacing -
  -
setBrightness(Double) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.NonLinearSeriesState -
Sets intensity of brightness for a point. -
setCategories(List<String>) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.CategoryAxis -
  -
setCenterX(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.PieConfig -
Sets x position (in pixel) of the center of the pie chart relative to - the plot area. -
setCenterY(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.PieConfig -
Sets y position (in pixel) of the center of the pie chart relative to - the plot area. -
setChartLabel(InvientChartsConfig.ChartLabel) - -Method in class com.invient.vaadin.charts.InvientChartsConfig -
Sets the argument InvientChartsConfig.ChartLabel object only if it is non-null -
setClassName(String) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig -
A CSS class name to apply to the charts container -
setClientZoom(boolean) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig -
If the argument is true then the scaling will happen on client. -
setColor(Paint) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.MinorTick -
  -
setColor(Paint) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotBand -
  -
setColor(Paint) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotLine -
  -
setColor(Color) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.DataLabel -
Sets color for the data labels. -
setColor(Paint) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.PointConfig -
  -
setColor(Paint) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.SeriesConfig -
Sets color for the series. -
setColorByPoint(Boolean) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.BaseBarConfig -
If the argument is true then each point (bar or column in a series - will have a different color otherwise all points (bars/columns) of a - series will have same color. -
setConfig(InvientChartsConfig.PointConfig) - -Method in class com.invient.vaadin.charts.InvientCharts.Point -
Sets InvientChartsConfig.PointConfig for this point -
setConnectorColor(Paint) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.PieDataLabel -
Sets the color of the line connecting the data label to the pie - slice. -
setConnectorPadding(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.PieDataLabel -
Sets the distance (in pixel) from the data label to the connector. -
setConnectorWidth(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.PieDataLabel -
Sets width (in pixel) of the line connecting the data label to the - pie slice. -
setCredit(InvientChartsConfig.Credit) - -Method in class com.invient.vaadin.charts.InvientChartsConfig -
Sets the InvientChartsConfig.Credit object only if the argument credit is non-null -
setCrosshairs(Boolean) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Tooltip -
  -
setCursor(String) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.SeriesConfig -
Sets the cursor style. -
setDashStyle(InvientChartsConfig.DashStyle) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotLine -
  -
setDashStyle(InvientChartsConfig.DashStyle) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.BaseLineConfig -
Sets dash style to use when drawing a series. -
setDataLabel(InvientChartsConfig.PieDataLabel) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.PieConfig -
Sets an object of InvientChartsConfig.PieDataLabel which contains configuration - for formatting data labels. -
setDataLabel(InvientChartsConfig.DataLabel) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.SeriesConfig -
Sets how point value should be formatted and displayed for each - point. -
setDateTimeLabelFormat(InvientChartsConfig.DateTimeAxis.DateTimeLabelFormat) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.DateTimeAxis -
  -
setDay(String) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.DateTimeAxis.DateTimeLabelFormat -
  -
setDistance(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.PieDataLabel -
Sets the distance (in pixel) of the data label from the pie's edge. -
setEnabled(Boolean) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AbstractMarker -
  -
setEnabled(Boolean) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Credit -
  -
setEnabled(Boolean) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.DataLabel -
If the argument is true then the datalabels will be displayed - otherwise not. -
setEnabled(Boolean) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Legend -
  -
setEnabled(Boolean) - -Method in interface com.invient.vaadin.charts.InvientChartsConfig.Marker -
  -
setEnabled(Boolean) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.MarkerState -
If enabled = false then the marker will not be applied to a point on - hover or select state. -
setEnabled(Boolean) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.SeriesState -
If the argument is true then the other properties of this class have - impact on visual rendering of the series when a series is hovered or - when a mouse is over the legend. -
setEnabled(Boolean) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Tooltip -
  -
setEnableMouseTracking(Boolean) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.SeriesConfig -
If the argument is true then the mouse tracking will be enabled for a - series otherwise not. -
setEndOnTick(Boolean) - -Method in interface com.invient.vaadin.charts.InvientChartsConfig.Axis -
  -
setEndOnTick(Boolean) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase -
If the argument is true then this axis will end on a tick. -
setFillColor(Paint) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AreaConfig -
Sets fill gradient for the area -
setFillColor(Paint) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.MarkerState -
Sets fill color for the marker. -
setFillColor(Paint) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.SymbolMarker -
Sets color of the point marker -
setFillOpacity(Double) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AreaConfig -
Sets opacity for the area -
setFloating(Boolean) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Legend -
  -
setFloating(Boolean) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.TitleBase -
If the argument is true then the plot area will not move to make - space for the chart title. -
setFormatterJsFunc(String) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.DataLabel -
Sets the argument string JavaScript function. -
setFormatterJsFunc(String) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Tooltip -
  -
setFrom(Date) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.DateTimePlotBand.DateTimeRange -
  -
setFrom(Double) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.NumberPlotBand.NumberRange -
  -
setGeneralChartConfig(InvientChartsConfig.GeneralChartConfig) - -Method in class com.invient.vaadin.charts.InvientChartsConfig -
Sets InvientChartsConfig.GeneralChartConfig object only if the argument is non-null -
setGrid(InvientChartsConfig.AxisBase.Grid) - -Method in interface com.invient.vaadin.charts.InvientChartsConfig.Axis -
  -
setGrid(InvientChartsConfig.AxisBase.Grid) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase -
Sets grid for this axis -
setGroupPadding(Double) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.BaseBarConfig -
Sets padding between each value groups, in x axis units. -
setHeight(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig -
Sets height for the chart -
setHour(String) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.DateTimeAxis.DateTimeLabelFormat -
  -
setHoverState(InvientChartsConfig.NonLinearSeriesState) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.BaseBarConfig -
Sets state which should be applied to a bar or column when a mouse is - over the bar or column -
setHoverState(InvientChartsConfig.NonLinearSeriesState) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.PieConfig -
Sets state which should be applied to a slice when a mouse is over - the slice -
setHoverState(InvientChartsConfig.SeriesState) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.SeriesConfig -
Sets attributes which should be applied to a series when series is - hovered. -
setHoverState(InvientChartsConfig.MarkerState) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.SymbolMarker -
Sets marker to be applied to a point when it is hovered. -
setHtml(String) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.ChartLabel.ChartLabelItem -
Sets html for this label -
setId(String) - -Method in interface com.invient.vaadin.charts.InvientChartsConfig.Axis -
  -
setId(String) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotLine -
  -
setId(String) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase -
Sets an id for the axis -
setIgnoreHiddenSeries(Boolean) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig -
If the argument is true, the axes will scale to the remaining visible - series once one series is hidden. -
setImageURL(String) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.ImageMarker -
  -
setInnerSize(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.PieConfig -
Sets the size of the inner diameter for the pie. -
setInterval(Double) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.MinorTick -
Sets interval for the minor tick. -
setInverted(Boolean) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig -
If the argument is true then the x-axis is reversed. -
setItemHiddenStyle(String) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Legend -
  -
setItemHoverStyle(String) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Legend -
  -
setItemStyle(String) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Legend -
  -
setItemWidth(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Legend -
  -
setLabel(InvientChartsConfig.AxisBase.PlotLabel) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotBand -
  -
setLabel(InvientChartsConfig.AxisBase.PlotLabel) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotLine -
  -
setLabel(InvientChartsConfig.XAxisDataLabel) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.CategoryAxis -
  -
setLabel(InvientChartsConfig.XAxisDataLabel) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.NumberXAxis -
  -
setLabel(InvientChartsConfig.YAxisDataLabel) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.NumberYAxis -
  -
setLabelFormatterJsFunc(String) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Legend -
  -
setLabels(List<InvientChartsConfig.ChartLabel.ChartLabelItem>) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.ChartLabel -
Sets a list of InvientChartsConfig.ChartLabel.ChartLabelItem objects -
setLayout(InvientChartsConfig.Legend.Layout) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Legend -
  -
setLeft(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig.Margin -
  -
setLeft(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig.Spacing -
  -
setLegend(InvientChartsConfig.Legend) - -Method in class com.invient.vaadin.charts.InvientChartsConfig -
Sets InvientChartsConfig.Legend object only if the argument legend is non-null -
setLength(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.MinorTick -
Sets length of the minorticks in pixel -
setLineColor(Paint) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AreaConfig -
Sets line color for the line of an area. -
setLineColor(Paint) - -Method in interface com.invient.vaadin.charts.InvientChartsConfig.Axis -
  -
setLineColor(Paint) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.MinorGrid -
Sets color of the minor grid lines -
setLineColor(Paint) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase -
Sets a color for line of this axis. -
setLineColor(Paint) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.MarkerState -
Sets color of the point marker's outline. -
setLineColor(Paint) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.SymbolMarker -
Sets color of the point marker's outline -
setLineDashStyle(InvientChartsConfig.DashStyle) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.MinorGrid -
Sets dash or dot style of the minor grid lines. -
setLineWidth(Integer) - -Method in interface com.invient.vaadin.charts.InvientChartsConfig.Axis -
  -
setLineWidth(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.MinorGrid -
Sets width (in pixel) of the minor grid lines. -
setLineWidth(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase -
Sets width of this axis line -
setLineWidth(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.BaseLineConfig -
Sets width of a line -
setLineWidth(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.MarkerState -
Sets width of the point marker's outline. -
setLineWidth(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.SeriesState -
Sets width of a line in pixel. -
setLineWidth(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.SymbolMarker -
Sets width of the point marker outline -
setLink(String) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Credit -
  -
setLinkedTo(InvientChartsConfig.Axis) - -Method in interface com.invient.vaadin.charts.InvientChartsConfig.Axis -
  -
setLinkedTo(InvientChartsConfig.Axis) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase -
Sets another axis which is linked with this axis. -
setMargin(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.AxisTitle -
  -
setMargin(InvientChartsConfig.GeneralChartConfig.Margin) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig -
  -
setMargin(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Legend -
  -
setMargin(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Title -
Sets margin (in pixel) between the chart title and subtitle, if any. -
setMarker(InvientChartsConfig.Marker) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.BaseLineConfig -
Sets marker for points of a series -
setMarker(InvientChartsConfig.Marker) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.PointConfig -
  -
setMax(Date) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.DateTimeAxis -
  -
setMax(Double) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.NumberAxis -
  -
setMaxPadding(Double) - -Method in interface com.invient.vaadin.charts.InvientChartsConfig.Axis -
  -
setMaxPadding(Double) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase -
  -
setMaxZoom(Integer) - -Method in interface com.invient.vaadin.charts.InvientChartsConfig.Axis -
  -
setMaxZoom(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase -
Sets maximum amount of zoom for this axis. -
setMin(Date) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.DateTimeAxis -
  -
setMin(Double) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.NumberAxis -
  -
setMinorGrid(InvientChartsConfig.AxisBase.MinorGrid) - -Method in interface com.invient.vaadin.charts.InvientChartsConfig.Axis -
  -
setMinorGrid(InvientChartsConfig.AxisBase.MinorGrid) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase -
  -
setMinorTick(InvientChartsConfig.AxisBase.MinorTick) - -Method in interface com.invient.vaadin.charts.InvientChartsConfig.Axis -
  -
setMinorTick(InvientChartsConfig.AxisBase.MinorTick) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase -
  -
setMinPadding(Double) - -Method in interface com.invient.vaadin.charts.InvientChartsConfig.Axis -
  -
setMinPadding(Double) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase -
  -
setMinPointLength(Double) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.BaseBarConfig -
Sets the minimal height for a column or width for a bar. -
setMinute(String) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.DateTimeAxis.DateTimeLabelFormat -
  -
setMonth(String) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.DateTimeAxis.DateTimeLabelFormat -
  -
setName(String) - -Method in class com.invient.vaadin.charts.InvientCharts.Point -
Sets name of this point -
setName(String) - -Method in class com.invient.vaadin.charts.InvientCharts.Series -
Sets name of this series -
setOffset(Integer) - -Method in interface com.invient.vaadin.charts.InvientChartsConfig.Axis -
  -
setOffset(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase -
Sets distance of this axis from the plot area -
setOpposite(Boolean) - -Method in interface com.invient.vaadin.charts.InvientChartsConfig.Axis -
  -
setOpposite(Boolean) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase -
If the argument is true then another axis on the opposite side of - this axis will be displayed. -
setPixelInterval(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.Tick -
Sets pixel interval of the tick marks -
setPlacement(InvientChartsConfig.AxisBase.TickmarkPlacement) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.Tick -
Sets placement of the tick marks. -
setPlot(InvientChartsConfig.GeneralChartConfig.Plot) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig -
Sets plot object -
setPlotBands(LinkedHashSet<InvientChartsConfig.AxisBase.NumberPlotBand>) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.CategoryAxis -
  -
setPlotBands(LinkedHashSet<InvientChartsConfig.AxisBase.DateTimePlotBand>) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.DateTimeAxis -
  -
setPlotBands(LinkedHashSet<InvientChartsConfig.AxisBase.NumberPlotBand>) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.NumberAxis -
  -
setPlotLines(LinkedHashSet<InvientChartsConfig.AxisBase.NumberPlotLine>) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.CategoryAxis -
  -
setPlotLines(LinkedHashSet<InvientChartsConfig.AxisBase.DateTimePlotLine>) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.DateTimeAxis -
  -
setPlotLines(LinkedHashSet<InvientChartsConfig.AxisBase.NumberPlotLine>) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.NumberAxis -
  -
setPointInterval(Double) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.BaseLineConfig -
If no x values are given for the points in a series, the argument - pointInterval defines the interval of the x values. -
setPointPadding(Double) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.BaseBarConfig -
Sets padding between each column or bar, in x axis units. -
setPointStart(Double) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.BaseLineConfig -
If no x values are given for the points in a series, the argument - pointStart defines on what value to start. -
setPointWidth(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.BaseBarConfig -
Sets width of each bar or column in pixel. -
setPosition(InvientChartsConfig.AxisBase.TickPosition) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.MinorTick -
  -
setPosition(InvientChartsConfig.Position) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Credit -
  -
setPosition(InvientChartsConfig.Position) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Legend -
  -
setRadius(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.MarkerState -
Sets radius of the point marker. -
setRadius(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.SymbolMarker -
Sets radius of the point marker -
setRange(InvientChartsConfig.AxisBase.DateTimePlotBand.DateTimeRange) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.DateTimePlotBand -
  -
setRange(InvientChartsConfig.AxisBase.NumberPlotBand.NumberRange) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.NumberPlotBand -
  -
setReflow(Boolean) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig -
A value of true indicates that the chart will fit the width of the - charts container otherwise not. -
setReversed(Boolean) - -Method in interface com.invient.vaadin.charts.InvientChartsConfig.Axis -
  -
setReversed(Boolean) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase -
If the argument it true then this axis will be reversed. -
setReversed(Boolean) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Legend -
  -
setRight(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig.Margin -
  -
setRight(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig.Spacing -
  -
setRotation(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.AxisTitle -
  -
setRotation(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotLabel -
  -
setRotation(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.DataLabel -
Sets text rotation in degrees -
setSecond(String) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.DateTimeAxis.DateTimeLabelFormat -
  -
setSelected(Boolean) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.PointConfig -
  -
setSelectState(InvientChartsConfig.MarkerState) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.SymbolMarker -
Sets marker to be applied to a point when it is selected. -
setSeries(LinkedHashSet<InvientCharts.Series>) - -Method in class com.invient.vaadin.charts.InvientCharts -
The data of a chart is defined in terms of InvientCharts.Series. -
setSeriesConfig(LinkedHashSet<InvientChartsConfig.SeriesConfig>) - -Method in class com.invient.vaadin.charts.InvientChartsConfig -
Sets a set of InvientChartsConfig.SeriesConfig objects only if the argument is - non-null -
setSeriesPoints(LinkedHashSet<InvientCharts.DateTimePoint>) - -Method in class com.invient.vaadin.charts.InvientCharts.DateTimeSeries -
Sets points into this series. -
setSeriesPoints(LinkedHashSet<InvientCharts.DecimalPoint>) - -Method in class com.invient.vaadin.charts.InvientCharts.XYSeries -
Sets points into this series. -
setShadow(Boolean) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig.Plot -
  -
setShadow(Boolean) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig -
A value of true indicates that the drop shadow will apply to the - outer chart area otherwise not. -
setShadow(Boolean) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Legend -
  -
setShadow(Boolean) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.PieConfig -
  -
setShadow(Boolean) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.ScatterConfig -
  -
setShadow(Boolean) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.SeriesConfig -
If the argument is true then a shadow will be shown to the graph line - otherwise not. -
setShadow(Boolean) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Tooltip -
  -
setShared(Boolean) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Tooltip -
  -
setShowAxes(Boolean) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig -
If the argument is true then the axes will be shown initially. -
setShowCheckbox(Boolean) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.SeriesConfig -
If the argument is true then a checkbox is displayed next to the - legend item in the legend area. -
setShowFirstLabel(Boolean) - -Method in interface com.invient.vaadin.charts.InvientChartsConfig.Axis -
  -
setShowFirstLabel(Boolean) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase -
If the argument is true then the label of this axis' first tick will - be displayed. -
setShowInLegend(Boolean) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.SeriesConfig -
If the argument is true then a series will be displayed in the legend - otherwise not. -
setShowLastLabel(Boolean) - -Method in interface com.invient.vaadin.charts.InvientChartsConfig.Axis -
  -
setShowLastLabel(Boolean) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase -
If the argument is true then the label of this axis' last tick will - be displayed. -
setSize(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.PieConfig -
Sets size of diameter of the pie relative to the plot area. -
setSliced(Boolean) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.PointConfig -
  -
setSlicedOffset(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.PieConfig -
Sets offset in pixel by which a slice should be moved out from the - center. -
setSnap(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Tooltip -
  -
setSpacing(InvientChartsConfig.GeneralChartConfig.Spacing) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig -
  -
setStack(String) - -Method in class com.invient.vaadin.charts.InvientCharts.Series -
By using this stack property, it is possible to group series in a - stacked chart. -
setStacking(InvientChartsConfig.Stacking) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.SeriesConfig -
Specifies whether the values of each series should be stacked on top - of each other or not. -
setStaggerLines(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.XAxisDataLabel -
Sets number of lines to spread the labels over to make room or - tighter labels. -
setStartOfWeek(InvientChartsConfig.AxisBase.WeekDay) - -Method in interface com.invient.vaadin.charts.InvientChartsConfig.Axis -
  -
setStartOfWeek(InvientChartsConfig.AxisBase.WeekDay) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase -
Sets a day to be considered as start of the week. -
setStartOnTick(Boolean) - -Method in interface com.invient.vaadin.charts.InvientChartsConfig.Axis -
  -
setStartOnTick(Boolean) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase -
If the argument is true then this axis must start on a tick. -
setStep(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisDataLabel -
Sets at what interval the labels on the axis should be displayed. -
setStep(Boolean) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.LineConfig -
If the argument is true then line will be drawn using steps otherwise - not. -
setStickyTracking(Boolean) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.BaseLineConfig -
If the argument is true then the mouseout event on a series is not - triggered until mouse moves over another series or comes out of the - plot area. -
setStyle(String) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.AxisTitle -
  -
setStyle(String) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotLabel -
  -
setStyle(String) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.ChartLabel.ChartLabelItem -
Sets css style for this label -
setStyle(String) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.ChartLabel -
Sets css style for all labels in this class -
setStyle(String) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Credit -
  -
setStyle(String) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.DataLabel -
Sets css style for the data label -
setStyle(String) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig -
A CSS string to apply to the charts container -
setStyle(String) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.TitleBase -
Sets css for the title. -
setStyle(String) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Tooltip -
  -
setSubtitle(InvientChartsConfig.SubTitle) - -Method in class com.invient.vaadin.charts.InvientChartsConfig -
Sets the argument subtitle only if the argument is non-null -
setSymbol(InvientChartsConfig.SymbolMarker.Symbol) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.SymbolMarker -
Sets symbol for the point marker. -
setSymbolPadding(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Legend -
  -
setSymbolWidth(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Legend -
  -
setText(String) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.AxisTitle -
  -
setText(String) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotLabel -
  -
setText(String) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Credit -
  -
setText(String) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.TitleBase -
Sets text for the chart's title. -
setTextAlign(InvientChartsConfig.HorzAlign) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotLabel -
  -
setThreshold(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AreaConfig -
Sets threshold value which servers as the base for the area, for - distinguishing between values above and below a threshold. -
setTick(InvientChartsConfig.AxisBase.Tick) - -Method in interface com.invient.vaadin.charts.InvientChartsConfig.Axis -
  -
setTick(InvientChartsConfig.AxisBase.Tick) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase -
Sets tick for the axis -
setTitle(InvientChartsConfig.AxisBase.AxisTitle) - -Method in interface com.invient.vaadin.charts.InvientChartsConfig.Axis -
  -
setTitle(InvientChartsConfig.AxisBase.AxisTitle) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase -
Sets title for the axis -
setTitle(InvientChartsConfig.Title) - -Method in class com.invient.vaadin.charts.InvientChartsConfig -
Sets the argument title only if the argument title is non-null -
setTo(Date) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.DateTimePlotBand.DateTimeRange -
  -
setTo(Double) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.NumberPlotBand.NumberRange -
  -
setTooltip(InvientChartsConfig.Tooltip) - -Method in class com.invient.vaadin.charts.InvientChartsConfig -
Sets InvientChartsConfig.Tooltip object only if the argument tooltip is non-null -
setTop(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig.Margin -
  -
setTop(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig.Spacing -
  -
setType(InvientCharts.SeriesType) - -Method in class com.invient.vaadin.charts.InvientCharts.Series -
Sets type of this series -
setType(InvientCharts.SeriesType) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig -
Sets series type to one of line, spline, scatter, area, areaspline, - pie, bar and column. -
setValue(Date) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.DateTimePlotLine.DateTimeValue -
  -
setValue(InvientChartsConfig.AxisBase.DateTimePlotLine.DateTimeValue) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.DateTimePlotLine -
  -
setValue(Double) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.NumberPlotLine.NumberValue -
  -
setValue(InvientChartsConfig.AxisBase.NumberPlotLine.NumberValue) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.NumberPlotLine -
  -
setVertAlign(InvientChartsConfig.VertAlign) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotLabel -
  -
setVertAlign(InvientChartsConfig.VertAlign) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Position -
  -
setVertAlign(InvientChartsConfig.VertAlign) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.TitleBase -
Sets horizontal alignment of the title. -
setVisible(Boolean) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.PieConfig -
  -
setVisible(Boolean) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.SeriesConfig -
If the argument is true then the series is visible otherwise not when - a chart is rendered initially. -
setWeek(String) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.DateTimeAxis.DateTimeLabelFormat -
  -
setWidth(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.MinorTick -
Sets width of the minorticks in pixel -
setWidth(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotLine -
  -
setWidth(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig -
Sets width for the chart -
setWidth(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Legend -
  -
setX(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotLabel -
  -
setX(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.DataLabel -
Sets the x position offset of the label relative to the point. -
setX(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Position -
  -
setX(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.TitleBase -
Sets x position (in pixel) of the title relative to the alignment - within Spacing.left and Spacing.right. -
setXAxes(LinkedHashSet<InvientChartsConfig.XAxis>) - -Method in class com.invient.vaadin.charts.InvientChartsConfig -
Sets a collection of x-axis for the chart. -
setXAxis(InvientChartsConfig.XAxis) - -Method in class com.invient.vaadin.charts.InvientCharts.Series -
Sets x-axis of this series. -
setY(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotLabel -
  -
setY(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.DataLabel -
Sets the y position offset of the label relative to the point. -
setY(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Position -
  -
setY(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.TitleBase -
Sets y position (in pixel) of the title relative to the alignment - within Spacing.top and Spacing.bottom. -
setYAxes(LinkedHashSet<InvientChartsConfig.YAxis>) - -Method in class com.invient.vaadin.charts.InvientChartsConfig -
Sets a collection of y-axis for the chart. -
setYAxis(InvientChartsConfig.YAxis) - -Method in class com.invient.vaadin.charts.InvientCharts.Series -
Sets y-axis of this series. -
setYear(String) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.DateTimeAxis.DateTimeLabelFormat -
  -
setZIndex(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotBand -
  -
setZIndex(Integer) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotLine -
  -
setZoomType(InvientChartsConfig.GeneralChartConfig.ZoomType) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig -
Sets zoom type. -
show() - -Method in class com.invient.vaadin.charts.InvientCharts.Series -
Show this series -
svgAvailable(InvientCharts.ChartSVGAvailableEvent) - -Method in interface com.invient.vaadin.charts.InvientCharts.ChartSVGAvailableListener -
  -
-
- - - - - - - - - - - - - - - -
- -
- - - -A C E G H I L P R S T U V
- - - diff --git a/doc/index-files/index-11.html b/doc/index-files/index-11.html deleted file mode 100644 index 4ce41e8..0000000 --- a/doc/index-files/index-11.html +++ /dev/null @@ -1,226 +0,0 @@ - - - - - - -T-Index - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -A C E G H I L P R S T U V
-

-T

-
-
toString() - -Method in class com.invient.vaadin.charts.Color.RGB -
  -
toString() - -Method in class com.invient.vaadin.charts.Color.RGBA -
  -
toString() - -Method in class com.invient.vaadin.charts.InvientCharts.ChartArea -
  -
toString() - -Method in class com.invient.vaadin.charts.InvientCharts.ChartClickEvent -
  -
toString() - -Method in class com.invient.vaadin.charts.InvientCharts.DateTimePoint -
  -
toString() - -Method in class com.invient.vaadin.charts.InvientCharts.DateTimeSeries -
  -
toString() - -Method in class com.invient.vaadin.charts.InvientCharts.DecimalPoint -
  -
toString() - -Method in class com.invient.vaadin.charts.InvientCharts.MousePosition -
  -
toString() - -Method in class com.invient.vaadin.charts.InvientCharts.Point -
  -
toString() - -Method in class com.invient.vaadin.charts.InvientCharts.Series -
  -
toString() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.MinorGrid -
  -
toString() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.MinorTick -
  -
toString() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.Tick -
  -
toString() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Credit -
  -
toString() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.DataLabel -
  -
toString() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.DateTimeAxis.DateTimeLabelFormat -
  -
toString() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig.Margin -
  -
toString() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig.Plot -
  -
toString() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig.Spacing -
  -
toString() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig -
  -
toString() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.ImageMarker -
  -
toString() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Legend -
  -
toString() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.MarkerState -
  -
toString() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.PieDataLabel -
  -
toString() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.PointConfig -
  -
toString() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Position -
  -
toString() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.SymbolMarker -
  -
toString() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Tooltip -
  -
-
- - - - - - - - - - - - - - - -
- -
- - - -A C E G H I L P R S T U V
- - - diff --git a/doc/index-files/index-12.html b/doc/index-files/index-12.html deleted file mode 100644 index b3fb689..0000000 --- a/doc/index-files/index-12.html +++ /dev/null @@ -1,145 +0,0 @@ - - - - - - -U-Index - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -A C E G H I L P R S T U V
-

-U

-
-
updateFromUIDL(UIDL, ApplicationConnection) - -Method in class com.invient.vaadin.charts.widgetset.client.ui.VInvientCharts -
Called whenever an update is received from the server -
-
- - - - - - - - - - - - - - - -
- -
- - - -A C E G H I L P R S T U V
- - - diff --git a/doc/index-files/index-13.html b/doc/index-files/index-13.html deleted file mode 100644 index 1ff2b34..0000000 --- a/doc/index-files/index-13.html +++ /dev/null @@ -1,244 +0,0 @@ - - - - - - -V-Index - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -A C E G H I L P R S T U V
-

-V

-
-
valueOf(String) - -Static method in enum com.invient.vaadin.charts.Gradient.Unit -
Returns the enum constant of this type with the specified name. -
valueOf(String) - -Static method in enum com.invient.vaadin.charts.InvientCharts.SeriesType -
Returns the enum constant of this type with the specified name. -
valueOf(String) - -Static method in enum com.invient.vaadin.charts.InvientChartsConfig.AxisBase.AxisTitleAlign -
Returns the enum constant of this type with the specified name. -
valueOf(String) - -Static method in enum com.invient.vaadin.charts.InvientChartsConfig.AxisBase.AxisType -
Returns the enum constant of this type with the specified name. -
valueOf(String) - -Static method in enum com.invient.vaadin.charts.InvientChartsConfig.AxisBase.TickmarkPlacement -
Returns the enum constant of this type with the specified name. -
valueOf(String) - -Static method in enum com.invient.vaadin.charts.InvientChartsConfig.AxisBase.TickPosition -
Returns the enum constant of this type with the specified name. -
valueOf(String) - -Static method in enum com.invient.vaadin.charts.InvientChartsConfig.AxisBase.WeekDay -
Returns the enum constant of this type with the specified name. -
valueOf(String) - -Static method in enum com.invient.vaadin.charts.InvientChartsConfig.DashStyle -
Returns the enum constant of this type with the specified name. -
valueOf(String) - -Static method in enum com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig.ZoomType -
Returns the enum constant of this type with the specified name. -
valueOf(String) - -Static method in enum com.invient.vaadin.charts.InvientChartsConfig.HorzAlign -
Returns the enum constant of this type with the specified name. -
valueOf(String) - -Static method in enum com.invient.vaadin.charts.InvientChartsConfig.Legend.Layout -
Returns the enum constant of this type with the specified name. -
valueOf(String) - -Static method in enum com.invient.vaadin.charts.InvientChartsConfig.Stacking -
Returns the enum constant of this type with the specified name. -
valueOf(String) - -Static method in enum com.invient.vaadin.charts.InvientChartsConfig.SymbolMarker.Symbol -
Returns the enum constant of this type with the specified name. -
valueOf(String) - -Static method in enum com.invient.vaadin.charts.InvientChartsConfig.VertAlign -
Returns the enum constant of this type with the specified name. -
values() - -Static method in enum com.invient.vaadin.charts.Gradient.Unit -
Returns an array containing the constants of this enum type, in -the order they are declared. -
values() - -Static method in enum com.invient.vaadin.charts.InvientCharts.SeriesType -
Returns an array containing the constants of this enum type, in -the order they are declared. -
values() - -Static method in enum com.invient.vaadin.charts.InvientChartsConfig.AxisBase.AxisTitleAlign -
Returns an array containing the constants of this enum type, in -the order they are declared. -
values() - -Static method in enum com.invient.vaadin.charts.InvientChartsConfig.AxisBase.AxisType -
Returns an array containing the constants of this enum type, in -the order they are declared. -
values() - -Static method in enum com.invient.vaadin.charts.InvientChartsConfig.AxisBase.TickmarkPlacement -
Returns an array containing the constants of this enum type, in -the order they are declared. -
values() - -Static method in enum com.invient.vaadin.charts.InvientChartsConfig.AxisBase.TickPosition -
Returns an array containing the constants of this enum type, in -the order they are declared. -
values() - -Static method in enum com.invient.vaadin.charts.InvientChartsConfig.AxisBase.WeekDay -
Returns an array containing the constants of this enum type, in -the order they are declared. -
values() - -Static method in enum com.invient.vaadin.charts.InvientChartsConfig.DashStyle -
Returns an array containing the constants of this enum type, in -the order they are declared. -
values() - -Static method in enum com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig.ZoomType -
Returns an array containing the constants of this enum type, in -the order they are declared. -
values() - -Static method in enum com.invient.vaadin.charts.InvientChartsConfig.HorzAlign -
Returns an array containing the constants of this enum type, in -the order they are declared. -
values() - -Static method in enum com.invient.vaadin.charts.InvientChartsConfig.Legend.Layout -
Returns an array containing the constants of this enum type, in -the order they are declared. -
values() - -Static method in enum com.invient.vaadin.charts.InvientChartsConfig.Stacking -
Returns an array containing the constants of this enum type, in -the order they are declared. -
values() - -Static method in enum com.invient.vaadin.charts.InvientChartsConfig.SymbolMarker.Symbol -
Returns an array containing the constants of this enum type, in -the order they are declared. -
values() - -Static method in enum com.invient.vaadin.charts.InvientChartsConfig.VertAlign -
Returns an array containing the constants of this enum type, in -the order they are declared. -
VInvientCharts - Class in com.invient.vaadin.charts.widgetset.client.ui
Client side widget which communicates with the server.
VInvientCharts() - -Constructor for class com.invient.vaadin.charts.widgetset.client.ui.VInvientCharts -
The constructor should first call super() to initialize the component and - then handle any initialization relevant to Vaadin. -
-
- - - - - - - - - - - - - - - -
- -
- - - -A C E G H I L P R S T U V
- - - diff --git a/doc/index-files/index-2.html b/doc/index-files/index-2.html deleted file mode 100644 index 5d9c616..0000000 --- a/doc/index-files/index-2.html +++ /dev/null @@ -1,167 +0,0 @@ - - - - - - -C-Index - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -A C E G H I L P R S T U V
-

-C

-
-
changeVariables(Object, Map<String, Object>) - -Method in class com.invient.vaadin.charts.InvientCharts -
  -
chartAddSeries(InvientCharts.ChartAddSeriesEvent) - -Method in interface com.invient.vaadin.charts.InvientCharts.ChartAddSeriesListener -
  -
chartClick(InvientCharts.ChartClickEvent) - -Method in interface com.invient.vaadin.charts.InvientCharts.ChartClickListener -
  -
chartResetZoom(InvientCharts.ChartResetZoomEvent) - -Method in interface com.invient.vaadin.charts.InvientCharts.ChartResetZoomListener -
  -
chartZoom(InvientCharts.ChartZoomEvent) - -Method in interface com.invient.vaadin.charts.InvientCharts.ChartZoomListener -
  -
CLASSNAME - -Static variable in class com.invient.vaadin.charts.widgetset.client.ui.VInvientCharts -
Set the CSS class name to allow styling. -
Color - Interface in com.invient.vaadin.charts
The Color interface represents RBG and RBGA colors.
Color.RGB - Class in com.invient.vaadin.charts
Represents RBG color value.
Color.RGB(int, int, int) - -Constructor for class com.invient.vaadin.charts.Color.RGB -
Creates an RGB color with the specified red, green, and blue values. -
Color.RGBA - Class in com.invient.vaadin.charts
Represents RGBA color value.
Color.RGBA(int, int, int, float) - -Constructor for class com.invient.vaadin.charts.Color.RGBA -
Creates an RGBA color with the specified red, green, blue and alpha - values. -
com.invient.vaadin.charts - package com.invient.vaadin.charts
 
com.invient.vaadin.charts.widgetset.client.ui - package com.invient.vaadin.charts.widgetset.client.ui
 
-
- - - - - - - - - - - - - - - -
- -
- - - -A C E G H I L P R S T U V
- - - diff --git a/doc/index-files/index-3.html b/doc/index-files/index-3.html deleted file mode 100644 index 759a381..0000000 --- a/doc/index-files/index-3.html +++ /dev/null @@ -1,154 +0,0 @@ - - - - - - -E-Index - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -A C E G H I L P R S T U V
-

-E

-
-
equals(Object) - -Method in class com.invient.vaadin.charts.InvientCharts.DateTimePoint -
  -
equals(Object) - -Method in class com.invient.vaadin.charts.InvientCharts.DecimalPoint -
  -
equals(Object) - -Method in class com.invient.vaadin.charts.InvientCharts.Series -
  -
equals(Object) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotBand -
  -
-
- - - - - - - - - - - - - - - -
- -
- - - -A C E G H I L P R S T U V
- - - diff --git a/doc/index-files/index-4.html b/doc/index-files/index-4.html deleted file mode 100644 index ee691e8..0000000 --- a/doc/index-files/index-4.html +++ /dev/null @@ -1,1332 +0,0 @@ - - - - - - -G-Index - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -A C E G H I L P R S T U V
-

-G

-
-
getAlign() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.AxisTitle -
  -
getAlign() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotLabel -
  -
getAlign() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.DataLabel -
  -
getAlign() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Position -
  -
getAlign() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.TitleBase -
  -
getAlignTicks() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig -
  -
getAllowDecimals() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.NumberAxis -
  -
getAllowPointSelect() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.SeriesConfig -
  -
getAllSeries() - -Method in class com.invient.vaadin.charts.InvientCharts -
Returns all series associated with this chart. -
getAlpha() - -Method in class com.invient.vaadin.charts.Color.RGBA -
  -
getAlternateGridColor() - -Method in interface com.invient.vaadin.charts.InvientChartsConfig.Axis -
  -
getAlternateGridColor() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase -
  -
getAnimation() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig -
  -
getAnimation() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.SeriesConfig -
  -
getBackgroundColor() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig -
  -
getBackgroundColor() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig.Plot -
  -
getBackgroundColor() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Legend -
  -
getBackgroundColor() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Tooltip -
  -
getBackgroundImage() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig.Plot -
  -
getBlue() - -Method in class com.invient.vaadin.charts.Color.RGB -
  -
getBorderColor() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.BaseBarConfig -
  -
getBorderColor() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig -
  -
getBorderColor() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig.Plot -
  -
getBorderColor() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Legend -
  -
getBorderColor() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.PieConfig -
  -
getBorderColor() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Tooltip -
  -
getBorderRadius() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.BaseBarConfig -
  -
getBorderRadius() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig -
  -
getBorderRadius() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Legend -
  -
getBorderRadius() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Tooltip -
  -
getBorderWidth() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.BaseBarConfig -
  -
getBorderWidth() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig -
  -
getBorderWidth() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig.Plot -
  -
getBorderWidth() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Legend -
  -
getBorderWidth() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.PieConfig -
  -
getBorderWidth() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Tooltip -
  -
getBottom() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig.Margin -
  -
getBottom() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig.Spacing -
  -
getBrightness() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.NonLinearSeriesState -
  -
getCategories() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.CategoryAxis -
  -
getCategory() - -Method in class com.invient.vaadin.charts.InvientCharts.PointClickEvent -
  -
getCategory() - -Method in class com.invient.vaadin.charts.InvientCharts.PointRemoveEvent -
  -
getCategory() - -Method in class com.invient.vaadin.charts.InvientCharts.PointSelectEvent -
  -
getCategory() - -Method in class com.invient.vaadin.charts.InvientCharts.PointUnselectEvent -
  -
getCenterX() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.PieConfig -
  -
getCenterY() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.PieConfig -
  -
getChart() - -Method in class com.invient.vaadin.charts.InvientCharts.ChartAddSeriesEvent -
Returns the chart object to which a series is added -
getChart() - -Method in class com.invient.vaadin.charts.InvientCharts.ChartClickEvent -
Returns the chart object on which the click event occurred -
getChart() - -Method in class com.invient.vaadin.charts.InvientCharts.ChartResetZoomEvent -
Returns the chart object for which zoom has been reset to normal -
getChart() - -Method in class com.invient.vaadin.charts.InvientCharts.ChartSVGAvailableEvent -
Returns the chart object for which an svg string representation is - available -
getChart() - -Method in class com.invient.vaadin.charts.InvientCharts.ChartZoomEvent -
Returns the chart object for which the zoom event has occurred -
getChart() - -Method in class com.invient.vaadin.charts.InvientCharts.PieChartLegendItemClickEvent -
  -
getChart() - -Method in class com.invient.vaadin.charts.InvientCharts.PointClickEvent -
  -
getChart() - -Method in class com.invient.vaadin.charts.InvientCharts.PointRemoveEvent -
  -
getChart() - -Method in class com.invient.vaadin.charts.InvientCharts.PointSelectEvent -
  -
getChart() - -Method in class com.invient.vaadin.charts.InvientCharts.PointUnselectEvent -
  -
getChart() - -Method in class com.invient.vaadin.charts.InvientCharts.SeriesClickEvent -
  -
getChart() - -Method in class com.invient.vaadin.charts.InvientCharts.SeriesHideEvent -
  -
getChart() - -Method in class com.invient.vaadin.charts.InvientCharts.SeriesLegendItemClickEvent -
  -
getChart() - -Method in class com.invient.vaadin.charts.InvientCharts.SeriesShowEvent -
  -
getChartArea() - -Method in class com.invient.vaadin.charts.InvientCharts.ChartZoomEvent -
Returns the chartArea object containing dimensions of zoomed area of - the chart -
getChartLabel() - -Method in class com.invient.vaadin.charts.InvientChartsConfig -
  -
getClassName() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig -
  -
getColor() - -Method in interface com.invient.vaadin.charts.Gradient.ColorStop -
  -
getColor() - -Method in class com.invient.vaadin.charts.Gradient.LinearGradient.LinearColorStop -
  -
getColor() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.MinorTick -
  -
getColor() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotBand -
  -
getColor() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotLine -
  -
getColor() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.DataLabel -
  -
getColor() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.PointConfig -
  -
getColor() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.SeriesConfig -
  -
getColorByPoint() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.BaseBarConfig -
  -
getColorStops() - -Method in interface com.invient.vaadin.charts.Gradient -
Returns a list of colorstops associated with this gradient. -
getColorStops() - -Method in class com.invient.vaadin.charts.Gradient.LinearGradient -
  -
getConfig() - -Method in class com.invient.vaadin.charts.InvientCharts -
Returns chart configuration object -
getConfig() - -Method in class com.invient.vaadin.charts.InvientCharts.Point -
  -
getConfig() - -Method in class com.invient.vaadin.charts.InvientCharts.Series -
  -
getConnectorColor() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.PieDataLabel -
  -
getConnectorPadding() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.PieDataLabel -
  -
getConnectorWidth() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.PieDataLabel -
  -
getCredit() - -Method in class com.invient.vaadin.charts.InvientChartsConfig -
  -
getCrosshairs() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Tooltip -
  -
getCursor() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.SeriesConfig -
  -
getDashStyle() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotLine -
  -
getDashStyle() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.BaseLineConfig -
  -
getDataLabel() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.PieConfig -
  -
getDataLabel() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.SeriesConfig -
  -
getDateTimeLabelFormat() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.DateTimeAxis -
  -
getDay() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.DateTimeAxis.DateTimeLabelFormat -
  -
getDistance() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.PieDataLabel -
  -
getEnabled() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AbstractMarker -
  -
getEnabled() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Credit -
  -
getEnabled() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.DataLabel -
  -
getEnabled() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Legend -
  -
getEnabled() - -Method in interface com.invient.vaadin.charts.InvientChartsConfig.Marker -
  -
getEnabled() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.MarkerState -
  -
getEnabled() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.SeriesState -
  -
getEnabled() - -Method in interface com.invient.vaadin.charts.InvientChartsConfig.State -
  -
getEnabled() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Tooltip -
  -
getEnableMouseTracking() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.SeriesConfig -
  -
getEndOnTick() - -Method in interface com.invient.vaadin.charts.InvientChartsConfig.Axis -
  -
getEndOnTick() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase -
  -
getFillColor() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AreaConfig -
  -
getFillColor() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.MarkerState -
  -
getFillColor() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.SymbolMarker -
  -
getFillOpacity() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AreaConfig -
  -
getFloating() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Legend -
  -
getFloating() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.TitleBase -
  -
getFormatterJsFunc() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.DataLabel -
  -
getFormatterJsFunc() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Tooltip -
  -
getFrom() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.DateTimePlotBand.DateTimeRange -
  -
getFrom() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.NumberPlotBand.NumberRange -
  -
getGeneralChartConfig() - -Method in class com.invient.vaadin.charts.InvientChartsConfig -
  -
getGreen() - -Method in class com.invient.vaadin.charts.Color.RGB -
  -
getGrid() - -Method in interface com.invient.vaadin.charts.InvientChartsConfig.Axis -
  -
getGrid() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase -
  -
getGroupPadding() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.BaseBarConfig -
  -
getHeight() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig -
  -
getHour() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.DateTimeAxis.DateTimeLabelFormat -
  -
getHoverState() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.BaseBarConfig -
  -
getHoverState() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.PieConfig -
  -
getHoverState() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.SeriesConfig -
  -
getHoverState() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.SymbolMarker -
  -
getHtml() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.ChartLabel.ChartLabelItem -
  -
getId() - -Method in interface com.invient.vaadin.charts.InvientChartsConfig.Axis -
  -
getId() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase -
  -
getId() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotBand -
  -
getId() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotLine -
  -
getIgnoreHiddenSeries() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig -
  -
getImageURL() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.ImageMarker -
  -
getInnerSize() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.PieConfig -
  -
getInterval() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.MinorTick -
  -
getInverted() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig -
  -
getItemHiddenStyle() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Legend -
  -
getItemHoverStyle() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Legend -
  -
getItemStyle() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Legend -
  -
getItemWidth() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Legend -
  -
getLabel() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotBand -
  -
getLabel() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotLine -
  -
getLabel() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.CategoryAxis -
  -
getLabel() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.NumberXAxis -
  -
getLabel() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.NumberYAxis -
  -
getLabelFormatterJsFunc() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Legend -
  -
getLabels() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.ChartLabel -
  -
getLayout() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Legend -
  -
getLeft() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig.Margin -
  -
getLeft() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig.Spacing -
  -
getLegend() - -Method in class com.invient.vaadin.charts.InvientChartsConfig -
  -
getLength() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.MinorTick -
  -
getLineColor() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AreaConfig -
  -
getLineColor() - -Method in interface com.invient.vaadin.charts.InvientChartsConfig.Axis -
  -
getLineColor() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase -
  -
getLineColor() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.MinorGrid -
  -
getLineColor() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.MarkerState -
  -
getLineColor() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.SymbolMarker -
  -
getLineDashStyle() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.MinorGrid -
  -
getLineWidth() - -Method in interface com.invient.vaadin.charts.InvientChartsConfig.Axis -
  -
getLineWidth() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase -
  -
getLineWidth() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.MinorGrid -
  -
getLineWidth() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.BaseLineConfig -
  -
getLineWidth() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.MarkerState -
  -
getLineWidth() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.SeriesState -
  -
getLineWidth() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.SymbolMarker -
  -
getLink() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Credit -
  -
getLinkedTo() - -Method in interface com.invient.vaadin.charts.InvientChartsConfig.Axis -
  -
getLinkedTo() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase -
  -
getMargin() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.AxisTitle -
  -
getMargin() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig -
  -
getMargin() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Legend -
  -
getMargin() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Title -
  -
getMarker() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.BaseLineConfig -
  -
getMarker() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.PointConfig -
  -
getMax() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.DateTimeAxis -
  -
getMax() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.NumberAxis -
  -
getMaxPadding() - -Method in interface com.invient.vaadin.charts.InvientChartsConfig.Axis -
  -
getMaxPadding() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase -
  -
getMaxZoom() - -Method in interface com.invient.vaadin.charts.InvientChartsConfig.Axis -
  -
getMaxZoom() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase -
  -
getMin() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.DateTimeAxis -
  -
getMin() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.NumberAxis -
  -
getMinorGrid() - -Method in interface com.invient.vaadin.charts.InvientChartsConfig.Axis -
  -
getMinorGrid() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase -
  -
getMinorTick() - -Method in interface com.invient.vaadin.charts.InvientChartsConfig.Axis -
  -
getMinorTick() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase -
  -
getMinPadding() - -Method in interface com.invient.vaadin.charts.InvientChartsConfig.Axis -
  -
getMinPadding() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase -
  -
getMinPointLength() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.BaseBarConfig -
  -
getMinute() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.DateTimeAxis.DateTimeLabelFormat -
  -
getMonth() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.DateTimeAxis.DateTimeLabelFormat -
  -
getMousePosition() - -Method in class com.invient.vaadin.charts.InvientCharts.ChartClickEvent -
Returns the position of a mouse when the click event occurred -
getMousePosition() - -Method in class com.invient.vaadin.charts.InvientCharts.PointClickEvent -
  -
getMousePosition() - -Method in class com.invient.vaadin.charts.InvientCharts.SeriesClickEvent -
  -
getMouseX() - -Method in class com.invient.vaadin.charts.InvientCharts.MousePosition -
  -
getMouseY() - -Method in class com.invient.vaadin.charts.InvientCharts.MousePosition -
  -
getName() - -Method in enum com.invient.vaadin.charts.Gradient.Unit -
  -
getName() - -Method in class com.invient.vaadin.charts.InvientCharts.Point -
  -
getName() - -Method in class com.invient.vaadin.charts.InvientCharts.Series -
  -
getName() - -Method in enum com.invient.vaadin.charts.InvientCharts.SeriesType -
  -
getName() - -Method in enum com.invient.vaadin.charts.InvientChartsConfig.AxisBase.AxisTitleAlign -
  -
getName() - -Method in enum com.invient.vaadin.charts.InvientChartsConfig.AxisBase.AxisType -
  -
getName() - -Method in enum com.invient.vaadin.charts.InvientChartsConfig.AxisBase.TickmarkPlacement -
  -
getName() - -Method in enum com.invient.vaadin.charts.InvientChartsConfig.AxisBase.TickPosition -
  -
getName() - -Method in enum com.invient.vaadin.charts.InvientChartsConfig.DashStyle -
  -
getName() - -Method in enum com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig.ZoomType -
  -
getName() - -Method in enum com.invient.vaadin.charts.InvientChartsConfig.HorzAlign -
  -
getName() - -Method in enum com.invient.vaadin.charts.InvientChartsConfig.Legend.Layout -
  -
getName() - -Method in enum com.invient.vaadin.charts.InvientChartsConfig.Stacking -
  -
getName() - -Method in enum com.invient.vaadin.charts.InvientChartsConfig.SymbolMarker.Symbol -
  -
getName() - -Method in enum com.invient.vaadin.charts.InvientChartsConfig.VertAlign -
  -
getNearestPoint() - -Method in class com.invient.vaadin.charts.InvientCharts.SeriesClickEvent -
  -
getOffset() - -Method in interface com.invient.vaadin.charts.InvientChartsConfig.Axis -
  -
getOffset() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase -
  -
getOpposite() - -Method in interface com.invient.vaadin.charts.InvientChartsConfig.Axis -
  -
getOpposite() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase -
  -
getPixelInterval() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.Tick -
  -
getPlacement() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.Tick -
  -
getPlot() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig -
  -
getPlotBands() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.CategoryAxis -
  -
getPlotBands() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.DateTimeAxis -
  -
getPlotBands() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.NumberAxis -
  -
getPlotLines() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.CategoryAxis -
  -
getPlotLines() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.DateTimeAxis -
  -
getPlotLines() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.NumberAxis -
  -
getPoint() - -Method in class com.invient.vaadin.charts.InvientCharts.ChartClickEvent -
Returns the point representing the position where the click event - occurred in axes units -
getPoint() - -Method in class com.invient.vaadin.charts.InvientCharts.PieChartLegendItemClickEvent -
  -
getPoint() - -Method in class com.invient.vaadin.charts.InvientCharts.PointClickEvent -
  -
getPoint() - -Method in class com.invient.vaadin.charts.InvientCharts.PointRemoveEvent -
  -
getPoint() - -Method in class com.invient.vaadin.charts.InvientCharts.PointSelectEvent -
  -
getPoint() - -Method in class com.invient.vaadin.charts.InvientCharts.PointUnselectEvent -
  -
getPointInterval() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.BaseLineConfig -
  -
getPointPadding() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.BaseBarConfig -
  -
getPoints() - -Method in class com.invient.vaadin.charts.InvientCharts.DateTimeSeries -
  -
getPoints() - -Method in class com.invient.vaadin.charts.InvientCharts.XYSeries -
  -
getPointStart() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.BaseLineConfig -
  -
getPointWidth() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.BaseBarConfig -
  -
getPosition() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.MinorTick -
  -
getPosition() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Credit -
  -
getPosition() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Legend -
  -
getRadius() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.MarkerState -
  -
getRadius() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.SymbolMarker -
  -
getRange() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.DateTimePlotBand -
  -
getRange() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.NumberPlotBand -
  -
getRed() - -Method in class com.invient.vaadin.charts.Color.RGB -
  -
getReflow() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig -
  -
getReversed() - -Method in interface com.invient.vaadin.charts.InvientChartsConfig.Axis -
  -
getReversed() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase -
  -
getReversed() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Legend -
  -
getRight() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig.Margin -
  -
getRight() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig.Spacing -
  -
getRotation() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.AxisTitle -
  -
getRotation() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotLabel -
  -
getRotation() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.DataLabel -
  -
getSecond() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.DateTimeAxis.DateTimeLabelFormat -
  -
getSelected() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.PointConfig -
  -
getSelectState() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.SymbolMarker -
  -
getSeries(String) - -Method in class com.invient.vaadin.charts.InvientCharts -
Returns a series whose name matches the argument name. -
getSeries() - -Method in class com.invient.vaadin.charts.InvientCharts.Point -
  -
getSeries() - -Method in class com.invient.vaadin.charts.InvientCharts.SeriesClickEvent -
  -
getSeries() - -Method in class com.invient.vaadin.charts.InvientCharts.SeriesHideEvent -
  -
getSeries() - -Method in class com.invient.vaadin.charts.InvientCharts.SeriesLegendItemClickEvent -
  -
getSeries() - -Method in class com.invient.vaadin.charts.InvientCharts.SeriesShowEvent -
  -
getShadow() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig -
  -
getShadow() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig.Plot -
  -
getShadow() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Legend -
  -
getShadow() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.PieConfig -
  -
getShadow() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.ScatterConfig -
  -
getShadow() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.SeriesConfig -
  -
getShadow() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Tooltip -
  -
getShared() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Tooltip -
  -
getShowAxes() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig -
  -
getShowCheckbox() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.SeriesConfig -
  -
getShowFirstLabel() - -Method in interface com.invient.vaadin.charts.InvientChartsConfig.Axis -
  -
getShowFirstLabel() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase -
  -
getShowInLegend() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.SeriesConfig -
  -
getShowLastLabel() - -Method in interface com.invient.vaadin.charts.InvientChartsConfig.Axis -
  -
getShowLastLabel() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase -
  -
getSize() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.PieConfig -
  -
getSliced() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.PointConfig -
  -
getSlicedOffset() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.PieConfig -
  -
getSnap() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Tooltip -
  -
getSpacing() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig -
  -
getStack() - -Method in class com.invient.vaadin.charts.InvientCharts.Series -
  -
getStacking() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.SeriesConfig -
  -
getStaggerLines() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.XAxisDataLabel -
  -
getStartOfWeek() - -Method in interface com.invient.vaadin.charts.InvientChartsConfig.Axis -
  -
getStartOfWeek() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase -
  -
getStartOnTick() - -Method in interface com.invient.vaadin.charts.InvientChartsConfig.Axis -
  -
getStartOnTick() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase -
  -
getStep() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisDataLabel -
  -
getStep() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.LineConfig -
  -
getStickyTracking() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.BaseLineConfig -
  -
getStopAt() - -Method in interface com.invient.vaadin.charts.Gradient.ColorStop -
  -
getStopAt() - -Method in class com.invient.vaadin.charts.Gradient.LinearGradient.LinearColorStop -
  -
getStopAtUnit() - -Method in interface com.invient.vaadin.charts.Gradient.ColorStop -
  -
getStopAtUnit() - -Method in class com.invient.vaadin.charts.Gradient.LinearGradient.LinearColorStop -
  -
getString() - -Method in class com.invient.vaadin.charts.Color.RGB -
  -
getString() - -Method in class com.invient.vaadin.charts.Color.RGBA -
  -
getString() - -Method in class com.invient.vaadin.charts.Gradient.LinearGradient -
  -
getString() - -Method in interface com.invient.vaadin.charts.Paint -
Returns String representation of an object of type Paint. -
getStyle() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.AxisTitle -
  -
getStyle() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotLabel -
  -
getStyle() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.ChartLabel.ChartLabelItem -
  -
getStyle() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.ChartLabel -
  -
getStyle() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Credit -
  -
getStyle() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.DataLabel -
  -
getStyle() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig -
  -
getStyle() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.TitleBase -
  -
getStyle() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Tooltip -
  -
getSubtitle() - -Method in class com.invient.vaadin.charts.InvientChartsConfig -
  -
getSVG() - -Method in class com.invient.vaadin.charts.InvientCharts.ChartSVGAvailableEvent -
  -
getSymbol() - -Method in enum com.invient.vaadin.charts.Gradient.Unit -
  -
getSymbol() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.SymbolMarker -
  -
getSymbolPadding() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Legend -
  -
getSymbolWidth() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Legend -
  -
getText() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.AxisTitle -
  -
getText() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotLabel -
  -
getText() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Credit -
  -
getText() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.TitleBase -
  -
getTextAlign() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotLabel -
  -
getThreshold() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AreaConfig -
  -
getTick() - -Method in interface com.invient.vaadin.charts.InvientChartsConfig.Axis -
  -
getTick() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase -
  -
getTitle() - -Method in interface com.invient.vaadin.charts.InvientChartsConfig.Axis -
  -
getTitle() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase -
  -
getTitle() - -Method in class com.invient.vaadin.charts.InvientChartsConfig -
  -
getTo() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.DateTimePlotBand.DateTimeRange -
  -
getTo() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.NumberPlotBand.NumberRange -
  -
getTooltip() - -Method in class com.invient.vaadin.charts.InvientChartsConfig -
  -
getTop() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig.Margin -
  -
getTop() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig.Spacing -
  -
getType() - -Method in class com.invient.vaadin.charts.InvientCharts.Series -
  -
getType() - -Method in interface com.invient.vaadin.charts.InvientChartsConfig.Axis -
  -
getType() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase -
  -
getType() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig -
  -
getValue() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.DateTimePlotLine.DateTimeValue -
  -
getValue() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.DateTimePlotLine -
  -
getValue() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.NumberPlotLine -
  -
getValue() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.NumberPlotLine.NumberValue -
  -
getVertAlign() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotLabel -
  -
getVertAlign() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Position -
  -
getVertAlign() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.TitleBase -
  -
getVisible() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.PieConfig -
  -
getVisible() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.SeriesConfig -
  -
getWeek() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.DateTimeAxis.DateTimeLabelFormat -
  -
getWidth() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.MinorTick -
  -
getWidth() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotLine -
  -
getWidth() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig -
  -
getWidth() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Legend -
  -
getX() - -Method in class com.invient.vaadin.charts.InvientCharts.DateTimePoint -
  -
getX() - -Method in class com.invient.vaadin.charts.InvientCharts.DecimalPoint -
  -
getX() - -Method in class com.invient.vaadin.charts.InvientCharts.Point -
  -
getX() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotLabel -
  -
getX() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.DataLabel -
  -
getX() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Position -
  -
getX() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.TitleBase -
  -
getXAxes() - -Method in class com.invient.vaadin.charts.InvientChartsConfig -
  -
getXAxis() - -Method in class com.invient.vaadin.charts.InvientCharts.Series -
  -
getxAxisMax() - -Method in class com.invient.vaadin.charts.InvientCharts.ChartArea -
  -
getxAxisMin() - -Method in class com.invient.vaadin.charts.InvientCharts.ChartArea -
  -
getxEnd() - -Method in interface com.invient.vaadin.charts.Gradient -
Returns the x-coordinate of a point at which linear gradient - ends. -
getxEnd() - -Method in class com.invient.vaadin.charts.Gradient.LinearGradient -
  -
getxEndUnit() - -Method in interface com.invient.vaadin.charts.Gradient -
Returns the unit of x-coordinate of a point at which linear gradient ends. -
getxEndUnit() - -Method in class com.invient.vaadin.charts.Gradient.LinearGradient -
  -
getxStart() - -Method in interface com.invient.vaadin.charts.Gradient -
Returns the x-coordinate of a point at which linear gradient - starts. -
getxStart() - -Method in class com.invient.vaadin.charts.Gradient.LinearGradient -
  -
getxStartUnit() - -Method in interface com.invient.vaadin.charts.Gradient -
Returns the unit of x-coordinate of a point at which linear gradient starts. -
getxStartUnit() - -Method in class com.invient.vaadin.charts.Gradient.LinearGradient -
  -
getY() - -Method in class com.invient.vaadin.charts.InvientCharts.DateTimePoint -
  -
getY() - -Method in class com.invient.vaadin.charts.InvientCharts.DecimalPoint -
  -
getY() - -Method in class com.invient.vaadin.charts.InvientCharts.Point -
  -
getY() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotLabel -
  -
getY() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.DataLabel -
  -
getY() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.Position -
  -
getY() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.TitleBase -
  -
getYAxes() - -Method in class com.invient.vaadin.charts.InvientChartsConfig -
  -
getYAxis() - -Method in class com.invient.vaadin.charts.InvientCharts.Series -
  -
getyAxisMax() - -Method in class com.invient.vaadin.charts.InvientCharts.ChartArea -
  -
getyAxisMin() - -Method in class com.invient.vaadin.charts.InvientCharts.ChartArea -
  -
getYear() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.DateTimeAxis.DateTimeLabelFormat -
  -
getyEnd() - -Method in interface com.invient.vaadin.charts.Gradient -
Returns the x-coordinate of a point at which linear gradient ends. -
getyEnd() - -Method in class com.invient.vaadin.charts.Gradient.LinearGradient -
  -
getyEndUnit() - -Method in interface com.invient.vaadin.charts.Gradient -
Returns the unit of y-coordinate of a point at which linear gradient ends. -
getyEndUnit() - -Method in class com.invient.vaadin.charts.Gradient.LinearGradient -
  -
getyStart() - -Method in interface com.invient.vaadin.charts.Gradient -
Returns the y-coordinate of a point at which linear gradient starts. -
getyStart() - -Method in class com.invient.vaadin.charts.Gradient.LinearGradient -
  -
getyStartUnit() - -Method in interface com.invient.vaadin.charts.Gradient -
Returns the unit of y-coordinate of a point at which linear gradient starts. -
getyStartUnit() - -Method in class com.invient.vaadin.charts.Gradient.LinearGradient -
  -
getZIndex() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotBand -
  -
getZIndex() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotLine -
  -
getZoomType() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig -
  -
Gradient - Interface in com.invient.vaadin.charts
The Gradient defines a way to fill a shape with a linear color gradient - pattern.
Gradient.ColorStop - Interface in com.invient.vaadin.charts
Represents a stop-value and a color.
Gradient.LinearGradient - Class in com.invient.vaadin.charts
Represents linear gradient where points of a linear gradient specify a - line.
Gradient.LinearGradient(int, int, int, int, List<Gradient.LinearGradient.LinearColorStop>) - -Constructor for class com.invient.vaadin.charts.Gradient.LinearGradient -
Creates a LinearGradient with the specified xStart, xEnd, yStart and - yEnd values with default Gradient.Unit value number. -
Gradient.LinearGradient(int, Gradient.Unit, int, Gradient.Unit, int, Gradient.Unit, int, Gradient.Unit, List<Gradient.LinearGradient.LinearColorStop>) - -Constructor for class com.invient.vaadin.charts.Gradient.LinearGradient -
  -
Gradient.LinearGradient.LinearColorStop - Class in com.invient.vaadin.charts
Represents stop-value and color for the Gradient.LinearGradient
Gradient.LinearGradient.LinearColorStop(double, Color) - -Constructor for class com.invient.vaadin.charts.Gradient.LinearGradient.LinearColorStop -
  -
Gradient.LinearGradient.LinearColorStop(double, Gradient.Unit, Color) - -Constructor for class com.invient.vaadin.charts.Gradient.LinearGradient.LinearColorStop -
  -
Gradient.Unit - Enum in com.invient.vaadin.charts
 
-
- - - - - - - - - - - - - - - -
- -
- - - -A C E G H I L P R S T U V
- - - diff --git a/doc/index-files/index-5.html b/doc/index-files/index-5.html deleted file mode 100644 index a5aefde..0000000 --- a/doc/index-files/index-5.html +++ /dev/null @@ -1,157 +0,0 @@ - - - - - - -H-Index - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -A C E G H I L P R S T U V
-

-H

-
-
hashCode() - -Method in class com.invient.vaadin.charts.InvientCharts.DateTimePoint -
  -
hashCode() - -Method in class com.invient.vaadin.charts.InvientCharts.DecimalPoint -
  -
hashCode() - -Method in class com.invient.vaadin.charts.InvientCharts.Series -
  -
hashCode() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotBand -
  -
hide() - -Method in class com.invient.vaadin.charts.InvientCharts.Series -
Hide this series -
-
- - - - - - - - - - - - - - - -
- -
- - - -A C E G H I L P R S T U V
- - - diff --git a/doc/index-files/index-6.html b/doc/index-files/index-6.html deleted file mode 100644 index 5f174f6..0000000 --- a/doc/index-files/index-6.html +++ /dev/null @@ -1,581 +0,0 @@ - - - - - - -I-Index - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -A C E G H I L P R S T U V
-

-I

-
-
InvientCharts - Class in com.invient.vaadin.charts
A Vaddin component representing charts.
InvientCharts(InvientChartsConfig) - -Constructor for class com.invient.vaadin.charts.InvientCharts -
Creates this chart object with given chart configuration -
InvientCharts.ChartAddSeriesEvent - Class in com.invient.vaadin.charts
Add series event.
InvientCharts.ChartAddSeriesEvent(Component, InvientCharts) - -Constructor for class com.invient.vaadin.charts.InvientCharts.ChartAddSeriesEvent -
New instance of the chart add series event. -
InvientCharts.ChartAddSeriesListener - Interface in com.invient.vaadin.charts
Interface for listening for a InvientCharts.ChartAddSeriesEvent triggered by - InvientCharts
InvientCharts.ChartArea - Class in com.invient.vaadin.charts
Defines information on the selected area.
InvientCharts.ChartArea(double, double, double, double) - -Constructor for class com.invient.vaadin.charts.InvientCharts.ChartArea -
  -
InvientCharts.ChartClickEvent - Class in com.invient.vaadin.charts
Chart Click event.
InvientCharts.ChartClickEvent(Component, InvientCharts, InvientCharts.Point, InvientCharts.MousePosition) - -Constructor for class com.invient.vaadin.charts.InvientCharts.ChartClickEvent -
New instance of the chart click event. -
InvientCharts.ChartClickListener - Interface in com.invient.vaadin.charts
Interface for listening for a InvientCharts.ChartClickEvent triggered by - InvientCharts
InvientCharts.ChartResetZoomEvent - Class in com.invient.vaadin.charts
Chart reset zoom event.
InvientCharts.ChartResetZoomEvent(Component, InvientCharts) - -Constructor for class com.invient.vaadin.charts.InvientCharts.ChartResetZoomEvent -
New instance of the chart reset zoom event -
InvientCharts.ChartResetZoomListener - Interface in com.invient.vaadin.charts
Interface for listening for a InvientCharts.ChartResetZoomEvent triggered by - InvientCharts
InvientCharts.ChartSVGAvailableEvent - Class in com.invient.vaadin.charts
Chart SVG event.
InvientCharts.ChartSVGAvailableEvent(Component, InvientCharts, String) - -Constructor for class com.invient.vaadin.charts.InvientCharts.ChartSVGAvailableEvent -
New instance of the chart svg available event. -
InvientCharts.ChartSVGAvailableListener - Interface in com.invient.vaadin.charts
Interface for listening for a InvientCharts.ChartSVGAvailableEvent triggered by - InvientCharts.
InvientCharts.ChartZoomEvent - Class in com.invient.vaadin.charts
Chart zoom event.
InvientCharts.ChartZoomEvent(Component, InvientCharts, InvientCharts.ChartArea) - -Constructor for class com.invient.vaadin.charts.InvientCharts.ChartZoomEvent -
New instance of the chart zoom event. -
InvientCharts.ChartZoomListener - Interface in com.invient.vaadin.charts
Interface for listening for a InvientCharts.ChartZoomEvent triggered by - InvientCharts
InvientCharts.DateTimePoint - Class in com.invient.vaadin.charts
This class represent a point with (X, Y) both as number.
InvientCharts.DateTimePoint(InvientCharts.Series) - -Constructor for class com.invient.vaadin.charts.InvientCharts.DateTimePoint -
  -
InvientCharts.DateTimePoint(InvientCharts.Series, double) - -Constructor for class com.invient.vaadin.charts.InvientCharts.DateTimePoint -
  -
InvientCharts.DateTimePoint(InvientCharts.Series, String, double) - -Constructor for class com.invient.vaadin.charts.InvientCharts.DateTimePoint -
  -
InvientCharts.DateTimePoint(InvientCharts.Series, String, double, InvientChartsConfig.PointConfig) - -Constructor for class com.invient.vaadin.charts.InvientCharts.DateTimePoint -
  -
InvientCharts.DateTimePoint(InvientCharts.Series, Date, double) - -Constructor for class com.invient.vaadin.charts.InvientCharts.DateTimePoint -
  -
InvientCharts.DateTimeSeries - Class in com.invient.vaadin.charts
This class defines a datetime series.
InvientCharts.DateTimeSeries(String) - -Constructor for class com.invient.vaadin.charts.InvientCharts.DateTimeSeries -
Creates a series with given name. -
InvientCharts.DateTimeSeries(String, boolean) - -Constructor for class com.invient.vaadin.charts.InvientCharts.DateTimeSeries -
Creates a series with given name and boolean value. -
InvientCharts.DateTimeSeries(String, InvientChartsConfig.SeriesConfig) - -Constructor for class com.invient.vaadin.charts.InvientCharts.DateTimeSeries -
Creates a series with given name and configuration. -
InvientCharts.DateTimeSeries(String, InvientChartsConfig.SeriesConfig, boolean) - -Constructor for class com.invient.vaadin.charts.InvientCharts.DateTimeSeries -
Creates a series with given name, configuration and boolean value. -
InvientCharts.DateTimeSeries(String, InvientCharts.SeriesType) - -Constructor for class com.invient.vaadin.charts.InvientCharts.DateTimeSeries -
Creates a series with given name and type. -
InvientCharts.DateTimeSeries(String, InvientCharts.SeriesType, boolean) - -Constructor for class com.invient.vaadin.charts.InvientCharts.DateTimeSeries -
Creates a series with given name, type and boolean value. -
InvientCharts.DateTimeSeries(String, InvientCharts.SeriesType, InvientChartsConfig.SeriesConfig) - -Constructor for class com.invient.vaadin.charts.InvientCharts.DateTimeSeries -
Creates a series with given name, type and configuration. -
InvientCharts.DateTimeSeries(String, InvientCharts.SeriesType, InvientChartsConfig.SeriesConfig, boolean) - -Constructor for class com.invient.vaadin.charts.InvientCharts.DateTimeSeries -
Creates a series with given name, type, configuration and boolean - value. -
InvientCharts.DecimalPoint - Class in com.invient.vaadin.charts
This class represent a point with (X, Y) both as number.
InvientCharts.DecimalPoint(InvientCharts.Series) - -Constructor for class com.invient.vaadin.charts.InvientCharts.DecimalPoint -
  -
InvientCharts.DecimalPoint(InvientCharts.Series, double) - -Constructor for class com.invient.vaadin.charts.InvientCharts.DecimalPoint -
  -
InvientCharts.DecimalPoint(InvientCharts.Series, String, double) - -Constructor for class com.invient.vaadin.charts.InvientCharts.DecimalPoint -
  -
InvientCharts.DecimalPoint(InvientCharts.Series, String, double, InvientChartsConfig.PointConfig) - -Constructor for class com.invient.vaadin.charts.InvientCharts.DecimalPoint -
  -
InvientCharts.DecimalPoint(InvientCharts.Series, double, InvientChartsConfig.PointConfig) - -Constructor for class com.invient.vaadin.charts.InvientCharts.DecimalPoint -
  -
InvientCharts.DecimalPoint(InvientCharts.Series, double, double) - -Constructor for class com.invient.vaadin.charts.InvientCharts.DecimalPoint -
  -
InvientCharts.DecimalPoint(InvientCharts.Series, Double, Double) - -Constructor for class com.invient.vaadin.charts.InvientCharts.DecimalPoint -
  -
InvientCharts.DecimalPoint(InvientCharts.Series, double, double, InvientChartsConfig.PointConfig) - -Constructor for class com.invient.vaadin.charts.InvientCharts.DecimalPoint -
  -
InvientCharts.DecimalPoint(InvientCharts.Series, Double, Double, InvientChartsConfig.PointConfig) - -Constructor for class com.invient.vaadin.charts.InvientCharts.DecimalPoint -
  -
InvientCharts.MousePosition - Class in com.invient.vaadin.charts
This class contain mouse coordinates when a click event occurs on a - chart, a series or a point.
InvientCharts.MousePosition(int, int) - -Constructor for class com.invient.vaadin.charts.InvientCharts.MousePosition -
Creates this object with given arguments. -
InvientCharts.PieChartLegendItemClickEvent - Class in com.invient.vaadin.charts
PieChart legend item click event.
InvientCharts.PieChartLegendItemClickEvent(Component, InvientCharts, InvientCharts.Point) - -Constructor for class com.invient.vaadin.charts.InvientCharts.PieChartLegendItemClickEvent -
New instance of the piechart legend item click event -
InvientCharts.PieChartLegendItemClickListener - Interface in com.invient.vaadin.charts
Interface for listening for a InvientCharts.PieChartLegendItemClickEvent - triggered by InvientCharts
InvientCharts.Point - Class in com.invient.vaadin.charts
This class represents a point of the chart's series.
InvientCharts.Point(InvientCharts.Series) - -Constructor for class com.invient.vaadin.charts.InvientCharts.Point -
Creates a point with given arguments. -
InvientCharts.Point(InvientCharts.Series, InvientChartsConfig.PointConfig) - -Constructor for class com.invient.vaadin.charts.InvientCharts.Point -
Creates a point with given arguments. -
InvientCharts.Point(InvientCharts.Series, String) - -Constructor for class com.invient.vaadin.charts.InvientCharts.Point -
Creates a point with given arguments. -
InvientCharts.Point(InvientCharts.Series, String, InvientChartsConfig.PointConfig) - -Constructor for class com.invient.vaadin.charts.InvientCharts.Point -
Creates a point with given arguments. -
InvientCharts.PointClickEvent - Class in com.invient.vaadin.charts
Click event.
InvientCharts.PointClickEvent(Component, InvientCharts, String, InvientCharts.Point, InvientCharts.MousePosition) - -Constructor for class com.invient.vaadin.charts.InvientCharts.PointClickEvent -
New instance of the point click event. -
InvientCharts.PointClickListener - Interface in com.invient.vaadin.charts
Interface for listening for a InvientCharts.PointClickEvent triggered by - InvientCharts
InvientCharts.PointRemoveEvent - Class in com.invient.vaadin.charts
Point remove event.
InvientCharts.PointRemoveEvent(Component, InvientCharts, String, InvientCharts.Point) - -Constructor for class com.invient.vaadin.charts.InvientCharts.PointRemoveEvent -
New instance of the point remove event. -
InvientCharts.PointRemoveListener - Interface in com.invient.vaadin.charts
Interface for listening for a InvientCharts.PointRemoveEvent triggered by - InvientCharts
InvientCharts.PointSelectEvent - Class in com.invient.vaadin.charts
Point select event.
InvientCharts.PointSelectEvent(Component, InvientCharts, String, InvientCharts.Point) - -Constructor for class com.invient.vaadin.charts.InvientCharts.PointSelectEvent -
New instance of the point select event. -
InvientCharts.PointSelectListener - Interface in com.invient.vaadin.charts
Interface for listening for a InvientCharts.PointSelectListener triggered by - InvientCharts
InvientCharts.PointUnselectEvent - Class in com.invient.vaadin.charts
Poin unselect event.
InvientCharts.PointUnselectEvent(Component, InvientCharts, String, InvientCharts.Point) - -Constructor for class com.invient.vaadin.charts.InvientCharts.PointUnselectEvent -
New instance of the point unselect event. -
InvientCharts.PointUnselectListener - Interface in com.invient.vaadin.charts
Interface for listening for a InvientCharts.PointUnselectEvent triggered by - InvientCharts
InvientCharts.Series - Class in com.invient.vaadin.charts
This class defines a series of the chart.
InvientCharts.Series(String) - -Constructor for class com.invient.vaadin.charts.InvientCharts.Series -
Creates a series with given name -
InvientCharts.Series(String, InvientCharts.SeriesType) - -Constructor for class com.invient.vaadin.charts.InvientCharts.Series -
Creates a series with given name and type -
InvientCharts.Series(String, InvientChartsConfig.SeriesConfig) - -Constructor for class com.invient.vaadin.charts.InvientCharts.Series -
Creates a series with given name and configuration -
InvientCharts.Series(String, InvientCharts.SeriesType, InvientChartsConfig.SeriesConfig) - -Constructor for class com.invient.vaadin.charts.InvientCharts.Series -
Creates a series with given name, type and configuration -
InvientCharts.SeriesClickEvent - Class in com.invient.vaadin.charts
Series click event.
InvientCharts.SeriesClickEvent(Component, InvientCharts, InvientCharts.Series, InvientCharts.Point, InvientCharts.MousePosition) - -Constructor for class com.invient.vaadin.charts.InvientCharts.SeriesClickEvent -
New instance of the series click event. -
InvientCharts.SeriesClickListerner - Interface in com.invient.vaadin.charts
Interface for listening for a InvientCharts.SeriesClickListerner triggered by - InvientCharts
InvientCharts.SeriesHideEvent - Class in com.invient.vaadin.charts
Series Hide event.
InvientCharts.SeriesHideEvent(Component, InvientCharts, InvientCharts.Series) - -Constructor for class com.invient.vaadin.charts.InvientCharts.SeriesHideEvent -
  -
InvientCharts.SeriesHideListerner - Interface in com.invient.vaadin.charts
Interface for listening for a InvientCharts.SeriesHideEvent triggered by - InvientCharts
InvientCharts.SeriesLegendItemClickEvent - Class in com.invient.vaadin.charts
Series legend item click event.
InvientCharts.SeriesLegendItemClickEvent(Component, InvientCharts, InvientCharts.Series) - -Constructor for class com.invient.vaadin.charts.InvientCharts.SeriesLegendItemClickEvent -
New instance of the point click event. -
InvientCharts.SeriesLegendItemClickListerner - Interface in com.invient.vaadin.charts
Interface for listening for a InvientCharts.SeriesLegendItemClickEvent - triggered by InvientCharts
InvientCharts.SeriesShowEvent - Class in com.invient.vaadin.charts
Series show event.
InvientCharts.SeriesShowEvent(Component, InvientCharts, InvientCharts.Series) - -Constructor for class com.invient.vaadin.charts.InvientCharts.SeriesShowEvent -
New instance of the series show event. -
InvientCharts.SeriesShowListerner - Interface in com.invient.vaadin.charts
Interface for listening for a InvientCharts.SeriesShowEvent triggered by - InvientCharts
InvientCharts.SeriesType - Enum in com.invient.vaadin.charts
 
InvientCharts.XYSeries - Class in com.invient.vaadin.charts
This class defines a number series.
InvientCharts.XYSeries(String) - -Constructor for class com.invient.vaadin.charts.InvientCharts.XYSeries -
Creates a series with given name -
InvientCharts.XYSeries(String, InvientChartsConfig.SeriesConfig) - -Constructor for class com.invient.vaadin.charts.InvientCharts.XYSeries -
Creates a series with given name and configuration -
InvientCharts.XYSeries(String, InvientCharts.SeriesType) - -Constructor for class com.invient.vaadin.charts.InvientCharts.XYSeries -
Creates a series with given name and type -
InvientCharts.XYSeries(String, InvientCharts.SeriesType, InvientChartsConfig.SeriesConfig) - -Constructor for class com.invient.vaadin.charts.InvientCharts.XYSeries -
Creates a series with given name, type and configuration -
InvientChartsConfig - Class in com.invient.vaadin.charts
This class encapsulates a number of configuration options for the - InvientChars.
InvientChartsConfig() - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig -
  -
InvientChartsConfig.AbstractMarker - Class in com.invient.vaadin.charts
Defines attributes for a marker.
InvientChartsConfig.AbstractMarker() - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.AbstractMarker -
  -
InvientChartsConfig.AbstractMarker(boolean) - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.AbstractMarker -
  -
InvientChartsConfig.AreaConfig - Class in com.invient.vaadin.charts
This class contains configuration options for area series, area and - areaspline.
InvientChartsConfig.AreaConfig() - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.AreaConfig -
  -
InvientChartsConfig.AreaSplineConfig - Class in com.invient.vaadin.charts
This class contains configuration options for areaspline series
InvientChartsConfig.AreaSplineConfig() - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.AreaSplineConfig -
  -
InvientChartsConfig.Axis - Interface in com.invient.vaadin.charts
 
InvientChartsConfig.AxisBase - Class in com.invient.vaadin.charts
This class defines attributes common to X axis and Y axis.
InvientChartsConfig.AxisBase() - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.AxisBase -
  -
InvientChartsConfig.AxisBase.AxisTitle - Class in com.invient.vaadin.charts
 
InvientChartsConfig.AxisBase.AxisTitle(String) - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.AxisTitle -
  -
InvientChartsConfig.AxisBase.AxisTitleAlign - Enum in com.invient.vaadin.charts
 
InvientChartsConfig.AxisBase.AxisType - Enum in com.invient.vaadin.charts
Defines axis types.
InvientChartsConfig.AxisBase.DateTimePlotBand - Class in com.invient.vaadin.charts
 
InvientChartsConfig.AxisBase.DateTimePlotBand(String) - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.DateTimePlotBand -
  -
InvientChartsConfig.AxisBase.DateTimePlotBand.DateTimeRange - Class in com.invient.vaadin.charts
 
InvientChartsConfig.AxisBase.DateTimePlotBand.DateTimeRange(Date, Date) - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.DateTimePlotBand.DateTimeRange -
  -
InvientChartsConfig.AxisBase.DateTimePlotLine - Class in com.invient.vaadin.charts
 
InvientChartsConfig.AxisBase.DateTimePlotLine(String) - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.DateTimePlotLine -
  -
InvientChartsConfig.AxisBase.DateTimePlotLine.DateTimeValue - Class in com.invient.vaadin.charts
 
InvientChartsConfig.AxisBase.DateTimePlotLine.DateTimeValue(Date) - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.DateTimePlotLine.DateTimeValue -
  -
InvientChartsConfig.AxisBase.Grid - Class in com.invient.vaadin.charts
Defines attributes of grid lines of the chart.
InvientChartsConfig.AxisBase.Grid() - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.Grid -
  -
InvientChartsConfig.AxisBase.MinorGrid - Class in com.invient.vaadin.charts
Defines attributes of minor grid lines of the chart.
InvientChartsConfig.AxisBase.MinorGrid() - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.MinorGrid -
  -
InvientChartsConfig.AxisBase.MinorTick - Class in com.invient.vaadin.charts
Defines attributes of a minor tick.
InvientChartsConfig.AxisBase.MinorTick() - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.MinorTick -
  -
InvientChartsConfig.AxisBase.NumberPlotBand - Class in com.invient.vaadin.charts
 
InvientChartsConfig.AxisBase.NumberPlotBand(String) - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.NumberPlotBand -
  -
InvientChartsConfig.AxisBase.NumberPlotBand.NumberRange - Class in com.invient.vaadin.charts
 
InvientChartsConfig.AxisBase.NumberPlotBand.NumberRange(Double, Double) - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.NumberPlotBand.NumberRange -
  -
InvientChartsConfig.AxisBase.NumberPlotLine - Class in com.invient.vaadin.charts
 
InvientChartsConfig.AxisBase.NumberPlotLine(String) - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.NumberPlotLine -
  -
InvientChartsConfig.AxisBase.NumberPlotLine.NumberValue - Class in com.invient.vaadin.charts
 
InvientChartsConfig.AxisBase.NumberPlotLine.NumberValue(Double) - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.NumberPlotLine.NumberValue -
  -
InvientChartsConfig.AxisBase.PlotBand - Class in com.invient.vaadin.charts
 
InvientChartsConfig.AxisBase.PlotBand(String) - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotBand -
  -
InvientChartsConfig.AxisBase.PlotBand.Range - Class in com.invient.vaadin.charts
 
InvientChartsConfig.AxisBase.PlotBand.Range() - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotBand.Range -
  -
InvientChartsConfig.AxisBase.PlotLabel - Class in com.invient.vaadin.charts
 
InvientChartsConfig.AxisBase.PlotLabel(String) - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotLabel -
  -
InvientChartsConfig.AxisBase.PlotLine - Class in com.invient.vaadin.charts
 
InvientChartsConfig.AxisBase.PlotLine(String) - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotLine -
  -
InvientChartsConfig.AxisBase.PlotLine.Value - Class in com.invient.vaadin.charts
 
InvientChartsConfig.AxisBase.PlotLine.Value() - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotLine.Value -
  -
InvientChartsConfig.AxisBase.Tick - Class in com.invient.vaadin.charts
Defines attributes of a tick marks.
InvientChartsConfig.AxisBase.Tick() - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.Tick -
  -
InvientChartsConfig.AxisBase.TickmarkPlacement - Enum in com.invient.vaadin.charts
Defines position of the tick marks with respect to the axis - categories.
InvientChartsConfig.AxisBase.TickPosition - Enum in com.invient.vaadin.charts
Defines position of the axis ticks with respect to the axis line
InvientChartsConfig.AxisBase.WeekDay - Enum in com.invient.vaadin.charts
 
InvientChartsConfig.AxisDataLabel - Class in com.invient.vaadin.charts
This class contains configuration properties for axis labels.
InvientChartsConfig.AxisDataLabel() - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.AxisDataLabel -
  -
InvientChartsConfig.AxisDataLabel(boolean) - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.AxisDataLabel -
If the argument is true then the data labels will be displayed - otherwise not. -
InvientChartsConfig.BarConfig - Class in com.invient.vaadin.charts
This class contains configuration options for bar series.
InvientChartsConfig.BarConfig() - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.BarConfig -
  -
InvientChartsConfig.BaseBarConfig - Class in com.invient.vaadin.charts
This class contains configuration options for bar and column series.
InvientChartsConfig.BaseBarConfig() - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.BaseBarConfig -
  -
InvientChartsConfig.BaseLineConfig - Class in com.invient.vaadin.charts
This class contains configuration options for line series such as line - and area but not column series.
InvientChartsConfig.BaseLineConfig() - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.BaseLineConfig -
  -
InvientChartsConfig.CategoryAxis - Class in com.invient.vaadin.charts
 
InvientChartsConfig.CategoryAxis() - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.CategoryAxis -
  -
InvientChartsConfig.ChartLabel - Class in com.invient.vaadin.charts
The InvientChartsConfig.ChartLabel class represents a set of labels which an be - placed at arbitrary position in the chart.
InvientChartsConfig.ChartLabel() - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.ChartLabel -
  -
InvientChartsConfig.ChartLabel.ChartLabelItem - Class in com.invient.vaadin.charts
This class represents a label placed at arbitrary location in the - chart.
InvientChartsConfig.ChartLabel.ChartLabelItem(String, String) - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.ChartLabel.ChartLabelItem -
Creates a new instance with specified html and style arguments. -
InvientChartsConfig.ColumnConfig - Class in com.invient.vaadin.charts
This class contains configuration options for column series.
InvientChartsConfig.ColumnConfig() - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.ColumnConfig -
  -
InvientChartsConfig.Credit - Class in com.invient.vaadin.charts
 
InvientChartsConfig.Credit() - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.Credit -
  -
InvientChartsConfig.DashStyle - Enum in com.invient.vaadin.charts
 
InvientChartsConfig.DataLabel - Class in com.invient.vaadin.charts
This class contains various attributes to format data labels.
InvientChartsConfig.DataLabel() - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.DataLabel -
  -
InvientChartsConfig.DataLabel(boolean) - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.DataLabel -
If the argument is true then the datalabels will be displayed - otherwise not. -
InvientChartsConfig.DateTimeAxis - Class in com.invient.vaadin.charts
 
InvientChartsConfig.DateTimeAxis() - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.DateTimeAxis -
  -
InvientChartsConfig.DateTimeAxis.DateTimeLabelFormat - Class in com.invient.vaadin.charts
 
InvientChartsConfig.DateTimeAxis.DateTimeLabelFormat() - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.DateTimeAxis.DateTimeLabelFormat -
  -
InvientChartsConfig.GeneralChartConfig - Class in com.invient.vaadin.charts
This class contains configuration properties at a chart level.
InvientChartsConfig.GeneralChartConfig() - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig -
  -
InvientChartsConfig.GeneralChartConfig.Margin - Class in com.invient.vaadin.charts
This class represents margin between the outer edge of the chart and - the plot area.
InvientChartsConfig.GeneralChartConfig.Margin() - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig.Margin -
  -
InvientChartsConfig.GeneralChartConfig.Margin(Integer, Integer, Integer, Integer) - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig.Margin -
  -
InvientChartsConfig.GeneralChartConfig.Plot - Class in com.invient.vaadin.charts
This class represents drawing area of the chart and contains methods - specific to it.
InvientChartsConfig.GeneralChartConfig.Plot() - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig.Plot -
  -
InvientChartsConfig.GeneralChartConfig.Spacing - Class in com.invient.vaadin.charts
This class represents space around the chart.
InvientChartsConfig.GeneralChartConfig.Spacing() - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig.Spacing -
  -
InvientChartsConfig.GeneralChartConfig.ZoomType - Enum in com.invient.vaadin.charts
The value ZoomType.X represents horizontal zoom.
InvientChartsConfig.HorzAlign - Enum in com.invient.vaadin.charts
 
InvientChartsConfig.ImageMarker - Class in com.invient.vaadin.charts
This marker can take url of an image which will be used as a marker for a - point or all points of a series.
InvientChartsConfig.ImageMarker(String, boolean) - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.ImageMarker -
Creates this marker with specified arguments. -
InvientChartsConfig.ImageMarker(String) - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.ImageMarker -
Creates this marker with specified arguments. -
InvientChartsConfig.Legend - Class in com.invient.vaadin.charts
 
InvientChartsConfig.Legend() - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.Legend -
  -
InvientChartsConfig.Legend(boolean) - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.Legend -
  -
InvientChartsConfig.Legend.Layout - Enum in com.invient.vaadin.charts
 
InvientChartsConfig.LineConfig - Class in com.invient.vaadin.charts
This class contains configuration options for line series
InvientChartsConfig.LineConfig() - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.LineConfig -
  -
InvientChartsConfig.Marker - Interface in com.invient.vaadin.charts
Defines a marker for a point.
InvientChartsConfig.MarkerState - Class in com.invient.vaadin.charts
Defines a set of attributes which gets applied to a point when a point is - selected or hovered.
InvientChartsConfig.MarkerState() - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.MarkerState -
Creates this marker with enabled = true -
InvientChartsConfig.MarkerState(boolean) - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.MarkerState -
Creates this marker with specified argument. -
InvientChartsConfig.NonLinearSeriesState - Class in com.invient.vaadin.charts
Defines a set of attributes which are meaningful for bar and colum - series.
InvientChartsConfig.NonLinearSeriesState() - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.NonLinearSeriesState -
  -
InvientChartsConfig.NumberAxis - Class in com.invient.vaadin.charts
 
InvientChartsConfig.NumberAxis() - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.NumberAxis -
  -
InvientChartsConfig.NumberXAxis - Class in com.invient.vaadin.charts
 
InvientChartsConfig.NumberXAxis() - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.NumberXAxis -
  -
InvientChartsConfig.NumberYAxis - Class in com.invient.vaadin.charts
 
InvientChartsConfig.NumberYAxis() - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.NumberYAxis -
  -
InvientChartsConfig.PieConfig - Class in com.invient.vaadin.charts
This class contains configuration options for pie series.
InvientChartsConfig.PieConfig() - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.PieConfig -
  -
InvientChartsConfig.PieDataLabel - Class in com.invient.vaadin.charts
This class contains configuration attributes of data labels specific to - Pie series.
InvientChartsConfig.PieDataLabel() - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.PieDataLabel -
  -
InvientChartsConfig.PieDataLabel(boolean) - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.PieDataLabel -
If the argument is true then the datalabels will be displayed - otherwise not. -
InvientChartsConfig.PointConfig - Class in com.invient.vaadin.charts
Defines configuration per point in a series.
InvientChartsConfig.PointConfig(InvientChartsConfig.Marker) - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.PointConfig -
Creates an instance of this class with specified marker -
InvientChartsConfig.PointConfig(Paint) - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.PointConfig -
Creates an instance of this class with specified color -
InvientChartsConfig.PointConfig(Boolean) - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.PointConfig -
Creates an instance of this class with specified argument. -
InvientChartsConfig.PointConfig(Boolean, Boolean, Paint, InvientChartsConfig.Marker) - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.PointConfig -
  -
InvientChartsConfig.Position - Class in com.invient.vaadin.charts
 
InvientChartsConfig.Position() - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.Position -
  -
InvientChartsConfig.ScatterConfig - Class in com.invient.vaadin.charts
This class contains configuration options for scatter series
InvientChartsConfig.ScatterConfig() - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.ScatterConfig -
  -
InvientChartsConfig.SeriesConfig - Class in com.invient.vaadin.charts
This class contains general configuration options for all series types - such as line, area and pie.
InvientChartsConfig.SeriesConfig() - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.SeriesConfig -
  -
InvientChartsConfig.SeriesState - Class in com.invient.vaadin.charts
Defines a set of attributes which will be applied to a series upon hover.
InvientChartsConfig.SeriesState() - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.SeriesState -
  -
InvientChartsConfig.SplineConfig - Class in com.invient.vaadin.charts
This class contains configuration options for spline series
InvientChartsConfig.SplineConfig() - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.SplineConfig -
  -
InvientChartsConfig.Stacking - Enum in com.invient.vaadin.charts
Defines ways in which series of a chart can be stacked.
InvientChartsConfig.State - Interface in com.invient.vaadin.charts
Defines state for a series and point.
InvientChartsConfig.SubTitle - Class in com.invient.vaadin.charts
Defines attributes of chart subtitle.
InvientChartsConfig.SubTitle() - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.SubTitle -
  -
InvientChartsConfig.SymbolMarker - Class in com.invient.vaadin.charts
This marker has predefined shape which cannot be changed.
InvientChartsConfig.SymbolMarker() - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.SymbolMarker -
Creates this marker with enabled = true -
InvientChartsConfig.SymbolMarker(boolean) - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.SymbolMarker -
Creates this marker with specified arguments. -
InvientChartsConfig.SymbolMarker(Paint) - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.SymbolMarker -
Creates this marker with specified arguments. -
InvientChartsConfig.SymbolMarker(Integer) - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.SymbolMarker -
Creates this marker with specified arguments. -
InvientChartsConfig.SymbolMarker(InvientChartsConfig.SymbolMarker.Symbol) - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.SymbolMarker -
Creates this marker with specified arguments. -
InvientChartsConfig.SymbolMarker(Paint, Integer) - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.SymbolMarker -
Creates this marker with specified arguments. -
InvientChartsConfig.SymbolMarker(Paint, Integer, InvientChartsConfig.SymbolMarker.Symbol) - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.SymbolMarker -
Creates this marker with specified arguments. -
InvientChartsConfig.SymbolMarker.Symbol - Enum in com.invient.vaadin.charts
Defines predefined marker shapes to be used along with - InvientChartsConfig.SymbolMarker
InvientChartsConfig.Title - Class in com.invient.vaadin.charts
Defines attributes of chart title.
InvientChartsConfig.Title() - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.Title -
  -
InvientChartsConfig.TitleBase - Class in com.invient.vaadin.charts
A chart has a title and a subtitle.
InvientChartsConfig.TitleBase() - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.TitleBase -
  -
InvientChartsConfig.Tooltip - Class in com.invient.vaadin.charts
 
InvientChartsConfig.Tooltip() - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.Tooltip -
  -
InvientChartsConfig.VertAlign - Enum in com.invient.vaadin.charts
 
InvientChartsConfig.XAxis - Interface in com.invient.vaadin.charts
 
InvientChartsConfig.XAxisDataLabel - Class in com.invient.vaadin.charts
This class contains configuration properties specifically for x-axis - labels.
InvientChartsConfig.XAxisDataLabel(boolean) - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.XAxisDataLabel -
If the argument is true then the data labels will be displayed - otherwise not. -
InvientChartsConfig.XAxisDataLabel() - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.XAxisDataLabel -
  -
InvientChartsConfig.YAxis - Interface in com.invient.vaadin.charts
 
InvientChartsConfig.YAxisDataLabel - Class in com.invient.vaadin.charts
This class contains configuration properties specifically for x-axis - labels.
InvientChartsConfig.YAxisDataLabel() - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.YAxisDataLabel -
  -
InvientChartsConfig.YAxisDataLabel(boolean) - -Constructor for class com.invient.vaadin.charts.InvientChartsConfig.YAxisDataLabel -
If the argument is true then the data labels will be displayed - otherwise not. -
isClientZoom() - -Method in class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig -
  -
isIncludeTime() - -Method in class com.invient.vaadin.charts.InvientCharts.DateTimeSeries -
  -
-
- - - - - - - - - - - - - - - -
- -
- - - -A C E G H I L P R S T U V
- - - diff --git a/doc/index-files/index-7.html b/doc/index-files/index-7.html deleted file mode 100644 index cc88576..0000000 --- a/doc/index-files/index-7.html +++ /dev/null @@ -1,145 +0,0 @@ - - - - - - -L-Index - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -A C E G H I L P R S T U V
-

-L

-
-
legendItemClick(InvientCharts.PieChartLegendItemClickEvent) - -Method in interface com.invient.vaadin.charts.InvientCharts.PieChartLegendItemClickListener -
  -
-
- - - - - - - - - - - - - - - -
- -
- - - -A C E G H I L P R S T U V
- - - diff --git a/doc/index-files/index-8.html b/doc/index-files/index-8.html deleted file mode 100644 index a2e1235..0000000 --- a/doc/index-files/index-8.html +++ /dev/null @@ -1,161 +0,0 @@ - - - - - - -P-Index - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -A C E G H I L P R S T U V
-

-P

-
-
Paint - Interface in com.invient.vaadin.charts
This Paint interface defines how color patterns can be generated - when drawing the InvientCharts.
paintContent(PaintTarget) - -Method in class com.invient.vaadin.charts.InvientCharts -
  -
pointClick(InvientCharts.PointClickEvent) - -Method in interface com.invient.vaadin.charts.InvientCharts.PointClickListener -
  -
pointRemove(InvientCharts.PointRemoveEvent) - -Method in interface com.invient.vaadin.charts.InvientCharts.PointRemoveListener -
  -
pointSelected(InvientCharts.PointSelectEvent) - -Method in interface com.invient.vaadin.charts.InvientCharts.PointSelectListener -
  -
pointUnSelect(InvientCharts.PointUnselectEvent) - -Method in interface com.invient.vaadin.charts.InvientCharts.PointUnselectListener -
  -
print() - -Method in class com.invient.vaadin.charts.InvientCharts -
Displays a Print dialog of the Webkit to print this chart. -
-
- - - - - - - - - - - - - - - -
- -
- - - -A C E G H I L P R S T U V
- - - diff --git a/doc/index-files/index-9.html b/doc/index-files/index-9.html deleted file mode 100644 index 2a7cf43..0000000 --- a/doc/index-files/index-9.html +++ /dev/null @@ -1,233 +0,0 @@ - - - - - - -R-Index - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -A C E G H I L P R S T U V
-

-R

-
-
refresh() - -Method in class com.invient.vaadin.charts.InvientCharts -
After a series is added or removed, there is no need to call this method - as it is handled implicitly. -
removeAllPoints() - -Method in class com.invient.vaadin.charts.InvientCharts.DateTimeSeries -
  -
removeAllPoints() - -Method in class com.invient.vaadin.charts.InvientCharts.XYSeries -
  -
removeLabel(InvientChartsConfig.ChartLabel.ChartLabelItem) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.ChartLabel -
Removes the specified element from the list of InvientChartsConfig.ChartLabel.ChartLabelItem -
removeListener(InvientCharts.PointClickListener, InvientCharts.SeriesType...) - -Method in class com.invient.vaadin.charts.InvientCharts -
Removes the point click listener. -
removeListener(InvientCharts.PointRemoveListener, InvientCharts.SeriesType...) - -Method in class com.invient.vaadin.charts.InvientCharts -
Removes the point remove listener. -
removeListener(InvientCharts.PointUnselectListener, InvientCharts.SeriesType...) - -Method in class com.invient.vaadin.charts.InvientCharts -
Removes the point unselect listener. -
removeListener(InvientCharts.PointSelectListener, InvientCharts.SeriesType...) - -Method in class com.invient.vaadin.charts.InvientCharts -
Removes the point select listener. -
removeListener(InvientCharts.SeriesClickListerner, InvientCharts.SeriesType...) - -Method in class com.invient.vaadin.charts.InvientCharts -
Removes the series click listener. -
removeListener(InvientCharts.SeriesHideListerner, InvientCharts.SeriesType...) - -Method in class com.invient.vaadin.charts.InvientCharts -
Removes the series hide listener. -
removeListener(InvientCharts.SeriesShowListerner, InvientCharts.SeriesType...) - -Method in class com.invient.vaadin.charts.InvientCharts -
Removes the series show listener. -
removeListener(InvientCharts.SeriesLegendItemClickListerner, InvientCharts.SeriesType...) - -Method in class com.invient.vaadin.charts.InvientCharts -
Removes the series legend item click listener. -
removeListener(InvientCharts.PieChartLegendItemClickListener) - -Method in class com.invient.vaadin.charts.InvientCharts -
Removes the piechart legend item click listener. -
removeListener(InvientCharts.ChartClickListener) - -Method in class com.invient.vaadin.charts.InvientCharts -
Removes the chart click listener. -
removeListener(InvientCharts.ChartAddSeriesListener) - -Method in class com.invient.vaadin.charts.InvientCharts -
Removes the series add listener. -
removeListener(InvientCharts.ChartZoomListener) - -Method in class com.invient.vaadin.charts.InvientCharts -
Removes the chart zoom listener. -
removeListener(InvientCharts.ChartResetZoomListener) - -Method in class com.invient.vaadin.charts.InvientCharts -
Removes the chart reset zoom listener. -
removeListener(InvientCharts.ChartSVGAvailableListener) - -Method in class com.invient.vaadin.charts.InvientCharts -
Removes the chart svg available listener for this chart. -
removePlotBand(String) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase -
Removes a plotband with given id. -
removePlotBand(InvientChartsConfig.AxisBase.NumberPlotBand) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.CategoryAxis -
  -
removePlotBand(InvientChartsConfig.AxisBase.DateTimePlotBand) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.DateTimeAxis -
  -
removePlotBand(InvientChartsConfig.AxisBase.NumberPlotBand) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.NumberAxis -
  -
removePlotLine(String) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.AxisBase -
  -
removePlotLine(InvientChartsConfig.AxisBase.NumberPlotLine) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.CategoryAxis -
  -
removePlotLine(InvientChartsConfig.AxisBase.DateTimePlotLine) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.DateTimeAxis -
  -
removePlotLine(InvientChartsConfig.AxisBase.NumberPlotLine) - -Method in class com.invient.vaadin.charts.InvientChartsConfig.NumberAxis -
  -
removePoint(InvientCharts.DateTimePoint...) - -Method in class com.invient.vaadin.charts.InvientCharts.DateTimeSeries -
Removes all points specified as method argument into this series -
removePoint(InvientCharts.DecimalPoint...) - -Method in class com.invient.vaadin.charts.InvientCharts.XYSeries -
Removes the specified point from the series -
removeSeries(String) - -Method in class com.invient.vaadin.charts.InvientCharts -
Removes a series whose name matches the argument name. -
removeSeries(InvientCharts.Series) - -Method in class com.invient.vaadin.charts.InvientCharts -
Removes the argument seriesData from this chart. -
-
- - - - - - - - - - - - - - - -
- -
- - - -A C E G H I L P R S T U V
- - - diff --git a/doc/index.html b/doc/index.html deleted file mode 100644 index ac85f17..0000000 --- a/doc/index.html +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - -Generated Documentation (Untitled) - - - - - - - - - - - -<H2> -Frame Alert</H2> - -<P> -This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. -<BR> -Link to<A HREF="overview-summary.html">Non-frame version.</A> - - - diff --git a/doc/overview-frame.html b/doc/overview-frame.html deleted file mode 100644 index f5ea418..0000000 --- a/doc/overview-frame.html +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - -Overview List - - - - - - - - - - - - - - - -
-
- - - - - -
All Classes -

- -Packages -
-com.invient.vaadin.charts -
-com.invient.vaadin.charts.widgetset.client.ui -
-

- -

-  - - diff --git a/doc/overview-summary.html b/doc/overview-summary.html deleted file mode 100644 index 5beb16e..0000000 --- a/doc/overview-summary.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - -Overview - - - - - - - - - - - - -


- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Invient Charts -

-
- - - - - - - - - - - - - -
-Packages
com.invient.vaadin.charts 
com.invient.vaadin.charts.widgetset.client.ui 
- -


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/overview-tree.html b/doc/overview-tree.html deleted file mode 100644 index b42a458..0000000 --- a/doc/overview-tree.html +++ /dev/null @@ -1,265 +0,0 @@ - - - - - - -Class Hierarchy - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For All Packages

-
-
-
Package Hierarchies:
com.invient.vaadin.charts, com.invient.vaadin.charts.widgetset.client.ui
-
-

-Class Hierarchy -

- -

-Interface Hierarchy -

- -

-Enum Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/package-list b/doc/package-list deleted file mode 100644 index 1dfcb0a..0000000 --- a/doc/package-list +++ /dev/null @@ -1,2 +0,0 @@ -com.invient.vaadin.charts -com.invient.vaadin.charts.widgetset.client.ui diff --git a/doc/resources/inherit.gif b/doc/resources/inherit.gif deleted file mode 100644 index c814867..0000000 Binary files a/doc/resources/inherit.gif and /dev/null differ diff --git a/doc/serialized-form.html b/doc/serialized-form.html deleted file mode 100644 index ef3dd47..0000000 --- a/doc/serialized-form.html +++ /dev/null @@ -1,4578 +0,0 @@ - - - - - - -Serialized Form - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Serialized Form

-
-
- - - - - -
-Package com.invient.vaadin.charts
- -

- - - - - -
-Class com.invient.vaadin.charts.Color.RGB extends java.lang.Object implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-red

-
-int red
-
-
-
-
-
-

-green

-
-int green
-
-
-
-
-
-

-blue

-
-int blue
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.Color.RGBA extends Color.RGB implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-alpha

-
-float alpha
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.Gradient.LinearGradient extends java.lang.Object implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-xStart

-
-int xStart
-
-
-
-
-
-

-xStartUnit

-
-Gradient.Unit xStartUnit
-
-
-
-
-
-

-yStart

-
-int yStart
-
-
-
-
-
-

-yStartUnit

-
-Gradient.Unit yStartUnit
-
-
-
-
-
-

-xEnd

-
-int xEnd
-
-
-
-
-
-

-xEndUnit

-
-Gradient.Unit xEndUnit
-
-
-
-
-
-

-yEnd

-
-int yEnd
-
-
-
-
-
-

-yEndUnit

-
-Gradient.Unit yEndUnit
-
-
-
-
-
-

-colorStops

-
-java.util.List<E> colorStops
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.Gradient.LinearGradient.LinearColorStop extends java.lang.Object implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-stopAt

-
-double stopAt
-
-
-
-
-
-

-stopAtUnit

-
-Gradient.Unit stopAtUnit
-
-
-
-
-
-

-color

-
-Color color
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientCharts extends com.vaadin.ui.AbstractComponent implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-chartConfig

-
-InvientChartsConfig chartConfig
-
-
-
-
-
-

-isRetrieveSVG

-
-boolean isRetrieveSVG
-
-
-
-
-
-

-isPrint

-
-boolean isPrint
-
-
-
-
-
-

-pointClickListeners

-
-java.util.Map<K,V> pointClickListeners
-
-
-
-
-
-

-pointRemoveListeners

-
-java.util.Map<K,V> pointRemoveListeners
-
-
-
-
-
-

-pointUnselectListeners

-
-java.util.Map<K,V> pointUnselectListeners
-
-
-
-
-
-

-pointSelectListeners

-
-java.util.Map<K,V> pointSelectListeners
-
-
-
-
-
-

-seriesClickListeners

-
-java.util.Map<K,V> seriesClickListeners
-
-
-
-
-
-

-seriesHideListeners

-
-java.util.Map<K,V> seriesHideListeners
-
-
-
-
-
-

-seriesShowListeners

-
-java.util.Map<K,V> seriesShowListeners
-
-
-
-
-
-

-seriesLegendItemClickListeners

-
-java.util.Map<K,V> seriesLegendItemClickListeners
-
-
-
-
-
-

-pieChartLegendItemClickListener

-
-java.util.Set<E> pieChartLegendItemClickListener
-
-
-
-
-
-

-chartClickListener

-
-java.util.Set<E> chartClickListener
-
-
-
-
-
-

-chartAddSeriesListener

-
-java.util.Set<E> chartAddSeriesListener
-
-
-
-
-
-

-chartZoomListener

-
-java.util.Set<E> chartZoomListener
-
-
-
-
-
-

-chartResetZoomListener

-
-java.util.Set<E> chartResetZoomListener
-
-
-
-
-
-

-svgAvailableListener

-
-InvientCharts.ChartSVGAvailableListener svgAvailableListener
-
-
-
-
-
-

-chartSeries

-
-java.util.LinkedHashSet<E> chartSeries
-
-
-
-
-
-

-reloadChartSeries

-
-boolean reloadChartSeries
-
-
-
-
-
-

-seriesCURMap

-
-java.util.LinkedHashMap<K,V> seriesCURMap
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientCharts.ChartAddSeriesEvent extends com.vaadin.ui.Component.Event implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-chart

-
-InvientCharts chart
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientCharts.ChartArea extends java.lang.Object implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-xAxisMin

-
-double xAxisMin
-
-
-
-
-
-

-xAxisMax

-
-double xAxisMax
-
-
-
-
-
-

-yAxisMin

-
-double yAxisMin
-
-
-
-
-
-

-yAxisMax

-
-double yAxisMax
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientCharts.ChartClickEvent extends com.vaadin.ui.Component.Event implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-chart

-
-InvientCharts chart
-
-
-
-
-
-

-point

-
-InvientCharts.Point point
-
-
-
-
-
-

-mousePosition

-
-InvientCharts.MousePosition mousePosition
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientCharts.ChartResetZoomEvent extends com.vaadin.ui.Component.Event implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-chart

-
-InvientCharts chart
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientCharts.ChartSVGAvailableEvent extends com.vaadin.ui.Component.Event implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-chart

-
-InvientCharts chart
-
-
-
-
-
-

-svg

-
-java.lang.String svg
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientCharts.ChartZoomEvent extends com.vaadin.ui.Component.Event implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-chart

-
-InvientCharts chart
-
-
-
-
-
-

-chartArea

-
-InvientCharts.ChartArea chartArea
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientCharts.DateTimePoint extends InvientCharts.Point implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-x

-
-java.util.Date x
-
-
-
-
-
-

-y

-
-java.lang.Double y
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientCharts.DateTimeSeries extends InvientCharts.Series implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-includeTime

-
-boolean includeTime
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientCharts.DecimalPoint extends InvientCharts.Point implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-x

-
-java.lang.Double x
-
-
-
-
-
-

-y

-
-java.lang.Double y
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientCharts.MousePosition extends java.lang.Object implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-mouseX

-
-int mouseX
-
-
-
-
-
-

-mouseY

-
-int mouseY
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientCharts.PieChartLegendItemClickEvent extends com.vaadin.ui.Component.Event implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-chart

-
-InvientCharts chart
-
-
-
-
-
-

-point

-
-InvientCharts.Point point
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientCharts.Point extends java.lang.Object implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-id

-
-java.lang.String id
-
-
-
-
-
-

-name

-
-java.lang.String name
-
-
-
-
-
-

-series

-
-InvientCharts.Series series
-
-
-
-
-
-

-config

-
-InvientChartsConfig.PointConfig config
-
-
-
-
-
-

-isAutosetX

-
-boolean isAutosetX
-
-
-
-
-
-

-shift

-
-boolean shift
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientCharts.PointClickEvent extends com.vaadin.ui.Component.Event implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-category

-
-java.lang.String category
-
-
-
-
-
-

-point

-
-InvientCharts.Point point
-
-
-
-
-
-

-chart

-
-InvientCharts chart
-
-
-
-
-
-

-mousePosition

-
-InvientCharts.MousePosition mousePosition
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientCharts.PointRemoveEvent extends com.vaadin.ui.Component.Event implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-category

-
-java.lang.String category
-
-
-
-
-
-

-point

-
-InvientCharts.Point point
-
-
-
-
-
-

-chart

-
-InvientCharts chart
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientCharts.PointSelectEvent extends com.vaadin.ui.Component.Event implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-category

-
-java.lang.String category
-
-
-
-
-
-

-point

-
-InvientCharts.Point point
-
-
-
-
-
-

-chart

-
-InvientCharts chart
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientCharts.PointUnselectEvent extends com.vaadin.ui.Component.Event implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-category

-
-java.lang.String category
-
-
-
-
-
-

-point

-
-InvientCharts.Point point
-
-
-
-
-
-

-chart

-
-InvientCharts chart
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientCharts.Series extends java.lang.Object implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-points

-
-java.util.LinkedHashSet<E> points
-
-
-
-
-
-

-name

-
-java.lang.String name
-
-
-
-
-
-

-type

-
-InvientCharts.SeriesType type
-
-
-
-
-
-

-stack

-
-java.lang.String stack
-
-
-
-
-
-

-xAxis

-
-InvientChartsConfig.XAxis xAxis
-
-
-
-
-
-

-yAxis

-
-InvientChartsConfig.YAxis yAxis
-
-
-
-
-
-

-config

-
-InvientChartsConfig.SeriesConfig config
-
-
-
-
-
-

-invientCharts

-
-InvientCharts invientCharts
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientCharts.SeriesClickEvent extends com.vaadin.ui.Component.Event implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-point

-
-InvientCharts.Point point
-
-
-
-
-
-

-series

-
-InvientCharts.Series series
-
-
-
-
-
-

-chart

-
-InvientCharts chart
-
-
-
-
-
-

-mousePosition

-
-InvientCharts.MousePosition mousePosition
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientCharts.SeriesHideEvent extends com.vaadin.ui.Component.Event implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-series

-
-InvientCharts.Series series
-
-
-
-
-
-

-chart

-
-InvientCharts chart
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientCharts.SeriesLegendItemClickEvent extends com.vaadin.ui.Component.Event implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-series

-
-InvientCharts.Series series
-
-
-
-
-
-

-chart

-
-InvientCharts chart
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientCharts.SeriesShowEvent extends com.vaadin.ui.Component.Event implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-series

-
-InvientCharts.Series series
-
-
-
-
-
-

-chart

-
-InvientCharts chart
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientCharts.XYSeries extends InvientCharts.Series implements Serializable
- -

- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig extends java.lang.Object implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-title

-
-InvientChartsConfig.Title title
-
-
-
-
-
-

-subtitle

-
-InvientChartsConfig.SubTitle subtitle
-
-
-
-
-
-

-generalChartConfig

-
-InvientChartsConfig.GeneralChartConfig generalChartConfig
-
-
-
-
-
-

-credit

-
-InvientChartsConfig.Credit credit
-
-
-
-
-
-

-legend

-
-InvientChartsConfig.Legend legend
-
-
-
-
-
-

-tooltip

-
-InvientChartsConfig.Tooltip tooltip
-
-
-
-
-
-

-chartLabel

-
-InvientChartsConfig.ChartLabel chartLabel
-
-
-
-
-
-

-seriesTypeConfig

-
-java.util.LinkedHashMap<K,V> seriesTypeConfig
-
-
-
-
-
-

-xAxes

-
-java.util.LinkedHashSet<E> xAxes
-
-
-
-
-
-

-yAxes

-
-java.util.LinkedHashSet<E> yAxes
-
-
-
-
-
-

-invientCharts

-
-InvientCharts invientCharts
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.AbstractMarker extends java.lang.Object implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-markerAttribute

-
-com.invient.vaadin.charts.InvientChartsConfig.MarkerAttribute markerAttribute
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.AreaConfig extends InvientChartsConfig.BaseLineConfig implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-fillColor

-
-Paint fillColor
-
-
-
-
-
-

-lineColor

-
-Paint lineColor
-
-
-
-
-
-

-fillOpacity

-
-java.lang.Double fillOpacity
-
-
-
-
-
-

-threshold

-
-java.lang.Integer threshold
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.AreaSplineConfig extends InvientChartsConfig.AreaConfig implements Serializable
- -

- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.AxisBase extends java.lang.Object implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-id

-
-java.lang.String id
-
-
-
-
-
-

-type

-
-InvientChartsConfig.AxisBase.AxisType type
-
-
-
-
-
-

-title

-
-InvientChartsConfig.AxisBase.AxisTitle title
-
-
-
-
-
-

-label

-
-InvientChartsConfig.AxisDataLabel label
-
-
-
-
-
-

-plotBands

-
-java.util.LinkedHashSet<E> plotBands
-
-
-
-
-
-

-plotLines

-
-java.util.LinkedHashSet<E> plotLines
-
-
-
-
-
-

-alternateGridColor

-
-Paint alternateGridColor
-
-
-
-
-
-

-endOnTick

-
-java.lang.Boolean endOnTick
-
-
-
-
-
-

-grid

-
-InvientChartsConfig.AxisBase.Grid grid
-
-
-
-
-
-

-lineColor

-
-Paint lineColor
-
-
-
-
-
-

-lineWidth

-
-java.lang.Integer lineWidth
-
-
-
-
-
-

-linkedTo

-
-InvientChartsConfig.Axis linkedTo
-
-
-
-
-
-

-maxPadding

-
-java.lang.Double maxPadding
-
-
-
-
-
-

-maxZoom

-
-java.lang.Integer maxZoom
-
-
-
-
-
-

-minPadding

-
-java.lang.Double minPadding
-
-
-
-
-
-

-tick

-
-InvientChartsConfig.AxisBase.Tick tick
-
-
-
-
-
-

-minorGrid

-
-InvientChartsConfig.AxisBase.MinorGrid minorGrid
-
-
-
-
-
-

-minorTick

-
-InvientChartsConfig.AxisBase.MinorTick minorTick
-
-
-
-
-
-

-offset

-
-java.lang.Integer offset
-
-
-
-
-
-

-opposite

-
-java.lang.Boolean opposite
-
-
-
-
-
-

-reversed

-
-java.lang.Boolean reversed
-
-
-
-
-
-

-showFirstLabel

-
-java.lang.Boolean showFirstLabel
-
-
-
-
-
-

-showLastLabel

-
-java.lang.Boolean showLastLabel
-
-
-
-
-
-

-startOfWeek

-
-InvientChartsConfig.AxisBase.WeekDay startOfWeek
-
-
-
-
-
-

-startOnTick

-
-java.lang.Boolean startOnTick
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.AxisTitle extends java.lang.Object implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-text

-
-java.lang.String text
-
-
-
-
-
-

-align

-
-InvientChartsConfig.AxisBase.AxisTitleAlign align
-
-
-
-
-
-

-style

-
-java.lang.String style
-
-
-
-
-
-

-rotation

-
-java.lang.Integer rotation
-
-
-
-
-
-

-margin

-
-java.lang.Integer margin
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.DateTimePlotBand extends InvientChartsConfig.AxisBase.PlotBand implements Serializable
- -

- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.DateTimePlotBand.DateTimeRange extends InvientChartsConfig.AxisBase.PlotBand.Range implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-from

-
-java.util.Date from
-
-
-
-
-
-

-to

-
-java.util.Date to
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.DateTimePlotLine extends InvientChartsConfig.AxisBase.PlotLine implements Serializable
- -

- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.DateTimePlotLine.DateTimeValue extends InvientChartsConfig.AxisBase.PlotLine.Value implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-value

-
-java.util.Date value
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.Grid extends InvientChartsConfig.AxisBase.MinorGrid implements Serializable
- -

- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.MinorGrid extends java.lang.Object implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-lineColor

-
-Paint lineColor
-
-
-
-
-
-

-lineDashStyle

-
-InvientChartsConfig.DashStyle lineDashStyle
-
-
-
-
-
-

-lineWidth

-
-java.lang.Integer lineWidth
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.MinorTick extends java.lang.Object implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-color

-
-Paint color
-
-
-
-
-
-

-interval

-
-java.lang.Double interval
-
-
-
-
-
-

-length

-
-java.lang.Integer length
-
-
-
-
-
-

-position

-
-InvientChartsConfig.AxisBase.TickPosition position
-
-
-
-
-
-

-width

-
-java.lang.Integer width
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.NumberPlotBand extends InvientChartsConfig.AxisBase.PlotBand implements Serializable
- -

- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.NumberPlotBand.NumberRange extends InvientChartsConfig.AxisBase.PlotBand.Range implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-from

-
-java.lang.Double from
-
-
-
-
-
-

-to

-
-java.lang.Double to
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.NumberPlotLine extends InvientChartsConfig.AxisBase.PlotLine implements Serializable
- -

- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.NumberPlotLine.NumberValue extends InvientChartsConfig.AxisBase.PlotLine.Value implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-value

-
-java.lang.Double value
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotBand extends java.lang.Object implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-color

-
-Paint color
-
-
-
-
-
-

-range

-
-InvientChartsConfig.AxisBase.PlotBand.Range range
-
-
-
-
-
-

-id

-
-java.lang.String id
-
-
-
-
-
-

-zIndex

-
-java.lang.Integer zIndex
-
-
-
-
-
-

-label

-
-InvientChartsConfig.AxisBase.PlotLabel label
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotBand.Range extends java.lang.Object implements Serializable
- -

- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotLabel extends java.lang.Object implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-align

-
-InvientChartsConfig.HorzAlign align
-
-
-
-
-
-

-vertAlign

-
-InvientChartsConfig.VertAlign vertAlign
-
-
-
-
-
-

-rotation

-
-java.lang.Integer rotation
-
-
-
-
-
-

-style

-
-java.lang.String style
-
-
-
-
-
-

-textAlign

-
-InvientChartsConfig.HorzAlign textAlign
-
-
-
-
-
-

-x

-
-java.lang.Integer x
-
-
-
-
-
-

-y

-
-java.lang.Integer y
-
-
-
-
-
-

-text

-
-java.lang.String text
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotLine extends java.lang.Object implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-color

-
-Paint color
-
-
-
-
-
-

-dashStyle

-
-InvientChartsConfig.DashStyle dashStyle
-
-
-
-
-
-

-id

-
-java.lang.String id
-
-
-
-
-
-

-value

-
-InvientChartsConfig.AxisBase.PlotLine.Value value
-
-
-
-
-
-

-width

-
-java.lang.Integer width
-
-
-
-
-
-

-zIndex

-
-java.lang.Integer zIndex
-
-
-
-
-
-

-label

-
-InvientChartsConfig.AxisBase.PlotLabel label
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotLine.Value extends java.lang.Object implements Serializable
- -

- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.AxisBase.Tick extends InvientChartsConfig.AxisBase.MinorTick implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-placement

-
-InvientChartsConfig.AxisBase.TickmarkPlacement placement
-
-
-
-
-
-

-pixelInterval

-
-java.lang.Integer pixelInterval
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.AxisDataLabel extends InvientChartsConfig.DataLabel implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-step

-
-java.lang.Integer step
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.BarConfig extends InvientChartsConfig.BaseBarConfig implements Serializable
- -

- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.BaseBarConfig extends InvientChartsConfig.SeriesConfig implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-borderColor

-
-Paint borderColor
-
-
-
-
-
-

-borderRadius

-
-java.lang.Integer borderRadius
-
-
-
-
-
-

-borderWidth

-
-java.lang.Integer borderWidth
-
-
-
-
-
-

-colorByPoint

-
-java.lang.Boolean colorByPoint
-
-
-
-
-
-

-groupPadding

-
-java.lang.Double groupPadding
-
-
-
-
-
-

-minPointLength

-
-java.lang.Double minPointLength
-
-
-
-
-
-

-pointPadding

-
-java.lang.Double pointPadding
-
-
-
-
-
-

-pointWidth

-
-java.lang.Integer pointWidth
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.BaseLineConfig extends InvientChartsConfig.SeriesConfig implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-pointStart

-
-java.lang.Double pointStart
-
-
-
-
-
-

-pointInterval

-
-java.lang.Double pointInterval
-
-
-
-
-
-

-stickyTracking

-
-java.lang.Boolean stickyTracking
-
-
-
-
-
-

-marker

-
-InvientChartsConfig.Marker marker
-
-
-
-
-
-

-dashStyle

-
-InvientChartsConfig.DashStyle dashStyle
-
-
-
-
-
-

-lineWidth

-
-java.lang.Integer lineWidth
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.CategoryAxis extends InvientChartsConfig.AxisBase implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-categories

-
-java.util.List<E> categories
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.ChartLabel extends java.lang.Object implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-style

-
-java.lang.String style
-
-
-
-
-
-

-labels

-
-java.util.List<E> labels
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.ChartLabel.ChartLabelItem extends java.lang.Object implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-html

-
-java.lang.String html
-
-
-
-
-
-

-style

-
-java.lang.String style
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.ColumnConfig extends InvientChartsConfig.BaseBarConfig implements Serializable
- -

- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.Credit extends java.lang.Object implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-enabled

-
-java.lang.Boolean enabled
-
-
-
-
-
-

-link

-
-java.lang.String link
-
-
-
-
-
-

-style

-
-java.lang.String style
-
-
-
-
-
-

-text

-
-java.lang.String text
-
-
-
-
-
-

-position

-
-InvientChartsConfig.Position position
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.DataLabel extends java.lang.Object implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-align

-
-InvientChartsConfig.HorzAlign align
-
-
-
-
-
-

-enabled

-
-java.lang.Boolean enabled
-
-
-
-
-
-

-formatterJsFunc

-
-java.lang.String formatterJsFunc
-
-
-
-
-
-

-rotation

-
-java.lang.Integer rotation
-
-
-
-
-
-

-style

-
-java.lang.String style
-
-
-
-
-
-

-x

-
-java.lang.Integer x
-
-
-
-
-
-

-y

-
-java.lang.Integer y
-
-
-
-
-
-

-color

-
-Color color
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.DateTimeAxis extends InvientChartsConfig.AxisBase implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-dateTimeLabelFormats

-
-InvientChartsConfig.DateTimeAxis.DateTimeLabelFormat dateTimeLabelFormats
-
-
-
-
-
-

-max

-
-java.util.Date max
-
-
-
-
-
-

-min

-
-java.util.Date min
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig extends java.lang.Object implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-backgroundColor

-
-Paint backgroundColor
-
-
-
-
-
-

-borderColor

-
-Paint borderColor
-
-
-
-
-
-

-borderRadius

-
-java.lang.Integer borderRadius
-
-
-
-
-
-

-borderWidth

-
-java.lang.Integer borderWidth
-
-
-
-
-
-

-height

-
-java.lang.Integer height
-
-
-
-
-
-

-width

-
-java.lang.Integer width
-
-
-
-
-
-

-ignoreHiddenSeries

-
-java.lang.Boolean ignoreHiddenSeries
-
-
-
-
-
-

-inverted

-
-java.lang.Boolean inverted
-
-
-
-
-
-

-margin

-
-InvientChartsConfig.GeneralChartConfig.Margin margin
-
-
-
-
-
-

-spacing

-
-InvientChartsConfig.GeneralChartConfig.Spacing spacing
-
-
-
-
-
-

-showAxes

-
-java.lang.Boolean showAxes
-
-
-
-
-
-

-type

-
-InvientCharts.SeriesType type
-
-
-
-
-
-

-zoomType

-
-InvientChartsConfig.GeneralChartConfig.ZoomType zoomType
-
-
-
-
-
-

-clientZoom

-
-boolean clientZoom
-
-
-
-
-
-

-alignTicks

-
-java.lang.Boolean alignTicks
-
-
-
-
-
-

-animation

-
-java.lang.Boolean animation
-
-
-
-
-
-

-className

-
-java.lang.String className
-
-
-
-
-
-

-reflow

-
-java.lang.Boolean reflow
-
-
-
-
-
-

-shadow

-
-java.lang.Boolean shadow
-
-
-
-
-
-

-plot

-
-InvientChartsConfig.GeneralChartConfig.Plot plot
-
-
-
-
-
-

-style

-
-java.lang.String style
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig.Margin extends java.lang.Object implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-left

-
-java.lang.Integer left
-
-
-
-
-
-

-top

-
-java.lang.Integer top
-
-
-
-
-
-

-right

-
-java.lang.Integer right
-
-
-
-
-
-

-bottom

-
-java.lang.Integer bottom
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig.Plot extends java.lang.Object implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-backgroundColor

-
-Paint backgroundColor
-
-
-
-
-
-

-backgroundImage

-
-java.lang.String backgroundImage
-
-
-
-
-
-

-borderColor

-
-Paint borderColor
-
-
-
-
-
-

-borderWidth

-
-java.lang.Integer borderWidth
-
-
-
-
-
-

-shadow

-
-java.lang.Boolean shadow
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig.Spacing extends java.lang.Object implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-left

-
-java.lang.Integer left
-
-
-
-
-
-

-top

-
-java.lang.Integer top
-
-
-
-
-
-

-right

-
-java.lang.Integer right
-
-
-
-
-
-

-bottom

-
-java.lang.Integer bottom
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.ImageMarker extends InvientChartsConfig.AbstractMarker implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-imageURL

-
-java.lang.String imageURL
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.Legend extends java.lang.Object implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-backgroundColor

-
-Paint backgroundColor
-
-
-
-
-
-

-borderColor

-
-Paint borderColor
-
-
-
-
-
-

-borderRadius

-
-java.lang.Integer borderRadius
-
-
-
-
-
-

-borderWidth

-
-java.lang.Integer borderWidth
-
-
-
-
-
-

-enabled

-
-java.lang.Boolean enabled
-
-
-
-
-
-

-floating

-
-java.lang.Boolean floating
-
-
-
-
-
-

-itemHiddenStyle

-
-java.lang.String itemHiddenStyle
-
-
-
-
-
-

-itemHoverStyle

-
-java.lang.String itemHoverStyle
-
-
-
-
-
-

-itemStyle

-
-java.lang.String itemStyle
-
-
-
-
-
-

-itemWidth

-
-java.lang.Integer itemWidth
-
-
-
-
-
-

-layout

-
-InvientChartsConfig.Legend.Layout layout
-
-
-
-
-
-

-labelFormatterJsFunc

-
-java.lang.String labelFormatterJsFunc
-
-
-
-
-
-

-margin

-
-java.lang.Integer margin
-
-
-
-
-
-

-reversed

-
-java.lang.Boolean reversed
-
-
-
-
-
-

-shadow

-
-java.lang.Boolean shadow
-
-
-
-
-
-

-symbolPadding

-
-java.lang.Integer symbolPadding
-
-
-
-
-
-

-symbolWidth

-
-java.lang.Integer symbolWidth
-
-
-
-
-
-

-width

-
-java.lang.Integer width
-
-
-
-
-
-

-position

-
-InvientChartsConfig.Position position
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.LineConfig extends InvientChartsConfig.BaseLineConfig implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-step

-
-java.lang.Boolean step
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.MarkerState extends java.lang.Object implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-markerAttribute

-
-com.invient.vaadin.charts.InvientChartsConfig.MarkerAttribute markerAttribute
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.NonLinearSeriesState extends InvientChartsConfig.SeriesState implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-brightness

-
-java.lang.Double brightness
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.NumberAxis extends InvientChartsConfig.AxisBase implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-allowDecimals

-
-java.lang.Boolean allowDecimals
-
-
-
-
-
-

-max

-
-java.lang.Double max
-
-
-
-
-
-

-min

-
-java.lang.Double min
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.NumberXAxis extends InvientChartsConfig.NumberAxis implements Serializable
- -

- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.NumberYAxis extends InvientChartsConfig.NumberAxis implements Serializable
- -

- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.PieConfig extends InvientChartsConfig.SeriesConfig implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-centerX

-
-java.lang.Integer centerX
-
-
-
-
-
-

-centerY

-
-java.lang.Integer centerY
-
-
-
-
-
-

-borderColor

-
-Paint borderColor
-
-
-
-
-
-

-borderWidth

-
-java.lang.Integer borderWidth
-
-
-
-
-
-

-innerSize

-
-java.lang.Integer innerSize
-
-
-
-
-
-

-size

-
-java.lang.Integer size
-
-
-
-
-
-

-slicedOffset

-
-java.lang.Integer slicedOffset
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.PieDataLabel extends InvientChartsConfig.DataLabel implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-connectorWidth

-
-java.lang.Integer connectorWidth
-
-
-
-
-
-

-connectorColor

-
-Paint connectorColor
-
-
-
-
-
-

-connectorPadding

-
-java.lang.Integer connectorPadding
-
-
-
-
-
-

-distance

-
-java.lang.Integer distance
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.PointConfig extends java.lang.Object implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-sliced

-
-java.lang.Boolean sliced
-
-
-
-
-
-

-selected

-
-java.lang.Boolean selected
-
-
-
-
-
-

-color

-
-Paint color
-
-
-
-
-
-

-marker

-
-InvientChartsConfig.Marker marker
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.Position extends java.lang.Object implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-align

-
-InvientChartsConfig.HorzAlign align
-
-
-
-
-
-

-vertAlign

-
-InvientChartsConfig.VertAlign vertAlign
-
-
-
-
-
-

-x

-
-java.lang.Integer x
-
-
-
-
-
-

-y

-
-java.lang.Integer y
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.ScatterConfig extends InvientChartsConfig.BaseLineConfig implements Serializable
- -

- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.SeriesConfig extends java.lang.Object implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-allowPointSelect

-
-java.lang.Boolean allowPointSelect
-
-
-
-
-
-

-animation

-
-java.lang.Boolean animation
-
-
-
-
-
-

-enableMouseTracking

-
-java.lang.Boolean enableMouseTracking
-
-
-
-
-
-

-showInLegend

-
-java.lang.Boolean showInLegend
-
-
-
-
-
-

-cursor

-
-java.lang.String cursor
-
-
-
-
-
-

-stacking

-
-InvientChartsConfig.Stacking stacking
-
-
-
-
-
-

-showCheckbox

-
-java.lang.Boolean showCheckbox
-
-
-
-
-
-

-visible

-
-java.lang.Boolean visible
-
-
-
-
-
-

-shadow

-
-java.lang.Boolean shadow
-
-
-
-
-
-

-hoverState

-
-InvientChartsConfig.SeriesState hoverState
-
-
-
-
-
-

-dataLabel

-
-InvientChartsConfig.DataLabel dataLabel
-
-
-
-
-
-

-color

-
-Paint color
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.SeriesState extends java.lang.Object implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-enabled

-
-java.lang.Boolean enabled
-
-
-
-
-
-

-lineWidth

-
-java.lang.Integer lineWidth
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.SplineConfig extends InvientChartsConfig.BaseLineConfig implements Serializable
- -

- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.SubTitle extends InvientChartsConfig.TitleBase implements Serializable
- -

- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.SymbolMarker extends InvientChartsConfig.AbstractMarker implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-symbol

-
-InvientChartsConfig.SymbolMarker.Symbol symbol
-
-
-
-
-
-

-hoverState

-
-InvientChartsConfig.MarkerState hoverState
-
-
-
-
-
-

-selectState

-
-InvientChartsConfig.MarkerState selectState
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.Title extends InvientChartsConfig.TitleBase implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-margin

-
-java.lang.Integer margin
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.TitleBase extends java.lang.Object implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-align

-
-InvientChartsConfig.HorzAlign align
-
-
-
-
-
-

-vertAlign

-
-InvientChartsConfig.VertAlign vertAlign
-
-
-
-
-
-

-floating

-
-java.lang.Boolean floating
-
-
-
-
-
-

-text

-
-java.lang.String text
-
-
-
-
-
-

-x

-
-java.lang.Integer x
-
-
-
-
-
-

-y

-
-java.lang.Integer y
-
-
-
-
-
-

-style

-
-java.lang.String style
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.Tooltip extends java.lang.Object implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-backgroundColor

-
-Paint backgroundColor
-
-
-
-
-
-

-borderColor

-
-Paint borderColor
-
-
-
-
-
-

-borderRadius

-
-java.lang.Integer borderRadius
-
-
-
-
-
-

-borderWidth

-
-java.lang.Integer borderWidth
-
-
-
-
-
-

-crosshairs

-
-java.lang.Boolean crosshairs
-
-
-
-
-
-

-enabled

-
-java.lang.Boolean enabled
-
-
-
-
-
-

-formatterJsFunc

-
-java.lang.String formatterJsFunc
-
-
-
-
-
-

-shadow

-
-java.lang.Boolean shadow
-
-
-
-
-
-

-shared

-
-java.lang.Boolean shared
-
-
-
-
-
-

-snap

-
-java.lang.Integer snap
-
-
-
-
-
-

-style

-
-java.lang.String style
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.XAxisDataLabel extends InvientChartsConfig.AxisDataLabel implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-staggerLines

-
-java.lang.Integer staggerLines
-
-
-
-
- -

- - - - - -
-Class com.invient.vaadin.charts.InvientChartsConfig.YAxisDataLabel extends InvientChartsConfig.AxisDataLabel implements Serializable
- -

- -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/doc/stylesheet.css b/doc/stylesheet.css deleted file mode 100644 index 6ea9e51..0000000 --- a/doc/stylesheet.css +++ /dev/null @@ -1,29 +0,0 @@ -/* Javadoc style sheet */ - -/* Define colors, fonts and other style attributes here to override the defaults */ - -/* Page background color */ -body { background-color: #FFFFFF; color:#000000 } - -/* Headings */ -h1 { font-size: 145% } - -/* Table colors */ -.TableHeadingColor { background: #CCCCFF; color:#000000 } /* Dark mauve */ -.TableSubHeadingColor { background: #EEEEFF; color:#000000 } /* Light mauve */ -.TableRowColor { background: #FFFFFF; color:#000000 } /* White */ - -/* Font used in left-hand frame lists */ -.FrameTitleFont { font-size: 100%; font-family: Helvetica, Arial, sans-serif; color:#000000 } -.FrameHeadingFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 } -.FrameItemFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 } - -/* Navigation bar fonts and colors */ -.NavBarCell1 { background-color:#EEEEFF; color:#000000} /* Light mauve */ -.NavBarCell1Rev { background-color:#00008B; color:#FFFFFF} /* Dark Blue */ -.NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;color:#000000;} -.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;color:#FFFFFF;} - -.NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000} -.NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000} - diff --git a/invient-charts-demo/pom.xml b/invient-charts-demo/pom.xml new file mode 100644 index 0000000..786718b --- /dev/null +++ b/invient-charts-demo/pom.xml @@ -0,0 +1,153 @@ + + + 4.0.0 + + + com.invient.vaadin.charts + invient-charts + 1.1-SNAPSHOT + + + invient-charts-demo + war + InvientCharts - Demo + Demo project that showcases the features of InvientCharts. + + + + com.vaadin + vaadin + + + com.google.gwt + gwt-user + + + com.invient.vaadin.charts + invient-charts-addon + 1.1-SNAPSHOT + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 2.5.1 + + 1.6 + 1.6 + UTF-8 + + + + org.apache.maven.plugins + maven-resources-plugin + 2.5 + + UTF-8 + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.8.1 + + UTF-8 + 1.5 + + + + install + + javadoc + + + + + + org.apache.maven.plugins + maven-source-plugin + 2.1.2 + + + install + + jar + + + + + + + org.codehaus.mojo + gwt-maven-plugin + ${gwt.plugin.version} + + ${project.build.directory}/${project.build.finalName}/VAADIN/widgetsets + + -Xmx1024M -Xss2024k + invient-charts-demo + ${project.build.directory}/${project.build.finalName} + true + 8080 + false + + + + + resources + compile + + + + + + com.google.gwt + gwt-dev + ${gwt.version} + + + com.google.gwt + gwt-user + ${gwt.version} + + + + + + com.vaadin + vaadin-maven-plugin + 1.0.2 + + + + + + update-widgetset + + + + + + + org.mortbay.jetty + jetty-maven-plugin + 8.1.10.v20130312 + + + /invient-charts-demo + + src/main/webapp,${project.build.directory}/${project.build.finalName} + + + + + + + + + + + diff --git a/demo/com/invient/vaadin/InvientChartsDemoApp.java b/invient-charts-demo/src/main/java/com/invient/vaadin/InvientChartsDemoApp.java old mode 100755 new mode 100644 similarity index 100% rename from demo/com/invient/vaadin/InvientChartsDemoApp.java rename to invient-charts-demo/src/main/java/com/invient/vaadin/InvientChartsDemoApp.java diff --git a/demo/com/invient/vaadin/InvientChartsDemoAppServlet.java b/invient-charts-demo/src/main/java/com/invient/vaadin/InvientChartsDemoAppServlet.java old mode 100755 new mode 100644 similarity index 80% rename from demo/com/invient/vaadin/InvientChartsDemoAppServlet.java rename to invient-charts-demo/src/main/java/com/invient/vaadin/InvientChartsDemoAppServlet.java index 2209fa8..82e9a50 --- a/demo/com/invient/vaadin/InvientChartsDemoAppServlet.java +++ b/invient-charts-demo/src/main/java/com/invient/vaadin/InvientChartsDemoAppServlet.java @@ -25,18 +25,22 @@ import com.vaadin.terminal.gwt.server.ApplicationServlet; import com.vaadin.ui.Window; +@SuppressWarnings("serial") public class InvientChartsDemoAppServlet extends ApplicationServlet { + /** + * {@inheritDoc} + */ @Override protected void writeAjaxPageHtmlVaadinScripts(Window window, String themeName, Application application, BufferedWriter page, String appUrl, String themeUri, String appId, HttpServletRequest request) throws ServletException, IOException { - page.write("\n"); super.writeAjaxPageHtmlVaadinScripts(window, themeName, application, page, appUrl, themeUri, appId, request); diff --git a/invient-charts-demo/src/main/java/com/invient/vaadin/InvientChartsDemoAppWidgetset.gwt.xml b/invient-charts-demo/src/main/java/com/invient/vaadin/InvientChartsDemoAppWidgetset.gwt.xml new file mode 100644 index 0000000..95dd665 --- /dev/null +++ b/invient-charts-demo/src/main/java/com/invient/vaadin/InvientChartsDemoAppWidgetset.gwt.xml @@ -0,0 +1,11 @@ + + + + + + + + + diff --git a/demo/com/invient/vaadin/InvientChartsDemoWin.java b/invient-charts-demo/src/main/java/com/invient/vaadin/InvientChartsDemoWin.java old mode 100755 new mode 100644 similarity index 99% rename from demo/com/invient/vaadin/InvientChartsDemoWin.java rename to invient-charts-demo/src/main/java/com/invient/vaadin/InvientChartsDemoWin.java index 5080854..7344f3e --- a/demo/com/invient/vaadin/InvientChartsDemoWin.java +++ b/invient-charts-demo/src/main/java/com/invient/vaadin/InvientChartsDemoWin.java @@ -2105,7 +2105,7 @@ private void showSplineWithSymbol() { // Tooltip tooltip = new Tooltip(); - tooltip.setCrosshairs(true); + tooltip.setCrosshairs(new Tooltip.Crosshairs()); tooltip.setShared(true); chartConfig.setTooltip(tooltip); diff --git a/WebContent/graphics/snow.png b/invient-charts-demo/src/main/webapp/VAADIN/graphics/snow.png similarity index 100% rename from WebContent/graphics/snow.png rename to invient-charts-demo/src/main/webapp/VAADIN/graphics/snow.png diff --git a/WebContent/graphics/sun.png b/invient-charts-demo/src/main/webapp/VAADIN/graphics/sun.png similarity index 100% rename from WebContent/graphics/sun.png rename to invient-charts-demo/src/main/webapp/VAADIN/graphics/sun.png diff --git a/WebContent/js/adapters/mootools-adapter.js b/invient-charts-demo/src/main/webapp/VAADIN/js/highcharts/adapters/mootools-adapter.js old mode 100644 new mode 100755 similarity index 100% rename from WebContent/js/adapters/mootools-adapter.js rename to invient-charts-demo/src/main/webapp/VAADIN/js/highcharts/adapters/mootools-adapter.js diff --git a/WebContent/js/adapters/mootools-adapter.src.js b/invient-charts-demo/src/main/webapp/VAADIN/js/highcharts/adapters/mootools-adapter.src.js old mode 100644 new mode 100755 similarity index 100% rename from WebContent/js/adapters/mootools-adapter.src.js rename to invient-charts-demo/src/main/webapp/VAADIN/js/highcharts/adapters/mootools-adapter.src.js diff --git a/WebContent/js/adapters/prototype-adapter.js b/invient-charts-demo/src/main/webapp/VAADIN/js/highcharts/adapters/prototype-adapter.js old mode 100644 new mode 100755 similarity index 100% rename from WebContent/js/adapters/prototype-adapter.js rename to invient-charts-demo/src/main/webapp/VAADIN/js/highcharts/adapters/prototype-adapter.js diff --git a/WebContent/js/adapters/prototype-adapter.src.js b/invient-charts-demo/src/main/webapp/VAADIN/js/highcharts/adapters/prototype-adapter.src.js old mode 100644 new mode 100755 similarity index 100% rename from WebContent/js/adapters/prototype-adapter.src.js rename to invient-charts-demo/src/main/webapp/VAADIN/js/highcharts/adapters/prototype-adapter.src.js diff --git a/WebContent/js/highcharts.js b/invient-charts-demo/src/main/webapp/VAADIN/js/highcharts/highcharts.js old mode 100644 new mode 100755 similarity index 100% rename from WebContent/js/highcharts.js rename to invient-charts-demo/src/main/webapp/VAADIN/js/highcharts/highcharts.js diff --git a/WebContent/js/modules/exporting.js b/invient-charts-demo/src/main/webapp/VAADIN/js/highcharts/modules/exporting.js old mode 100644 new mode 100755 similarity index 100% rename from WebContent/js/modules/exporting.js rename to invient-charts-demo/src/main/webapp/VAADIN/js/highcharts/modules/exporting.js diff --git a/WebContent/js/modules/exporting.src.js b/invient-charts-demo/src/main/webapp/VAADIN/js/highcharts/modules/exporting.src.js old mode 100644 new mode 100755 similarity index 100% rename from WebContent/js/modules/exporting.src.js rename to invient-charts-demo/src/main/webapp/VAADIN/js/highcharts/modules/exporting.src.js diff --git a/WebContent/js/themes/dark-blue.js b/invient-charts-demo/src/main/webapp/VAADIN/js/highcharts/themes/dark-blue.js old mode 100644 new mode 100755 similarity index 100% rename from WebContent/js/themes/dark-blue.js rename to invient-charts-demo/src/main/webapp/VAADIN/js/highcharts/themes/dark-blue.js diff --git a/WebContent/js/themes/dark-green.js b/invient-charts-demo/src/main/webapp/VAADIN/js/highcharts/themes/dark-green.js old mode 100644 new mode 100755 similarity index 100% rename from WebContent/js/themes/dark-green.js rename to invient-charts-demo/src/main/webapp/VAADIN/js/highcharts/themes/dark-green.js diff --git a/WebContent/js/themes/gray.js b/invient-charts-demo/src/main/webapp/VAADIN/js/highcharts/themes/gray.js old mode 100644 new mode 100755 similarity index 100% rename from WebContent/js/themes/gray.js rename to invient-charts-demo/src/main/webapp/VAADIN/js/highcharts/themes/gray.js diff --git a/WebContent/js/themes/grid.js b/invient-charts-demo/src/main/webapp/VAADIN/js/highcharts/themes/grid.js old mode 100644 new mode 100755 similarity index 100% rename from WebContent/js/themes/grid.js rename to invient-charts-demo/src/main/webapp/VAADIN/js/highcharts/themes/grid.js diff --git a/WebContent/jquery/jquery-1.4.4.min.js b/invient-charts-demo/src/main/webapp/VAADIN/js/jquery/jquery-1.4.4.min.js old mode 100644 new mode 100755 similarity index 100% rename from WebContent/jquery/jquery-1.4.4.min.js rename to invient-charts-demo/src/main/webapp/VAADIN/js/jquery/jquery-1.4.4.min.js diff --git a/WebContent/VAADIN/themes/chartdemo/styles.css b/invient-charts-demo/src/main/webapp/VAADIN/themes/chartdemo/styles.css similarity index 100% rename from WebContent/VAADIN/themes/chartdemo/styles.css rename to invient-charts-demo/src/main/webapp/VAADIN/themes/chartdemo/styles.css diff --git a/invient-charts-demo/src/main/webapp/VAADIN/themes/chartdemo/styles.css~1f6b558... Mavenized InvientCharts project as-per Vaadin prescribed structure b/invient-charts-demo/src/main/webapp/VAADIN/themes/chartdemo/styles.css~1f6b558... Mavenized InvientCharts project as-per Vaadin prescribed structure new file mode 100644 index 0000000..b2fd8bc --- /dev/null +++ b/invient-charts-demo/src/main/webapp/VAADIN/themes/chartdemo/styles.css~1f6b558... Mavenized InvientCharts project as-per Vaadin prescribed structure @@ -0,0 +1,63 @@ + +@import url(../reindeer/styles.css); + +.v-splitpanel-second-container { + background-color: white; +} + +.v-splitpanel-hsplitter { + background: none repeat scroll 0 0 #AEB0B5; + width: 1px; +} + +.v-splitpanel-hsplitter div { + background: none repeat scroll 0 0 transparent; + border: medium none; + margin: 0 -1px; + padding: 0; + width: 3px; +} + +.v-caption .v-captiontext { + font-size: 14px; + font-weight: bold; + padding: 14px 0 5px 5px; + color: #5C5D60; +} + +.v-textarea-chart-events-log { + border: 1px solid #C0C0C0 !important; +} + +.v-caption-v-textarea-chart-events-log .v-captiontext { + padding: 0px 0 5px 0px ! important; +} + +.v-chart-min-width { + min-width: 600px; +} + +.v-label { + font-size: 14px; + font-weight: bold; + color: #5C5D60; +} + +.v-label-app-title { + color: white; + float: left; + font-size: 24px; + font-weight: bold; + line-height: 190%; + text-align: center; + background: repeat-x scroll 0 0 #36332D; +} + +div.v-splitpanel-second-container div.v-chart-master-detail div div:nth-child(n+2) { + position:relative; + top:-107px; +} + +.i-progressindicator-invisible { + display: none; +} diff --git a/WebContent/WEB-INF/web.xml b/invient-charts-demo/src/main/webapp/WEB-INF/web.xml similarity index 50% rename from WebContent/WEB-INF/web.xml rename to invient-charts-demo/src/main/webapp/WEB-INF/web.xml index ad97f03..41c029b 100644 --- a/WebContent/WEB-INF/web.xml +++ b/invient-charts-demo/src/main/webapp/WEB-INF/web.xml @@ -5,47 +5,32 @@ id="WebApp_ID" version="3.0"> InvientCharts - - Vaadin production mode + Vaadin production mode productionMode false - InvientCharts demo Application + InvientCharts com.invient.vaadin.InvientChartsDemoAppServlet - - Vaadin application class to start + Vaadin application class to start application com.invient.vaadin.InvientChartsDemoApp - - widgetset - com.invient.vaadin.InvientChartsDemoAppWidgetset - 1 - - - - AsyncServlet - AsyncServlet - org.test.servlet.AsyncServlet - - - InvientCharts demo Application - /demo/* - + - InvientCharts demo Application - /VAADIN/* - - - AsyncServlet - /AsyncServlet + InvientCharts + /* + + widgetset + com.invient.vaadin.InvientChartsDemoAppWidgetset + + 30 diff --git a/invient-charts/pom.xml b/invient-charts/pom.xml new file mode 100644 index 0000000..ee833d6 --- /dev/null +++ b/invient-charts/pom.xml @@ -0,0 +1,146 @@ + + + 4.0.0 + + + com.invient.vaadin.charts + invient-charts + 1.1-SNAPSHOT + + + invient-charts-addon + jar + Invient Charts Addon + A Vaadin widget addon that wraps highcharts.js. + + + + + org.apache.maven.plugins + maven-compiler-plugin + 2.5.1 + + 1.6 + 1.6 + UTF-8 + + + + org.apache.maven.plugins + maven-resources-plugin + 2.5 + + UTF-8 + + + + org.apache.maven.plugins + maven-jar-plugin + 2.4 + + + + ${project.version} + ${project.name} + ${project.organization.name} + 1 + com.invient.vaadin.charts.widgetset.InvientChartsWidgetset + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.8.1 + + UTF-8 + 1.5 + + + + package + + jar + + + + + + org.apache.maven.plugins + maven-source-plugin + 2.1.2 + + + package + + jar + + + + + + + org.codehaus.mojo + gwt-maven-plugin + ${gwt.plugin.version} + + ${project.build.directory}/${project.build.finalName}/VAADIN/widgetsets + + -Xmx1024M -Xss2024k + invient-charts-addon + ${project.build.directory}/${project.build.finalName} + true + 8080 + false + + + + + resources + compile + + + + + + com.google.gwt + gwt-dev + ${gwt.version} + + + com.google.gwt + gwt-user + ${gwt.version} + + + + + + + + + src/main/java + + + src/main/resources + + + + + + + + com.vaadin + vaadin + provided + + + com.google.gwt + gwt-user + provided + + + + diff --git a/src/com/invient/vaadin/charts/Color.java b/invient-charts/src/main/java/com/invient/vaadin/charts/Color.java old mode 100755 new mode 100644 similarity index 66% rename from src/com/invient/vaadin/charts/Color.java rename to invient-charts/src/main/java/com/invient/vaadin/charts/Color.java index 7bb70a1..b6c37f1 --- a/src/com/invient/vaadin/charts/Color.java +++ b/invient-charts/src/main/java/com/invient/vaadin/charts/Color.java @@ -18,34 +18,32 @@ /** * The Color interface represents RBG and RBGA colors. - * Do not confuse with {@link java.awt.Color} class. This is a simplified - * version of {@link java.awt.Color} for the purpose of InvientCharts - * + *

+ * Do not confuse with {@link java.awt.Color} class. This is a simplified + * version of {@link java.awt.Color} for the purpose of InvientCharts. + * * @author Invient */ +@SuppressWarnings("serial") public interface Color extends Paint { /** - * Represents RBG color value. - * + * Represents an RBG color value. + * * @author Invient - * */ - public class RGB implements Color { + public static class RGB implements Color { private int red; private int green; private int blue; /** - * Creates an RGB color with the specified red, green, and blue values. + * Creates an {@link RGB} instance with the specified red, green, and blue values. * The values must be in the range (0 - 255). - * - * @param red - * the red component in a color - * @param green - * the green component in a color - * @param blue - * the blue component in a color + * + * @param red the red component in a color + * @param green the green component in a color + * @param blue the blue component in a color */ public RGB(int red, int green, int blue) { super(); @@ -75,41 +73,36 @@ public RGB(int red, int green, int blue) { } /** - * - * @return Returns the red component in the range (0-255). + * @return The red component in the range (0-255). */ public final int getRed() { return red; } /** - * - * @return Returns the green component in the range (0-255). + * @return The green component in the range (0-255). */ public final int getGreen() { return green; } /** - * - * @return Returns the blue component in the range (0-255). + * @return The blue component in the range (0-255). */ public final int getBlue() { return blue; } /** - * @return Returns string representation of this RBG. + * @return The string representation of this RBG. */ @Override public String getString() { - return new StringBuilder().append("rgb(").append(red).append(",") - .append(green).append(",").append(blue).append(")") - .toString(); + return "rgb(" + red + "," + green + "," + blue + ")"; } /** - * @return Returns string representation of this RBG. + * @return The string representation of this RBG. */ @Override public String toString() { @@ -121,26 +114,23 @@ public String toString() { /** * Represents RGBA color value. - * @author Invient * + * @author Invient */ - public class RGBA extends RGB { + public static class RGBA extends RGB { + private float alpha = 1.0f; /** - * Creates an RGBA color with the specified red, green, blue and alpha + * Creates an {@link RGBA} instance with the specified red, green, blue and alpha * values. The red, green and blue values must be in the range (0 - - * 255). The alpha value must be in the range (0.0-1.0). The alpha value - * deaults to 1.0 - * - * @param red - * the red component in a color - * @param green - * the green component in a color - * @param blue - * the blue component in a color - * @param alpha - * the alpha component in a color + * 255). The alpha value must be in the range (0.0-1.0). The alpha value + * defaults to 1.0. + * + * @param red the red component in a color + * @param green the green component in a color + * @param blue the blue component in a color + * @param alpha the alpha component in a color */ public RGBA(int red, int green, int blue, float alpha) { super(red, green, blue); @@ -155,26 +145,22 @@ public RGBA(int red, int green, int blue, float alpha) { } /** - * - * @return Returns the alpha component in the range (0.0-1.0). + * @return The alpha component in the range (0.0-1.0). */ public final float getAlpha() { return alpha; } /** - * @return Returns string representation of this RGBA + * @return The string representation of this {@link RGBA}. */ @Override public String getString() { - return new StringBuilder().append("rgba(").append(getRed()) - .append(",").append(getGreen()).append(",") - .append(getBlue()).append(",").append(alpha).append(")") - .toString(); + return "rgba(" + getRed() + "," + getGreen() + "," + getBlue() + "," + alpha + ")"; } /** - * @return Returns string representation of this RGBA + * @return The string representation of this {@link RGBA}. */ @Override public String toString() { diff --git a/src/com/invient/vaadin/charts/Gradient.java b/invient-charts/src/main/java/com/invient/vaadin/charts/Gradient.java old mode 100755 new mode 100644 similarity index 66% rename from src/com/invient/vaadin/charts/Gradient.java rename to invient-charts/src/main/java/com/invient/vaadin/charts/Gradient.java index c63cde5..219b3b7 --- a/src/com/invient/vaadin/charts/Gradient.java +++ b/invient-charts/src/main/java/com/invient/vaadin/charts/Gradient.java @@ -22,13 +22,16 @@ /** * The Gradient defines a way to fill a shape with a linear color gradient * pattern. - * + * * @author Invient */ +@SuppressWarnings("serial") public interface Gradient extends Paint { public static enum Unit { + NUMBER("number", ""), PERCENT("percent", "%"); + private String name; private String symbol; @@ -44,65 +47,53 @@ public String getName() { public String getSymbol() { return this.symbol; } + } /** - * Returns the x-coordinate of a point at which linear gradient - * starts. - * @return the x-coordinate of a point at which linear gradient + * @return The x-coordinate of a point at which linear gradient * starts. */ public int getxStart(); /** - * Returns the unit of x-coordinate of a point at which linear gradient starts. - * @return the unit of x-coordinate of a point at which linear gradient starts. + * @return The unit of x-coordinate of a point at which linear gradient starts. */ public Unit getxStartUnit(); /** - * Returns the y-coordinate of a point at which linear gradient starts. - * @return the y-coordinate of a point at which linear gradient starts. + * @return The y-coordinate of a point at which linear gradient starts. */ public int getyStart(); /** - * Returns the unit of y-coordinate of a point at which linear gradient starts. - * @return the unit of y-coordinate of a point at which linear gradient starts. + * @return The unit of y-coordinate of a point at which linear gradient starts. */ public Unit getyStartUnit(); /** - * Returns the x-coordinate of a point at which linear gradient - * ends. - * @return the x-coordinate of a point at which linear gradient - * ends. + * @return The x-coordinate of a point at which linear gradient ends. */ public int getxEnd(); /** - * Returns the unit of x-coordinate of a point at which linear gradient ends. - * @return the unit of x-coordinate of a point at which linear gradient ends. + * @return The unit of x-coordinate of a point at which linear gradient ends. */ public Unit getxEndUnit(); /** - * Returns the x-coordinate of a point at which linear gradient ends. - * @return the x-coordinate of a point at which linear gradient ends. + * @return The x-coordinate of a point at which linear gradient ends. */ public int getyEnd(); /** - * Returns the unit of y-coordinate of a point at which linear gradient ends. - * @return the unit of y-coordinate of a point at which linear gradient ends. + * @return The unit of y-coordinate of a point at which linear gradient ends. */ public Unit getyEndUnit(); /** - * Returns a list of colorstops associated with this gradient. - * @return a list of colorstops associated with this gradient. + * @return A list of {@link ColorStop} instances associated with this gradient. * @see ColorStop - * */ public List getColorStops(); @@ -111,9 +102,8 @@ public String getSymbol() { * (0.0-1.0). The color of the gradient at each stop is the color specified * for that stop. Between each such stop, the colors and the alpha component * will be linearly interpolated over the RGBA. - * + * * @author Invient - * */ public interface ColorStop extends Serializable { @@ -128,9 +118,8 @@ public interface ColorStop extends Serializable { * Represents linear gradient where points of a linear gradient specify a * line. For more details on gradient, refer to CSS 3 gradient * documentation. - * + * * @author Invient - * */ public class LinearGradient implements Gradient { private int xStart = 0; @@ -148,60 +137,45 @@ public class LinearGradient implements Gradient { /** * Creates a LinearGradient with the specified xStart, xEnd, yStart and * yEnd values with default {@link Unit} value number. - * - * @param xStart - * the x-coordinate of a point at which linear gradient - * starts. - * @param xEnd - * the x-coordinate of a point at which linear gradient ends. - * @param yStart - * the y-coordinate of a point at which linear gradient - * starts. - * @param yEnd - * the y-coordinate of a point at which linear gradient ends. - * @param colorStops - * the list of colorstops for the linear gradient. + * + * @param xStart The x-coordinate of a point at which linear gradient + * starts. + * @param xEnd The x-coordinate of a point at which linear gradient ends. + * @param yStart The y-coordinate of a point at which linear gradient + * starts. + * @param yEnd The y-coordinate of a point at which linear gradient ends. + * @param colorStops The list of colorstops for the linear gradient. */ public LinearGradient(int xStart, int yStart, int xEnd, int yEnd, - List colorStops) { + List colorStops) { this(xStart, null, yStart, null, xEnd, null, yEnd, null, colorStops); } /** - * - * @param xStart - * the x-coordinate of a point at which linear gradient - * starts. - * @param xStartUnit - * the unit for the xStart value. It can have one of the two - * values Unit.NUMBER or Unit.PERCENT. If it is null then the - * default value is Unit.NUMBER. - * @param yStart - * the y-coordinate of a point at which linear gradient - * starts. - * @param yStartUnit - * the unit for the yStart value. It can have one of the two - * values Unit.NUMBER or Unit.PERCENT. If it is null then the - * default value is Unit.NUMBER. - * @param xEnd - * the x-coordinate of a point at which linear gradient ends. - * @param xEndUnit - * the unit for the xEnd value. It can have one of the two - * values Unit.NUMBER or Unit.PERCENT. If it is null then the - * default value is Unit.NUMBER. - * @param yEnd - * the y-coordinate of a point at which linear gradient ends. - * @param yEndUnit - * the unit for the yEnd value. It can have one of the two - * values Unit.NUMBER or Unit.PERCENT. If it is null then the - * default value is Unit.NUMBER. - * @param colorStops - * the list of colorstops for the linear gradient. + * @param xStart The x-coordinate of a point at which linear gradient + * starts. + * @param xStartUnit The unit for the xStart value. It can have one of the two + * values Unit.NUMBER or Unit.PERCENT. If it is null then the + * default value is Unit.NUMBER. + * @param yStart The y-coordinate of a point at which linear gradient + * starts. + * @param yStartUnit The unit for the yStart value. It can have one of the two + * values Unit.NUMBER or Unit.PERCENT. If it is null then the + * default value is Unit.NUMBER. + * @param xEnd the x-coordinate of a point at which linear gradient ends. + * @param xEndUnit The unit for the xEnd value. It can have one of the two + * values Unit.NUMBER or Unit.PERCENT. If it is null then the + * default value is Unit.NUMBER. + * @param yEnd The y-coordinate of a point at which linear gradient ends. + * @param yEndUnit The unit for the yEnd value. It can have one of the two + * values Unit.NUMBER or Unit.PERCENT. If it is null then the + * default value is Unit.NUMBER. + * @param colorStops The list of colorstops for the linear gradient. */ public LinearGradient(int xStart, Unit xStartUnit, int yStart, - Unit yStartUnit, int xEnd, Unit xEndUnit, int yEnd, - Unit yEndUnit, List colorStops) { - super(); + Unit yStartUnit, int xEnd, Unit xEndUnit, int yEnd, + Unit yEndUnit, List colorStops) { + this.xStart = xStart; if (xStartUnit != null) { this.xStartUnit = xStartUnit; @@ -221,6 +195,7 @@ public LinearGradient(int xStart, Unit xStartUnit, int yStart, if (colorStops != null) { this.colorStops = colorStops; } + } /* @@ -306,9 +281,8 @@ public List getColorStops() { /** * Represents stop-value and color for the {@link LinearGradient} - * + * * @author Invient - * */ public static class LinearColorStop implements ColorStop { private double stopAt; @@ -316,24 +290,20 @@ public static class LinearColorStop implements ColorStop { private Color color; /** - * - * @param stopAt - * @param color + * @param stopAt The stop-at value. + * @param color The color. */ public LinearColorStop(double stopAt, Color color) { - super(); this.stopAt = stopAt; this.color = color; } /** - * - * @param stopAt - * @param stopAtUnit - * @param color + * @param stopAt The stop-at value. + * @param stopAtUnit The stop-at unit value. + * @param color The color. */ public LinearColorStop(double stopAt, Unit stopAtUnit, Color color) { - super(); this.stopAt = stopAt; if (stopAtUnit != null) { this.stopAtUnit = stopAtUnit; @@ -364,33 +334,30 @@ public Color getColor() { @Override public String getString() { StringBuilder sb = new StringBuilder(); - // The prefix "JSOBJ:" indicates that the string is a JavaScript - // object + // The prefix "JSOBJ:" indicates that the string is a JavaScript object String x1 = "'" + this.xStart + this.xStartUnit.getSymbol() + "'"; String y1 = "'" + this.yStart + this.yStartUnit.getSymbol() + "'"; String x2 = "'" + this.xEnd + this.xEndUnit.getSymbol() + "'"; String y2 = "'" + this.yEnd + this.yEndUnit.getSymbol() + "'"; sb.append("JSOBJ:{"); - sb.append(" linearGradient: [" + x1 + "," + y1 + "," + x2 + "," - + y2 + "],"); + sb.append(" linearGradient: [").append(x1).append(",").append(y1).append(",").append(x2).append(",").append(y2).append("],"); sb.append(" stops: ["); int count = 0; for (LinearColorStop colorStop : this.colorStops) { if (colorStop.getColor() != null) { String stopAt = "'" + colorStop.getStopAt() + colorStop.getStopAtUnit().getSymbol() + "'"; - String stopColor = "'" + colorStop.getColor().getString() + "'"; + String stopColor = "'" + colorStop.getColor().getString() + "'"; if (count > 0) { sb.append(","); } - sb.append("[" + stopAt + ", " - + stopColor + "]"); + sb.append("[").append(stopAt).append(", ").append(stopColor).append("]"); count++; } } sb.append(" ]"); sb.append("}"); - + return sb.toString(); } } diff --git a/src/com/invient/vaadin/charts/InvientCharts.java b/invient-charts/src/main/java/com/invient/vaadin/charts/InvientCharts.java old mode 100755 new mode 100644 similarity index 81% rename from src/com/invient/vaadin/charts/InvientCharts.java rename to invient-charts/src/main/java/com/invient/vaadin/charts/InvientCharts.java index a5219c1..8e037ba --- a/src/com/invient/vaadin/charts/InvientCharts.java +++ b/invient-charts/src/main/java/com/invient/vaadin/charts/InvientCharts.java @@ -17,46 +17,28 @@ import java.io.Serializable; import java.lang.reflect.Method; -import java.util.ArrayList; -import java.util.Calendar; -import java.util.Date; -import java.util.GregorianCalendar; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Iterator; -import java.util.LinkedHashMap; -import java.util.LinkedHashSet; -import java.util.List; -import java.util.Map; -import java.util.Set; +import java.util.*; +import java.util.concurrent.TimeUnit; +import com.invient.vaadin.charts.InvientCharts.SeriesCUR.SeriesCURType; +import com.invient.vaadin.charts.InvientChartsConfig.*; +import com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotBand; +import com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotLine; +import com.invient.vaadin.charts.widgetset.client.ui.VInvientCharts; import com.vaadin.terminal.PaintException; import com.vaadin.terminal.PaintTarget; import com.vaadin.ui.AbstractComponent; import com.vaadin.ui.ClientWidget; import com.vaadin.ui.Component; -import com.invient.vaadin.charts.InvientCharts.SeriesCUR.SeriesCURType; -import com.invient.vaadin.charts.InvientChartsConfig.Axis; -import com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotBand; -import com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotLine; -import com.invient.vaadin.charts.InvientChartsConfig.BaseLineConfig; -import com.invient.vaadin.charts.InvientChartsConfig.PointConfig; -import com.invient.vaadin.charts.InvientChartsConfig.SeriesConfig; -import com.invient.vaadin.charts.InvientChartsConfig.SubTitle; -import com.invient.vaadin.charts.InvientChartsConfig.Title; -import com.invient.vaadin.charts.InvientChartsConfig.XAxis; -import com.invient.vaadin.charts.InvientChartsConfig.YAxis; -import com.invient.vaadin.charts.widgetset.client.ui.VInvientCharts; - /** * A Vaddin component representing charts. It is a the main class of * InvientCharts library. - * + *

* A chart typically contains one or more series of same or different types. * This class allows us to specify series of different types say line and pie * and hence it makes it easy to build a combination chart. - * + *

* After a chart {@link InvientCharts} is created, the following changes to the * chart will be reflected rendered on the webkit. *

- * + * * @author Invient - * */ @SuppressWarnings("serial") @ClientWidget(VInvientCharts.class) @@ -85,8 +66,8 @@ public class InvientCharts extends AbstractComponent { /** * Creates this chart object with given chart configuration - * - * @param chartConfig + * + * @param chartConfig The chart configuration. */ public InvientCharts(InvientChartsConfig chartConfig) { if (chartConfig == null) { @@ -99,13 +80,16 @@ public InvientCharts(InvientChartsConfig chartConfig) { /** * Returns chart configuration object - * + * * @return Returns chart configuration object */ public InvientChartsConfig getConfig() { return this.chartConfig; } + /** + * {@inheritDoc} + */ @Override public void paintContent(PaintTarget target) throws PaintException { super.paintContent(target); @@ -329,9 +313,11 @@ public void changeVariables(Object source, Map variables) { private Point getPointFromEventData(PointEventData eventData) { // First locate a series and then point Series series = getSeriesFromEventData(eventData.getSeriesName()); + // TODO: [S73417H] There is something very wrong here with instanceof checks and equality. if (series != null) { if (series instanceof XYSeries) { - for (DecimalPoint point : ((XYSeries) series).getPoints()) { + XYSeries xySeries = (XYSeries)series; + for (DecimalPoint point : xySeries.getPoints()) { if (point.getY() != null && point.getY().compareTo(eventData.getPointY()) == 0 && point.getX() != null @@ -340,14 +326,14 @@ private Point getPointFromEventData(PointEventData eventData) { } } } else { - for (DateTimePoint point : ((DateTimeSeries) series) - .getPoints()) { + DateTimeSeries dateTimeSeries = (DateTimeSeries)series; + for (DateTimePoint point : dateTimeSeries.getPoints()) { if (point.getY() != null && point.getY().compareTo(eventData.getPointY()) == 0 && point.getX() != null && getDateInMilliseconds(point.getX(), - ((DateTimeSeries) series).isIncludeTime()) == (long) eventData - .getPointX()) { + ((DateTimeSeries) series).isIncludeTime()) == (long) eventData + .getPointX()) { return point; } } @@ -360,15 +346,11 @@ private static Long getDateInMilliseconds(Date dt, boolean isIncludeTime) { if (dt == null) { return null; } - Calendar cal = GregorianCalendar.getInstance(); - cal.setTime(dt); if (!isIncludeTime) { - cal.set(Calendar.HOUR, 0); - cal.set(Calendar.MINUTE, 0); - cal.set(Calendar.SECOND, 0); - cal.set(Calendar.MILLISECOND, 0); + return dt.getTime() - dt.getTime() % TimeUnit.DAYS.toMillis(1); + } else { + return dt.getTime(); } - return cal.getTimeInMillis(); } private Series getSeriesFromEventData(String seriesName) { @@ -403,7 +385,7 @@ private void fireChartResetZoom() { } private void fireSeriesClick(Series series, Point point, - MousePosition mousePosition) { + MousePosition mousePosition) { fireEvent(new SeriesClickEvent(this, this, series, point, mousePosition)); } @@ -420,7 +402,7 @@ private void fireSeriesLegendItemClick(Series series) { } private void firePointClick(String category, Point point, - MousePosition mousePosition) { + MousePosition mousePosition) { fireEvent(new PointClickEvent(this, this, category, point, mousePosition)); } @@ -467,11 +449,10 @@ private MousePosition getClickPosition(Map eventData) { /** * This class contain mouse coordinates when a click event occurs on a * chart, a series or a point. - * + *

* The mouse coordinates are in pixels. - * + * * @author Invient - * */ public final class MousePosition implements Serializable { private int mouseX; @@ -479,11 +460,9 @@ public final class MousePosition implements Serializable { /** * Creates this object with given arguments. - * - * @param mouseX - * x position of mouse when a click event occurred, in pixel - * @param mouseY - * y position of mouse when a click event occurred, in pixel + * + * @param mouseX x position of mouse when a click event occurred, in pixel + * @param mouseY y position of mouse when a click event occurred, in pixel */ public MousePosition(int mouseX, int mouseY) { this.mouseX = mouseX; @@ -491,7 +470,6 @@ public MousePosition(int mouseX, int mouseY) { } /** - * * @return Returns x position of mouse when a click event occurred, in * pixel */ @@ -500,7 +478,6 @@ public int getMouseX() { } /** - * * @return Returns y position of mouse when a click event occurred, in * pixel */ @@ -523,7 +500,7 @@ private final class PointEventData implements Serializable { private double pointY; public PointEventData(String seriesName, String category, - double pointX, double pointY) { + double pointX, double pointY) { super(); this.seriesName = seriesName; this.category = category; @@ -561,7 +538,7 @@ public String toString() { * Click event. This event is thrown, when any point of this chart is * clicked and the point marker is enabled. The point marker is enabled by * default. - * + * * @author Invient */ public class PointClickEvent extends Component.Event { @@ -573,21 +550,16 @@ public class PointClickEvent extends Component.Event { /** * New instance of the point click event. - * - * @param source - * the chart object itself - * @param chart - * the chart object itself - * @param category - * a category to which point is associated in case of - * categorized axis, - * @param point - * the point on which the click event occurred - * @param mousePosition - * the position of a mouse when the click event occurred + * + * @param source the chart object itself + * @param chart the chart object itself + * @param category a category to which point is associated in case of + * categorized axis, + * @param point the point on which the click event occurred + * @param mousePosition the position of a mouse when the click event occurred */ public PointClickEvent(Component source, InvientCharts chart, - String category, Point point, MousePosition mousePosition) { + String category, Point point, MousePosition mousePosition) { super(source); this.chart = chart; this.category = category; @@ -596,7 +568,6 @@ public PointClickEvent(Component source, InvientCharts chart, } /** - * * @return Returns a category to which point is associated in case of * categorized axis only. */ @@ -605,7 +576,6 @@ public String getCategory() { } /** - * * @return Returns the chart object associated with the point */ public InvientCharts getChart() { @@ -613,7 +583,6 @@ public InvientCharts getChart() { } /** - * * @return Returns the point on which the click event occurred */ public Point getPoint() { @@ -621,7 +590,6 @@ public Point getPoint() { } /** - * * @return Returns the position of a mouse when the click event occurred */ public MousePosition getMousePosition() { @@ -633,9 +601,8 @@ public MousePosition getMousePosition() { /** * Interface for listening for a {@link PointClickEvent} triggered by * {@link InvientCharts} - * + * * @author Invient - * */ public interface PointClickListener extends Serializable { public void pointClick(PointClickEvent pointClickEvent); @@ -647,14 +614,13 @@ public interface PointClickListener extends Serializable { * Adds the point click listener. If the argument seriesTypes is not * specified then the listener will be added for all series type otherwise * it will be added for a specific series type - * - * @param listener - * the Listener to be added. + * + * @param listener the Listener to be added. */ public void addListener(PointClickListener listener, - SeriesType... seriesTypes) { + SeriesType... seriesTypes) { if (seriesTypes.length == 0) { - seriesTypes = new SeriesType[] { SeriesType.COMMONSERIES }; + seriesTypes = new SeriesType[]{SeriesType.COMMONSERIES}; } for (SeriesType seriesType : seriesTypes) { @@ -674,16 +640,14 @@ public void addListener(PointClickListener listener, * specified then the listener will be removed only for a series type * SeriesType.COMMONSERIES otherwise the listener will be removed for all * specified series types. - * - * @param listener - * the listener to be removed - * @param seriesTypes - * one or more series types as defined by (@link SeriesType} + * + * @param listener the listener to be removed + * @param seriesTypes one or more series types as defined by (@link SeriesType} */ public void removeListener(PointClickListener listener, - SeriesType... seriesTypes) { + SeriesType... seriesTypes) { if (seriesTypes.length == 0) { - seriesTypes = new SeriesType[] { SeriesType.COMMONSERIES }; + seriesTypes = new SeriesType[]{SeriesType.COMMONSERIES}; } for (SeriesType seriesType : seriesTypes) { @@ -697,9 +661,9 @@ public void removeListener(PointClickListener listener, /** * Point remove event. This event is thrown, when any point of this chart is * removed from its series. - * + *

* This event is EXPERIMENTAL ONLY. - * + * * @author Invient */ public class PointRemoveEvent extends Component.Event { @@ -710,19 +674,15 @@ public class PointRemoveEvent extends Component.Event { /** * New instance of the point remove event. - * - * @param source - * the chart object itself - * @param chart - * the chart object itself - * @param category - * a category to which point is associated in case of - * categorized axis, - * @param point - * the point removed + * + * @param source the chart object itself + * @param chart the chart object itself + * @param category a category to which point is associated in case of + * categorized axis, + * @param point the point removed */ public PointRemoveEvent(Component source, InvientCharts chart, - String category, Point point) { + String category, Point point) { super(source); this.chart = chart; this.category = category; @@ -730,7 +690,6 @@ public PointRemoveEvent(Component source, InvientCharts chart, } /** - * * @return Returns a category to which point is associated in case of * categorized axis only. */ @@ -739,7 +698,6 @@ public String getCategory() { } /** - * * @return Returns the chart object associated with the point */ public InvientCharts getChart() { @@ -747,7 +705,6 @@ public InvientCharts getChart() { } /** - * * @return Returns the point which has been removed */ public Point getPoint() { @@ -759,9 +716,8 @@ public Point getPoint() { /** * Interface for listening for a {@link PointRemoveEvent} triggered by * {@link InvientCharts} - * + * * @author Invient - * */ public interface PointRemoveListener extends Serializable { public void pointRemove(PointRemoveEvent pointRemoveEvent); @@ -773,14 +729,13 @@ public interface PointRemoveListener extends Serializable { * Adds the point remove listener. If the argument seriesTypes is not * specified then the listener will be added for all series type otherwise * it will be added for a specific series type - * - * @param listener - * the Listener to be added. + * + * @param listener the Listener to be added. */ public void addListener(PointRemoveListener listener, - SeriesType... seriesTypes) { + SeriesType... seriesTypes) { if (seriesTypes.length == 0) { - seriesTypes = new SeriesType[] { SeriesType.COMMONSERIES }; + seriesTypes = new SeriesType[]{SeriesType.COMMONSERIES}; } for (SeriesType seriesType : seriesTypes) { if (pointRemoveListeners.containsKey(seriesType)) { @@ -799,16 +754,14 @@ public void addListener(PointRemoveListener listener, * specified then the listener will be removed only for a series type * SeriesType.COMMONSERIES otherwise the listener will be removed for all * specified series types. - * - * @param listener - * the listener to be removed - * @param seriesTypes - * one or more series types as defined by (@link SeriesType} + * + * @param listener the listener to be removed + * @param seriesTypes one or more series types as defined by (@link SeriesType} */ public void removeListener(PointRemoveListener listener, - SeriesType... seriesTypes) { + SeriesType... seriesTypes) { if (seriesTypes.length == 0) { - seriesTypes = new SeriesType[] { SeriesType.COMMONSERIES }; + seriesTypes = new SeriesType[]{SeriesType.COMMONSERIES}; } for (SeriesType seriesType : seriesTypes) { if (pointRemoveListeners.containsKey(seriesType)) { @@ -820,10 +773,10 @@ public void removeListener(PointRemoveListener listener, } /** - * Poin unselect event. This event is thrown, when any point of this chart + * Point unselect event. This event is thrown, when any point of this chart * is unselected and the point marker is enabled. The point marker is * enabled by default. - * + * * @author Invient */ public class PointUnselectEvent extends Component.Event { @@ -834,19 +787,15 @@ public class PointUnselectEvent extends Component.Event { /** * New instance of the point unselect event. - * - * @param source - * the chart object itself - * @param chart - * the chart object itself - * @param category - * a category to which point is associated in case of - * categorized axis, - * @param point - * the point unselected as a result of this event + * + * @param source the chart object itself + * @param chart the chart object itself + * @param category a category to which point is associated in case of + * categorized axis, + * @param point the point unselected as a result of this event */ public PointUnselectEvent(Component source, InvientCharts chart, - String category, Point point) { + String category, Point point) { super(source); this.chart = chart; this.category = category; @@ -854,7 +803,6 @@ public PointUnselectEvent(Component source, InvientCharts chart, } /** - * * @return Returns a category to which point is associated in case of * categorized axis only. */ @@ -863,7 +811,6 @@ public String getCategory() { } /** - * * @return Returns the chart object associated with the point */ public InvientCharts getChart() { @@ -871,7 +818,6 @@ public InvientCharts getChart() { } /** - * * @return Returns the unselected point */ public Point getPoint() { @@ -883,9 +829,8 @@ public Point getPoint() { /** * Interface for listening for a {@link PointUnselectEvent} triggered by * {@link InvientCharts} - * + * * @author Invient - * */ public interface PointUnselectListener extends Serializable { public void pointUnSelect(PointUnselectEvent pointUnSelectEvent); @@ -897,14 +842,13 @@ public interface PointUnselectListener extends Serializable { * Adds the point unselect listener. If the argument seriesTypes is not * specified then the listener will be added for all series type otherwise * it will be added for a specific series type - * - * @param listener - * the Listener to be added. + * + * @param listener the Listener to be added. */ public void addListener(PointUnselectListener listener, - SeriesType... seriesTypes) { + SeriesType... seriesTypes) { if (seriesTypes.length == 0) { - seriesTypes = new SeriesType[] { SeriesType.COMMONSERIES }; + seriesTypes = new SeriesType[]{SeriesType.COMMONSERIES}; } for (SeriesType seriesType : seriesTypes) { if (pointUnselectListeners.containsKey(seriesType)) { @@ -923,16 +867,14 @@ public void addListener(PointUnselectListener listener, * specified then the listener will be removed only for a series type * SeriesType.COMMONSERIES otherwise the listener will be removed for all * specified series types. - * - * @param listener - * the listener to be removed - * @param seriesTypes - * one or more series types as defined by (@link SeriesType} + * + * @param listener the listener to be removed + * @param seriesTypes one or more series types as defined by (@link SeriesType} */ public void removeListener(PointUnselectListener listener, - SeriesType... seriesTypes) { + SeriesType... seriesTypes) { if (seriesTypes.length == 0) { - seriesTypes = new SeriesType[] { SeriesType.COMMONSERIES }; + seriesTypes = new SeriesType[]{SeriesType.COMMONSERIES}; } for (SeriesType seriesType : seriesTypes) { if (pointUnselectListeners.containsKey(seriesType)) { @@ -947,7 +889,7 @@ public void removeListener(PointUnselectListener listener, * Point select event. This event is thrown, when any point of this chart is * selected and the point marker is enabled. The point marker is enabled by * default. - * + * * @author Invient */ public class PointSelectEvent extends Component.Event { @@ -958,19 +900,15 @@ public class PointSelectEvent extends Component.Event { /** * New instance of the point select event. - * - * @param source - * the chart object itself - * @param chart - * the chart object itself - * @param category - * a category to which point is associated in case of - * categorized axis, - * @param point - * the point selected as a result of this event + * + * @param source the chart object itself + * @param chart the chart object itself + * @param category a category to which point is associated in case of + * categorized axis, + * @param point the point selected as a result of this event */ public PointSelectEvent(Component source, InvientCharts chart, - String category, Point point) { + String category, Point point) { super(source); this.chart = chart; this.category = category; @@ -978,7 +916,6 @@ public PointSelectEvent(Component source, InvientCharts chart, } /** - * * @return Returns a category to which point is associated in case of * categorized axis only. */ @@ -987,7 +924,6 @@ public String getCategory() { } /** - * * @return Returns the chart object associated with the point */ public InvientCharts getChart() { @@ -995,7 +931,6 @@ public InvientCharts getChart() { } /** - * * @return Returns the selected point */ public Point getPoint() { @@ -1007,9 +942,8 @@ public Point getPoint() { /** * Interface for listening for a {@link PointSelectListener} triggered by * {@link InvientCharts} - * + * * @author Invient - * */ public interface PointSelectListener extends Serializable { public void pointSelected(PointSelectEvent pointSelectEvent); @@ -1021,14 +955,13 @@ public interface PointSelectListener extends Serializable { * Adds the point select listener. If the argument seriesTypes is not * specified then the listener will be added for all series type otherwise * it will be added for a specific series type - * - * @param listener - * the Listener to be added. + * + * @param listener the Listener to be added. */ public void addListener(PointSelectListener listener, - SeriesType... seriesTypes) { + SeriesType... seriesTypes) { if (seriesTypes.length == 0) { - seriesTypes = new SeriesType[] { SeriesType.COMMONSERIES }; + seriesTypes = new SeriesType[]{SeriesType.COMMONSERIES}; } for (SeriesType seriesType : seriesTypes) { @@ -1048,16 +981,14 @@ public void addListener(PointSelectListener listener, * specified then the listener will be removed only for a series type * SeriesType.COMMONSERIES otherwise the listener will be removed for all * specified series types. - * - * @param listener - * the listener to be removed - * @param seriesTypes - * one or more series types as defined by (@link SeriesType} + * + * @param listener the listener to be removed + * @param seriesTypes one or more series types as defined by (@link SeriesType} */ public void removeListener(PointSelectListener listener, - SeriesType... seriesTypes) { + SeriesType... seriesTypes) { if (seriesTypes.length == 0) { - seriesTypes = new SeriesType[] { SeriesType.COMMONSERIES }; + seriesTypes = new SeriesType[]{SeriesType.COMMONSERIES}; } for (SeriesType seriesType : seriesTypes) { if (pointSelectListeners.containsKey(seriesType)) { @@ -1075,14 +1006,14 @@ public void removeListener(PointSelectListener listener, static { try { POINT_CLICK_METHOD = PointClickListener.class.getDeclaredMethod( - "pointClick", new Class[] { PointClickEvent.class }); + "pointClick", new Class[]{PointClickEvent.class}); POINT_REMOVE_METHOD = PointRemoveListener.class.getDeclaredMethod( - "pointRemove", new Class[] { PointRemoveEvent.class }); + "pointRemove", new Class[]{PointRemoveEvent.class}); POINT_SELECT_METHOD = PointSelectListener.class.getDeclaredMethod( - "pointSelected", new Class[] { PointSelectEvent.class }); + "pointSelected", new Class[]{PointSelectEvent.class}); POINT_UNSELECT_METHOD = PointUnselectListener.class .getDeclaredMethod("pointUnSelect", - new Class[] { PointUnselectEvent.class }); + new Class[]{PointUnselectEvent.class}); } catch (final java.lang.NoSuchMethodException e) { // This should not happen throw new java.lang.RuntimeException( @@ -1095,7 +1026,7 @@ public void removeListener(PointSelectListener listener, /** * Series click event. This event is thrown, when any series of this chart * is clicked. - * + * * @author Invient */ public class SeriesClickEvent extends Component.Event { @@ -1106,20 +1037,15 @@ public class SeriesClickEvent extends Component.Event { /** * New instance of the series click event. - * - * @param source - * the chart object itself - * @param chart - * the chart object itself - * @param series - * the series on which click event occurred - * @param point - * the closest point of a series - * @param mousePosition - * the position of a mouse when the click event occurred + * + * @param source the chart object itself + * @param chart the chart object itself + * @param series the series on which click event occurred + * @param point the closest point of a series + * @param mousePosition the position of a mouse when the click event occurred */ public SeriesClickEvent(Component source, InvientCharts chart, - Series series, Point point, MousePosition mousePosition) { + Series series, Point point, MousePosition mousePosition) { super(source); this.chart = chart; this.series = series; @@ -1128,7 +1054,6 @@ public SeriesClickEvent(Component source, InvientCharts chart, } /** - * * @return Returns the chart object associated with the point */ public InvientCharts getChart() { @@ -1136,7 +1061,6 @@ public InvientCharts getChart() { } /** - * * @return Returns the series object on which the click event occurred */ public Series getSeries() { @@ -1144,7 +1068,6 @@ public Series getSeries() { } /** - * * @return Returns the point of a series closest to the position where * mouse click event occurred. */ @@ -1153,7 +1076,6 @@ public Point getNearestPoint() { } /** - * * @return Returns the position of a mouse when the click event occurred */ public MousePosition getMousePosition() { @@ -1165,9 +1087,8 @@ public MousePosition getMousePosition() { /** * Interface for listening for a {@link SeriesClickListerner} triggered by * {@link InvientCharts} - * + * * @author Invient - * */ public interface SeriesClickListerner extends Serializable { public void seriesClick(SeriesClickEvent seriesClickEvent); @@ -1179,14 +1100,13 @@ public interface SeriesClickListerner extends Serializable { * Adds the series click listener. If the argument seriesTypes is not * specified then the listener will be added for all series type otherwise * it will be added for a specific series type - * - * @param listener - * the Listener to be added. + * + * @param listener the Listener to be added. */ public void addListener(SeriesClickListerner listener, - SeriesType... seriesTypes) { + SeriesType... seriesTypes) { if (seriesTypes.length == 0) { - seriesTypes = new SeriesType[] { SeriesType.COMMONSERIES }; + seriesTypes = new SeriesType[]{SeriesType.COMMONSERIES}; } for (SeriesType seriesType : seriesTypes) { @@ -1206,16 +1126,14 @@ public void addListener(SeriesClickListerner listener, * specified then the listener will be removed only for a series type * SeriesType.COMMONSERIES otherwise the listener will be removed for all * specified series types. - * - * @param listener - * the listener to be removed - * @param seriesTypes - * one or more series types as defined by (@link SeriesType} + * + * @param listener the listener to be removed + * @param seriesTypes one or more series types as defined by (@link SeriesType} */ public void removeListener(SeriesClickListerner listener, - SeriesType... seriesTypes) { + SeriesType... seriesTypes) { if (seriesTypes.length == 0) { - seriesTypes = new SeriesType[] { SeriesType.COMMONSERIES }; + seriesTypes = new SeriesType[]{SeriesType.COMMONSERIES}; } for (SeriesType seriesType : seriesTypes) { @@ -1229,7 +1147,7 @@ public void removeListener(SeriesClickListerner listener, /** * Series Hide event. This event is thrown, when any series of this chart is * hidden. - * + * * @author Invient */ public class SeriesHideEvent extends Component.Event { @@ -1237,23 +1155,18 @@ public class SeriesHideEvent extends Component.Event { private InvientCharts chart; /** - * - * @param source - * the chart object itself - * @param chart - * the chart object itself - * @param series - * the series which got hidden + * @param source the chart object itself + * @param chart the chart object itself + * @param series the series which got hidden */ public SeriesHideEvent(Component source, InvientCharts chart, - Series series) { + Series series) { super(source); this.chart = chart; this.series = series; } /** - * * @return Returns the chart object associated with the point */ public InvientCharts getChart() { @@ -1261,7 +1174,6 @@ public InvientCharts getChart() { } /** - * * @return Returns the series which got hidden */ public Series getSeries() { @@ -1272,9 +1184,8 @@ public Series getSeries() { /** * Interface for listening for a {@link SeriesHideEvent} triggered by * {@link InvientCharts} - * + * * @author Invient - * */ public interface SeriesHideListerner extends Serializable { public void seriesHide(SeriesHideEvent seriesHideEvent); @@ -1286,14 +1197,13 @@ public interface SeriesHideListerner extends Serializable { * Adds the series hide listener. If the argument seriesTypes is not * specified then the listener will be added for all series type otherwise * it will be added for a specific series type - * - * @param listener - * the Listener to be added. + * + * @param listener the Listener to be added. */ public void addListener(SeriesHideListerner listener, - SeriesType... seriesTypes) { + SeriesType... seriesTypes) { if (seriesTypes.length == 0) { - seriesTypes = new SeriesType[] { SeriesType.COMMONSERIES }; + seriesTypes = new SeriesType[]{SeriesType.COMMONSERIES}; } for (SeriesType seriesType : seriesTypes) { @@ -1313,16 +1223,14 @@ public void addListener(SeriesHideListerner listener, * specified then the listener will be removed only for a series type * SeriesType.COMMONSERIES otherwise the listener will be removed for all * specified series types. - * - * @param listener - * the listener to be removed - * @param seriesTypes - * one or more series types as defined by (@link SeriesType} + * + * @param listener the listener to be removed + * @param seriesTypes one or more series types as defined by (@link SeriesType} */ public void removeListener(SeriesHideListerner listener, - SeriesType... seriesTypes) { + SeriesType... seriesTypes) { if (seriesTypes.length == 0) { - seriesTypes = new SeriesType[] { SeriesType.COMMONSERIES }; + seriesTypes = new SeriesType[]{SeriesType.COMMONSERIES}; } for (SeriesType seriesType : seriesTypes) { @@ -1336,7 +1244,7 @@ public void removeListener(SeriesHideListerner listener, /** * Series show event. This event is thrown, when any series of this chart is * displayed after a chart is created. - * + * * @author Invient */ public class SeriesShowEvent extends Component.Event { @@ -1345,23 +1253,19 @@ public class SeriesShowEvent extends Component.Event { /** * New instance of the series show event. - * - * @param source - * the chart object itself - * @param chart - * the chart object itself - * @param series - * the series which got displayed + * + * @param source the chart object itself + * @param chart the chart object itself + * @param series the series which got displayed */ public SeriesShowEvent(Component source, InvientCharts chart, - Series series) { + Series series) { super(source); this.chart = chart; this.series = series; } /** - * * @return Returns the chart object associated with the series */ public InvientCharts getChart() { @@ -1369,7 +1273,6 @@ public InvientCharts getChart() { } /** - * * @return Returns the series which got displayed */ public Series getSeries() { @@ -1380,9 +1283,8 @@ public Series getSeries() { /** * Interface for listening for a {@link SeriesShowEvent} triggered by * {@link InvientCharts} - * + * * @author Invient - * */ public interface SeriesShowListerner extends Serializable { public void seriesShow(SeriesShowEvent seriesShowEvent); @@ -1394,14 +1296,13 @@ public interface SeriesShowListerner extends Serializable { * Adds the series show listener. If the argument seriesTypes is not * specified then the listener will be added for all series type otherwise * it will be added for a specific series type - * - * @param listener - * the Listener to be added. + * + * @param listener the Listener to be added. */ public void addListener(SeriesShowListerner listener, - SeriesType... seriesTypes) { + SeriesType... seriesTypes) { if (seriesTypes.length == 0) { - seriesTypes = new SeriesType[] { SeriesType.COMMONSERIES }; + seriesTypes = new SeriesType[]{SeriesType.COMMONSERIES}; } for (SeriesType seriesType : seriesTypes) { @@ -1421,16 +1322,14 @@ public void addListener(SeriesShowListerner listener, * specified then the listener will be removed only for a series type * SeriesType.COMMONSERIES otherwise the listener will be removed for all * specified series types. - * - * @param listener - * the listener to be removed - * @param seriesTypes - * one or more series types as defined by (@link SeriesType} + * + * @param listener the listener to be removed + * @param seriesTypes one or more series types as defined by (@link SeriesType} */ public void removeListener(SeriesShowListerner listener, - SeriesType... seriesTypes) { + SeriesType... seriesTypes) { if (seriesTypes.length == 0) { - seriesTypes = new SeriesType[] { SeriesType.COMMONSERIES }; + seriesTypes = new SeriesType[]{SeriesType.COMMONSERIES}; } for (SeriesType seriesType : seriesTypes) { @@ -1441,15 +1340,10 @@ public void removeListener(SeriesShowListerner listener, removeListener(SeriesShowEvent.class, listener, SERIES_SHOW_METHOD); } - // LEGENDITEMCLICK - // This event occurs when a series is clicked in the legend. - // This event is not applicable for PieChart instead use - // LegendItemClickEvent/LegendItemClickListener /** * Series legend item click event. This event is thrown, when legend item is - * clicked. This event is not applicable for PieChart instead use - * {@link LegendItemClickEvent} - * + * clicked. This event is not applicable for PieChart instead use {@link PieChartLegendItemClickEvent}. + * * @author Invient */ public class SeriesLegendItemClickEvent extends Component.Event { @@ -1458,23 +1352,19 @@ public class SeriesLegendItemClickEvent extends Component.Event { /** * New instance of the point click event. - * - * @param source - * the chart object itself - * @param chart - * the chart object itself - * @param series - * the series associated with the legend item + * + * @param source the chart object itself + * @param chart the chart object itself + * @param series the series associated with the legend item */ public SeriesLegendItemClickEvent(Component source, - InvientCharts chart, Series series) { + InvientCharts chart, Series series) { super(source); this.chart = chart; this.series = series; } /** - * * @return Returns the chart object associated with the series */ public InvientCharts getChart() { @@ -1482,7 +1372,6 @@ public InvientCharts getChart() { } /** - * * @return Returns the series associated with the legend item */ public Series getSeries() { @@ -1493,9 +1382,8 @@ public Series getSeries() { /** * Interface for listening for a {@link SeriesLegendItemClickEvent} * triggered by {@link InvientCharts} - * + * * @author Invient - * */ public interface SeriesLegendItemClickListerner extends Serializable { public void seriesLegendItemClick( @@ -1508,14 +1396,13 @@ public void seriesLegendItemClick( * Adds the series legend item click listener. If the argument seriesTypes * is not specified then the listener will be added for all series type * otherwise it will be added for a specific series type - * - * @param listener - * the Listener to be added. + * + * @param listener the Listener to be added. */ public void addListener(SeriesLegendItemClickListerner listener, - SeriesType... seriesTypes) { + SeriesType... seriesTypes) { if (seriesTypes.length == 0) { - seriesTypes = new SeriesType[] { SeriesType.COMMONSERIES }; + seriesTypes = new SeriesType[]{SeriesType.COMMONSERIES}; } for (SeriesType seriesType : seriesTypes) { @@ -1536,16 +1423,14 @@ public void addListener(SeriesLegendItemClickListerner listener, * seriesTypes is not specified then the listener will be removed only for a * series type SeriesType.COMMONSERIES otherwise the listener will be * removed for all specified series types. - * - * @param listener - * the listener to be removed - * @param seriesTypes - * one or more series types as defined by (@link SeriesType} + * + * @param listener the listener to be removed + * @param seriesTypes one or more series types as defined by (@link SeriesType} */ public void removeListener(SeriesLegendItemClickListerner listener, - SeriesType... seriesTypes) { + SeriesType... seriesTypes) { if (seriesTypes.length == 0) { - seriesTypes = new SeriesType[] { SeriesType.COMMONSERIES }; + seriesTypes = new SeriesType[]{SeriesType.COMMONSERIES}; } for (SeriesType seriesType : seriesTypes) { if (seriesLegendItemClickListeners.containsKey(seriesType)) { @@ -1565,17 +1450,17 @@ public void removeListener(SeriesLegendItemClickListerner listener, static { try { SERIES_CLICK_METHOD = SeriesClickListerner.class.getDeclaredMethod( - "seriesClick", new Class[] { SeriesClickEvent.class }); + "seriesClick", new Class[]{SeriesClickEvent.class}); // SERIES_CHECKBOX_CLICK_METHOD = SeriesCheckboxClickListerner.class // .getDeclaredMethod("seriesCheckboxClick", // new Class[] { SeriesCheckboxClickEvent.class }); SERIES_HIDE_METHOD = SeriesHideListerner.class.getDeclaredMethod( - "seriesHide", new Class[] { SeriesHideEvent.class }); + "seriesHide", new Class[]{SeriesHideEvent.class}); SERIES_SHOW_METHOD = SeriesShowListerner.class.getDeclaredMethod( - "seriesShow", new Class[] { SeriesShowEvent.class }); + "seriesShow", new Class[]{SeriesShowEvent.class}); SERIES_LEGENDITEM_CLICK_METHOD = SeriesLegendItemClickListerner.class .getDeclaredMethod("seriesLegendItemClick", - new Class[] { SeriesLegendItemClickEvent.class }); + new Class[]{SeriesLegendItemClickEvent.class}); } catch (final java.lang.NoSuchMethodException e) { // This should never happen throw new java.lang.RuntimeException( @@ -1590,7 +1475,7 @@ public void removeListener(SeriesLegendItemClickListerner listener, /** * PieChart legend item click event. This event is thrown, when the legend * item belonging to the pie point (slice) is clicked. - * + * * @author Invient */ public class PieChartLegendItemClickEvent extends Component.Event { @@ -1600,23 +1485,19 @@ public class PieChartLegendItemClickEvent extends Component.Event { /** * New instance of the piechart legend item click event - * - * @param source - * the chart object itself - * @param chart - * the chart object itself - * @param point - * the pie point (slice) associated with the legend item + * + * @param source the chart object itself + * @param chart the chart object itself + * @param point the pie point (slice) associated with the legend item */ public PieChartLegendItemClickEvent(Component source, - InvientCharts chart, Point point) { + InvientCharts chart, Point point) { super(source); this.chart = chart; this.point = point; } /** - * * @return Returns the chart object associated with the point */ public InvientCharts getChart() { @@ -1624,7 +1505,6 @@ public InvientCharts getChart() { } /** - * * @return Returns the pie point (slice) associated with the legend item */ public Point getPoint() { @@ -1635,9 +1515,8 @@ public Point getPoint() { /** * Interface for listening for a {@link PieChartLegendItemClickEvent} * triggered by {@link InvientCharts} - * + * * @author Invient - * */ public interface PieChartLegendItemClickListener extends Serializable { public void legendItemClick( @@ -1648,9 +1527,8 @@ public void legendItemClick( /** * Adds the piechart legend item click listener. - * - * @param listener - * the Listener to be added. + * + * @param listener the Listener to be added. */ public void addListener(PieChartLegendItemClickListener listener) { pieChartLegendItemClickListener.add(listener); @@ -1660,9 +1538,8 @@ public void addListener(PieChartLegendItemClickListener listener) { /** * Removes the piechart legend item click listener. - * - * @param listener - * the listener to be removed + * + * @param listener the listener to be removed */ public void removeListener(PieChartLegendItemClickListener listener) { pieChartLegendItemClickListener.remove(listener); @@ -1676,7 +1553,7 @@ public void removeListener(PieChartLegendItemClickListener listener) { try { LEGENDITEM_CLICK_METHOD = PieChartLegendItemClickListener.class .getDeclaredMethod("legendItemClick", - new Class[] { PieChartLegendItemClickEvent.class }); + new Class[]{PieChartLegendItemClickEvent.class}); } catch (final java.lang.NoSuchMethodException e) { // This should never happen throw new java.lang.RuntimeException( @@ -1687,7 +1564,7 @@ public void removeListener(PieChartLegendItemClickListener listener) { /***************************** Chart Events *****************************/ /** * Chart Click event. This event is thrown, when this chart is clicked. - * + * * @author Invient */ public class ChartClickEvent extends Component.Event { @@ -1697,19 +1574,15 @@ public class ChartClickEvent extends Component.Event { /** * New instance of the chart click event. - * - * @param source - * the chart object itself - * @param chart - * the chart object itself - * @param point - * the position where the click event occurred in axes units - * @param mousePosition - * the coordinate of mouse where the click event occurred in - * pixels + * + * @param source the chart object itself + * @param chart the chart object itself + * @param point the position where the click event occurred in axes units + * @param mousePosition the coordinate of mouse where the click event occurred in + * pixels */ public ChartClickEvent(Component source, InvientCharts chart, - Point point, MousePosition mousePosition) { + Point point, MousePosition mousePosition) { super(source); this.chart = chart; this.point = point; @@ -1718,7 +1591,7 @@ public ChartClickEvent(Component source, InvientCharts chart, /** * Returns the chart object on which the click event occurred - * + * * @return Returns the chart object on which the click event occurred * @see InvientCharts */ @@ -1729,7 +1602,7 @@ public InvientCharts getChart() { /** * Returns the point representing the position where the click event * occurred in axes units - * + * * @return Returns the point representing the position where the click * event occurred in axes units * @see Point @@ -1740,7 +1613,7 @@ public Point getPoint() { /** * Returns the position of a mouse when the click event occurred - * + * * @return Returns the position of a mouse when the click event occurred * @see MousePosition */ @@ -1759,9 +1632,8 @@ public String toString() { /** * Interface for listening for a {@link ChartClickEvent} triggered by * {@link InvientCharts} - * + * * @author Invient - * */ public interface ChartClickListener extends Serializable { public void chartClick(ChartClickEvent chartClickEvent); @@ -1771,9 +1643,8 @@ public interface ChartClickListener extends Serializable { /** * Adds the chart click listener. - * - * @param listener - * the Listener to be added. + * + * @param listener the Listener to be added. */ public void addListener(ChartClickListener listener) { chartClickListener.add(listener); @@ -1782,9 +1653,8 @@ public void addListener(ChartClickListener listener) { /** * Removes the chart click listener. - * - * @param listener - * the listener to be removed + * + * @param listener the listener to be removed */ public void removeListener(ChartClickListener listener) { chartClickListener.remove(listener); @@ -1794,7 +1664,7 @@ public void removeListener(ChartClickListener listener) { /** * Add series event. This event is thrown, when a series is added to the * chart. - * + * * @author Invient */ public class ChartAddSeriesEvent extends Component.Event { @@ -1802,7 +1672,7 @@ public class ChartAddSeriesEvent extends Component.Event { /** * New instance of the chart add series event. - * + * * @param source * @param chart */ @@ -1813,7 +1683,7 @@ public ChartAddSeriesEvent(Component source, InvientCharts chart) { /** * Returns the chart object to which a series is added - * + * * @return Returns the chart object to which a series has been added. * @see InvientCharts */ @@ -1825,9 +1695,8 @@ public InvientCharts getChart() { /** * Interface for listening for a {@link ChartAddSeriesEvent} triggered by * {@link InvientCharts} - * + * * @author Invient - * */ public interface ChartAddSeriesListener extends Serializable { public void chartAddSeries(ChartAddSeriesEvent chartAddSeriesEvent); @@ -1837,9 +1706,8 @@ public interface ChartAddSeriesListener extends Serializable { /** * Adds the series add listener. - * - * @param listener - * the Listener to be added. + * + * @param listener the Listener to be added. */ public void addListener(ChartAddSeriesListener listener) { chartAddSeriesListener.add(listener); @@ -1849,9 +1717,8 @@ public void addListener(ChartAddSeriesListener listener) { /** * Removes the series add listener. - * - * @param listener - * the listener to be removed + * + * @param listener the listener to be removed */ public void removeListener(ChartAddSeriesListener listener) { chartAddSeriesListener.remove(listener); @@ -1861,9 +1728,8 @@ public void removeListener(ChartAddSeriesListener listener) { /** * Defines information on the selected area. - * + * * @author Invient - * */ public final class ChartArea implements Serializable { private double xAxisMin; @@ -1872,7 +1738,7 @@ public final class ChartArea implements Serializable { private double yAxisMax; public ChartArea(double xAxisMin, double xAxisMax, double yAxisMin, - double yAxisMax) { + double yAxisMax) { this.xAxisMin = xAxisMin; this.xAxisMax = xAxisMax; this.yAxisMin = yAxisMin; @@ -1907,7 +1773,7 @@ public String toString() { /** * Chart zoom event. This event is thrown, when an area of the chart has * been selected. - * + * * @author Invient */ public class ChartZoomEvent extends Component.Event { @@ -1916,17 +1782,14 @@ public class ChartZoomEvent extends Component.Event { /** * New instance of the chart zoom event. - * - * @param source - * the chart object itself - * @param chart - * the chart object itself - * @param chartArea - * the chartArea object containing dimensions of zoomed area - * of the chart + * + * @param source the chart object itself + * @param chart the chart object itself + * @param chartArea the chartArea object containing dimensions of zoomed area + * of the chart */ public ChartZoomEvent(Component source, InvientCharts chart, - ChartArea chartArea) { + ChartArea chartArea) { super(source); this.chart = chart; this.chartArea = chartArea; @@ -1934,7 +1797,7 @@ public ChartZoomEvent(Component source, InvientCharts chart, /** * Returns the chart object for which the zoom event has occurred - * + * * @return Returns the chart object for which the zoom event has * occurred */ @@ -1945,7 +1808,7 @@ public InvientCharts getChart() { /** * Returns the chartArea object containing dimensions of zoomed area of * the chart - * + * * @return Returns the chartArea object containing dimensions of zoomed * area of the chart */ @@ -1957,9 +1820,8 @@ public ChartArea getChartArea() { /** * Interface for listening for a {@link ChartZoomEvent} triggered by * {@link InvientCharts} - * + * * @author Invient - * */ public interface ChartZoomListener extends Serializable { public void chartZoom(ChartZoomEvent chartZoomEvent); @@ -1969,9 +1831,8 @@ public interface ChartZoomListener extends Serializable { /** * Adds the chart zoom listener. - * - * @param listener - * the Listener to be added. + * + * @param listener the Listener to be added. */ public void addListener(ChartZoomListener listener) { chartZoomListener.add(listener); @@ -1980,9 +1841,8 @@ public void addListener(ChartZoomListener listener) { /** * Removes the chart zoom listener. - * - * @param listener - * the listener to be removed + * + * @param listener the listener to be removed */ public void removeListener(ChartZoomListener listener) { chartZoomListener.remove(listener); @@ -1992,7 +1852,7 @@ public void removeListener(ChartZoomListener listener) { /** * Chart reset zoom event. This event is thrown, when a chart is reset by * setting its zoom level to normal. - * + * * @author Invient */ public class ChartResetZoomEvent extends Component.Event { @@ -2000,11 +1860,9 @@ public class ChartResetZoomEvent extends Component.Event { /** * New instance of the chart reset zoom event - * - * @param source - * the chart object itself - * @param chart - * the chart object itself + * + * @param source the chart object itself + * @param chart the chart object itself */ public ChartResetZoomEvent(Component source, InvientCharts chart) { super(source); @@ -2013,7 +1871,7 @@ public ChartResetZoomEvent(Component source, InvientCharts chart) { /** * Returns the chart object for which zoom has been reset to normal - * + * * @return Returns the chart object for which zoom has been reset to * normal */ @@ -2025,9 +1883,8 @@ public InvientCharts getChart() { /** * Interface for listening for a {@link ChartResetZoomEvent} triggered by * {@link InvientCharts} - * + * * @author Invient - * */ public interface ChartResetZoomListener extends Serializable { public void chartResetZoom(ChartResetZoomEvent chartResetZoomEvent); @@ -2037,9 +1894,8 @@ public interface ChartResetZoomListener extends Serializable { /** * Adds the chart reset zoom listener. - * - * @param listener - * the Listener to be added. + * + * @param listener the Listener to be added. */ public void addListener(ChartResetZoomListener listener) { chartResetZoomListener.add(listener); @@ -2049,9 +1905,8 @@ public void addListener(ChartResetZoomListener listener) { /** * Removes the chart reset zoom listener. - * - * @param listener - * the listener to be removed + * + * @param listener the listener to be removed */ public void removeListener(ChartResetZoomListener listener) { chartResetZoomListener.remove(listener); @@ -2062,10 +1917,10 @@ public void removeListener(ChartResetZoomListener listener) { /** * Chart SVG event. This event is thrown, when an SVG string representing * the chart is received or ready. - * + *

* Note that this event is thrown only once after a * {@link ChartSVGAvailableListener} is registered. - * + * * @author Invient */ public class ChartSVGAvailableEvent extends Component.Event { @@ -2074,16 +1929,13 @@ public class ChartSVGAvailableEvent extends Component.Event { /** * New instance of the chart svg available event. - * - * @param source - * the chart object itself - * @param chart - * the chart object itself - * @param svg - * an svg string representing the chart object + * + * @param source the chart object itself + * @param chart the chart object itself + * @param svg an svg string representing the chart object */ public ChartSVGAvailableEvent(Component source, InvientCharts chart, - String svg) { + String svg) { super(source); this.chart = chart; this.svg = svg; @@ -2092,7 +1944,7 @@ public ChartSVGAvailableEvent(Component source, InvientCharts chart, /** * Returns the chart object for which an svg string representation is * available - * + * * @return Returns the chart object for which an svg string * representation is available */ @@ -2101,7 +1953,6 @@ public InvientCharts getChart() { } /** - * * @return Returns an SVG string representing the chart */ public String getSVG() { @@ -2113,17 +1964,16 @@ public String getSVG() { /** * Interface for listening for a {@link ChartSVGAvailableEvent} triggered by * {@link InvientCharts}. - * + *

* The chart can have only one listener of this type registered at any time. * If a listener has already been registered and an attempt is made to * register another listener then the previously registered listener will be * unregistered and the new listener will be registered. - * + *

* A listener will be called only once after it has been registered though * it will be called again if the same listener is registered again. - * + * * @author Invient - * */ public interface ChartSVGAvailableListener extends Serializable { public void svgAvailable(ChartSVGAvailableEvent chartSVGAvailableEvent); @@ -2135,9 +1985,8 @@ public interface ChartSVGAvailableListener extends Serializable { * Adds the chart svg available listener for this chart. If the chart * already has a listener of this type then the existing listener will be * removed and the argument listener will be registered. - * - * @param listener - * the Listener to be added or registered. + * + * @param listener the Listener to be added or registered. */ public void addListener(ChartSVGAvailableListener listener) { if (svgAvailableListener != null && svgAvailableListener != listener) { @@ -2153,9 +2002,8 @@ public void addListener(ChartSVGAvailableListener listener) { /** * Removes the chart svg available listener for this chart. - * - * @param listener - * the listener to be removed or unregistered. + * + * @param listener the listener to be removed or unregistered. */ public void removeListener(ChartSVGAvailableListener listener) { if (svgAvailableListener == listener) { @@ -2175,18 +2023,18 @@ public void removeListener(ChartSVGAvailableListener listener) { static { try { CHART_CLICK_METHOD = ChartClickListener.class.getDeclaredMethod( - "chartClick", new Class[] { ChartClickEvent.class }); + "chartClick", new Class[]{ChartClickEvent.class}); CHART_ADD_SERIES_METHOD = ChartAddSeriesListener.class .getDeclaredMethod("chartAddSeries", - new Class[] { ChartAddSeriesEvent.class }); + new Class[]{ChartAddSeriesEvent.class}); CHART_ZOOM_METHOD = ChartZoomListener.class.getDeclaredMethod( - "chartZoom", new Class[] { ChartZoomEvent.class }); + "chartZoom", new Class[]{ChartZoomEvent.class}); CHART_RESET_ZOOM_METHOD = ChartResetZoomListener.class .getDeclaredMethod("chartResetZoom", - new Class[] { ChartResetZoomEvent.class }); + new Class[]{ChartResetZoomEvent.class}); CHART_SVG_AVAILABLE_METHOD = ChartSVGAvailableListener.class .getDeclaredMethod("svgAvailable", - new Class[] { ChartSVGAvailableEvent.class }); + new Class[]{ChartSVGAvailableEvent.class}); } catch (final java.lang.NoSuchMethodException e) { // This should never happen unless there is a typo! throw new java.lang.RuntimeException( @@ -2205,9 +2053,8 @@ public void removeListener(ChartSVGAvailableListener listener) { * The data of a chart is defined in terms of {@link Series}. This method * removes all previously set series of this chart and adds the argument * series. If the argument series is null then no actions are taken. - * - * @param series - * A collection of series to set as chart's data + * + * @param series A collection of series to set as chart's data */ public void setSeries(LinkedHashSet series) { if (series != null) { @@ -2222,9 +2069,8 @@ public void setSeries(LinkedHashSet series) { /** * Returns a series whose name matches the argument name. - * - * @param name - * the name of the series + * + * @param name the name of the series * @return Returns a series with the given name */ public Series getSeries(String name) { @@ -2238,6 +2084,7 @@ public Series getSeries(String name) { /** * Returns all series associated with this chart. + * * @return returns all series associated with this chart. */ public LinkedHashSet getAllSeries() { @@ -2246,9 +2093,8 @@ public LinkedHashSet getAllSeries() { /** * Adds the argument series to this chart. - * - * @param seriesData - * the series to be added + * + * @param seriesData the series to be added */ public void addSeries(Series seriesData) { if (this.chartSeries.add(seriesData)) { @@ -2263,11 +2109,11 @@ public void addSeries(Series seriesData) { // Before sending data to the client, this method sets // axis in all series associated with the chart private void setAxisInAllSeriesIfNotSetAlready() { - for(Series series : this.chartSeries) { + for (Series series : this.chartSeries) { setAxisInSeriesIfNotSetAlready(series); } } - + private void setAxisInSeriesIfNotSetAlready(Series series) { if (this.getConfig() != null) { if (series.getXAxis() == null @@ -2285,13 +2131,12 @@ private void setAxisInSeriesIfNotSetAlready(Series series) { /** * Removes a series whose name matches the argument name. - * - * @param name - * the name of the series + * + * @param name the name of the series */ public void removeSeries(String name) { for (Iterator seriesItr = this.chartSeries.iterator(); seriesItr - .hasNext();) { + .hasNext(); ) { Series series = seriesItr.next(); if (series.getName().equals(name)) { seriesItr.remove(); @@ -2305,9 +2150,8 @@ public void removeSeries(String name) { /** * Removes the argument seriesData from this chart. - * - * @param seriesData - * the series object to be removed + * + * @param seriesData the series object to be removed */ public void removeSeries(Series seriesData) { if (this.chartSeries.remove(seriesData)) { @@ -2323,24 +2167,22 @@ public void removeSeries(Series seriesData) { * one or more points. A point has (X, Y) coordinates. None of the * coordinates are mandatory. The name of a point can be displayed in a * tooltip. - * + *

* To represent no activity or missing points in the chart, create a point * with both X and Y as null or just Y as null. - * + *

* It is possible to specify custom configuration for each point. e.g. If a * highest point can be marked in a chart with a different color using this * configuration. - * + *

* A point cannot be created without a series. It must belong to a series. * However, the point must be added to a series by calling Series.addPoint() * or Series.setPoints() to permanently add point to the series. - * + * * @author Invient - * * @see DecimalPoint * @see DateTimePoint * @see PointConfig - * */ public static abstract class Point implements Serializable { private String id; @@ -2352,12 +2194,9 @@ public static abstract class Point implements Serializable { /** * Creates a point with given arguments. - * - * @param series - * The series to which the point must be associated. - * @exception IllegalArgumentException - * If the argument series is null - * + * + * @param series The series to which the point must be associated. + * @throws IllegalArgumentException If the argument series is null */ public Point(Series series) { if (series == null) { @@ -2376,13 +2215,10 @@ private Point() { /** * Creates a point with given arguments. - * - * @param series - * The series to which the point must be associated. - * @param config - * The configuration for this point, if any - * @exception IllegalArgumentException - * If the argument series is null + * + * @param series The series to which the point must be associated. + * @param config The configuration for this point, if any + * @throws IllegalArgumentException If the argument series is null */ public Point(Series series, PointConfig config) { this(series); @@ -2391,13 +2227,10 @@ public Point(Series series, PointConfig config) { /** * Creates a point with given arguments. - * - * @param series - * The series to which the point must be associated. - * @param name - * name of this point - * @exception IllegalArgumentException - * If the argument series is null + * + * @param series The series to which the point must be associated. + * @param name name of this point + * @throws IllegalArgumentException If the argument series is null */ public Point(Series series, String name) { this(series); @@ -2406,15 +2239,11 @@ public Point(Series series, String name) { /** * Creates a point with given arguments. - * - * @param series - * The series to which the point must be associated. - * @param name - * name of this point - * @param config - * The configuration for this point, if any - * @exception IllegalArgumentException - * If the argument series is null + * + * @param series The series to which the point must be associated. + * @param name name of this point + * @param config The configuration for this point, if any + * @throws IllegalArgumentException If the argument series is null */ public Point(Series series, String name, PointConfig config) { this(series, name); @@ -2426,7 +2255,6 @@ String getId() { } /** - * * @return Returns name of this point */ public String getName() { @@ -2435,16 +2263,14 @@ public String getName() { /** * Sets name of this point - * - * @param name - * name of this point + * + * @param name name of this point */ public void setName(String name) { this.name = name; } /** - * * @return Returns {@link Series} associated with this point */ public Series getSeries() { @@ -2452,7 +2278,6 @@ public Series getSeries() { } /** - * * @return Returns {@link PointConfig} for this point */ public PointConfig getConfig() { @@ -2461,9 +2286,8 @@ public PointConfig getConfig() { /** * Sets {@link PointConfig} for this point - * - * @param config - * configuration of this point + * + * @param config configuration of this point * @see PointConfig */ public void setConfig(PointConfig config) { @@ -2471,7 +2295,6 @@ public void setConfig(PointConfig config) { } /** - * * @return Returns true if X value of this point is set programmatically */ boolean isAutosetX() { @@ -2481,7 +2304,7 @@ boolean isAutosetX() { /** * If the argument is true it indicates that the X value of this point * is set programmatically and user has not specified it. - * + * * @return */ void setAutosetX(boolean isAutosetX) { @@ -2489,7 +2312,6 @@ void setAutosetX(boolean isAutosetX) { } /** - * * @return Returns true if a point at the start of the series should be * shifted off when this point is appended otherwise false. */ @@ -2500,7 +2322,7 @@ boolean isShift() { /** * A value of true means one point is shifted off the start of the * series as one is appended to the end. - * + * * @param shift */ void setShift(boolean shift) { @@ -2508,13 +2330,11 @@ void setShift(boolean shift) { } /** - * * @return Returns X value of this point */ public abstract Object getX(); /** - * * @return Returns Y value of this point */ public abstract Object getY(); @@ -2530,27 +2350,23 @@ public String toString() { /** * This class represent a point with (X, Y) both as number. It should be * used to add points to {@link XYSeries} - * + * * @author Invient - * */ public static final class DecimalPoint extends Point { private Double x; private Double y; /** - * @param series - * the series to which this belongs to + * @param series the series to which this belongs to */ public DecimalPoint(Series series) { super(series); } /** - * @param series - * the series to which this point belongs to - * @param y - * the y value of this point + * @param series the series to which this point belongs to + * @param y the y value of this point */ public DecimalPoint(Series series, double y) { super(series); @@ -2558,12 +2374,9 @@ public DecimalPoint(Series series, double y) { } /** - * @param series - * the series to which this belongs to - * @param name - * the name of this point - * @param y - * the y value of this point + * @param series the series to which this belongs to + * @param name the name of this point + * @param y the y value of this point */ public DecimalPoint(Series series, String name, double y) { super(series, name); @@ -2572,11 +2385,9 @@ public DecimalPoint(Series series, String name, double y) { /** * To allow creation of a point within the InvientChart. - * - * @param x - * the x value of this point - * @param y - * the y value of this point + * + * @param x the x value of this point + * @param y the y value of this point */ private DecimalPoint(double x, double y) { // FIXME this is not a correct way of doing it. @@ -2586,27 +2397,21 @@ private DecimalPoint(double x, double y) { } /** - * @param series - * the series to which this belongs to - * @param name - * the name for this point - * @param y - * the y value of this point + * @param series the series to which this belongs to + * @param name the name for this point + * @param y the y value of this point * @param config */ public DecimalPoint(Series series, String name, double y, - PointConfig config) { + PointConfig config) { super(series, name, config); this.y = y; } /** - * @param series - * the series to which this belongs to - * @param y - * the y value of this point - * @param config - * the configuration for this point + * @param series the series to which this belongs to + * @param y the y value of this point + * @param config the configuration for this point */ public DecimalPoint(Series series, double y, PointConfig config) { super(series, config); @@ -2614,58 +2419,44 @@ public DecimalPoint(Series series, double y, PointConfig config) { } /** - * @param series - * the series to which this belongs to - * @param x - * the x value of this point - * @param y - * the y value of this point + * @param series the series to which this belongs to + * @param x the x value of this point + * @param y the y value of this point */ public DecimalPoint(Series series, double x, double y) { this(series, x, y, null); } /** - * @param series - * the series to which this belongs to - * @param x - * the x value of this point - * @param y - * the y value of this point + * @param series the series to which this belongs to + * @param x the x value of this point + * @param y the y value of this point */ public DecimalPoint(Series series, Double x, Double y) { this(series, x, y, null); } /** - * @param series - * the series to which this belongs to - * @param x - * the x value of this point - * @param y - * the y value of this point - * @param config - * the configuration of this point + * @param series the series to which this belongs to + * @param x the x value of this point + * @param y the y value of this point + * @param config the configuration of this point */ public DecimalPoint(Series series, double x, double y, - PointConfig config) { + PointConfig config) { super(series, config); this.x = x; this.y = y; } /** - * @param series - * the series to which this belongs to - * @param x - * the x value of this point - * @param y - * the y value of this point - * @param config - * the configuration of this point + * @param series the series to which this belongs to + * @param x the x value of this point + * @param y the y value of this point + * @param config the configuration of this point */ public DecimalPoint(Series series, Double x, Double y, - PointConfig config) { + PointConfig config) { super(series, config); this.x = x; this.y = y; @@ -2683,7 +2474,7 @@ public Double getX() { /** * Sets the x value of this point - * + * * @param x */ private void setX(Double x) { @@ -2702,7 +2493,7 @@ public Double getY() { /** * Sets the y value of this point - * + * * @param y */ private void setY(Double y) { @@ -2755,39 +2546,32 @@ public boolean equals(Object obj) { /** * This class represent a point with (X, Y) both as number. It should be * used to add points to {@link DateTimeSeries} - * + * * @author Invient - * */ public static final class DateTimePoint extends Point { private Date x; private Double y; /** - * @param series - * the series to which this belongs to + * @param series the series to which this belongs to */ public DateTimePoint(Series series) { super(series); } /** - * @param series - * the series to which this belongs to - * @param y - * the y value of this point + * @param series the series to which this belongs to + * @param y the y value of this point */ public DateTimePoint(Series series, double y) { this(series, "", y); } /** - * @param series - * the series to which this belongs to - * @param name - * the name of this point - * @param y - * the y value of this point + * @param series the series to which this belongs to + * @param name the name of this point + * @param y the y value of this point */ public DateTimePoint(Series series, String name, double y) { super(series, name); @@ -2795,27 +2579,21 @@ public DateTimePoint(Series series, String name, double y) { } /** - * @param series - * the series to which this belongs to - * @param name - * the name of this point - * @param y - * the y value of this point + * @param series the series to which this belongs to + * @param name the name of this point + * @param y the y value of this point * @param config */ public DateTimePoint(Series series, String name, double y, - PointConfig config) { + PointConfig config) { super(series, name, config); this.y = y; } /** - * @param series - * the series to which this belongs to - * @param x - * the x value of this point - * @param y - * the y value of this point + * @param series the series to which this belongs to + * @param x the x value of this point + * @param y the y value of this point */ public DateTimePoint(Series series, Date x, double y) { this(series, y); @@ -2833,7 +2611,7 @@ public Date getX() { /** * Sets the x value of this point - * + * * @param x */ private void setX(Date x) { @@ -2851,7 +2629,7 @@ public Double getY() { /** * Sets the y value of this point - * + * * @param y */ private void setY(Double y) { @@ -2862,9 +2640,9 @@ private void setY(Double y) { public String toString() { return "DateTimePoint [x=" + getDateInMilliseconds( - x, - (getSeries() != null ? ((DateTimeSeries) getSeries()) - .isIncludeTime() : false)) + ", y=" + y + x, + (getSeries() != null ? ((DateTimeSeries) getSeries()) + .isIncludeTime() : false)) + ", y=" + y + ", id=" + getId() + ", name=" + getName() + ", seriesName=" + (getSeries() != null ? getSeries().getName() : "") + "]"; @@ -2875,6 +2653,7 @@ public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((y == null) ? 0 : y.hashCode()); + result = prime * result + ((x == null) ? 0 : (int) x.getTime()); return result; } @@ -2918,24 +2697,24 @@ public boolean equals(Object obj) { /** * This class defines a series of the chart. A series contains a collection * of points. Series can be one of types defined by {@link SeriesType}. - * + *

* Each series must have unique name. If an attempt is made to add two * series with same then only the first added series will be in effect. - * + *

* If the series type is not specified, it defaults to chart type and the * default chart type is SeriesType.LINE. A series has unique xAxis and * yAxis object associated with it. There is no need to set xAxis and yAxis * unless the chart has more than one one axis of any type and the series * must belong to any of the secondary axis. - * + *

* It is also possible to specify configuration for individual series and * not just series type. - * + * * @author Invient - * */ - public static abstract class Series implements Serializable { - private LinkedHashSet points = new LinkedHashSet(); + public static abstract class Series implements Serializable { + + private LinkedHashSet points = new LinkedHashSet(); private String name = ""; private SeriesType type; private String stack; @@ -2946,9 +2725,8 @@ public static abstract class Series implements Serializable { /** * Creates a series with given name - * - * @param name - * the name of this series + * + * @param name the name of this series */ public Series(String name) { this.name = name; @@ -2956,11 +2734,9 @@ public Series(String name) { /** * Creates a series with given name and type - * - * @param name - * the name of this series - * @param seriesType - * the type of this series + * + * @param name the name of this series + * @param seriesType the type of this series */ public Series(String name, SeriesType seriesType) { this(name); @@ -2969,11 +2745,9 @@ public Series(String name, SeriesType seriesType) { /** * Creates a series with given name and configuration - * - * @param name - * the name of this series - * @param config - * the configuration for this series + * + * @param name the name of this series + * @param config the configuration for this series */ public Series(String name, SeriesConfig config) { this(name); @@ -2982,13 +2756,10 @@ public Series(String name, SeriesConfig config) { /** * Creates a series with given name, type and configuration - * - * @param name - * the name of this series - * @param seriesType - * the type of this series - * @param config - * the configuration for this series + * + * @param name the name of this series + * @param seriesType the type of this series + * @param config the configuration for this series */ public Series(String name, SeriesType seriesType, SeriesConfig config) { this(name, config); @@ -3011,7 +2782,7 @@ public String getName() { /** * Sets name of this series - * + * * @param name */ public void setName(String name) { @@ -3027,7 +2798,7 @@ public SeriesType getType() { /** * Sets type of this series - * + * * @param type */ public void setType(SeriesType type) { @@ -3045,7 +2816,7 @@ public String getStack() { * By using this stack property, it is possible to group series in a * stacked chart. Sets stack for this series. If two series belongs to * the same stack then the resultant chart will be stacked chart - * + * * @param stack */ public void setStack(String stack) { @@ -3063,7 +2834,7 @@ public XAxis getXAxis() { /** * Sets x-axis of this series. A series can be associated with at most * one x-axis. - * + * * @param xAxis */ public void setXAxis(XAxis xAxis) { @@ -3080,7 +2851,7 @@ public YAxis getYAxis() { /** * Sets y-axis of this series. A series can be associated with at most * one y-axis. - * + * * @param yAxis */ public void setYAxis(YAxis yAxis) { @@ -3122,24 +2893,24 @@ protected void removeAllPoints() { /** * Adds one or more points into this series, specified as an argument to * this method - * + * * @param points * @return Returns null if the argument is null otherwise returns a * collection of points which are added in this series. If a * point has same (x, y) value as any other point in the * argument points then it will not be added. */ - protected LinkedHashSet addPoint(boolean shift, Point... points) { + protected LinkedHashSet addPoint(boolean shift, T... points) { if (shift) { // Remove first point as other points gets appended at the end - Iterator pointsItr = this.points.iterator(); + Iterator pointsItr = this.points.iterator(); if (pointsItr.hasNext()) { pointsItr.next(); pointsItr.remove(); } } - List pointsAddedList = new ArrayList(); - for (Point point : points) { + List pointsAddedList = new ArrayList(); + for (T point : points) { if (this.points.add(point)) { pointsAddedList.add(point); } @@ -3153,36 +2924,35 @@ protected LinkedHashSet addPoint(boolean shift, Point... points) { this.invientCharts.requestRepaint(); } } - return new LinkedHashSet(pointsAddedList); + return new LinkedHashSet(pointsAddedList); } - private void addPointsInternal(LinkedHashSet points) { - for (Point point : points) { + private void addPointsInternal(LinkedHashSet points) { + for (T point : points) { this.points.add(point); } } /** - * * @return Returns all points of this series. Adding or removing any * point to or from the returned collection will not impact the * chart. To add a point or points, use addPoint() or * removePoint() method. */ - protected LinkedHashSet getPoints() { - return new LinkedHashSet(this.points); + protected LinkedHashSet getPoints() { + return new LinkedHashSet(this.points); } /** * Sets points into this series - * - * @param points - * @return Returns null if the argument is null otherwise returns a + * + * @param points The points to set. + * @return Returns {@code null} if the argument is {@code null} otherwise returns a * collection of points which are set in this series. If a point * has same (x, y) value as any other point in the argument * points then it will not be added. */ - protected LinkedHashSet setPoints(LinkedHashSet points) { + protected LinkedHashSet setPoints(LinkedHashSet points) { if (points != null) { this.points.clear(); addPointsInternal(points); @@ -3271,18 +3041,16 @@ public String toString() { /** * This class defines a number series. In this series both X and Y values * must be number. To use date values, use {@link DateTimeSeries} - * + * * @author Invient - * * @see DateTimeSeries */ - public static class XYSeries extends Series { + public static class XYSeries extends Series { /** * Creates a series with given name - * - * @param name - * the name of this series + * + * @param name the name of this series */ public XYSeries(String name) { super(name); @@ -3290,11 +3058,9 @@ public XYSeries(String name) { /** * Creates a series with given name and configuration - * - * @param name - * the name of this series - * @param config - * the configuration for this series + * + * @param name the name of this series + * @param config the configuration for this series */ public XYSeries(String name, SeriesConfig config) { super(name, config); @@ -3302,11 +3068,9 @@ public XYSeries(String name, SeriesConfig config) { /** * Creates a series with given name and type - * - * @param name - * the name of this series - * @param seriesType - * the type of this series + * + * @param name the name of this series + * @param seriesType the type of this series */ public XYSeries(String name, SeriesType seriesType) { super(name, seriesType); @@ -3314,13 +3078,10 @@ public XYSeries(String name, SeriesType seriesType) { /** * Creates a series with given name, type and configuration - * - * @param name - * the name of this series - * @param seriesType - * the type of this series - * @param config - * the configuration for this series + * + * @param name the name of this series + * @param seriesType the type of this series + * @param config the configuration for this series */ public XYSeries(String name, SeriesType seriesType, SeriesConfig config) { super(name, seriesType, config); @@ -3328,8 +3089,8 @@ public XYSeries(String name, SeriesType seriesType, SeriesConfig config) { /** * Removes the specified point from the series - * - * @param points + * + * @param points Points to be removed. */ public void removePoint(DecimalPoint... points) { super.removePoint(points); @@ -3348,8 +3109,8 @@ public void removeAllPoints() { * Appends the specified point into the series if they do not exists in * this series. The points which already exists will not be appended. A * collection of points appended to this series will be returned. - * - * @param points + * + * @param points Points to be added. * @return Returns a collection of points which are added in this * series. If a point has same (x, y) value as any other point * in the input argument points then it will not be added in @@ -3363,26 +3124,23 @@ public LinkedHashSet addPoint(DecimalPoint... points) { * Append the specified point into this series. If the argument shift is * true then one point is shifted off the start of this series as one is * appended to the end. - * - * @param points - * @param shift - * If true then one point is shifted off the start of this - * series as one is appended to the end. + * + * @param point Point to add. + * @param shift If true then one point is shifted off the start of this + * series as one is appended to the end. * @return Returns a collection of points which are added in this * series. If a point has same (x, y) value as any other point * in the input argument points then it will not be added in * this series. */ public LinkedHashSet addPoint(DecimalPoint point, - boolean shift) { + boolean shift) { point.setShift(shift); return super.addPoint(shift, point); } - /* - * (non-Javadoc) - * - * @see com.invient.vaadin.chart.InvientChart.Series#getPoints() + /** + * {@inheritDoc} */ public LinkedHashSet getPoints() { return super.getPoints(); @@ -3392,15 +3150,13 @@ public LinkedHashSet getPoints() { * Sets points into this series. This method removes all of its points * and then add points specified in the method argument. If the argument * is null then no actions are taken. - * - * @param points - * the collection of points to set into this series. + * + * @param points the collection of points to set into this series. * @return Returns a collection of points which are set in this series. * If a point has same (x, y) value as any other point in the * argument points then it will not be added. */ - public LinkedHashSet setSeriesPoints( - LinkedHashSet points) { + public LinkedHashSet setSeriesPoints(LinkedHashSet points) { return super.setPoints(points); } @@ -3418,16 +3174,16 @@ protected void updatePointXValuesIfNotPresent() { } } int count = 0; - for (DecimalPoint point : getPoints()) { - if ((point.getX() == null || (point.getX() != null && point - .isAutosetX()))) { + for (Point point : getPoints()) { + if ((point.getX() == null || (point.getX() != null && point.isAutosetX()))) { + DecimalPoint decimalPoint = (DecimalPoint) point; point.setAutosetX(true); if (count == 0) { - point.setX(pointStart); + decimalPoint.setX(pointStart); count++; } else { pointStart = pointStart + pointInterval; - point.setX(pointStart); + decimalPoint.setX(pointStart); } } } @@ -3439,25 +3195,23 @@ protected void updatePointXValuesIfNotPresent() { * This class defines a datetime series. In this series, the X value must be * date and Y values must be number. To use number values, use * {@link XYSeries} - *

+ *

* By default, the time of a day is not included in the X value. In order to * include time, use a constructor with argument isIncludeTime and pass true * value for the argument. - * + * * @author Invient - * * @see XYSeries */ - public static class DateTimeSeries extends Series { + public static class DateTimeSeries extends Series { private boolean includeTime; /** * Creates a series with given name. This series will not consider time * in the X property of {@link DateTimePoint}. To include time, use any * constructor having isIncludeTime as part of the arguments. - * - * @param name - * the name of this series + * + * @param name the name of this series */ public DateTimeSeries(String name) { this(name, false); @@ -3465,13 +3219,11 @@ public DateTimeSeries(String name) { /** * Creates a series with given name and boolean value. - * - * @param name - * the name of this series - * @param isIncludeTime - * If true then the time in the X property of - * {@link DateTimePoint} will be considered when drawing the - * chart. Defaults to false. + * + * @param name the name of this series + * @param isIncludeTime If true then the time in the X property of + * {@link DateTimePoint} will be considered when drawing the + * chart. Defaults to false. */ public DateTimeSeries(String name, boolean isIncludeTime) { super(name); @@ -3480,11 +3232,9 @@ public DateTimeSeries(String name, boolean isIncludeTime) { /** * Creates a series with given name and configuration. - * - * @param name - * the name of this series - * @param config - * the configuration for this series + * + * @param name the name of this series + * @param config the configuration for this series */ public DateTimeSeries(String name, SeriesConfig config) { this(name, config, false); @@ -3492,29 +3242,24 @@ public DateTimeSeries(String name, SeriesConfig config) { /** * Creates a series with given name, configuration and boolean value. - * - * @param name - * the name of this series - * @param config - * the configuration for this series - * @param isIncludeTime - * If true then the time in the X property of - * {@link DateTimePoint} will be considered when drawing the - * chart. Defaults to false. + * + * @param name the name of this series + * @param config the configuration for this series + * @param isIncludeTime If true then the time in the X property of + * {@link DateTimePoint} will be considered when drawing the + * chart. Defaults to false. */ public DateTimeSeries(String name, SeriesConfig config, - boolean isIncludeTime) { + boolean isIncludeTime) { super(name, config); this.includeTime = isIncludeTime; } /** * Creates a series with given name and type. - * - * @param name - * the name of this series - * @param seriesType - * the type of this series + * + * @param name the name of this series + * @param seriesType the type of this series */ public DateTimeSeries(String name, SeriesType seriesType) { this(name, seriesType, false); @@ -3522,62 +3267,52 @@ public DateTimeSeries(String name, SeriesType seriesType) { /** * Creates a series with given name, type and boolean value. - * - * @param name - * the name of this series - * @param seriesType - * the type of this series - * @param isIncludeTime - * If true then the time in the X property of - * {@link DateTimePoint} will be considered when drawing the - * chart. Defaults to false. + * + * @param name the name of this series + * @param seriesType the type of this series + * @param isIncludeTime If true then the time in the X property of + * {@link DateTimePoint} will be considered when drawing the + * chart. Defaults to false. */ public DateTimeSeries(String name, SeriesType seriesType, - boolean isIncludeTime) { + boolean isIncludeTime) { super(name, seriesType); this.includeTime = isIncludeTime; } /** * Creates a series with given name, type and configuration. - * - * @param name - * the name of this series - * @param seriesType - * the type of this series - * @param config - * the configuration for this series + * + * @param name the name of this series + * @param seriesType the type of this series + * @param config the configuration for this series */ public DateTimeSeries(String name, SeriesType seriesType, - SeriesConfig config) { + SeriesConfig config) { this(name, seriesType, config, false); } /** * Creates a series with given name, type, configuration and boolean * value. - * - * @param name - * the name of this series - * @param seriesType - * the type of this series - * @param config - * the configuration for this series - * @param isIncludeTime - * If true then the time in the X property of - * {@link DateTimePoint} will be considered when drawing the - * chart. Defaults to false. + * + * @param name the name of this series + * @param seriesType the type of this series + * @param config the configuration for this series + * @param isIncludeTime If true then the time in the X property of + * {@link DateTimePoint} will be considered when drawing the + * chart. Defaults to false. */ public DateTimeSeries(String name, SeriesType seriesType, - SeriesConfig config, boolean isIncludeTime) { + SeriesConfig config, boolean isIncludeTime) { super(name, seriesType, config); this.includeTime = isIncludeTime; } /** * Removes all points specified as method argument into this series - * - * @param points + * + * @param points The points to be removed. */ public void removePoint(DateTimePoint... points) { super.removePoint(points); @@ -3596,8 +3331,9 @@ public void removeAllPoints() { * Appends the specified point into the series if they do not exists in * this series. The points which already exists will not be appended. A * collection of points appended to this series will be returned. - * - * @param points + * + * @param points The points to be removed. + * * @return Returns a collection of points which are added in this * series. If a point has same (x, y) value as any other point * in the input argument points then it will not be added in @@ -3611,25 +3347,22 @@ public LinkedHashSet addPoint(DateTimePoint... points) { * Append the specified point into this series. If the argument shift is * true then one point is shifted off the start of this series as one is * appended to the end. - * - * @param point - * A point to be added at the end of this series - * @param shift - * If true then one point is shifted off the start of this - * series as one is appended to the end. + * + * @param point A point to be added at the end of this series + * @param shift If true then one point is shifted off the start of this + * series as one is appended to the end. * @return Returns a collection of points which are added in this * series. If a point has same (x, y) value as any other point * in the input argument points then it will not be added in * this series. */ public LinkedHashSet addPoint(DateTimePoint point, - boolean shift) { + boolean shift) { point.setShift(shift); return super.addPoint(shift, point); } /** - * * @return Returns true if the time in the X property of * {@link DateTimePoint} will be considered when drawing the * chart otherwise false. @@ -3638,10 +3371,8 @@ public boolean isIncludeTime() { return includeTime; } - /* - * (non-Javadoc) - * - * @see com.invient.vaadin.chart.InvientChart.Series#getPoints() + /** + * {@inheritDoc} */ public LinkedHashSet getPoints() { return super.getPoints(); @@ -3651,16 +3382,14 @@ public LinkedHashSet getPoints() { * Sets points into this series. This method removes all of its points * and then add points specified in the method argument. If the argument * is null then no actions are taken. - * - * @param points - * the collection of points to set into this series. + * + * @param points the collection of points to set into this series. * @return Returns a collection of points which are added in this * series. If a point has same (x, y) value as any other point * in the input argument points then it will not be added in * this series. */ - public LinkedHashSet setSeriesPoints( - LinkedHashSet points) { + public LinkedHashSet setSeriesPoints(LinkedHashSet points) { return super.setPoints(points); } @@ -3679,17 +3408,18 @@ protected void updatePointXValuesIfNotPresent() { } Date prevDate = new Date((long) pointStart); int count = 0; - for (DateTimePoint point : getPoints()) { + for (Point point : getPoints()) { + DateTimePoint dateTimePoint = (DateTimePoint)point; if ((point.getX() == null || (point.getX() != null && point .isAutosetX()))) { point.setAutosetX(true); if (count == 0) { - point.setX(prevDate); + dateTimePoint.setX(prevDate); count++; } else { - point.setX(getUpdatedDate(prevDate, + dateTimePoint.setX(getUpdatedDate(prevDate, (long) pointInterval)); - prevDate = point.getX(); + prevDate = dateTimePoint.getX(); } } } @@ -3724,14 +3454,19 @@ public String toString() { } - // *******************************************************************// - // *************** Highcharts Configuration options ******************// - // *******************************************************************// public static enum SeriesType { - COMMONSERIES("series"), LINE("line"), SPLINE("spline"), SCATTER( - "scatter"), AREA("area"), AREASPLINE("areaspline"), BAR("bar"), COLUMN( - "column"), PIE("pie"); + + COMMONSERIES("series"), + LINE("line"), + SPLINE("spline"), + SCATTER("scatter"), + AREA("area"), + AREASPLINE("areaspline"), + BAR("bar"), + COLUMN("column"), + PIE("pie"); + private String type; private SeriesType(String type) { @@ -3741,9 +3476,11 @@ private SeriesType(String type) { public String getName() { return this.type; } + } static class SeriesCUR implements Serializable { + private SeriesCURType type; private String name; private boolean reloadPoints = false; @@ -3774,7 +3511,7 @@ public SeriesCUR(SeriesCURType type, String name, boolean reloadPoints) { /** * Indicates whether the client/terminal should update series by setting * all data of a series instead of adding or removing individual points - * + * * @return Returns true if the data of the series must be reloaded * otherwise false. */ @@ -3908,7 +3645,7 @@ boolean addSeriesCUROperation(SeriesCUR newSeriesCUR) { if (seriesCUR.getName().equals(newSeriesCUR.getName())) { if (SeriesCURType.REMOVE.equals(newSeriesCUR.getType()) && SeriesCURType.ADD - .equals(seriesCUR.getType())) { + .equals(seriesCUR.getType())) { // Remove addition of a series as there is no reason // to add // a series and @@ -3921,7 +3658,7 @@ boolean addSeriesCUROperation(SeriesCUR newSeriesCUR) { } if (SeriesCURType.UPDATE.equals(newSeriesCUR.getType()) && SeriesCURType.ADD - .equals(seriesCUR.getType())) { + .equals(seriesCUR.getType())) { // There is no need for update as adding a series // will // take care of applying any update to the series @@ -3931,7 +3668,7 @@ boolean addSeriesCUROperation(SeriesCUR newSeriesCUR) { } if (SeriesCURType.REMOVE.equals(newSeriesCUR.getType()) && SeriesCURType.UPDATE.equals(seriesCUR - .getType())) { + .getType())) { // Remove update of a series as there is no reason // to update // a series @@ -4036,7 +3773,6 @@ void addSeriesPointRemovedOperation(String seriesName, Point point) { * as it is handled implicitly. This method will send updates to the client. * This method should be called after adding/removing plotbands and * plotlines. This inconsistency will be fixed in next revision. - * */ public void refresh() { super.requestRepaint(); @@ -4047,7 +3783,6 @@ public void refresh() { * method causes the Webkit to hide other widgets on the screen and only * this chart widget will be visible. Also it prints this chart widget as it * is displayed. - * */ public void print() { isPrint = true; diff --git a/src/com/invient/vaadin/charts/InvientChartsConfig.java b/invient-charts/src/main/java/com/invient/vaadin/charts/InvientChartsConfig.java old mode 100755 new mode 100644 similarity index 90% rename from src/com/invient/vaadin/charts/InvientChartsConfig.java rename to invient-charts/src/main/java/com/invient/vaadin/charts/InvientChartsConfig.java index 491b250..bf5a5b3 --- a/src/com/invient/vaadin/charts/InvientChartsConfig.java +++ b/invient-charts/src/main/java/com/invient/vaadin/charts/InvientChartsConfig.java @@ -1,5460 +1,5439 @@ -/* - * Copyright 2011 Invient (www.invient.com) - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not - * use this file except in compliance with the License. You may obtain a copy of - * the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations under - * the License. - */ -package com.invient.vaadin.charts; - -import java.io.Serializable; -import java.util.ArrayList; -import java.util.Date; -import java.util.Iterator; -import java.util.LinkedHashMap; -import java.util.LinkedHashSet; -import java.util.List; - -import com.invient.vaadin.charts.InvientCharts.SeriesType; -import com.invient.vaadin.charts.InvientChartsConfig.AxisBase.AxisTitle; -import com.invient.vaadin.charts.InvientChartsConfig.AxisBase.AxisType; -import com.invient.vaadin.charts.InvientChartsConfig.AxisBase.Grid; -import com.invient.vaadin.charts.InvientChartsConfig.AxisBase.MinorGrid; -import com.invient.vaadin.charts.InvientChartsConfig.AxisBase.MinorTick; -import com.invient.vaadin.charts.InvientChartsConfig.AxisBase.Tick; -import com.invient.vaadin.charts.InvientChartsConfig.AxisBase.WeekDay; -import com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig.ZoomType; - -/** - * This class encapsulates a number of configuration options for the - * InvientChars. These configuration options are {@link Title}, {@link SubTitle} - * , {@link GeneralChartConfig}, {@link Credit}, {@link Legend}, {@link Tooltip} - * , {@link ChartLabel}, {@link SeriesConfig}, {@link XAxis} and {@link YAxis} - * - * All configuration properties which are of object type are initialized with an - * object instance. - * - * These configuration options are static and generally set once. After a chart - * ({@link InvientCharts}) created, any changes made to the configuration options - * will not reflect in the chart. You would have to create a new chart - * {@link InvientCharts} - * - * For some APIs, the description has been taken from - * http://www.highcharts.com/ref/ - * - * @author Invient - */ -@SuppressWarnings("serial") -public final class InvientChartsConfig implements Serializable { - - private Title title = new Title(); - private SubTitle subtitle = new SubTitle(); - private GeneralChartConfig generalChartConfig = new GeneralChartConfig(); - private Credit credit = new Credit(); - private Legend legend = new Legend(); - private Tooltip tooltip = new Tooltip(); - private ChartLabel chartLabel = new ChartLabel(); - - private LinkedHashMap seriesTypeConfig = new LinkedHashMap(); - private LinkedHashSet xAxes = new LinkedHashSet(); - private LinkedHashSet yAxes = new LinkedHashSet(); - - private InvientCharts invientCharts; - - InvientCharts getInvientCharts() { - return this.invientCharts; - } - - void setInvientCharts(InvientCharts invientCharts) { - this.invientCharts = invientCharts; - } - - /** - * - * @return The {@link ChartLabel} object representing labels at arbitrary - * position in the chart. - */ - public ChartLabel getChartLabel() { - return chartLabel; - } - - /** - * Sets the argument {@link ChartLabel} object only if it is non-null - * - * @param chartLabel - */ - public void setChartLabel(ChartLabel chartLabel) { - if (chartLabel != null) { - this.chartLabel = chartLabel; - } - } - - /** - * The {@link ChartLabel} class represents a set of labels which an be - * placed at arbitrary position in the chart. - * - * @author Invient - * - */ - public static class ChartLabel implements Serializable { - - private String style; - private List labels = new ArrayList(); - - /** - * - * @return Returns css style. - */ - public String getStyle() { - return style; - } - - /** - * Sets css style for all labels in this class - * - * @param style - * css style string - */ - public void setStyle(String style) { - this.style = style; - } - - /** - * @return Returns a list of {@link ChartLabelItem} objects - */ - public List getLabels() { - return labels; - } - - /** - * Sets a list of {@link ChartLabelItem} objects - * - * @param labels - */ - public void setLabels(List labels) { - if (labels != null) { - this.labels = labels; - } - } - - /** - * Appends the specified element at the end of {@link ChartLabelItem} - * list - * - * @param label - * element to be appended - */ - public void addLabel(ChartLabelItem label) { - this.labels.add(label); - } - - /** - * Removes the specified element from the list of {@link ChartLabelItem} - * - * @param label - */ - public void removeLabel(ChartLabelItem label) { - this.labels.remove(label); - } - - /** - * This class represents a label placed at arbitrary location in the - * chart. The label can have html text and it can be styled using - * css-style. - * - * @author Invient - * - */ - public static class ChartLabelItem implements Serializable { - private String html; - private String style; - - /** - * Creates a new instance with specified html and style arguments. - * - * @param html - * @param style - */ - public ChartLabelItem(String html, String style) { - super(); - this.html = html; - this.style = style; - } - - /** - * - * @return Returns html of this label - */ - public String getHtml() { - return html; - } - - /** - * Sets html for this label - * - * @param html - * It can be plain or html string. - */ - public void setHtml(String html) { - this.html = html; - } - - /** - * - * @return Returns css-style of this label - */ - public String getStyle() { - return style; - } - - /** - * Sets css style for this label - * - * @param style - */ - public void setStyle(String style) { - this.style = style; - } - } - - } - - /** - * - * @return Returns a collection of x-axis. - */ - public LinkedHashSet getXAxes() { - return xAxes; - } - - /** - * Sets a collection of x-axis for the chart. The collection of x-axis is - * set only if argument xAxes is non-null. - * - * @param xAxes - */ - public void setXAxes(LinkedHashSet xAxes) { - if (xAxes != null) { - this.xAxes = xAxes; - } - } - - /** - * Adds specified x-axis to the collection of x-axis - * - * @param xAxis - * @return Returns true if the x-axis is added successfully otherwise false - */ - public boolean addXAxes(XAxis xAxis) { - return this.xAxes.add(xAxis); - } - - /** - * @return Returns a collection of y-axis. - */ - public LinkedHashSet getYAxes() { - return yAxes; - } - - /** - * Sets a collection of y-axis for the chart. The collection of y-axis is - * set only if argument yAxes is non-null - * - * @param yAxes - */ - public void setYAxes(LinkedHashSet yAxes) { - if (yAxes != null) { - this.yAxes = yAxes; - } - } - - /** - * Adds specified y-axis to the collection of y-axis - * - * @param yAxis - * @return Returns true if the y-axis is added successfully otherwise false - */ - public boolean addYAxes(YAxis yAxis) { - return this.yAxes.add(yAxis); - } - - /** - * @return Returns {@link Title} object - */ - public Title getTitle() { - return title; - } - - /** - * Sets the argument title only if the argument title is non-null - * - * @param title - */ - public void setTitle(Title title) { - if (title != null) { - this.title = title; - } - } - - /** - * - * @return Returns subtitle - */ - public SubTitle getSubtitle() { - return subtitle; - } - - /** - * Sets the argument subtitle only if the argument is non-null - * - * @param subtitle - */ - public void setSubtitle(SubTitle subtitle) { - if (subtitle != null) { - this.subtitle = subtitle; - } - } - - /** - * - * @return Returns tooltip object associated with this class - */ - public Tooltip getTooltip() { - return tooltip; - } - - /** - * Sets {@link Tooltip} object only if the argument tooltip is non-null - * - * @param tooltip - */ - public void setTooltip(Tooltip tooltip) { - if (tooltip != null) { - this.tooltip = tooltip; - } - } - - /** - * - * @return Returns legend object of the chart - */ - public Legend getLegend() { - return legend; - } - - /** - * Sets {@link Legend} object only if the argument legend is non-null - * - * @param legend - */ - public void setLegend(Legend legend) { - if (legend != null) { - this.legend = legend; - } - } - - /** - * - * @return Returns credit object of the chart - */ - public Credit getCredit() { - return credit; - } - - /** - * Sets the {@link Credit} object only if the argument credit is non-null - * - * @param credit - */ - public void setCredit(Credit credit) { - if (credit != null) { - this.credit = credit; - } - } - - /** - * - * @return Returns {@link GeneralChartConfig} object - */ - public GeneralChartConfig getGeneralChartConfig() { - return generalChartConfig; - } - - /** - * Sets {@link GeneralChartConfig} object only if the argument is non-null - * - * @param generalChartConfig - */ - public void setGeneralChartConfig(GeneralChartConfig generalChartConfig) { - if (generalChartConfig != null) { - this.generalChartConfig = generalChartConfig; - } - } - - LinkedHashMap getSeriesConfig() { - return seriesTypeConfig; - } - - /** - * Sets a set of {@link SeriesConfig} objects only if the argument is - * non-null - * - * @param seriesConfigs - */ - public void setSeriesConfig(LinkedHashSet seriesConfigs) { - if (seriesTypeConfig != null) { - this.seriesTypeConfig.clear(); - for (SeriesConfig config : seriesConfigs) { - addSeriesConfig(config); - } - } - } - - /** - * Adds the specified argument only if it is non-null. - * - * @param seriesConfig - * @throws IllegalArgumentException - * if the argument is null - */ - public void addSeriesConfig(SeriesConfig seriesConfig) { - if (seriesConfig == null) { - throw new IllegalArgumentException( - "Argument SeriesConfig cannot be null."); - } - this.seriesTypeConfig.put(getSeriesType(seriesConfig), seriesConfig); - } - - /** - * @param seriesConfig - * @return - */ - private static SeriesType getSeriesType(SeriesConfig seriesConfig) { - SeriesType seriesType = SeriesType.COMMONSERIES; - if (LineConfig.class.equals(seriesConfig.getClass())) { - seriesType = SeriesType.LINE; - } else if (SplineConfig.class.equals(seriesConfig.getClass())) { - seriesType = SeriesType.SPLINE; - } else if (ScatterConfig.class.equals(seriesConfig.getClass())) { - seriesType = SeriesType.SCATTER; - } else if (AreaConfig.class.equals(seriesConfig.getClass())) { - seriesType = SeriesType.AREA; - } else if (AreaSplineConfig.class.equals(seriesConfig.getClass())) { - seriesType = SeriesType.AREASPLINE; - } else if (BarConfig.class.equals(seriesConfig.getClass())) { - seriesType = SeriesType.BAR; - } else if (ColumnConfig.class.equals(seriesConfig.getClass())) { - seriesType = SeriesType.COLUMN; - } else if (PieConfig.class.equals(seriesConfig.getClass())) { - seriesType = SeriesType.PIE; - } - return seriesType; - } - - /** - * This class contains configuration properties at a chart level. - * - * @author Invient - * - */ - public static class GeneralChartConfig implements Serializable { - private Paint backgroundColor; - private Paint borderColor; - private Integer borderRadius; - private Integer borderWidth; - private Integer height; - private Integer width; - private Boolean ignoreHiddenSeries; - private Boolean inverted; - private Margin margin; - private Spacing spacing; - private Boolean showAxes; - private SeriesType type = SeriesType.LINE; - private ZoomType zoomType = ZoomType.NONE; - private boolean clientZoom = true; - private Boolean alignTicks; - private Boolean animation; - private String className; - private Boolean reflow; - private Boolean shadow; - private Plot plot; - private String style; - - /** - * This class represents drawing area of the chart and contains methods - * specific to it. - * - * @author chirag - * - */ - public static class Plot implements Serializable { - private Paint backgroundColor; - private String backgroundImage; - private Paint borderColor; - private Integer borderWidth; - private Boolean shadow; - - public Paint getBackgroundColor() { - return backgroundColor; - } - - public void setBackgroundColor(Paint backgroundColor) { - this.backgroundColor = backgroundColor; - } - - public String getBackgroundImage() { - return backgroundImage; - } - - public void setBackgroundImage(String backgroundImage) { - this.backgroundImage = backgroundImage; - } - - public Paint getBorderColor() { - return borderColor; - } - - public void setBorderColor(Paint borderColor) { - this.borderColor = borderColor; - } - - public Integer getBorderWidth() { - return borderWidth; - } - - public void setBorderWidth(Integer borderWidth) { - this.borderWidth = borderWidth; - } - - public Boolean getShadow() { - return shadow; - } - - public void setShadow(Boolean shadow) { - this.shadow = shadow; - } - - @Override - public String toString() { - return "Plot [backgroundColor=" + backgroundColor - + ", backgroundImage=" + backgroundImage - + ", borderColor=" + borderColor + ", borderWidth=" - + borderWidth + ", shadow=" + shadow + "]"; - } - - } - - /** - * This class represents space around the chart. The boundary of the - * chart includes axis, axis labels, legend, chart title and subtitle. - * - * @author Invient - * - */ - public static class Spacing implements Serializable { - private Integer left; - private Integer top; - private Integer right; - private Integer bottom; - - public Integer getLeft() { - return left; - } - - public void setLeft(Integer left) { - this.left = left; - } - - public Integer getTop() { - return top; - } - - public void setTop(Integer top) { - this.top = top; - } - - public Integer getRight() { - return right; - } - - public void setRight(Integer right) { - this.right = right; - } - - public Integer getBottom() { - return bottom; - } - - public void setBottom(Integer bottom) { - this.bottom = bottom; - } - - @Override - public String toString() { - return "Spacing [left=" + left + ", top=" + top + ", right=" - + right + ", bottom=" + bottom + "]"; - } - - } - - /** - * - * This class represents margin between the outer edge of the chart and - * the plot area. - * - * @author Invient - * - */ - public static class Margin implements Serializable { - private Integer left; - private Integer top; - private Integer right; - private Integer bottom; - - public Margin() { - } - - public Margin(Integer top, Integer right, Integer bottom, Integer left) { - this.top = top; - this.right = right; - this.bottom = bottom; - this.left = left; - } - - public Integer getLeft() { - return left; - } - - public void setLeft(Integer left) { - this.left = left; - } - - public Integer getTop() { - return top; - } - - public void setTop(Integer top) { - this.top = top; - } - - public Integer getRight() { - return right; - } - - public void setRight(Integer right) { - this.right = right; - } - - public Integer getBottom() { - return bottom; - } - - public void setBottom(Integer bottom) { - this.bottom = bottom; - } - - @Override - public String toString() { - return "Margin [left=" + left + ", top=" + top + ", right=" - + right + ", bottom=" + bottom + "]"; - } - - } - - /** - * @return - */ - public Boolean getAlignTicks() { - return alignTicks; - } - - /** - * When using multiple axis, the ticks of two or more opposite axes will - * automatically be aligned by adding ticks to the axis or axes with the - * least ticks. This can be prevented by setting alignTicks to false. - * - * @param alignTicks - */ - public void setAlignTicks(Boolean alignTicks) { - this.alignTicks = alignTicks; - } - - /** - * @return - */ - public Boolean getAnimation() { - return animation; - } - - /** - * Set the overall animation for all chart updating. - * - * @param animation - */ - public void setAnimation(Boolean animation) { - this.animation = animation; - } - - /** - * @return - */ - public String getClassName() { - return className; - } - - /** - * A CSS class name to apply to the charts container - * - * @param className - */ - public void setClassName(String className) { - this.className = className; - } - - /** - * - * @return Returns plot object representing chart's drawing area - */ - public Plot getPlot() { - return plot; - } - - /** - * Sets plot object - * - * @param plot - */ - public void setPlot(Plot plot) { - this.plot = plot; - } - - /** - * - * @return - */ - public Boolean getReflow() { - return reflow; - } - - /** - * A value of true indicates that the chart will fit the width of the - * charts container otherwise not. - * - * @param reflow - */ - public void setReflow(Boolean reflow) { - this.reflow = reflow; - } - - /** - * @return - */ - public Boolean getShadow() { - return shadow; - } - - /** - * A value of true indicates that the drop shadow will apply to the - * outer chart area otherwise not. - * - * @param shadow - */ - public void setShadow(Boolean shadow) { - this.shadow = shadow; - } - - /** - * @return - */ - public String getStyle() { - return style; - } - - /** - * A CSS string to apply to the charts container - * - * @param style - */ - public void setStyle(String style) { - this.style = style; - } - - /** - * @return - */ - public Paint getBackgroundColor() { - return backgroundColor; - } - - /** - * Sets the background color for the outer chart area - * - * @param backgroundColor - */ - public void setBackgroundColor(Paint backgroundColor) { - this.backgroundColor = backgroundColor; - } - - /** - * @return - */ - public Paint getBorderColor() { - return borderColor; - } - - /** - * Sets the border color for the outer chart border - * - * @param borderColor - */ - public void setBorderColor(Paint borderColor) { - this.borderColor = borderColor; - } - - /** - * @return - */ - public Integer getBorderRadius() { - return borderRadius; - } - - /** - * Sets radius for the outer chart border - * - * @param borderRadius - */ - public void setBorderRadius(Integer borderRadius) { - this.borderRadius = borderRadius; - } - - /** - * @return - */ - public Integer getBorderWidth() { - return borderWidth; - } - - /** - * Sets pixel width of the outer chart border - * - * @param borderWidth - */ - public void setBorderWidth(Integer borderWidth) { - this.borderWidth = borderWidth; - } - - /** - * @return - */ - public Integer getHeight() { - return height; - } - - /** - * Sets height for the chart - * - * @param height - */ - public void setHeight(Integer height) { - this.height = height; - } - - /** - * @return - */ - public Integer getWidth() { - return width; - } - - /** - * Sets width for the chart - * - * @param width - */ - public void setWidth(Integer width) { - this.width = width; - } - - /** - * - * @return - */ - public Boolean getIgnoreHiddenSeries() { - return ignoreHiddenSeries; - } - - /** - * If the argument is true, the axes will scale to the remaining visible - * series once one series is hidden. If the argument is false, hiding - * and showing a series will not affect the axes or the other series. - * - * @param ignoreHiddenSeries - */ - public void setIgnoreHiddenSeries(Boolean ignoreHiddenSeries) { - this.ignoreHiddenSeries = ignoreHiddenSeries; - } - - /** - * @return - */ - public Boolean getInverted() { - return inverted; - } - - /** - * If the argument is true then the x-axis is reversed. If a bar plot is - * present, it will be inverted automatically. - * - * @param inverted - */ - public void setInverted(Boolean inverted) { - this.inverted = inverted; - } - - /** - * - * @return - */ - public Margin getMargin() { - return margin; - } - - /** - * @param margin - */ - public void setMargin(Margin margin) { - this.margin = margin; - } - - /** - * @return - */ - public Boolean getShowAxes() { - return showAxes; - } - - /** - * If the argument is true then the axes will be shown initially. This - * is useful when the chart is empty and axes must be shown. - * - * @param showAxes - */ - public void setShowAxes(Boolean showAxes) { - this.showAxes = showAxes; - } - - /** - * @return - */ - public Spacing getSpacing() { - return spacing; - } - - /** - * @param spacing - */ - public void setSpacing(Spacing spacing) { - this.spacing = spacing; - } - - /** - * @return - */ - public SeriesType getType() { - return type; - } - - /** - * Sets series type to one of line, spline, scatter, area, areaspline, - * pie, bar and column. - * - * @param type - */ - public void setType(SeriesType type) { - this.type = type; - } - - /** - * @return - */ - public ZoomType getZoomType() { - return zoomType; - } - - /** - * Sets zoom type. It decides how a chart can be zoomed by dragging the - * mouse. - * - * @param zoomType - */ - public void setZoomType(ZoomType zoomType) { - this.zoomType = zoomType; - } - - /** - * @return - */ - public boolean isClientZoom() { - return clientZoom; - } - - /** - * If the argument is true then the scaling will happen on client. If - * the argument is false then the chart will not scale. In any case, the - * server will receive event notification if registered. - * - * @param clientZoom - */ - public void setClientZoom(boolean clientZoom) { - this.clientZoom = clientZoom; - } - - @Override - public String toString() { - return "Chart [backgroundColor=" + backgroundColor - + ", borderColor=" + borderColor + ", borderRadius=" - + borderRadius + ", borderWidth=" + borderWidth - + ", height=" + height + ", width=" + width - + ", ignoreHiddenSeries=" + ignoreHiddenSeries - + ", inverted=" + inverted + ", margin=" + margin - + ", spacing=" + spacing + ", showAxes=" + showAxes - + ", type=" + type + ", zoomType=" + zoomType - + ", alignTicks=" + alignTicks + ", animation=" + animation - + ", className=" + className + ", reflow=" + reflow - + ", shadow=" + shadow + ", plot=" + plot + ", style=" - + style + "]"; - } - - /** - * The value {@link ZoomType.X} represents horizontal zoom. The value - * {@link ZoomType.Y} represents vertical zoom. The value - * {@link ZoomType.XY} represents horizontal as well as vertical zoom. - * - * @author Invient - * - */ - public static enum ZoomType { - X("x"), Y("y"), XY("xy"), NONE(""); - private String type; - - private ZoomType(String type) { - this.type = type; - } - - public String getName() { - return this.type; - } - } - } - - /** - * This class contains general configuration options for all series types - * such as line, area and pie. - * - * @author Invient - * - */ - public static class SeriesConfig implements Serializable { - private Boolean allowPointSelect; - private Boolean animation; - private Boolean enableMouseTracking; - private Boolean showInLegend; - private String cursor; - // No impact in case of Pie chart - private Stacking stacking; - private Boolean showCheckbox; - // private Boolean selected; - private Boolean visible; // NA for pie - private Boolean shadow; // NA for pie and scatter - private SeriesState hoverState; - private DataLabel dataLabel; - private Paint color; - - public SeriesConfig() { - } - - /** - * @return - */ - public Boolean getAllowPointSelect() { - return allowPointSelect; - } - - /** - * If the argument is true then the points of a can be selected - * otherwise not. Defaults to false, The point on a chart will toggle. - * Also, whenever a point is selected or deselected, the registered - * event listeners will be triggered. - * - * @param allowPointSelect - */ - public void setAllowPointSelect(Boolean allowPointSelect) { - this.allowPointSelect = allowPointSelect; - } - - public Boolean getAnimation() { - return animation; - } - - /** - * If the argument is true then animation will be enabled when a series - * will be displayed otherwise not. Defaults to false. - * - * @param animation - */ - public void setAnimation(Boolean animation) { - this.animation = animation; - } - - /** - * @return - */ - public Boolean getEnableMouseTracking() { - return enableMouseTracking; - } - - /** - * If the argument is true then the mouse tracking will be enabled for a - * series otherwise not. Defaults to true. - * - * @param enableMouseTracking - */ - public void setEnableMouseTracking(Boolean enableMouseTracking) { - this.enableMouseTracking = enableMouseTracking; - } - - /** - * @return - */ - public Boolean getShowInLegend() { - return showInLegend; - } - - /** - * If the argument is true then a series will be displayed in the legend - * otherwise not. Defaults to true. - * - * @param showInLegend - */ - public void setShowInLegend(Boolean showInLegend) { - this.showInLegend = showInLegend; - } - - /** - * @return - */ - public String getCursor() { - return cursor; - } - - /** - * Sets the cursor style. E.g. cursor can be set to css cursor style - * 'pointer', 'hand' or any other. Defaults to null. - * - * @param cursor - */ - public void setCursor(String cursor) { - this.cursor = cursor; - } - - /** - * @return - */ - public Stacking getStacking() { - return stacking; - } - - /** - * Specifies whether the values of each series should be stacked on top - * of each other or not. Defaults to null. If the argument is null then - * the values of each series are not stacked. - * - * @param stacking - */ - public void setStacking(Stacking stacking) { - this.stacking = stacking; - } - - /** - * @return - */ - public Boolean getShowCheckbox() { - return showCheckbox; - } - - /** - * If the argument is true then a checkbox is displayed next to the - * legend item in the legend area. Defaults to false - * - * @param showCheckbox - */ - public void setShowCheckbox(Boolean showCheckbox) { - this.showCheckbox = showCheckbox; - } - - // public Boolean getSelected() { - // return selected; - // } - // - // public void setSelected(Boolean selected) { - // this.selected = selected; - // } - - /** - * @return - */ - public Boolean getVisible() { - return visible; - } - - // Only in case of Pie chart exception is thrown - /** - * If the argument is true then the series is visible otherwise not when - * a chart is rendered initially. Defaults to true However, this is not - * applicable for series related to Pie chart. - * - * @param visible - * @throws UnsupportedOperationException - * If this method is invoked on {@link PieConfig} - */ - public void setVisible(Boolean visible) - throws UnsupportedOperationException { - this.visible = visible; - } - - /** - * @return - */ - public Boolean getShadow() { - return shadow; - } - - // Only in case of Pie and Scatter chart exception is thrown - /** - * If the argument is true then a shadow will be shown to the graph line - * otherwise not. Defaults to true. - * - * @param shadow - * @throws UnsupportedOperationException - * If this method is invoked on {@link PieConfig} - */ - public void setShadow(Boolean shadow) - throws UnsupportedOperationException { - this.shadow = shadow; - } - - /** - * - * @return - */ - public SeriesState getHoverState() { - return hoverState; - } - - /** - * Sets attributes which should be applied to a series when series is - * hovered. - * - * @param state - */ - public void setHoverState(SeriesState state) { - this.hoverState = state; - } - - /** - * @return - */ - public DataLabel getDataLabel() { - return dataLabel; - } - - /** - * Sets how point value should be formatted and displayed for each - * point. - * - * @param dataLabel - */ - public void setDataLabel(DataLabel dataLabel) { - this.dataLabel = dataLabel; - } - - /** - * @return - */ - public Paint getColor() { - return color; - } - - /** - * Sets color for the series. - * - * @param color - */ - public void setColor(Paint color) { - this.color = color; - } - - } - - /** - * This class contains various attributes to format data labels. The data - * labels are displayed along with points and axis. - * - * @author Invient - * - */ - public static class DataLabel implements Serializable { - private HorzAlign align; // NA for pie - private Boolean enabled = Boolean.TRUE; - private String formatterJsFunc; - private Integer rotation; - private String style; - private Integer x; - private Integer y; - private Color color; - - public DataLabel() { - - } - - /** - * If the argument is true then the datalabels will be displayed - * otherwise not. - * - * @param enabled - */ - public DataLabel(boolean enabled) { - this.enabled = enabled; - } - - /** - * @return - */ - public HorzAlign getAlign() { - return align; - } - - /** - * @param align - */ - public void setAlign(HorzAlign align) { - this.align = align; - } - - /** - * @return - */ - public Boolean getEnabled() { - return enabled; - } - - /** - * If the argument is true then the datalabels will be displayed - * otherwise not. - * - * @param enabled - */ - public void setEnabled(Boolean enabled) { - this.enabled = enabled; - } - - /** - * @return - */ - public String getFormatterJsFunc() { - return formatterJsFunc; - } - - /** - * Sets the argument string JavaScript function. This function will be - * called to format the data label. Refer to highchart documentation for - * more details on this - * http://www.highcharts.com/ref/#plotOptions-series-dataLabels - * - * @param formatterJsFunc - */ - public void setFormatterJsFunc(String formatterJsFunc) { - this.formatterJsFunc = formatterJsFunc; - } - - /** - * @return - */ - public Integer getRotation() { - return rotation; - } - - /** - * Sets text rotation in degrees - * - * @param rotation - */ - public void setRotation(Integer rotation) { - this.rotation = rotation; - } - - /** - * @return - */ - public String getStyle() { - return style; - } - - /** - * Sets css style for the data label - * - * @param style - */ - public void setStyle(String style) { - this.style = style; - } - - /** - * @return - */ - public Integer getX() { - return x; - } - - /** - * Sets the x position offset of the label relative to the point. - * Defaults to 0. - * - * @param x - */ - public void setX(Integer x) { - this.x = x; - } - - /** - * @return - */ - public Integer getY() { - return y; - } - - /** - * Sets the y position offset of the label relative to the point. - * Defaults to -6. - * - * @param y - */ - public void setY(Integer y) { - this.y = y; - } - - /** - * @return - */ - public Color getColor() { - return color; - } - - /** - * Sets color for the data labels. e.g. if the color is blue then in - * case of line series, for each point, the data label will be displayed - * in blue color. - * - * @param color - */ - public void setColor(Color color) { - this.color = color; - } - - @Override - public String toString() { - return "DataLabel [align=" + align + ", enabled=" + enabled - + ", formatter=" + formatterJsFunc + ", rotation=" - + rotation + ", style=" + style + ", x=" + x + ", y=" + y - + "]"; - } - - } - - /** - * This class contains configuration attributes of data labels specific to - * Pie series. - * - * @author Invient - * - */ - public final static class PieDataLabel extends DataLabel { - private Integer connectorWidth; - private Paint connectorColor; - private Integer connectorPadding; - private Integer distance; - - /** - * - */ - public PieDataLabel() { - - } - - /** - * If the argument is true then the datalabels will be displayed - * otherwise not. - * - * @param enabled - */ - public PieDataLabel(boolean enabled) { - super(enabled); - } - - /** - * @return - */ - public Integer getConnectorWidth() { - return connectorWidth; - } - - /** - * Sets width (in pixel) of the line connecting the data label to the - * pie slice. Defaults to 1. - * - * @param connectorWidth - */ - public void setConnectorWidth(Integer connectorWidth) { - this.connectorWidth = connectorWidth; - } - - /** - * @return - */ - public Paint getConnectorColor() { - return connectorColor; - } - - /** - * Sets the color of the line connecting the data label to the pie - * slice. - * - * @param connectorColor - */ - public void setConnectorColor(Paint connectorColor) { - this.connectorColor = connectorColor; - } - - /** - * - * @return - */ - public Integer getConnectorPadding() { - return connectorPadding; - } - - /** - * Sets the distance (in pixel) from the data label to the connector. - * Defaults to 5. - * - * @param connectorPadding - */ - public void setConnectorPadding(Integer connectorPadding) { - this.connectorPadding = connectorPadding; - } - - /** - * @return - */ - public Integer getDistance() { - return distance; - } - - /** - * Sets the distance (in pixel) of the data label from the pie's edge. - * - * @param distance - */ - public void setDistance(Integer distance) { - this.distance = distance; - } - - @Override - public String toString() { - return "PieDataLabel [connectorWidth=" + connectorWidth - + ", connectorColor=" + connectorColor - + ", connectorPadding=" + connectorPadding + ", distance=" - + distance + ", getAlign()=" + getAlign() - + ", getEnabled()=" + getEnabled() + ", getFormatter()=" - + getFormatterJsFunc() + ", getRotation()=" + getRotation() - + ", getStyle()=" + getStyle() + ", getX()=" + getX() - + ", getY()=" + getY() + ", toString()=" + super.toString() - + ", getClass()=" + getClass() + ", hashCode()=" - + hashCode() + "]"; - } - - } - - /** - * This class contains configuration properties for axis labels. The axis - * labels are the one which are displayed for each tick. - * - * @author Invient - * - */ - public static abstract class AxisDataLabel extends DataLabel { - private Integer step; - - public AxisDataLabel() { - super(); - } - - /** - * If the argument is true then the data labels will be displayed - * otherwise not. - * - * @param enabled - */ - public AxisDataLabel(boolean enabled) { - super(enabled); - } - - /** - * @return - */ - public Integer getStep() { - return step; - } - - /** - * Sets at what interval the labels on the axis should be displayed. - * Setting the step to 2 shows every other label. Defaults to null - * - * @param step - */ - public void setStep(Integer step) { - this.step = step; - } - } - - /** - * This class contains configuration properties specifically for x-axis - * labels. - * - * @author Invient - * - */ - public static final class XAxisDataLabel extends AxisDataLabel { - private Integer staggerLines; - - /** - * If the argument is true then the data labels will be displayed - * otherwise not. - * - * @param enabled - */ - public XAxisDataLabel(boolean enabled) { - super(enabled); - } - - public XAxisDataLabel() { - super(); - } - - /** - * @return - */ - public Integer getStaggerLines() { - return staggerLines; - } - - /** - * Sets number of lines to spread the labels over to make room or - * tighter labels. - * - * @param staggerLines - */ - public void setStaggerLines(Integer staggerLines) { - this.staggerLines = staggerLines; - } - } - - /** - * This class contains configuration properties specifically for x-axis - * labels. - * - * @author Invient - * - */ - public static final class YAxisDataLabel extends AxisDataLabel { - public YAxisDataLabel() { - super(); - } - - /** - * If the argument is true then the data labels will be displayed - * otherwise not. - * - * @param enabled - */ - public YAxisDataLabel(boolean enabled) { - super(enabled); - } - } - - /** - * This class contains configuration options for line series such as line - * and area but not column series. - * - * @author Invient - * - */ - public abstract static class BaseLineConfig extends SeriesConfig { - private Double pointStart; - private Double pointInterval; - private Boolean stickyTracking; - private Marker marker; - private DashStyle dashStyle; - private Integer lineWidth; - - /** - * @return - */ - public Double getPointStart() { - return pointStart; - } - - /** - * If no x values are given for the points in a series, the argument - * pointStart defines on what value to start. Defaults to 0. e.g. if a - * series contains values higher than 2 m $ then sets pointStart to - * 2,000,000 - * - * @param pointStart - */ - public void setPointStart(Double pointStart) { - this.pointStart = pointStart; - } - - /** - * @return - */ - public Double getPointInterval() { - return pointInterval; - } - - /** - * If no x values are given for the points in a series, the argument - * pointInterval defines the interval of the x values. For example, if a - * series contains one value every day then set pointInterval to 24 * - * 3600 * 1000 - * - * @param pointInterval - */ - public void setPointInterval(Double pointInterval) { - this.pointInterval = pointInterval; - } - - /** - * @return - */ - public Boolean getStickyTracking() { - return stickyTracking; - } - - /** - * If the argument is true then the mouseout event on a series is not - * triggered until mouse moves over another series or comes out of the - * plot area. If the argument is true then the mouseout event occurs as - * soon as mouse leaves area near to the point or marker - * - * @param stickyTracking - */ - public void setStickyTracking(Boolean stickyTracking) { - this.stickyTracking = stickyTracking; - } - - /** - * @return - */ - public Marker getMarker() { - return marker; - } - - /** - * Sets marker for points of a series - * - * @param marker - */ - public void setMarker(Marker marker) { - this.marker = marker; - } - - /** - * @return - */ - public DashStyle getDashStyle() { - return dashStyle; - } - - /** - * Sets dash style to use when drawing a series. - * - * @param dashStyle - */ - public void setDashStyle(DashStyle dashStyle) { - this.dashStyle = dashStyle; - } - - /** - * @return - */ - public Integer getLineWidth() { - return lineWidth; - } - - /** - * Sets width of a line - * - * @param lineWidth - */ - public void setLineWidth(Integer lineWidth) { - this.lineWidth = lineWidth; - } - } - - public static enum DashStyle { - SOLID("Solid"), SHORT_DASH("ShortDash"), SHORT_DOT("ShortDot"), SHORT_DASH_DOT( - "ShortDashDot"), SHORT_DASH_DOT_DOT("ShortDashDotDot"), DOT( - "Dot"), DASH("Dash"), LONG_DASH("LongDash"), DASH_DOT("DashDot"), LONG_DASH_DOT( - "LongDashDot"), LONG_DASH_DOT_DOT("LongDashDotDot"); - private String name; - - private DashStyle(String name) { - this.name = name; - } - - public String getName() { - return this.name; - } - } - - /** - * - * This class contains configuration options for area series, area and - * areaspline. - * - * @author Invient - * - */ - public static class AreaConfig extends BaseLineConfig { - private Paint fillColor; - private Paint lineColor; - private Double fillOpacity; - private Integer threshold; - - /** - * @return Returns fill color of the area. - */ - public Paint getFillColor() { - return fillColor; - } - - /** - * Sets fill gradient for the area - * - * @param fillColor - */ - public void setFillColor(Paint fillColor) { - this.fillColor = fillColor; - } - - /** - * @return Returns color of a line drawing above the area - */ - public Paint getLineColor() { - return lineColor; - } - - /** - * Sets line color for the line of an area. - * - * @param lineColor - */ - public void setLineColor(Paint lineColor) { - this.lineColor = lineColor; - } - - /** - * @return Returns opacity (transparency) which will be used when the area is filled with the fill color - */ - public Double getFillOpacity() { - return fillOpacity; - } - - /** - * Sets opacity for the area - * - * @param fillOpacity - */ - public void setFillOpacity(Double fillOpacity) { - this.fillOpacity = fillOpacity; - } - - /** - * @return Returns threadshold of the area - */ - public Integer getThreshold() { - return threshold; - } - - /** - * Sets threshold value which servers as the base for the area, for - * distinguishing between values above and below a threshold. Defaults - * to 0. - * - * @param threshold - */ - public void setThreshold(Integer threshold) { - this.threshold = threshold; - } - - } - - /** - * This class contains configuration options for areaspline series - * - * @author Invient - * - */ - public static class AreaSplineConfig extends AreaConfig { - - } - - /** - * This class contains configuration options for line series - * - * @author Invient - * - */ - public static class LineConfig extends BaseLineConfig { - private Boolean step; - - /** - * @return Returns true if the line should be drawn using steps otherwise false. - */ - public Boolean getStep() { - return step; - } - - /** - * If the argument is true then line will be drawn using steps otherwise - * not. Defaults to false. - * - * @param step - */ - public void setStep(Boolean step) { - this.step = step; - } - } - - /** - * This class contains configuration options for scatter series - * - * @author Invient - * - */ - public static class ScatterConfig extends BaseLineConfig { - - /** - * - * @param shadow - * @exception UnsupportedOperationException - * Scatter series does not support shadow so this method - * throws an exception if invoked. - */ - @Override - public void setShadow(Boolean shadow) - throws UnsupportedOperationException { - throw new UnsupportedOperationException( - "Scatter chart does not support shadow."); - } - - /** - * @return Returns null as scatter series does not have shadow. - */ - @Override - public Boolean getShadow() { - return null; - } - } - - /** - * This class contains configuration options for spline series - * - * @author Invient - * - */ - public static class SplineConfig extends BaseLineConfig { - - } - - /** - * This class contains configuration options for pie series. - * - * @author Invient - * - */ - public static class PieConfig extends SeriesConfig { - private Integer centerX; - private Integer centerY; - private Paint borderColor; - private Integer borderWidth; - private Integer innerSize; - private Integer size; - private Integer slicedOffset; - - /** - * @return Returns x position (in pixel) of the center of the pie chart relative to - * the plot area. - */ - public Integer getCenterX() { - return centerX; - } - - /** - * Sets x position (in pixel) of the center of the pie chart relative to - * the plot area. - * - * @param centerX - */ - public void setCenterX(Integer centerX) { - this.centerX = centerX; - } - - /** - * @return Returns y position (in pixel) of the center of the pie chart relative to - * the plot area. - */ - public Integer getCenterY() { - return centerY; - } - - /** - * Sets y position (in pixel) of the center of the pie chart relative to - * the plot area. - * - * @param centerY - */ - public void setCenterY(Integer centerY) { - this.centerY = centerY; - } - - /** - * @return Returns color of border surrounding each slice. - */ - public Paint getBorderColor() { - return borderColor; - } - - /** - * Sets color of border surrounding each slice. - * - * @param borderColor - */ - public void setBorderColor(Paint borderColor) { - this.borderColor = borderColor; - } - - /** - * @return Returns width of the border surrounding each slice. - */ - public Integer getBorderWidth() { - return borderWidth; - } - - /** - * Sets width of border surrounding each slice. - * - * @param borderWidth - */ - public void setBorderWidth(Integer borderWidth) { - this.borderWidth = borderWidth; - } - - /** - * @return Returns size of the inner diameter of the pie. - */ - public Integer getInnerSize() { - return innerSize; - } - - /** - * Sets the size of the inner diameter for the pie. Any value greater - * than 0 renders a donut chart. - * - * @param innerSize - */ - public void setInnerSize(Integer innerSize) { - this.innerSize = innerSize; - } - - /** - * @return Returns size of diameter of the pie relative to the plot area. - */ - public Integer getSize() { - return size; - } - - /** - * Sets size of diameter of the pie relative to the plot area. - * - * @param size - */ - public void setSize(Integer size) { - this.size = size; - } - - /** - * @return Returns offset in pixel by which a slice should be moved out from the - * center. - */ - public Integer getSlicedOffset() { - return slicedOffset; - } - - /** - * Sets offset in pixel by which a slice should be moved out from the - * center. - * - * @param slicedOffset - */ - public void setSlicedOffset(Integer slicedOffset) { - this.slicedOffset = slicedOffset; - } - - /** - * @exception UnsupportedOperationException - * Pie chart does not support visible property so this - * method throws an exception if invoked. - */ - @Override - public void setVisible(Boolean visible) - throws UnsupportedOperationException { - throw new UnsupportedOperationException( - "Pie chart does not support visible property."); - } - - /** - * @exception UnsupportedOperationException - * Pie chart does not support shadow property so this - * method throws an exception if invoked. - */ - @Override - public void setShadow(Boolean shadow) - throws UnsupportedOperationException { - throw new UnsupportedOperationException( - "Pie chart does not support shadow."); - } - - /** - * @return Returns null as pie does not support toggle (show/hide pie) feature. - */ - @Override - public Boolean getVisible() { - return null; - } - - /** - * @return Returns null as pie series does not support shadow. - */ - @Override - public Boolean getShadow() { - return null; - } - - /** - * Sets an object of {@link PieDataLabel} which contains configuration - * for formatting data labels. - * - * @param dataLabel - */ - public void setDataLabel(PieDataLabel dataLabel) { - super.setDataLabel(dataLabel); - } - - /** - * - */ - public PieDataLabel getDataLabel() { - return (PieDataLabel) super.getDataLabel(); - } - - /** - * Sets state which should be applied to a slice when a mouse is over - * the slice - * - * @param state - */ - public void setHoverState(NonLinearSeriesState state) { - super.setHoverState(state); - } - - public NonLinearSeriesState getHoverState() { - if (super.getHoverState() instanceof NonLinearSeriesState) { - return (NonLinearSeriesState) super.getHoverState(); - } - return null; - } - - } - - /** - * This class contains configuration options for bar and column series. - * - * @author Invient - * - */ - public abstract static class BaseBarConfig extends SeriesConfig { - private Paint borderColor; - private Integer borderRadius; - private Integer borderWidth; - private Boolean colorByPoint; - private Double groupPadding; - private Double minPointLength; - private Double pointPadding; - private Integer pointWidth; - - /** - * @return - */ - public Paint getBorderColor() { - return borderColor; - } - - /** - * Sets the color of the border surronding each column or bar. - * - * @param borderColor - */ - public void setBorderColor(Paint borderColor) { - this.borderColor = borderColor; - } - - /** - * @return - */ - public Integer getBorderRadius() { - return borderRadius; - } - - /** - * Sets corner radius of the border surronding each column or bar. - * - * @param borderRadius - */ - public void setBorderRadius(Integer borderRadius) { - this.borderRadius = borderRadius; - } - - /** - * @return - */ - public Integer getBorderWidth() { - return borderWidth; - } - - /** - * Sets width of the border surronding each column or bar. - * - * @param borderWidth - */ - public void setBorderWidth(Integer borderWidth) { - this.borderWidth = borderWidth; - } - - /** - * @return - */ - public Boolean getColorByPoint() { - return colorByPoint; - } - - /** - * If the argument is true then each point (bar or column in a series - * will have a different color otherwise all points (bars/columns) of a - * series will have same color. - * - * @param colorByPoint - */ - public void setColorByPoint(Boolean colorByPoint) { - this.colorByPoint = colorByPoint; - } - - /** - * - * @return - */ - public Double getGroupPadding() { - return groupPadding; - } - - /** - * Sets padding between each value groups, in x axis units. Defaults to - * 0.2. - * - * @param groupPadding - */ - public void setGroupPadding(Double groupPadding) { - this.groupPadding = groupPadding; - } - - /** - * @return - */ - public Double getMinPointLength() { - return minPointLength; - } - - /** - * Sets the minimal height for a column or width for a bar. By default, - * 0 values are not shown. To visualize a 0 (or close to zero) point, - * set the minimal point length to a pixel value like 3. In stacked - * column charts, minPointLength might not be respected for tightly - * packed values. Defaults to 0. (For detail, refer to - * http://www.highcharts.com/ref/#plotOptions-bar); - * - * @param minPointLength - */ - public void setMinPointLength(Double minPointLength) { - this.minPointLength = minPointLength; - } - - /** - * - * @return - */ - public Double getPointPadding() { - return pointPadding; - } - - /** - * Sets padding between each column or bar, in x axis units. - * - * @param pointPadding - */ - public void setPointPadding(Double pointPadding) { - this.pointPadding = pointPadding; - } - - /** - * @return - */ - public Integer getPointWidth() { - return pointWidth; - } - - /** - * Sets width of each bar or column in pixel. - * - * @param pointWidth - */ - public void setPointWidth(Integer pointWidth) { - this.pointWidth = pointWidth; - } - - /** - * Sets state which should be applied to a bar or column when a mouse is - * over the bar or column - * - * @param state - */ - public void setHoverState(NonLinearSeriesState state) { - super.setHoverState(state); - } - - /** - * - */ - public NonLinearSeriesState getHoverState() { - if (super.getHoverState() instanceof NonLinearSeriesState) { - return (NonLinearSeriesState) super.getHoverState(); - } - return null; - } - } - - /** - * This class contains configuration options for column series. - * - * @author Invient - * - */ - public static class ColumnConfig extends BaseBarConfig { - - } - - /** - * This class contains configuration options for bar series. - * - * @author Invient - * - */ - public static class BarConfig extends BaseBarConfig { - - } - - /** - * Defines ways in which series of a chart can be stacked. - * - * Stacking.Normal - represents that the values of each series are stacked. - * - * Stacking.Percent - represents that the the values of each series are - * stacked based on percentage of sum of total value, where total value is - * sum of values of all points on a particular tick of an axis. - * - * @author Invient - * - */ - public static enum Stacking { - NORMAL("normal"), PERCENT("percent"); - private String stacking; - - private Stacking(String stacking) { - this.stacking = stacking; - } - - public String getName() { - return this.stacking; - } - } - - /** - * Defines configuration per point in a series. It is possible to assign - * each point a different color and marker. - * - * @author Invient - * - */ - public static final class PointConfig implements Serializable { - private Boolean sliced; - private Boolean selected; - private Paint color; - private Marker marker; - - /** - * Creates an instance of this class with specified marker - * - * @param marker - */ - public PointConfig(Marker marker) { - this(null, null, null, marker); - } - - /** - * Creates an instance of this class with specified color - * - * @param color - */ - public PointConfig(Paint color) { - this(null, null, color, null); - } - - /** - * Creates an instance of this class with specified argument. The sliced - * attribute has meaning only for Pie chart/series. - * - * @param sliced - */ - public PointConfig(Boolean sliced) { - this(sliced, sliced, null, null); - } - - /** - * - * @param sliced - * - If true then the slice of a pie will be at an offset - * from the center of the pie. Applicable only for Pie - * chart/series. - * @param selected - * - If true then the point, to which this object is - * associated, will be shown as selected otherwise not. - * @param color - * - Specifies individual color for a point, to which this - * object is associated. - * @param marker - * - Specifies marker for a point, to which this object is - * associated. - * @see Marker - * @see Color - */ - public PointConfig(Boolean sliced, Boolean selected, Paint color, - Marker marker) { - super(); - this.sliced = sliced; - this.selected = selected; - this.color = color; - this.marker = marker; - } - - /** - * @return - */ - public Boolean getSliced() { - return sliced; - } - - /** - * @param sliced - */ - public void setSliced(Boolean sliced) { - this.sliced = sliced; - } - - /** - * @return - */ - public Boolean getSelected() { - return selected; - } - - /** - * @param selected - */ - public void setSelected(Boolean selected) { - this.selected = selected; - } - - /** - * @return - */ - public Paint getColor() { - return color; - } - - /** - * @param color - */ - public void setColor(Paint color) { - this.color = color; - } - - /** - * @return - */ - public Marker getMarker() { - return marker; - } - - /** - * @param marker - */ - public void setMarker(Marker marker) { - this.marker = marker; - } - - /** - * @return Returns string representation of this object. - */ - @Override - public String toString() { - return "PointConfig [sliced=" + sliced + ", selected=" + selected - + ", color=" + color + ", marker=" + marker + "]"; - } - - } - - /** - * A chart has a title and a subtitle. This class defines attributes which - * are common to both. - * - * The text of a title can be plain text or html text containing html - * elements. It is also possible to apply css to the title. The css must be - * valid css string e.g. { color: 'red' } - * - * @author Invient - * - * @see Title - * @see SubTitle - * @see HorzAlign - * @see VertAlign - */ - public static abstract class TitleBase implements Serializable { - private HorzAlign align; - private VertAlign vertAlign; - private Boolean floating; - private String text; - private Integer x; - private Integer y; - private String style; - - /** - * @return - */ - public HorzAlign getAlign() { - return align; - } - - /** - * Sets horizontal alignment of the title. Defaults to HorzAlign.CENTER - * - * @param align - */ - public void setAlign(HorzAlign align) { - this.align = align; - } - - /** - * @return - */ - public VertAlign getVertAlign() { - return vertAlign; - } - - /** - * Sets horizontal alignment of the title. Defaults to VertAlign.TOP - * - * @param vertAlign - */ - public void setVertAlign(VertAlign vertAlign) { - this.vertAlign = vertAlign; - } - - /** - * @return - */ - public Boolean getFloating() { - return floating; - } - - /** - * If the argument is true then the plot area will not move to make - * space for the chart title. Defaults to false. - * - * @param floating - */ - public void setFloating(Boolean floating) { - this.floating = floating; - } - - /** - * @return - */ - public String getText() { - return text; - } - - /** - * Sets text for the chart's title. The text can be plain or html - * string. - * - * @param text - */ - public void setText(String text) { - this.text = text; - } - - /** - * @return - */ - public Integer getX() { - return x; - } - - /** - * Sets x position (in pixel) of the title relative to the alignment - * within Spacing.left and Spacing.right. Defaults to 0 - * - * @param x - */ - public void setX(Integer x) { - this.x = x; - } - - /** - * @return - */ - public Integer getY() { - return y; - } - - /** - * Sets y position (in pixel) of the title relative to the alignment - * within Spacing.top and Spacing.bottom. Defaults to 0 - * - * @param y - */ - public void setY(Integer y) { - this.y = y; - } - - /** - * @return - */ - public String getStyle() { - return style; - } - - /** - * Sets css for the title. The css must be a valid css object. e.g. css - * string "{ color:'red' }" is valid but "{ color: 'red'" is invalid. - * - * @param style - */ - public void setStyle(String style) { - this.style = style; - } - } - - /** - * Defines attributes of chart title. - * - * @author Invient - * - */ - public static final class Title extends TitleBase { - private Integer margin; - - /** - * @return - */ - public Integer getMargin() { - return margin; - } - - /** - * Sets margin (in pixel) between the chart title and subtitle, if any. - * If chart subtitle doesn't exist then it indicates the margin between - * subtitle and plotarea. Defaults to 15 - * - * @param margin - */ - public void setMargin(Integer margin) { - this.margin = margin; - } - } - - /** - * Defines attributes of chart subtitle. - * - * @author Invient - * - */ - public static final class SubTitle extends TitleBase { - - } - - public static enum HorzAlign { - LEFT("left"), CENTER("center"), RIGHT("right"); - private String align; - - private HorzAlign(String align) { - this.align = align; - } - - public String getName() { - return this.align; - } - } - - public static enum VertAlign { - TOP("top"), MIDDLE("middle"), BOTTOM("bottom"); - private String align; - - private VertAlign(String align) { - this.align = align; - } - - public String getName() { - return this.align; - } - } - - /** - * Defines state for a series and point. A series can be in hover state. A - * point can be in hover and select state. In each state, a series and a - * point can have different visual clues. This is achived by setting some - * attributes of a seires and point. - * - * @author Invient - * - * @see SeriesState - */ - public static interface State extends Serializable { - public Boolean getEnabled(); - } - - /** - * Defines a set of attributes which will be applied to a series upon hover. - * The attributes linWidth is not applicable for Pie, Scatter, Bar and - * Column series. - * - * @author Invient - * - */ - public static class SeriesState implements State { - private Boolean enabled; - private Integer lineWidth; - - public Boolean getEnabled() { - return enabled; - } - - /** - * If the argument is true then the other properties of this class have - * impact on visual rendering of the series when a series is hovered or - * when a mouse is over the legend. Enabling this has a performance - * penalty. - * - * Defaults to false. - * - * @param enabled - */ - public void setEnabled(Boolean enabled) { - this.enabled = enabled; - } - - /** - * @return - */ - public Integer getLineWidth() { - return lineWidth; - } - - /** - * Sets width of a line in pixel. Defaults to 2. - * - * @param lineWidth - */ - public void setLineWidth(Integer lineWidth) { - this.lineWidth = lineWidth; - } - } - - /** - * Defines a set of attributes which are meaningful for bar and colum - * series. - * - * @author Invient - * - */ - public static class NonLinearSeriesState extends SeriesState { - private Double brightness; - - /** - * @return - */ - public Double getBrightness() { - return brightness; - } - - /** - * Sets intensity of brightness for a point. This applies only to bar - * and column series/chart - * - * Defaults to 0.1 - * - * @param brightness - */ - public void setBrightness(Double brightness) { - this.brightness = brightness; - } - } - - /** - * Defines a collection of attributes which makes a marker. Markers are - * generally used to annotate a graph points. - * - * @author Invient - * - */ - private static class MarkerAttribute implements Serializable { - private Boolean enabled; - private Paint fillColor; - private Paint lineColor; - private Integer lineWidth; - private Integer radius; - - public Boolean getEnabled() { - return enabled; - } - - public void setEnabled(Boolean enabled) { - this.enabled = enabled; - } - - public Paint getFillColor() { - return fillColor; - } - - public void setFillColor(Paint fillColor) { - this.fillColor = fillColor; - } - - public Paint getLineColor() { - return lineColor; - } - - public void setLineColor(Paint lineColor) { - this.lineColor = lineColor; - } - - public Integer getLineWidth() { - return lineWidth; - } - - public void setLineWidth(Integer lineWidth) { - this.lineWidth = lineWidth; - } - - public Integer getRadius() { - return radius; - } - - public void setRadius(Integer radius) { - this.radius = radius; - } - - @Override - public String toString() { - return "MarkerStateAttribute [enabled=" + enabled + ", fillColor=" - + fillColor + ", lineColor=" + lineColor + ", lineWidth=" - + lineWidth + ", radius=" + radius + "]"; - } - - } - - /** - * Defines a set of attributes which gets applied to a point when a point is - * selected or hovered. By default, markers are enabled so when a mouse is - * over a point marker gets applied. To turn off marker, set flag enabled to - * false. - * - * A point marker is useful only if the marker is not an image. - * - * @author Invient - * - * @see ImageMarker - * @see SymbolMarker - * - */ - public static final class MarkerState implements State { - private MarkerAttribute markerAttribute = new MarkerAttribute(); - - /** - * Creates this marker with enabled = true - */ - public MarkerState() { - markerAttribute.setEnabled(true); - } - - /** - * Creates this marker with specified argument. If enabled = false then - * the marker will not be applied to a point on hover or select state. - */ - public MarkerState(boolean enabled) { - markerAttribute.setEnabled(enabled); - } - - /** - * - */ - public Boolean getEnabled() { - return markerAttribute.getEnabled(); - } - - /** - * If enabled = false then the marker will not be applied to a point on - * hover or select state. Defaults to true - * - * @param enabled - */ - public void setEnabled(Boolean enabled) { - this.markerAttribute.setEnabled(enabled); - } - - /** - * @return - */ - public Paint getFillColor() { - return markerAttribute.getFillColor(); - } - - /** - * Sets fill color for the marker. When not specified it takes color of - * a series or point. - * - * @param fillColor - */ - public void setFillColor(Paint fillColor) { - this.markerAttribute.setFillColor(fillColor); - } - - /** - * @return - */ - public Paint getLineColor() { - return markerAttribute.getLineColor(); - } - - /** - * Sets color of the point marker's outline. When not specified it takes - * color of a series or point. - * - * @param lineColor - */ - public void setLineColor(Paint lineColor) { - this.markerAttribute.setLineColor(lineColor); - } - - /** - * @return - */ - public Integer getLineWidth() { - return markerAttribute.getLineWidth(); - } - - /** - * Sets width of the point marker's outline. Defaults to 0. - * - * @param lineWidth - */ - public void setLineWidth(Integer lineWidth) { - this.markerAttribute.setLineWidth(lineWidth); - } - - /** - * @return - */ - public Integer getRadius() { - return markerAttribute.getRadius(); - } - - /** - * Sets radius of the point marker. Defaults to 0. - * - * @param radius - */ - public void setRadius(Integer radius) { - this.markerAttribute.setRadius(radius); - } - - @Override - public String toString() { - return "MarkerState [enabled=" + getEnabled() + ", fillColor=" - + getFillColor() + ", lineColor=" + getLineColor() - + ", lineWidth=" + getLineWidth() + ", radius=" - + getRadius() + "]"; - } - - } - - /** - * Defines a marker for a point. Markers are applied to a point of chart's - * series. The marker can be applied at the time of drawing the chart or - * when a point is selcted or hovered. - * - * There are two types of marker. - *

    - *
  • - * {@link SymbolMarker}
  • - *
  • - * {@link ImageMarker}
  • - *
- * - * @author Invient - * - * @see SymbolMarker - * @see ImageMarker - */ - public static interface Marker extends Serializable { - public Boolean getEnabled(); - - public void setEnabled(Boolean enabled); - } - - /** - * Defines attributes for a marker. - * - * @author Invient - * - * @see SymbolMarker - * @see ImageMarker - */ - public static abstract class AbstractMarker implements Marker { - private MarkerAttribute markerAttribute = new MarkerAttribute(); - - public AbstractMarker() { - } - - public AbstractMarker(boolean enabled) { - this.markerAttribute.setEnabled(enabled); - } - - protected Paint getLineColor() { - return markerAttribute.getLineColor(); - } - - protected void setLineColor(Paint lineColor) { - this.markerAttribute.setLineColor(lineColor); - } - - protected Paint getFillColor() { - return markerAttribute.getFillColor(); - } - - protected void setFillColor(Paint fillColor) { - this.markerAttribute.setFillColor(fillColor); - } - - protected Integer getLineWidth() { - return markerAttribute.getLineWidth(); - } - - protected void setLineWidth(Integer lineWidth) { - this.markerAttribute.setLineWidth(lineWidth); - } - - protected Integer getRadius() { - return markerAttribute.getRadius(); - } - - protected void setRadius(Integer radius) { - this.markerAttribute.setRadius(radius); - } - - public Boolean getEnabled() { - return markerAttribute.getEnabled(); - } - - public void setEnabled(Boolean enabled) { - this.markerAttribute.setEnabled(enabled); - } - - } - - /** - * This marker can take url of an image which will be used as a marker for a - * point or all points of a series. - * - * The url of an image must be with respect to root of the web application. - * e.g. If an image named temperature.png is under directory - * /img/climate then the url must be - * /img/climate/temperature.png - * - * @author Invient - * - */ - public static class ImageMarker extends AbstractMarker { - private String imageURL; - - /** - * Creates this marker with specified arguments. - * - * @param imageURL - * - URL of an image - * @param enabled - * - If false then this marker will not be applied to a - * point. What this means is that the data points of a line - * chart will not stand out. - */ - public ImageMarker(String imageURL, boolean enabled) { - super(enabled); - this.imageURL = imageURL; - } - - /** - * Creates this marker with specified arguments. - * - * @param imageURL - * - URL of an image - */ - public ImageMarker(String imageURL) { - super(true); - this.imageURL = imageURL; - } - - /** - * @return - */ - public String getImageURL() { - return imageURL; - } - - /** - * @param imageURL - */ - public void setImageURL(String imageURL) { - this.imageURL = imageURL; - } - - @Override - public String toString() { - return "ImageMarker [imageURL=" + imageURL + ", enabled" - + getEnabled() + "]"; - } - } - - /** - * This marker has predefined shape which cannot be changed. However, marker - * attributes can be set. - * - * @author Invient - * - */ - public static class SymbolMarker extends AbstractMarker { - private Symbol symbol; - private MarkerState hoverState; - private MarkerState selectState; - - /** - * Creates this marker with enabled = true - */ - public SymbolMarker() { - super(true); - } - - /** - * Creates this marker with specified arguments. - * - * @param enabled - * If false then this marker will not be applied to a point. - * What this means is that the data points of a line chart - * will not stand out. - */ - public SymbolMarker(boolean enabled) { - super(enabled); - } - - /** - * Creates this marker with specified arguments. - * - * @param lineColor - * - Color of the point marker's outline - */ - public SymbolMarker(Paint lineColor) { - super(true); - super.setLineColor(lineColor); - } - - /** - * Creates this marker with specified arguments. - * - * @param radius - * Radius of the point marker. - */ - public SymbolMarker(Integer radius) { - super(true); - this.setRadius(radius); - } - - /** - * Creates this marker with specified arguments. - * - * @param symbol - * It must be one of the predefine symbol such as - * Symbol.CIRCLE or Symbol.DIAMOND - */ - public SymbolMarker(Symbol symbol) { - super(true); - this.symbol = symbol; - } - - /** - * Creates this marker with specified arguments. - * - * @param lineColor - * Color of the point marker's outline - * @param radius - * Radius of the point marker. - */ - public SymbolMarker(Paint lineColor, Integer radius) { - super(true); - super.setLineColor(lineColor); - super.setRadius(radius); - } - - /** - * Creates this marker with specified arguments. - * - * @param lineColor - * - Color of the point marker's outline - * @param radius - * Radius of the point marker. - * @param symbol - * It must be one of the predefine symbol such as - * Symbol.CIRCLE or Symbol.DIAMOND - */ - public SymbolMarker(Paint lineColor, Integer radius, Symbol symbol) { - super(true); - super.setLineColor(lineColor); - super.setRadius(radius); - this.symbol = symbol; - } - - /** - * - */ - @Override - public Paint getLineColor() { - return super.getLineColor(); - } - - /** - * Sets color of the point marker's outline - * - * @param lineColor - */ - @Override - public void setLineColor(Paint lineColor) { - super.setLineColor(lineColor); - } - - /** - * - */ - @Override - public Paint getFillColor() { - return super.getFillColor(); - } - - /** - * Sets color of the point marker - * - * @param fillColor - */ - @Override - public void setFillColor(Paint fillColor) { - super.setFillColor(fillColor); - } - - /** - * - */ - @Override - public Integer getLineWidth() { - return super.getLineWidth(); - } - - /** - * Sets width of the point marker outline - * - * @param lineWidth - */ - @Override - public void setLineWidth(Integer lineWidth) { - super.setLineWidth(lineWidth); - } - - /** - * - */ - @Override - public Integer getRadius() { - return super.getRadius(); - } - - /** - * Sets radius of the point marker - * - * @param radius - */ - @Override - public void setRadius(Integer radius) { - super.setRadius(radius); - } - - /** - * - * @return - */ - public Symbol getSymbol() { - return symbol; - } - - /** - * Sets symbol for the point marker. It must be one of the predefine - * symbol such as Symbol.CIRCLE or Symbol.DIAMOND - * - * @param symbol - */ - public void setSymbol(Symbol symbol) { - this.symbol = symbol; - } - - /** - * - * @return - */ - public MarkerState getHoverState() { - return hoverState; - } - - /** - * Sets marker to be applied to a point when it is hovered. - * - * @param hoverState - */ - public void setHoverState(MarkerState hoverState) { - this.hoverState = hoverState; - } - - /** - * @return - */ - public MarkerState getSelectState() { - return selectState; - } - - /** - * Sets marker to be applied to a point when it is selected. - * - * @param selectState - */ - public void setSelectState(MarkerState selectState) { - this.selectState = selectState; - } - - @Override - public String toString() { - return "SymbolMarker [symbol=" + symbol + ", hoverState=" - + hoverState + ", selectState=" + selectState - + ", getLineColor()=" + getLineColor() - + ", getFillColor()=" + getFillColor() - + ", getLineWidth()=" + getLineWidth() + ", getRadius()=" - + getRadius() + ", getSymbol()=" + getSymbol() - + ", getHoverState()=" + getHoverState() - + ", getSelectState()=" + getSelectState() + "]"; - } - - /** - * Defines predefined marker shapes to be used along with - * {@link SymbolMarker} - * - * @author Invient - * - * @see SymbolMarker - */ - public static enum Symbol { - CIRCLE("circle"), DIAMOND("diamond"), SQUARE("square"), TRIANGLE( - "triangle"), TRIANGLE_DOWN("triangle-down"); - private String symbol; - - private Symbol(String symbol) { - this.symbol = symbol; - } - - public String getName() { - return this.symbol; - } - } - - } - - /** - * This class defines attributes common to X axis and Y axis. A chart can - * have one or more axis of each type. - * - * @author chirag - * - * @see XAxis - * @see YAxis - * - */ - public static abstract class AxisBase implements Axis { - private String id; - - private AxisType type = AxisType.LINEAR; - private AxisTitle title; - private AxisDataLabel label; - private LinkedHashSet plotBands = new LinkedHashSet(); - private LinkedHashSet plotLines = new LinkedHashSet(); - - private Paint alternateGridColor; - private Boolean endOnTick; - - private Grid grid; - - private Paint lineColor; - private Integer lineWidth; - private Axis linkedTo; - - private Double maxPadding; - private Integer maxZoom; - // private Double max; - // private Double min; - private Double minPadding; - - private Tick tick; - private MinorGrid minorGrid; - private MinorTick minorTick; - - private Integer offset; - private Boolean opposite; - private Boolean reversed; - private Boolean showFirstLabel; - private Boolean showLastLabel; - private WeekDay startOfWeek; - private Boolean startOnTick; - - /** - * Defines attributes of a minor tick. The minor ticks do not have a - * label. By default, minor ticks are not shown. To display minor ticks, - * set interval property. - * - * @author Invient - * - * @see Tick - * - */ - public static class MinorTick implements Serializable { - private Paint color; - private Double interval; - private Integer length; - private TickPosition position; - private Integer width; - - public Paint getColor() { - return color; - } - - public void setColor(Paint color) { - this.color = color; - } - - public Double getInterval() { - return interval; - } - - /** - * Sets interval for the minor tick. The interval must be specified - * in the axis unit. e.g. If an axis has tick interval of 50 units - * then setting minortick interval to 10 will show 5 minor ticks. - * - * @param interval - */ - public void setInterval(Double interval) { - this.interval = interval; - } - - public Integer getLength() { - return length; - } - - /** - * Sets length of the minorticks in pixel - * - * @param length - */ - public void setLength(Integer length) { - this.length = length; - } - - /** - * @return - */ - public TickPosition getPosition() { - return position; - } - - /** - * @param position - */ - public void setPosition(TickPosition position) { - this.position = position; - } - - /** - * @return - */ - public Integer getWidth() { - return width; - } - - /** - * Sets width of the minorticks in pixel - * - * @param width - */ - public void setWidth(Integer width) { - this.width = width; - } - - @Override - public String toString() { - return "MinorTick [color=" + color + ", length=" + length - + ", position=" + position + ", width=" + width + "]"; - } - - } - - /** - * - * Defines attributes of a tick marks. The interval of the tick marks - * must be specified in axis unit. For datetime axis, the interval must - * be in millisecond. - * - * The default tick interval is 1. - * - * @author Invient - * - * @see MinorTick - * @see TickmarkPlacement - */ - public static final class Tick extends MinorTick { - private TickmarkPlacement placement; - private Integer pixelInterval; - - /** - * @return - */ - public TickmarkPlacement getPlacement() { - return placement; - } - - /** - * Sets placement of the tick marks. - * - * @param placement - */ - public void setPlacement(TickmarkPlacement placement) { - this.placement = placement; - } - - /** - * @return - */ - public Integer getPixelInterval() { - return pixelInterval; - } - - /** - * Sets pixel interval of the tick marks - * - * @param pixelInterval - */ - public void setPixelInterval(Integer pixelInterval) { - this.pixelInterval = pixelInterval; - } - - @Override - public String toString() { - return "Tick [placement=" + placement + ", pixelInterval=" - + pixelInterval + ", getColor()=" + getColor() - + ", getLength()=" + getLength() + ", getPosition()=" - + getPosition() + ", getWidth()=" + getWidth() + "]"; - } - - } - - /** - * Defines attributes of minor grid lines of the chart. In order to show - * minor grid lines, you must specify set MinorTick for the axis also. - * - * @author Invient - * @see MinorTick - * @see Grid - */ - public static class MinorGrid implements Serializable { - private Paint lineColor; - private DashStyle lineDashStyle; - private Integer lineWidth; - - public Paint getLineColor() { - return lineColor; - } - - /** - * Sets color of the minor grid lines - * - * @param lineColor - */ - public void setLineColor(Paint lineColor) { - this.lineColor = lineColor; - } - - /** - * @return - */ - public DashStyle getLineDashStyle() { - return lineDashStyle; - } - - /** - * Sets dash or dot style of the minor grid lines. Defaults to - * DashStyle.SOLID - * - * @param lineDashStyle - * - * @see DashStyle - * - */ - public void setLineDashStyle(DashStyle lineDashStyle) { - this.lineDashStyle = lineDashStyle; - } - - /** - * @return - */ - public Integer getLineWidth() { - return lineWidth; - } - - /** - * Sets width (in pixel) of the minor grid lines. Defaults to 1 - * - * @param lineWidth - */ - public void setLineWidth(Integer lineWidth) { - this.lineWidth = lineWidth; - } - - @Override - public String toString() { - return "MinorGrid [lineColor=" + lineColor + ", lineDashStyle=" - + lineDashStyle + ", lineWidth=" + lineWidth + "]"; - } - - } - - /** - * Defines attributes of grid lines of the chart. By default, the grid - * lines are shown. To hide them set property lineWidth to 0. - * - * @author Invient - * - */ - public static final class Grid extends MinorGrid { - - } - - protected LinkedHashSet getAllPlotBands() { - return plotBands; - } - - protected void setAllPlotBands(LinkedHashSet plotBands) { - if (plotBands != null) { - this.plotBands = plotBands; - } - } - - protected void addPlotBand(PlotBand plotBand) { - this.plotBands.add(plotBand); - } - - protected void removePlotBand(PlotBand plotBand) { - this.plotBands.remove(plotBand); - } - - /** - * Removes a plotband with given id. - * - * @param id - */ - public void removePlotBand(String id) { - Iterator plotBandItr = ((LinkedHashSet) this.plotBands) - .iterator(); - while (plotBandItr.hasNext()) { - if (plotBandItr.next().getId().equals(id)) { - plotBandItr.remove(); - break; - } - } - } - - /** - * @return - */ - protected LinkedHashSet getAllPlotLines() { - return plotLines; - } - - /** - * @param plotLines - */ - protected void setAllPlotLines(LinkedHashSet plotLines) { - if (plotLines != null) { - this.plotLines = plotLines; - } - } - - /** - * @param plotLine - */ - protected void addPlotLine(PlotLine plotLine) { - this.plotLines.add(plotLine); - } - - /** - * @param plotLine - */ - protected void removePlotLine(PlotLine plotLine) { - this.plotLines.remove(plotLine); - } - - /** - * @param id - */ - public void removePlotLine(String id) { - Iterator plotLineItr = ((LinkedHashSet) this.plotLines) - .iterator(); - while (plotLineItr.hasNext()) { - if (plotLineItr.next().getId().equals(id)) { - plotLineItr.remove(); - break; - } - } - } - - /** - * - */ - public String getId() { - return id; - } - - /** - * Sets an id for the axis - */ - public void setId(String id) { - this.id = id; - } - - /** - * - */ - public Tick getTick() { - return tick; - } - - /** - * Sets tick for the axis - */ - public void setTick(Tick tick) { - this.tick = tick; - } - - /** - * - */ - public Integer getMaxZoom() { - return maxZoom; - } - - /** - * Sets maximum amount of zoom for this axis. For datetime axis, the - * maxZoom must be specified in milliseconds. For example, for a - * datetime axis the main unit is milliseconds. If maxZoom is set to - * 3600000, you can't zoom in more than to one hour. (Above example is - * taken from Highcharts documentation) - */ - public void setMaxZoom(Integer maxZoom) { - this.maxZoom = maxZoom; - } - - /** - * - */ - public Boolean getReversed() { - return reversed; - } - - /** - * If the argument it true then this axis will be reversed. Defaults to - * false. - */ - public void setReversed(Boolean reversed) { - this.reversed = reversed; - } - - /** - * - */ - public Boolean getOpposite() { - return opposite; - } - - /** - * If the argument is true then another axis on the opposite side of - * this axis will be displayed. The normal axis is on left side for - * vertical axes and bottom for horzontal axes. - */ - public void setOpposite(Boolean opposite) { - this.opposite = opposite; - } - - public AxisType getType() { - return type; - } - - /** - * Sets type of this axis. Used by subclasses - * - * @param type - * - * @see NumberXAxis - * @see NumberYAxis - * @see DateTimeAxis - * - */ - protected void setType(AxisType type) { - this.type = type; - } - - public AxisTitle getTitle() { - return title; - } - - /** - * Sets title for the axis - * - * @see AxisTitle - */ - public void setTitle(AxisTitle title) { - this.title = title; - } - - /** - * - * @return - */ - protected AxisDataLabel getLabel() { - return label; - } - - /** - * - * @param label - */ - protected void setLabel(AxisDataLabel label) { - this.label = label; - } - - /** - * - */ - public Paint getAlternateGridColor() { - return alternateGridColor; - } - - /** - * Sets a color to be used for alternate grids of the chart - */ - public void setAlternateGridColor(Paint alternateGridColor) { - this.alternateGridColor = alternateGridColor; - } - - /** - * - */ - public Boolean getEndOnTick() { - return endOnTick; - } - - /** - * If the argument is true then this axis will end on a tick. - */ - public void setEndOnTick(Boolean endOnTick) { - this.endOnTick = endOnTick; - } - - /** - * - */ - public Grid getGrid() { - return grid; - } - - /** - * Sets grid for this axis - * - * @see Grid - */ - public void setGrid(Grid grid) { - this.grid = grid; - } - - /** - * - */ - public Paint getLineColor() { - return lineColor; - } - - /** - * Sets a color for line of this axis. This line indicate this axis - */ - public void setLineColor(Paint lineColor) { - this.lineColor = lineColor; - } - - /** - * - */ - public Integer getLineWidth() { - return lineWidth; - } - - /** - * Sets width of this axis line - */ - public void setLineWidth(Integer lineWidth) { - this.lineWidth = lineWidth; - } - - /** - * - */ - public Axis getLinkedTo() { - return linkedTo; - } - - /** - * Sets another axis which is linked with this axis. The following - * description is copied from Highcharts API documentation - * http://www.highcharts.com/ref/#xAxis. - * - * When an axis is linked to a master axis, it will take the same - * extremes as the master, but as assigned by min or max or by - * setExtremes. It can be used to show additional info, or to ease - * reading the chart by duplicating the scales. Defaults to null. - */ - public void setLinkedTo(Axis linkedTo) { - if (linkedTo != this) { - this.linkedTo = linkedTo; - } - } - - /** - * - */ - public Double getMaxPadding() { - return maxPadding; - } - - public void setMaxPadding(Double maxPadding) { - this.maxPadding = maxPadding; - } - - public Double getMinPadding() { - return minPadding; - } - - public void setMinPadding(Double minPadding) { - this.minPadding = minPadding; - } - - public MinorGrid getMinorGrid() { - return minorGrid; - } - - public void setMinorGrid(MinorGrid minorGrid) { - this.minorGrid = minorGrid; - } - - public MinorTick getMinorTick() { - return minorTick; - } - - public void setMinorTick(MinorTick minorTick) { - this.minorTick = minorTick; - } - - public Integer getOffset() { - return offset; - } - - /** - * Sets distance of this axis from the plot area - */ - public void setOffset(Integer offset) { - this.offset = offset; - } - - public Boolean getShowFirstLabel() { - return showFirstLabel; - } - - /** - * If the argument is true then the label of this axis' first tick will - * be displayed. Defaults to true. - */ - public void setShowFirstLabel(Boolean showFirstLabel) { - this.showFirstLabel = showFirstLabel; - } - - public Boolean getShowLastLabel() { - return showLastLabel; - } - - /** - * If the argument is true then the label of this axis' last tick will - * be displayed. Defaults to false - */ - public void setShowLastLabel(Boolean showLastLabel) { - this.showLastLabel = showLastLabel; - } - - public WeekDay getStartOfWeek() { - return startOfWeek; - } - - /** - * Sets a day to be considered as start of the week. For datetime axis, - * this decides where to put tick. e.g. if startOfWeek = THURSDAY then - * tick will be placed on every thursday. - */ - public void setStartOfWeek(WeekDay startOfWeek) { - this.startOfWeek = startOfWeek; - } - - public Boolean getStartOnTick() { - return startOnTick; - } - - /** - * If the argument is true then this axis must start on a tick. Defaults - * to false - */ - public void setStartOnTick(Boolean startOnTick) { - this.startOnTick = startOnTick; - } - - public static enum WeekDay { - SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY; - } - - /** - * Defines position of the tick marks with respect to the axis - * categories. It is applicable only for categorized axes. - * - * TickmarkPlacement.ON - tick mark is placed in the center of the - * category - * - * TickmarkPlacement.BETWEEN - tick mark is placed between categories - * - * @author Invient - * - */ - public static enum TickmarkPlacement { - ON("on"), BETWEEN("between"); - private String name; - - private TickmarkPlacement(String name) { - this.name = name; - } - - public String getName() { - return this.name; - } - } - - /** - * Defines position of the axis ticks with respect to the axis line - * - * @author Invient - * - */ - public static enum TickPosition { - OUTSIDE("outside"), INSIDE("inside"); - private String name; - - private TickPosition(String name) { - this.name = name; - } - - public String getName() { - return this.name; - } - } - - /** - * Defines axis types. - * - * AxisType.LINEAR - - * - * AxisType.DATETIME - For datetime axis, the values are given in date - * except for {@link BaseLineConfig}.pointStart and {@link BaseLineConfig}.pointInterval - * properties, which are specified in milliseconds. - * - * @author Invient - * - * @see NumberXAxis - * @see NumberYAxis - * @see DateTimeAxis - */ - public static enum AxisType { - LINEAR("linear"), DATETIME("datetime"); - private String type; - - private AxisType(String type) { - this.type = type; - } - - public String getName() { - return this.type; - } - } - - public static enum AxisTitleAlign { - LOW("low"), MIDDLE("middle"), HIGH("high"); - private String name; - - private AxisTitleAlign(String name) { - this.name = name; - } - - public String getName() { - return this.name; - } - } - - public static final class AxisTitle implements Serializable { - private String text; - private AxisTitleAlign align; - private String style; - private Integer rotation; - private Integer margin; - - public AxisTitle(String text) { - this.text = text; - } - - public String getText() { - return text; - } - - public void setText(String text) { - this.text = text; - } - - public AxisTitleAlign getAlign() { - return align; - } - - public void setAlign(AxisTitleAlign align) { - this.align = align; - } - - public String getStyle() { - return style; - } - - public void setStyle(String style) { - this.style = style; - } - - public Integer getRotation() { - return rotation; - } - - public void setRotation(Integer rotation) { - this.rotation = rotation; - } - - public Integer getMargin() { - return margin; - } - - public void setMargin(Integer margin) { - this.margin = margin; - } - - } - - public static final class PlotLabel implements Serializable { - private HorzAlign align; - private VertAlign vertAlign; - private Integer rotation; - private String style; - private HorzAlign textAlign; - private Integer x; - private Integer y; - private String text; - - public PlotLabel(String text) { - super(); - this.text = text; - } - - public String getText() { - return text; - } - - public void setText(String text) { - this.text = text; - } - - public HorzAlign getAlign() { - return align; - } - - public void setAlign(HorzAlign align) { - this.align = align; - } - - public VertAlign getVertAlign() { - return vertAlign; - } - - public void setVertAlign(VertAlign vertAlign) { - this.vertAlign = vertAlign; - } - - public Integer getRotation() { - return rotation; - } - - public void setRotation(Integer rotation) { - this.rotation = rotation; - } - - public String getStyle() { - return style; - } - - public void setStyle(String style) { - this.style = style; - } - - public HorzAlign getTextAlign() { - return textAlign; - } - - public void setTextAlign(HorzAlign textAlign) { - this.textAlign = textAlign; - } - - public Integer getX() { - return x; - } - - public void setX(Integer x) { - this.x = x; - } - - public Integer getY() { - return y; - } - - public void setY(Integer y) { - this.y = y; - } - - } - - public static abstract class PlotBand implements Serializable { - private Paint color; - private Range range; - private String id; - private Integer zIndex; - private PlotLabel label; - - public PlotBand(String id) { - this.id = id; - } - - public Paint getColor() { - return color; - } - - public void setColor(Paint color) { - this.color = color; - } - - protected Range getRange() { - return range; - } - - protected void setRange(Range range) { - this.range = range; - } - - public String getId() { - return id; - } - - public Integer getZIndex() { - return zIndex; - } - - public void setZIndex(Integer zIndex) { - this.zIndex = zIndex; - } - - public PlotLabel getLabel() { - return label; - } - - public void setLabel(PlotLabel label) { - this.label = label; - } - - public static abstract class Range implements Serializable { - - } - - @Override - public int hashCode() { - final int prime = 31; - int result = 1; - result = prime * result + ((id == null) ? 0 : id.hashCode()); - return result; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) - return true; - if (obj == null) - return false; - if (getClass() != obj.getClass()) - return false; - PlotBand other = (PlotBand) obj; - if (id == null) { - if (other.id != null) - return false; - } else if (!id.equals(other.id)) - return false; - return true; - } - - } - - public static final class NumberPlotBand extends PlotBand { - - public NumberPlotBand(String id) { - super(id); - } - - public NumberRange getRange() { - return (NumberRange) super.getRange(); - } - - public void setRange(NumberRange range) { - super.setRange((NumberRange) range); - } - - public static final class NumberRange extends Range { - private Double from; - private Double to; - - public NumberRange(Double from, Double to) { - super(); - this.from = from; - this.to = to; - } - - public Double getFrom() { - return from; - } - - public void setFrom(Double from) { - this.from = from; - } - - public Double getTo() { - return to; - } - - public void setTo(Double to) { - this.to = to; - } - } - } - - public static final class DateTimePlotBand extends PlotBand { - - public DateTimePlotBand(String id) { - super(id); - } - - public DateTimeRange getRange() { - return (DateTimeRange) super.getRange(); - } - - public void setRange(DateTimeRange range) { - super.setRange((DateTimeRange) range); - } - - public static final class DateTimeRange extends Range { - private Date from; - private Date to; - - public DateTimeRange(Date from, Date to) { - super(); - this.from = from; - this.to = to; - } - - public Date getFrom() { - return from; - } - - public void setFrom(Date from) { - this.from = from; - } - - public Date getTo() { - return to; - } - - public void setTo(Date to) { - this.to = to; - } - } - - } - - public static abstract class PlotLine implements Serializable { - private Paint color; - private DashStyle dashStyle; - private String id; - private Value value; - private Integer width = 1; - private Integer zIndex; - private PlotLabel label; - - public PlotLine(String id) { - this.id = id; - } - - public Paint getColor() { - return color; - } - - public void setColor(Paint color) { - this.color = color; - } - - public DashStyle getDashStyle() { - return dashStyle; - } - - public void setDashStyle(DashStyle dashStyle) { - this.dashStyle = dashStyle; - } - - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - protected Value getValue() { - return value; - } - - protected void setValue(Value value) { - this.value = value; - } - - public Integer getWidth() { - return width; - } - - public void setWidth(Integer width) { - this.width = width; - } - - public Integer getZIndex() { - return zIndex; - } - - public void setZIndex(Integer zIndex) { - this.zIndex = zIndex; - } - - public PlotLabel getLabel() { - return label; - } - - public void setLabel(PlotLabel label) { - this.label = label; - } - - public static abstract class Value implements Serializable { - - } - - } - - public static final class NumberPlotLine extends PlotLine { - - public NumberPlotLine(String id) { - super(id); - } - - public NumberValue getValue() { - return (NumberValue) super.getValue(); - } - - public void setValue(NumberValue value) { - super.setValue((NumberValue) value); - } - - public static final class NumberValue extends Value { - - public NumberValue(Double value) { - super(); - this.value = value; - } - - private Double value; - - public Double getValue() { - return value; - } - - public void setValue(Double value) { - this.value = value; - } - } - } - - public static final class DateTimePlotLine extends PlotLine { - public DateTimePlotLine(String id) { - super(id); - } - - public DateTimeValue getValue() { - return (DateTimeValue) super.getValue(); - } - - public void setValue(DateTimeValue value) { - super.setValue((DateTimeValue) value); - } - - public static final class DateTimeValue extends Value { - private Date value; - - public DateTimeValue(Date value) { - super(); - this.value = value; - } - - public Date getValue() { - return value; - } - - public void setValue(Date value) { - this.value = value; - } - } - } - } - - public static interface Axis extends Serializable { - public String getId(); - - public void setId(String id); - - public Tick getTick(); - - public void setTick(Tick tick); - - public Integer getMaxZoom(); - - public void setMaxZoom(Integer maxZoom); - - public Boolean getReversed(); - - public void setReversed(Boolean reversed); - - public Boolean getOpposite(); - - public void setOpposite(Boolean opposite); - - public AxisType getType(); - - public AxisTitle getTitle(); - - public void setTitle(AxisTitle title); - - public Paint getAlternateGridColor(); - - public void setAlternateGridColor(Paint alternateGridColor); - - public Boolean getEndOnTick(); - - public void setEndOnTick(Boolean endOnTick); - - public Grid getGrid(); - - public void setGrid(Grid grid); - - public Paint getLineColor(); - - public void setLineColor(Paint lineColor); - - public Integer getLineWidth(); - - public void setLineWidth(Integer lineWidth); - - public Axis getLinkedTo(); - - public void setLinkedTo(Axis linkedTo); - - public Double getMaxPadding(); - - public void setMaxPadding(Double maxPadding); - - public Double getMinPadding(); - - public void setMinPadding(Double minPadding); - - public MinorGrid getMinorGrid(); - - public void setMinorGrid(MinorGrid minorGrid); - - public MinorTick getMinorTick(); - - public void setMinorTick(MinorTick minorTick); - - public Integer getOffset(); - - public void setOffset(Integer offset); - - public Boolean getShowFirstLabel(); - - public void setShowFirstLabel(Boolean showFirstLabel); - - public Boolean getShowLastLabel(); - - public void setShowLastLabel(Boolean showLastLabel); - - public WeekDay getStartOfWeek(); - - public void setStartOfWeek(WeekDay startOfWeek); - - public Boolean getStartOnTick(); - - public void setStartOnTick(Boolean startOnTick); - - } - - public static interface XAxis extends Axis { - } - - public static interface YAxis extends Axis { - } - - public static abstract class NumberAxis extends AxisBase { - private Boolean allowDecimals; - private Double max; - private Double min; - - public NumberAxis() { - super.setType(AxisType.LINEAR); - } - - public Boolean getAllowDecimals() { - return allowDecimals; - } - - public void setAllowDecimals(Boolean allowDecimals) { - this.allowDecimals = allowDecimals; - } - - public void setMax(Double max) { - this.max = max; - } - - public void setMin(Double min) { - this.min = min; - } - - public Double getMin() { - return this.min; - } - - public Double getMax() { - return this.max; - } - - public LinkedHashSet getPlotBands() { - return super.getAllPlotBands(); - } - - public void setPlotBands(LinkedHashSet plotBands) { - super.setAllPlotBands(plotBands); - } - - public void addPlotBand(NumberPlotBand plotBand) { - super.addPlotBand(plotBand); - } - - public void removePlotBand(NumberPlotBand plotBand) { - super.removePlotBand(plotBand); - } - - public LinkedHashSet getPlotLines() { - return super.getAllPlotLines(); - } - - public void setPlotLines(LinkedHashSet plotLines) { - super.setAllPlotLines(plotLines); - } - - public void addPlotLine(NumberPlotLine plotLine) { - super.addPlotLine(plotLine); - } - - public void removePlotLine(NumberPlotLine plotLine) { - super.removePlotLine(plotLine); - } - - } - - public static final class NumberXAxis extends NumberAxis implements XAxis { - - public void setLabel(XAxisDataLabel label) { - super.setLabel(label); - } - - public XAxisDataLabel getLabel() { - return (XAxisDataLabel) super.getLabel(); - } - } - - public static final class NumberYAxis extends NumberAxis implements YAxis { - public void setLabel(YAxisDataLabel label) { - super.setLabel(label); - } - - public YAxisDataLabel getLabel() { - return (YAxisDataLabel) super.getLabel(); - } - - } - - public static final class DateTimeAxis extends AxisBase implements XAxis { - private DateTimeLabelFormat dateTimeLabelFormats; - private Date max; - private Date min; - - // private Date tickInterval; // FIXME It should be more intuitive to - // specify tick interval such as - // Month, Week, day, year similar to - // private Date minorTickInterval; - - public static final class DateTimeLabelFormat { - private String second = "%H:%M:%S"; - private String minute = "%H:%M"; - private String hour = "%H:%M"; - private String day = "%e. %b"; - private String week = "%e. %b"; - private String month = "%b '%y"; - private String year = "%Y"; - - public String getSecond() { - return second; - } - - public void setSecond(String second) { - this.second = second; - } - - public String getMinute() { - return minute; - } - - public void setMinute(String minute) { - this.minute = minute; - } - - public String getHour() { - return hour; - } - - public void setHour(String hour) { - this.hour = hour; - } - - public String getDay() { - return day; - } - - public void setDay(String day) { - this.day = day; - } - - public String getWeek() { - return week; - } - - public void setWeek(String week) { - this.week = week; - } - - public String getMonth() { - return month; - } - - public void setMonth(String month) { - this.month = month; - } - - public String getYear() { - return year; - } - - public void setYear(String year) { - this.year = year; - } - - @Override - public String toString() { - return "DateTimeLabelFormat [second=" + second + ", minute=" - + minute + ", hour=" + hour + ", day=" + day - + ", week=" + week + ", month=" + month + ", year=" - + year + "]"; - } - - } - - public DateTimeAxis() { - super.setType(AxisType.DATETIME); - } - - public DateTimeLabelFormat getDateTimeLabelFormat() { - return dateTimeLabelFormats; - } - - public void setDateTimeLabelFormat( - DateTimeLabelFormat dateTimeLabelFormat) { - this.dateTimeLabelFormats = dateTimeLabelFormat; - } - - public void setMax(Date max) { - this.max = max; - } - - public void setMin(Date min) { - this.min = min; - } - - public Date getMin() { - return this.min; - } - - public Date getMax() { - return this.max; - } - - public LinkedHashSet getPlotBands() { - return super.getAllPlotBands(); - } - - public void setPlotBands(LinkedHashSet plotBands) { - super.setAllPlotBands(plotBands); - } - - public void addPlotBand(DateTimePlotBand plotBand) { - super.addPlotBand(plotBand); - } - - public void removePlotBand(DateTimePlotBand plotBand) { - super.removePlotBand(plotBand); - } - - public LinkedHashSet getPlotLines() { - return super.getAllPlotLines(); - } - - public void setPlotLines(LinkedHashSet plotLines) { - super.setAllPlotLines(plotLines); - } - - public void addPlotLine(DateTimePlotLine plotLine) { - super.addPlotLine(plotLine); - } - - public void removePlotLine(DateTimePlotLine plotLine) { - super.removePlotLine(plotLine); - } - - } - - public static final class CategoryAxis extends AxisBase implements XAxis { - private List categories = new ArrayList(); - - public List getCategories() { - return categories; - } - - public void setCategories(List categories) { - if (categories != null) { - this.categories = categories; - } - } - - public void setLabel(XAxisDataLabel label) { - super.setLabel(label); - } - - public XAxisDataLabel getLabel() { - return (XAxisDataLabel) super.getLabel(); - } - - public LinkedHashSet getPlotBands() { - return super.getAllPlotBands(); - } - - public void setPlotBands(LinkedHashSet plotBands) { - super.setAllPlotBands(plotBands); - } - - public void addPlotBand(NumberPlotBand plotBand) { - super.addPlotBand(plotBand); - } - - public void removePlotBand(NumberPlotBand plotBand) { - super.removePlotBand(plotBand); - } - - public LinkedHashSet getPlotLines() { - return super.getAllPlotLines(); - } - - public void setPlotLines(LinkedHashSet plotLines) { - super.setAllPlotLines(plotLines); - } - - public void addPlotLine(NumberPlotLine plotLine) { - super.addPlotLine(plotLine); - } - - public void removePlotLine(NumberPlotLine plotLine) { - super.removePlotLine(plotLine); - } - } - - // Legend - public static final class Legend implements Serializable { - private Paint backgroundColor; - private Paint borderColor; - private Integer borderRadius; - private Integer borderWidth; - private Boolean enabled; - private Boolean floating; - private String itemHiddenStyle; - private String itemHoverStyle; - private String itemStyle; - private Integer itemWidth; - private Layout layout; - private String labelFormatterJsFunc; - private Integer margin; - private Boolean reversed; - private Boolean shadow; - private Integer symbolPadding; - private Integer symbolWidth; - private Integer width; - private Position position; - - public Legend() { - } - - public Legend(boolean enabled) { - this.enabled = enabled; - } - - public static enum Layout { - HORIZONTAL("horizontal"), VERTICAL("vertical"); - private String name; - - private Layout(String name) { - this.name = name; - } - - public String getName() { - return this.name; - } - } - - public Paint getBackgroundColor() { - return backgroundColor; - } - - public void setBackgroundColor(Paint backgroundColor) { - this.backgroundColor = backgroundColor; - } - - public Paint getBorderColor() { - return borderColor; - } - - public void setBorderColor(Paint borderColor) { - this.borderColor = borderColor; - } - - public Integer getBorderRadius() { - return borderRadius; - } - - public void setBorderRadius(Integer borderRadius) { - this.borderRadius = borderRadius; - } - - public Integer getBorderWidth() { - return borderWidth; - } - - public void setBorderWidth(Integer borderWidth) { - this.borderWidth = borderWidth; - } - - public Boolean getEnabled() { - return enabled; - } - - public void setEnabled(Boolean enabled) { - this.enabled = enabled; - } - - public Boolean getFloating() { - return floating; - } - - public void setFloating(Boolean floating) { - this.floating = floating; - } - - public String getItemHiddenStyle() { - return itemHiddenStyle; - } - - public void setItemHiddenStyle(String itemHiddenStyle) { - this.itemHiddenStyle = itemHiddenStyle; - } - - public String getItemHoverStyle() { - return itemHoverStyle; - } - - public void setItemHoverStyle(String itemHoverStyle) { - this.itemHoverStyle = itemHoverStyle; - } - - public String getItemStyle() { - return itemStyle; - } - - public void setItemStyle(String itemStyle) { - this.itemStyle = itemStyle; - } - - public Integer getItemWidth() { - return itemWidth; - } - - public void setItemWidth(Integer itemWidth) { - this.itemWidth = itemWidth; - } - - public Layout getLayout() { - return layout; - } - - public void setLayout(Layout layout) { - this.layout = layout; - } - - public String getLabelFormatterJsFunc() { - return labelFormatterJsFunc; - } - - public void setLabelFormatterJsFunc(String labelFormatterJsFunc) { - this.labelFormatterJsFunc = labelFormatterJsFunc; - } - - public Integer getMargin() { - return margin; - } - - public void setMargin(Integer margin) { - this.margin = margin; - } - - public Boolean getReversed() { - return reversed; - } - - public void setReversed(Boolean reversed) { - this.reversed = reversed; - } - - public Boolean getShadow() { - return shadow; - } - - public void setShadow(Boolean shadow) { - this.shadow = shadow; - } - - public Integer getSymbolPadding() { - return symbolPadding; - } - - public void setSymbolPadding(Integer symbolPadding) { - this.symbolPadding = symbolPadding; - } - - public Integer getSymbolWidth() { - return symbolWidth; - } - - public void setSymbolWidth(Integer symbolWidth) { - this.symbolWidth = symbolWidth; - } - - public Integer getWidth() { - return width; - } - - public void setWidth(Integer width) { - this.width = width; - } - - public Position getPosition() { - return position; - } - - public void setPosition(Position position) { - this.position = position; - } - - @Override - public String toString() { - return "Legend [backgroundColor=" + backgroundColor - + ", borderColor=" + borderColor + ", borderRadius=" - + borderRadius + ", borderWidth=" + borderWidth - + ", enabled=" + enabled + ", floating=" + floating - + ", itemHiddenStyle=" + itemHiddenStyle - + ", itemHoverStyle=" + itemHoverStyle + ", itemStyle=" - + itemStyle + ", itemWidth=" + itemWidth + ", layout=" - + layout + ", labelFormatter=" + labelFormatterJsFunc - + ", margin=" + margin + ", reversed=" + reversed - + ", shadow=" + shadow + ", symbolPadding=" + symbolPadding - + ", symbolWidth=" + symbolWidth + ", width=" + width - + ", position=" + position + "]"; - } - - } - - // Credits - public static final class Credit implements Serializable { - private Boolean enabled; - private String link; - private String style; - private String text; - private Position position; - - public Boolean getEnabled() { - return enabled; - } - - public void setEnabled(Boolean enabled) { - this.enabled = enabled; - } - - public String getLink() { - return link; - } - - public void setLink(String link) { - this.link = link; - } - - public String getStyle() { - return style; - } - - public void setStyle(String style) { - this.style = style; - } - - public String getText() { - return text; - } - - public void setText(String text) { - this.text = text; - } - - public Position getPosition() { - return position; - } - - public void setPosition(Position position) { - this.position = position; - } - - @Override - public String toString() { - return "Credit [enabled=" + enabled + ", link=" + link + ", style=" - + style + ", text=" + text + ", position=" + position + "]"; - } - } - - public static final class Position implements Serializable { - private HorzAlign align; - private VertAlign vertAlign; - private Integer x; - private Integer y; - - public HorzAlign getAlign() { - return align; - } - - public void setAlign(HorzAlign align) { - this.align = align; - } - - public VertAlign getVertAlign() { - return vertAlign; - } - - public void setVertAlign(VertAlign vertAlign) { - this.vertAlign = vertAlign; - } - - public Integer getX() { - return x; - } - - public void setX(Integer x) { - this.x = x; - } - - public Integer getY() { - return y; - } - - public void setY(Integer y) { - this.y = y; - } - - @Override - public String toString() { - return "Position [align=" + align + ", vertAlign=" + vertAlign - + ", x=" + x + ", y=" + y + "]"; - } - - } - - // Tooltip - public static final class Tooltip implements Serializable { - private Paint backgroundColor; - private Paint borderColor; - private Integer borderRadius; - private Integer borderWidth; - private Boolean crosshairs; // FIMXE - private Boolean enabled; - private String formatterJsFunc; - private Boolean shadow; - private Boolean shared; - private Integer snap; // NA for pie/bar/column - private String style; - - public Paint getBackgroundColor() { - return backgroundColor; - } - - public void setBackgroundColor(Paint backgroundColor) { - this.backgroundColor = backgroundColor; - } - - public Paint getBorderColor() { - return borderColor; - } - - public void setBorderColor(Paint borderColor) { - this.borderColor = borderColor; - } - - public Integer getBorderRadius() { - return borderRadius; - } - - public void setBorderRadius(Integer borderRadius) { - this.borderRadius = borderRadius; - } - - public Integer getBorderWidth() { - return borderWidth; - } - - public void setBorderWidth(Integer borderWidth) { - this.borderWidth = borderWidth; - } - - public Boolean getCrosshairs() { - return crosshairs; - } - - public void setCrosshairs(Boolean crosshairs) { - this.crosshairs = crosshairs; - } - - public Boolean getEnabled() { - return enabled; - } - - public void setEnabled(Boolean enabled) { - this.enabled = enabled; - } - - public String getFormatterJsFunc() { - return formatterJsFunc; - } - - public void setFormatterJsFunc(String formatterJsFunc) { - this.formatterJsFunc = formatterJsFunc; - } - - public Boolean getShadow() { - return shadow; - } - - public void setShadow(Boolean shadow) { - this.shadow = shadow; - } - - public Boolean getShared() { - return shared; - } - - public void setShared(Boolean shared) { - this.shared = shared; - } - - public Integer getSnap() { - return snap; - } - - public void setSnap(Integer snap) { - this.snap = snap; - } - - public String getStyle() { - return style; - } - - public void setStyle(String style) { - this.style = style; - } - - @Override - public String toString() { - return "Tooltip [backgroundColor=" + backgroundColor - + ", borderColor=" + borderColor + ", borderRadius=" - + borderRadius + ", borderWidth=" + borderWidth - + ", crosshairs=" + crosshairs + ", enabled=" + enabled - + ", formatter=" + formatterJsFunc + ", shadow=" + shadow - + ", shared=" + shared + ", snap=" + snap + ", style=" - + style + "]"; - } - - } -} +/* + * Copyright 2011 Invient (www.invient.com) + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ +package com.invient.vaadin.charts; + +import java.io.Serializable; +import java.util.*; + +import com.invient.vaadin.charts.InvientCharts.SeriesType; +import com.invient.vaadin.charts.InvientChartsConfig.AxisBase.*; + + +/** + * This class encapsulates a number of configuration options for the + * InvientChars. These configuration options are {@link Title}, {@link SubTitle} + * , {@link GeneralChartConfig}, {@link Credit}, {@link Legend}, {@link Tooltip} + * , {@link ChartLabel}, {@link SeriesConfig}, {@link XAxis} and {@link YAxis}. + *

+ * All configuration properties which are of object type are initialized with an + * object instance. + *

+ * These configuration options are static and generally set once. After a chart + * ({@link InvientCharts}) created, any changes made to the configuration options + * will not reflect in the chart. You would have to create a new chart + * {@link InvientCharts} instance. + *

+ * For some APIs, the description has been taken from "http://www.highcharts.com/ref/". + * + * @author Invient + */ +@SuppressWarnings("serial") +public final class InvientChartsConfig implements Serializable { + + private Title title = new Title(); + private SubTitle subtitle = new SubTitle(); + private GeneralChartConfig generalChartConfig = new GeneralChartConfig(); + private Credit credit = new Credit(); + private Legend legend = new Legend(); + private Tooltip tooltip = new Tooltip(); + private ChartLabel chartLabel = new ChartLabel(); + private LinkedHashMap seriesTypeConfig = new LinkedHashMap(); + private LinkedHashSet xAxes = new LinkedHashSet(); + private LinkedHashSet yAxes = new LinkedHashSet(); + private InvientCharts invientCharts; + + InvientCharts getInvientCharts() { + return this.invientCharts; + } + + void setInvientCharts(InvientCharts invientCharts) { + this.invientCharts = invientCharts; + } + + /** + * @return The {@link ChartLabel} object representing labels at arbitrary + * position in the chart. + */ + public ChartLabel getChartLabel() { + return chartLabel; + } + + /** + * Sets the argument {@link ChartLabel} object only if it is non-null. + * + * @param chartLabel The chart label. + */ + public void setChartLabel(ChartLabel chartLabel) { + if (chartLabel != null) { + this.chartLabel = chartLabel; + } + } + + /** + * The {@link ChartLabel} class represents a set of labels which an be + * placed at arbitrary position in the chart. + * + * @author Invient + */ + public static class ChartLabel implements Serializable { + + private String style; + private List labels = new ArrayList(); + + /** + * @return Returns css style. + */ + public String getStyle() { + return style; + } + + /** + * Sets css style for all labels in this class + * + * @param style css style string + */ + public void setStyle(String style) { + this.style = style; + } + + /** + * @return Returns a list of {@link ChartLabelItem} objects + */ + public List getLabels() { + return labels; + } + + /** + * Sets a list of {@link ChartLabelItem} objects + * + * @param labels + */ + public void setLabels(List labels) { + if (labels != null) { + this.labels = labels; + } + } + + /** + * Appends the specified element at the end of {@link ChartLabelItem} + * list + * + * @param label element to be appended + */ + public void addLabel(ChartLabelItem label) { + this.labels.add(label); + } + + /** + * Removes the specified element from the list of {@link ChartLabelItem} + * + * @param label + */ + public void removeLabel(ChartLabelItem label) { + this.labels.remove(label); + } + + /** + * This class represents a label placed at arbitrary location in the + * chart. The label can have html text and it can be styled using + * css-style. + * + * @author Invient + */ + public static class ChartLabelItem implements Serializable { + private String html; + private String style; + + /** + * Creates a new instance with specified html and style arguments. + * + * @param html + * @param style + */ + public ChartLabelItem(String html, String style) { + super(); + this.html = html; + this.style = style; + } + + /** + * @return Returns html of this label + */ + public String getHtml() { + return html; + } + + /** + * Sets html for this label + * + * @param html It can be plain or html string. + */ + public void setHtml(String html) { + this.html = html; + } + + /** + * @return Returns css-style of this label + */ + public String getStyle() { + return style; + } + + /** + * Sets css style for this label + * + * @param style + */ + public void setStyle(String style) { + this.style = style; + } + } + + } + + /** + * @return Returns a collection of x-axis. + */ + public LinkedHashSet getXAxes() { + return xAxes; + } + + /** + * Sets a collection of x-axis for the chart. The collection of x-axis is + * set only if argument xAxes is non-null. + * + * @param xAxes + */ + public void setXAxes(LinkedHashSet xAxes) { + if (xAxes != null) { + this.xAxes = xAxes; + } + } + + /** + * Adds specified x-axis to the collection of x-axis + * + * @param xAxis + * @return Returns true if the x-axis is added successfully otherwise false + */ + public boolean addXAxes(XAxis xAxis) { + return this.xAxes.add(xAxis); + } + + /** + * @return Returns a collection of y-axis. + */ + public LinkedHashSet getYAxes() { + return yAxes; + } + + /** + * Sets a collection of y-axis for the chart. The collection of y-axis is + * set only if argument yAxes is non-null + * + * @param yAxes + */ + public void setYAxes(LinkedHashSet yAxes) { + if (yAxes != null) { + this.yAxes = yAxes; + } + } + + /** + * Adds specified y-axis to the collection of y-axis + * + * @param yAxis + * @return Returns true if the y-axis is added successfully otherwise false + */ + public boolean addYAxes(YAxis yAxis) { + return this.yAxes.add(yAxis); + } + + /** + * @return Returns {@link Title} object + */ + public Title getTitle() { + return title; + } + + /** + * Sets the argument title only if the argument title is non-null + * + * @param title + */ + public void setTitle(Title title) { + if (title != null) { + this.title = title; + } + } + + /** + * @return Returns subtitle + */ + public SubTitle getSubtitle() { + return subtitle; + } + + /** + * Sets the argument subtitle only if the argument is non-null + * + * @param subtitle + */ + public void setSubtitle(SubTitle subtitle) { + if (subtitle != null) { + this.subtitle = subtitle; + } + } + + /** + * @return Returns tooltip object associated with this class + */ + public Tooltip getTooltip() { + return tooltip; + } + + /** + * Sets {@link Tooltip} object only if the argument tooltip is non-null + * + * @param tooltip + */ + public void setTooltip(Tooltip tooltip) { + if (tooltip != null) { + this.tooltip = tooltip; + } + } + + /** + * @return Returns legend object of the chart + */ + public Legend getLegend() { + return legend; + } + + /** + * Sets {@link Legend} object only if the argument legend is non-null + * + * @param legend + */ + public void setLegend(Legend legend) { + if (legend != null) { + this.legend = legend; + } + } + + /** + * @return Returns credit object of the chart + */ + public Credit getCredit() { + return credit; + } + + /** + * Sets the {@link Credit} object only if the argument credit is non-null + * + * @param credit + */ + public void setCredit(Credit credit) { + if (credit != null) { + this.credit = credit; + } + } + + /** + * @return Returns {@link GeneralChartConfig} object + */ + public GeneralChartConfig getGeneralChartConfig() { + return generalChartConfig; + } + + /** + * Sets {@link GeneralChartConfig} object only if the argument is non-null + * + * @param generalChartConfig + */ + public void setGeneralChartConfig(GeneralChartConfig generalChartConfig) { + if (generalChartConfig != null) { + this.generalChartConfig = generalChartConfig; + } + } + + LinkedHashMap getSeriesConfig() { + return seriesTypeConfig; + } + + /** + * Sets a set of {@link SeriesConfig} objects only if the argument is + * non-null + * + * @param seriesConfigs + */ + public void setSeriesConfig(LinkedHashSet seriesConfigs) { + if (seriesTypeConfig != null) { + this.seriesTypeConfig.clear(); + for (SeriesConfig config : seriesConfigs) { + addSeriesConfig(config); + } + } + } + + /** + * Adds the specified argument only if it is non-null. + * + * @param seriesConfig + * @throws IllegalArgumentException if the argument is null + */ + public void addSeriesConfig(SeriesConfig seriesConfig) { + if (seriesConfig == null) { + throw new IllegalArgumentException( + "Argument SeriesConfig cannot be null."); + } + this.seriesTypeConfig.put(getSeriesType(seriesConfig), seriesConfig); + } + + /** + * @param seriesConfig + * @return + */ + private static SeriesType getSeriesType(SeriesConfig seriesConfig) { + SeriesType seriesType = SeriesType.COMMONSERIES; + if (LineConfig.class.equals(seriesConfig.getClass())) { + seriesType = SeriesType.LINE; + } else if (SplineConfig.class.equals(seriesConfig.getClass())) { + seriesType = SeriesType.SPLINE; + } else if (ScatterConfig.class.equals(seriesConfig.getClass())) { + seriesType = SeriesType.SCATTER; + } else if (AreaConfig.class.equals(seriesConfig.getClass())) { + seriesType = SeriesType.AREA; + } else if (AreaSplineConfig.class.equals(seriesConfig.getClass())) { + seriesType = SeriesType.AREASPLINE; + } else if (BarConfig.class.equals(seriesConfig.getClass())) { + seriesType = SeriesType.BAR; + } else if (ColumnConfig.class.equals(seriesConfig.getClass())) { + seriesType = SeriesType.COLUMN; + } else if (PieConfig.class.equals(seriesConfig.getClass())) { + seriesType = SeriesType.PIE; + } + return seriesType; + } + + /** + * This class contains configuration properties at a chart level. + * + * @author Invient + */ + public static class GeneralChartConfig implements Serializable { + private Paint backgroundColor; + private Paint borderColor; + private Integer borderRadius; + private Integer borderWidth; + private Integer height; + private Integer width; + private Boolean ignoreHiddenSeries; + private Boolean inverted; + private Margin margin; + private Spacing spacing; + private Boolean showAxes; + private SeriesType type = SeriesType.LINE; + private ZoomType zoomType = ZoomType.NONE; + private boolean clientZoom = true; + private Boolean alignTicks; + private Boolean animation; + private String className; + private Boolean reflow; + private Boolean shadow; + private Plot plot; + private String style; + + /** + * This class represents drawing area of the chart and contains methods + * specific to it. + * + * @author chirag + */ + public static class Plot implements Serializable { + private Paint backgroundColor; + private String backgroundImage; + private Paint borderColor; + private Integer borderWidth; + private Boolean shadow; + + public Paint getBackgroundColor() { + return backgroundColor; + } + + public void setBackgroundColor(Paint backgroundColor) { + this.backgroundColor = backgroundColor; + } + + public String getBackgroundImage() { + return backgroundImage; + } + + public void setBackgroundImage(String backgroundImage) { + this.backgroundImage = backgroundImage; + } + + public Paint getBorderColor() { + return borderColor; + } + + public void setBorderColor(Paint borderColor) { + this.borderColor = borderColor; + } + + public Integer getBorderWidth() { + return borderWidth; + } + + public void setBorderWidth(Integer borderWidth) { + this.borderWidth = borderWidth; + } + + public Boolean getShadow() { + return shadow; + } + + public void setShadow(Boolean shadow) { + this.shadow = shadow; + } + + @Override + public String toString() { + return "Plot [backgroundColor=" + backgroundColor + + ", backgroundImage=" + backgroundImage + + ", borderColor=" + borderColor + ", borderWidth=" + + borderWidth + ", shadow=" + shadow + "]"; + } + + } + + /** + * This class represents space around the chart. The boundary of the + * chart includes axis, axis labels, legend, chart title and subtitle. + * + * @author Invient + */ + public static class Spacing implements Serializable { + private Integer left; + private Integer top; + private Integer right; + private Integer bottom; + + public Integer getLeft() { + return left; + } + + public void setLeft(Integer left) { + this.left = left; + } + + public Integer getTop() { + return top; + } + + public void setTop(Integer top) { + this.top = top; + } + + public Integer getRight() { + return right; + } + + public void setRight(Integer right) { + this.right = right; + } + + public Integer getBottom() { + return bottom; + } + + public void setBottom(Integer bottom) { + this.bottom = bottom; + } + + @Override + public String toString() { + return "Spacing [left=" + left + ", top=" + top + ", right=" + + right + ", bottom=" + bottom + "]"; + } + + } + + /** + * This class represents margin between the outer edge of the chart and + * the plot area. + * + * @author Invient + */ + public static class Margin implements Serializable { + private Integer left; + private Integer top; + private Integer right; + private Integer bottom; + + public Margin() { + } + + public Margin(Integer top, Integer right, Integer bottom, Integer left) { + this.top = top; + this.right = right; + this.bottom = bottom; + this.left = left; + } + + public Integer getLeft() { + return left; + } + + public void setLeft(Integer left) { + this.left = left; + } + + public Integer getTop() { + return top; + } + + public void setTop(Integer top) { + this.top = top; + } + + public Integer getRight() { + return right; + } + + public void setRight(Integer right) { + this.right = right; + } + + public Integer getBottom() { + return bottom; + } + + public void setBottom(Integer bottom) { + this.bottom = bottom; + } + + @Override + public String toString() { + return "Margin [left=" + left + ", top=" + top + ", right=" + + right + ", bottom=" + bottom + "]"; + } + + } + + /** + * @return + */ + public Boolean getAlignTicks() { + return alignTicks; + } + + /** + * When using multiple axis, the ticks of two or more opposite axes will + * automatically be aligned by adding ticks to the axis or axes with the + * least ticks. This can be prevented by setting alignTicks to false. + * + * @param alignTicks + */ + public void setAlignTicks(Boolean alignTicks) { + this.alignTicks = alignTicks; + } + + /** + * @return + */ + public Boolean getAnimation() { + return animation; + } + + /** + * Set the overall animation for all chart updating. + * + * @param animation + */ + public void setAnimation(Boolean animation) { + this.animation = animation; + } + + /** + * @return + */ + public String getClassName() { + return className; + } + + /** + * A CSS class name to apply to the charts container + * + * @param className + */ + public void setClassName(String className) { + this.className = className; + } + + /** + * @return Returns plot object representing chart's drawing area + */ + public Plot getPlot() { + return plot; + } + + /** + * Sets plot object + * + * @param plot + */ + public void setPlot(Plot plot) { + this.plot = plot; + } + + /** + * @return + */ + public Boolean getReflow() { + return reflow; + } + + /** + * A value of true indicates that the chart will fit the width of the + * charts container otherwise not. + * + * @param reflow + */ + public void setReflow(Boolean reflow) { + this.reflow = reflow; + } + + /** + * @return + */ + public Boolean getShadow() { + return shadow; + } + + /** + * A value of true indicates that the drop shadow will apply to the + * outer chart area otherwise not. + * + * @param shadow + */ + public void setShadow(Boolean shadow) { + this.shadow = shadow; + } + + /** + * @return + */ + public String getStyle() { + return style; + } + + /** + * A CSS string to apply to the charts container + * + * @param style + */ + public void setStyle(String style) { + this.style = style; + } + + /** + * @return + */ + public Paint getBackgroundColor() { + return backgroundColor; + } + + /** + * Sets the background color for the outer chart area + * + * @param backgroundColor + */ + public void setBackgroundColor(Paint backgroundColor) { + this.backgroundColor = backgroundColor; + } + + /** + * @return + */ + public Paint getBorderColor() { + return borderColor; + } + + /** + * Sets the border color for the outer chart border + * + * @param borderColor + */ + public void setBorderColor(Paint borderColor) { + this.borderColor = borderColor; + } + + /** + * @return + */ + public Integer getBorderRadius() { + return borderRadius; + } + + /** + * Sets radius for the outer chart border + * + * @param borderRadius + */ + public void setBorderRadius(Integer borderRadius) { + this.borderRadius = borderRadius; + } + + /** + * @return + */ + public Integer getBorderWidth() { + return borderWidth; + } + + /** + * Sets pixel width of the outer chart border + * + * @param borderWidth + */ + public void setBorderWidth(Integer borderWidth) { + this.borderWidth = borderWidth; + } + + /** + * @return + */ + public Integer getHeight() { + return height; + } + + /** + * Sets height for the chart + * + * @param height + */ + public void setHeight(Integer height) { + this.height = height; + } + + /** + * @return + */ + public Integer getWidth() { + return width; + } + + /** + * Sets width for the chart + * + * @param width + */ + public void setWidth(Integer width) { + this.width = width; + } + + /** + * @return + */ + public Boolean getIgnoreHiddenSeries() { + return ignoreHiddenSeries; + } + + /** + * If the argument is true, the axes will scale to the remaining visible + * series once one series is hidden. If the argument is false, hiding + * and showing a series will not affect the axes or the other series. + * + * @param ignoreHiddenSeries + */ + public void setIgnoreHiddenSeries(Boolean ignoreHiddenSeries) { + this.ignoreHiddenSeries = ignoreHiddenSeries; + } + + /** + * @return + */ + public Boolean getInverted() { + return inverted; + } + + /** + * If the argument is true then the x-axis is reversed. If a bar plot is + * present, it will be inverted automatically. + * + * @param inverted + */ + public void setInverted(Boolean inverted) { + this.inverted = inverted; + } + + /** + * @return + */ + public Margin getMargin() { + return margin; + } + + /** + * @param margin + */ + public void setMargin(Margin margin) { + this.margin = margin; + } + + /** + * @return + */ + public Boolean getShowAxes() { + return showAxes; + } + + /** + * If the argument is true then the axes will be shown initially. This + * is useful when the chart is empty and axes must be shown. + * + * @param showAxes + */ + public void setShowAxes(Boolean showAxes) { + this.showAxes = showAxes; + } + + /** + * @return + */ + public Spacing getSpacing() { + return spacing; + } + + /** + * @param spacing + */ + public void setSpacing(Spacing spacing) { + this.spacing = spacing; + } + + /** + * @return + */ + public SeriesType getType() { + return type; + } + + /** + * Sets series type to one of line, spline, scatter, area, areaspline, + * pie, bar and column. + * + * @param type + */ + public void setType(SeriesType type) { + this.type = type; + } + + /** + * @return + */ + public ZoomType getZoomType() { + return zoomType; + } + + /** + * Sets zoom type. It decides how a chart can be zoomed by dragging the + * mouse. + * + * @param zoomType + */ + public void setZoomType(ZoomType zoomType) { + this.zoomType = zoomType; + } + + /** + * @return + */ + public boolean isClientZoom() { + return clientZoom; + } + + /** + * If the argument is true then the scaling will happen on client. If + * the argument is false then the chart will not scale. In any case, the + * server will receive event notification if registered. + * + * @param clientZoom + */ + public void setClientZoom(boolean clientZoom) { + this.clientZoom = clientZoom; + } + + @Override + public String toString() { + return "Chart [backgroundColor=" + backgroundColor + + ", borderColor=" + borderColor + ", borderRadius=" + + borderRadius + ", borderWidth=" + borderWidth + + ", height=" + height + ", width=" + width + + ", ignoreHiddenSeries=" + ignoreHiddenSeries + + ", inverted=" + inverted + ", margin=" + margin + + ", spacing=" + spacing + ", showAxes=" + showAxes + + ", type=" + type + ", zoomType=" + zoomType + + ", alignTicks=" + alignTicks + ", animation=" + animation + + ", className=" + className + ", reflow=" + reflow + + ", shadow=" + shadow + ", plot=" + plot + ", style=" + + style + "]"; + } + + /** + * The value {@link ZoomType#X} represents horizontal zoom. The value + * {@link ZoomType#Y} represents vertical zoom. The value + * {@link ZoomType#XY} represents horizontal as well as vertical zoom. + * + * @author Invient + */ + public static enum ZoomType { + + X("x"), Y("y"), XY("xy"), NONE(""); + + private String type; + + private ZoomType(String type) { + this.type = type; + } + + public String getName() { + return this.type; + } + } + } + + /** + * This class contains general configuration options for all series types + * such as line, area and pie. + * + * @author Invient + */ + public static class SeriesConfig implements Serializable { + private Boolean allowPointSelect; + private Boolean animation; + private Boolean enableMouseTracking; + private Boolean showInLegend; + private String cursor; + // No impact in case of Pie chart + private Stacking stacking; + private Boolean showCheckbox; + // private Boolean selected; + private Boolean visible; // NA for pie + private Boolean shadow; // NA for scatter + private SeriesState hoverState; + private DataLabel dataLabel; + private Paint color; + + public SeriesConfig() { + } + + /** + * @return + */ + public Boolean getAllowPointSelect() { + return allowPointSelect; + } + + /** + * If the argument is true then the points of a can be selected + * otherwise not. Defaults to false, The point on a chart will toggle. + * Also, whenever a point is selected or deselected, the registered + * event listeners will be triggered. + * + * @param allowPointSelect + */ + public void setAllowPointSelect(Boolean allowPointSelect) { + this.allowPointSelect = allowPointSelect; + } + + public Boolean getAnimation() { + return animation; + } + + /** + * If the argument is true then animation will be enabled when a series + * will be displayed otherwise not. Defaults to false. + * + * @param animation + */ + public void setAnimation(Boolean animation) { + this.animation = animation; + } + + /** + * @return + */ + public Boolean getEnableMouseTracking() { + return enableMouseTracking; + } + + /** + * If the argument is true then the mouse tracking will be enabled for a + * series otherwise not. Defaults to true. + * + * @param enableMouseTracking + */ + public void setEnableMouseTracking(Boolean enableMouseTracking) { + this.enableMouseTracking = enableMouseTracking; + } + + /** + * @return + */ + public Boolean getShowInLegend() { + return showInLegend; + } + + /** + * If the argument is true then a series will be displayed in the legend + * otherwise not. Defaults to true. + * + * @param showInLegend + */ + public void setShowInLegend(Boolean showInLegend) { + this.showInLegend = showInLegend; + } + + /** + * @return + */ + public String getCursor() { + return cursor; + } + + /** + * Sets the cursor style. E.g. cursor can be set to css cursor style + * 'pointer', 'hand' or any other. Defaults to null. + * + * @param cursor + */ + public void setCursor(String cursor) { + this.cursor = cursor; + } + + /** + * @return + */ + public Stacking getStacking() { + return stacking; + } + + /** + * Specifies whether the values of each series should be stacked on top + * of each other or not. Defaults to null. If the argument is null then + * the values of each series are not stacked. + * + * @param stacking + */ + public void setStacking(Stacking stacking) { + this.stacking = stacking; + } + + /** + * @return + */ + public Boolean getShowCheckbox() { + return showCheckbox; + } + + /** + * If the argument is true then a checkbox is displayed next to the + * legend item in the legend area. Defaults to false + * + * @param showCheckbox + */ + public void setShowCheckbox(Boolean showCheckbox) { + this.showCheckbox = showCheckbox; + } + + // public Boolean getSelected() { + // return selected; + // } + // + // public void setSelected(Boolean selected) { + // this.selected = selected; + // } + + /** + * @return + */ + public Boolean getVisible() { + return visible; + } + + // Only in case of Pie chart exception is thrown + + /** + * If the argument is true then the series is visible otherwise not when + * a chart is rendered initially. Defaults to true However, this is not + * applicable for series related to Pie chart. + * + * @param visible + * @throws UnsupportedOperationException If this method is invoked on {@link PieConfig} + */ + public void setVisible(Boolean visible) + throws UnsupportedOperationException { + this.visible = visible; + } + + /** + * @return + */ + public Boolean getShadow() { + return shadow; + } + + // Only in case of Pie and Scatter chart exception is thrown + + /** + * If the argument is true then a shadow will be shown to the graph line + * otherwise not. Defaults to true. + * + * @param shadow + * @throws UnsupportedOperationException If this method is invoked on {@link PieConfig} + */ + public void setShadow(Boolean shadow) + throws UnsupportedOperationException { + this.shadow = shadow; + } + + /** + * @return + */ + public SeriesState getHoverState() { + return hoverState; + } + + /** + * Sets attributes which should be applied to a series when series is + * hovered. + * + * @param state + */ + public void setHoverState(SeriesState state) { + this.hoverState = state; + } + + /** + * @return + */ + public DataLabel getDataLabel() { + return dataLabel; + } + + /** + * Sets how point value should be formatted and displayed for each + * point. + * + * @param dataLabel + */ + public void setDataLabel(DataLabel dataLabel) { + this.dataLabel = dataLabel; + } + + /** + * @return + */ + public Paint getColor() { + return color; + } + + /** + * Sets color for the series. + * + * @param color + */ + public void setColor(Paint color) { + this.color = color; + } + + } + + /** + * This class contains various attributes to format data labels. The data + * labels are displayed along with points and axis. + * + * @author Invient + */ + public static class DataLabel implements Serializable { + private HorzAlign align; // NA for pie + private Boolean enabled = Boolean.TRUE; + private String formatterJsFunc; + private Integer rotation; + private String style; + private Integer x; + private Integer y; + private Color color; + + public DataLabel() { + + } + + /** + * If the argument is true then the datalabels will be displayed + * otherwise not. + * + * @param enabled + */ + public DataLabel(boolean enabled) { + this.enabled = enabled; + } + + /** + * @return + */ + public HorzAlign getAlign() { + return align; + } + + /** + * @param align + */ + public void setAlign(HorzAlign align) { + this.align = align; + } + + /** + * @return + */ + public Boolean getEnabled() { + return enabled; + } + + /** + * If the argument is true then the datalabels will be displayed + * otherwise not. + * + * @param enabled + */ + public void setEnabled(Boolean enabled) { + this.enabled = enabled; + } + + /** + * @return + */ + public String getFormatterJsFunc() { + return formatterJsFunc; + } + + /** + * Sets the argument string JavaScript function. This function will be + * called to format the data label. Refer to highchart documentation for + * more details on this + * http://www.highcharts.com/ref/#plotOptions-series-dataLabels + * + * @param formatterJsFunc + */ + public void setFormatterJsFunc(String formatterJsFunc) { + this.formatterJsFunc = formatterJsFunc; + } + + /** + * @return + */ + public Integer getRotation() { + return rotation; + } + + /** + * Sets text rotation in degrees + * + * @param rotation + */ + public void setRotation(Integer rotation) { + this.rotation = rotation; + } + + /** + * @return + */ + public String getStyle() { + return style; + } + + /** + * Sets css style for the data label + * + * @param style + */ + public void setStyle(String style) { + this.style = style; + } + + /** + * @return + */ + public Integer getX() { + return x; + } + + /** + * Sets the x position offset of the label relative to the point. + * Defaults to 0. + * + * @param x + */ + public void setX(Integer x) { + this.x = x; + } + + /** + * @return + */ + public Integer getY() { + return y; + } + + /** + * Sets the y position offset of the label relative to the point. + * Defaults to -6. + * + * @param y + */ + public void setY(Integer y) { + this.y = y; + } + + /** + * @return + */ + public Color getColor() { + return color; + } + + /** + * Sets color for the data labels. e.g. if the color is blue then in + * case of line series, for each point, the data label will be displayed + * in blue color. + * + * @param color + */ + public void setColor(Color color) { + this.color = color; + } + + @Override + public String toString() { + return "DataLabel [align=" + align + ", enabled=" + enabled + + ", formatter=" + formatterJsFunc + ", rotation=" + + rotation + ", style=" + style + ", x=" + x + ", y=" + y + + "]"; + } + + } + + /** + * This class contains configuration attributes of data labels specific to + * Pie series. + * + * @author Invient + */ + public final static class PieDataLabel extends DataLabel { + private Integer connectorWidth; + private Paint connectorColor; + private Integer connectorPadding; + private Integer distance; + + /** + * + */ + public PieDataLabel() { + + } + + /** + * If the argument is true then the datalabels will be displayed + * otherwise not. + * + * @param enabled + */ + public PieDataLabel(boolean enabled) { + super(enabled); + } + + /** + * @return + */ + public Integer getConnectorWidth() { + return connectorWidth; + } + + /** + * Sets width (in pixel) of the line connecting the data label to the + * pie slice. Defaults to 1. + * + * @param connectorWidth + */ + public void setConnectorWidth(Integer connectorWidth) { + this.connectorWidth = connectorWidth; + } + + /** + * @return + */ + public Paint getConnectorColor() { + return connectorColor; + } + + /** + * Sets the color of the line connecting the data label to the pie + * slice. + * + * @param connectorColor + */ + public void setConnectorColor(Paint connectorColor) { + this.connectorColor = connectorColor; + } + + /** + * @return + */ + public Integer getConnectorPadding() { + return connectorPadding; + } + + /** + * Sets the distance (in pixel) from the data label to the connector. + * Defaults to 5. + * + * @param connectorPadding + */ + public void setConnectorPadding(Integer connectorPadding) { + this.connectorPadding = connectorPadding; + } + + /** + * @return + */ + public Integer getDistance() { + return distance; + } + + /** + * Sets the distance (in pixel) of the data label from the pie's edge. + * + * @param distance + */ + public void setDistance(Integer distance) { + this.distance = distance; + } + + @Override + public String toString() { + return "PieDataLabel [connectorWidth=" + connectorWidth + + ", connectorColor=" + connectorColor + + ", connectorPadding=" + connectorPadding + ", distance=" + + distance + ", getAlign()=" + getAlign() + + ", getEnabled()=" + getEnabled() + ", getFormatter()=" + + getFormatterJsFunc() + ", getRotation()=" + getRotation() + + ", getStyle()=" + getStyle() + ", getX()=" + getX() + + ", getY()=" + getY() + ", toString()=" + super.toString() + + ", getClass()=" + getClass() + ", hashCode()=" + + hashCode() + "]"; + } + + } + + /** + * This class contains configuration properties for axis labels. The axis + * labels are the one which are displayed for each tick. + * + * @author Invient + */ + public static abstract class AxisDataLabel extends DataLabel { + private Integer step; + + public AxisDataLabel() { + super(); + } + + /** + * If the argument is true then the data labels will be displayed + * otherwise not. + * + * @param enabled + */ + public AxisDataLabel(boolean enabled) { + super(enabled); + } + + /** + * @return + */ + public Integer getStep() { + return step; + } + + /** + * Sets at what interval the labels on the axis should be displayed. + * Setting the step to 2 shows every other label. Defaults to null + * + * @param step + */ + public void setStep(Integer step) { + this.step = step; + } + } + + /** + * This class contains configuration properties specifically for x-axis + * labels. + * + * @author Invient + */ + public static final class XAxisDataLabel extends AxisDataLabel { + private Integer staggerLines; + + /** + * If the argument is true then the data labels will be displayed + * otherwise not. + * + * @param enabled + */ + public XAxisDataLabel(boolean enabled) { + super(enabled); + } + + public XAxisDataLabel() { + super(); + } + + /** + * @return + */ + public Integer getStaggerLines() { + return staggerLines; + } + + /** + * Sets number of lines to spread the labels over to make room or + * tighter labels. + * + * @param staggerLines + */ + public void setStaggerLines(Integer staggerLines) { + this.staggerLines = staggerLines; + } + } + + /** + * This class contains configuration properties specifically for x-axis + * labels. + * + * @author Invient + */ + public static final class YAxisDataLabel extends AxisDataLabel { + public YAxisDataLabel() { + super(); + } + + /** + * If the argument is true then the data labels will be displayed + * otherwise not. + * + * @param enabled + */ + public YAxisDataLabel(boolean enabled) { + super(enabled); + } + } + + /** + * This class contains configuration options for line series such as line + * and area but not column series. + * + * @author Invient + */ + public abstract static class BaseLineConfig extends SeriesConfig { + private Double pointStart; + private Double pointInterval; + private Boolean stickyTracking; + private Marker marker; + private DashStyle dashStyle; + private Integer lineWidth; + private Integer turboThreshold; + + /** + * @return + */ + public Double getPointStart() { + return pointStart; + } + + /** + * If no x values are given for the points in a series, the argument + * pointStart defines on what value to start. Defaults to 0. e.g. if a + * series contains values higher than 2 m $ then sets pointStart to + * 2,000,000 + * + * @param pointStart + */ + public void setPointStart(Double pointStart) { + this.pointStart = pointStart; + } + + /** + * @return + */ + public Double getPointInterval() { + return pointInterval; + } + + /** + * If no x values are given for the points in a series, the argument + * pointInterval defines the interval of the x values. For example, if a + * series contains one value every day then set pointInterval to 24 * + * 3600 * 1000 + * + * @param pointInterval + */ + public void setPointInterval(Double pointInterval) { + this.pointInterval = pointInterval; + } + + /** + * @return + */ + public Boolean getStickyTracking() { + return stickyTracking; + } + + /** + * If the argument is true then the mouseout event on a series is not + * triggered until mouse moves over another series or comes out of the + * plot area. If the argument is true then the mouseout event occurs as + * soon as mouse leaves area near to the point or marker + * + * @param stickyTracking + */ + public void setStickyTracking(Boolean stickyTracking) { + this.stickyTracking = stickyTracking; + } + + /** + * @return + */ + public Marker getMarker() { + return marker; + } + + /** + * Sets marker for points of a series + * + * @param marker + */ + public void setMarker(Marker marker) { + this.marker = marker; + } + + /** + * @return + */ + public DashStyle getDashStyle() { + return dashStyle; + } + + /** + * Sets dash style to use when drawing a series. + * + * @param dashStyle + */ + public void setDashStyle(DashStyle dashStyle) { + this.dashStyle = dashStyle; + } + + /** + * @return + */ + public Integer getLineWidth() { + return lineWidth; + } + + /** + * Sets width of a line + * + * @param lineWidth + */ + public void setLineWidth(Integer lineWidth) { + this.lineWidth = lineWidth; + } + + public Integer getTurboThreshold() { + return turboThreshold; + } + + public void setTurboThreshold(Integer turboThreshold) { + this.turboThreshold = turboThreshold; + } + } + + public static enum DashStyle { + SOLID("Solid"), SHORT_DASH("ShortDash"), SHORT_DOT("ShortDot"), SHORT_DASH_DOT( + "ShortDashDot"), SHORT_DASH_DOT_DOT("ShortDashDotDot"), DOT( + "Dot"), DASH("Dash"), LONG_DASH("LongDash"), DASH_DOT("DashDot"), LONG_DASH_DOT( + "LongDashDot"), LONG_DASH_DOT_DOT("LongDashDotDot"); + private String name; + + private DashStyle(String name) { + this.name = name; + } + + public String getName() { + return this.name; + } + } + + /** + * This class contains configuration options for area series, area and + * areaspline. + * + * @author Invient + */ + public static class AreaConfig extends BaseLineConfig { + private Paint fillColor; + private Paint lineColor; + private Double fillOpacity; + private Integer threshold; + + /** + * @return Returns fill color of the area. + */ + public Paint getFillColor() { + return fillColor; + } + + /** + * Sets fill gradient for the area + * + * @param fillColor + */ + public void setFillColor(Paint fillColor) { + this.fillColor = fillColor; + } + + /** + * @return Returns color of a line drawing above the area + */ + public Paint getLineColor() { + return lineColor; + } + + /** + * Sets line color for the line of an area. + * + * @param lineColor + */ + public void setLineColor(Paint lineColor) { + this.lineColor = lineColor; + } + + /** + * @return Returns opacity (transparency) which will be used when the area is filled with the fill color + */ + public Double getFillOpacity() { + return fillOpacity; + } + + /** + * Sets opacity for the area + * + * @param fillOpacity + */ + public void setFillOpacity(Double fillOpacity) { + this.fillOpacity = fillOpacity; + } + + /** + * @return Returns threadshold of the area + */ + public Integer getThreshold() { + return threshold; + } + + /** + * Sets threshold value which servers as the base for the area, for + * distinguishing between values above and below a threshold. Defaults + * to 0. + * + * @param threshold + */ + public void setThreshold(Integer threshold) { + this.threshold = threshold; + } + + } + + /** + * This class contains configuration options for areaspline series + * + * @author Invient + */ + public static class AreaSplineConfig extends AreaConfig { + + } + + /** + * This class contains configuration options for line series + * + * @author Invient + */ + public static class LineConfig extends BaseLineConfig { + private Boolean step; + + /** + * @return Returns true if the line should be drawn using steps otherwise false. + */ + public Boolean getStep() { + return step; + } + + /** + * If the argument is true then line will be drawn using steps otherwise + * not. Defaults to false. + * + * @param step + */ + public void setStep(Boolean step) { + this.step = step; + } + } + + /** + * This class contains configuration options for scatter series + * + * @author Invient + */ + public static class ScatterConfig extends BaseLineConfig { + + /** + * @param shadow + * @throws UnsupportedOperationException Scatter series does not support shadow so this method + * throws an exception if invoked. + */ + @Override + public void setShadow(Boolean shadow) + throws UnsupportedOperationException { + throw new UnsupportedOperationException( + "Scatter chart does not support shadow."); + } + + /** + * @return Returns null as scatter series does not have shadow. + */ + @Override + public Boolean getShadow() { + return null; + } + } + + /** + * This class contains configuration options for spline series + * + * @author Invient + */ + public static class SplineConfig extends BaseLineConfig { + + } + + /** + * This class contains configuration options for pie series. + * + * @author Invient + */ + public static class PieConfig extends SeriesConfig { + private Integer centerX; + private Integer centerY; + private Paint borderColor; + private Double borderWidth; + private Integer innerSize; + private Integer size; + private Integer slicedOffset; + private Boolean ignoreHiddenPoint; + + public Boolean getIgnoreHiddenPoint() { + return ignoreHiddenPoint; + } + + public void setIgnoreHiddenPoint(Boolean ignoreHiddenPoint) { + this.ignoreHiddenPoint = ignoreHiddenPoint; + } + + /** + * @return Returns x position (in pixel) of the center of the pie chart relative to + * the plot area. + */ + public Integer getCenterX() { + return centerX; + } + + /** + * Sets x position (in pixel) of the center of the pie chart relative to + * the plot area. + * + * @param centerX + */ + public void setCenterX(Integer centerX) { + this.centerX = centerX; + } + + /** + * @return Returns y position (in pixel) of the center of the pie chart relative to + * the plot area. + */ + public Integer getCenterY() { + return centerY; + } + + /** + * Sets y position (in pixel) of the center of the pie chart relative to + * the plot area. + * + * @param centerY + */ + public void setCenterY(Integer centerY) { + this.centerY = centerY; + } + + /** + * @return Returns color of border surrounding each slice. + */ + public Paint getBorderColor() { + return borderColor; + } + + /** + * Sets color of border surrounding each slice. + * + * @param borderColor + */ + public void setBorderColor(Paint borderColor) { + this.borderColor = borderColor; + } + + /** + * @return Returns width of the border surrounding each slice. + */ + public Double getBorderWidth() { + return borderWidth; + } + + /** + * Sets width of border surrounding each slice. + * + * @param borderWidth + */ + public void setBorderWidth(Double borderWidth) { + this.borderWidth = borderWidth; + } + + /** + * @return Returns size of the inner diameter of the pie. + */ + public Integer getInnerSize() { + return innerSize; + } + + /** + * Sets the size of the inner diameter for the pie. Any value greater + * than 0 renders a donut chart. + * + * @param innerSize + */ + public void setInnerSize(Integer innerSize) { + this.innerSize = innerSize; + } + + /** + * @return Returns size of diameter of the pie relative to the plot area. + */ + public Integer getSize() { + return size; + } + + /** + * Sets size of diameter of the pie relative to the plot area. + * + * @param size + */ + public void setSize(Integer size) { + this.size = size; + } + + /** + * @return Returns offset in pixel by which a slice should be moved out from the + * center. + */ + public Integer getSlicedOffset() { + return slicedOffset; + } + + /** + * Sets offset in pixel by which a slice should be moved out from the + * center. + * + * @param slicedOffset + */ + public void setSlicedOffset(Integer slicedOffset) { + this.slicedOffset = slicedOffset; + } + + /** + * @throws UnsupportedOperationException Pie chart does not support visible property so this + * method throws an exception if invoked. + */ + @Override + public void setVisible(Boolean visible) + throws UnsupportedOperationException { + throw new UnsupportedOperationException( + "Pie chart does not support visible property."); + } + + /** + * @return Returns null as pie does not support toggle (show/hide pie) feature. + */ + @Override + public Boolean getVisible() { + return null; + } + + /** + * Sets an object of {@link PieDataLabel} which contains configuration + * for formatting data labels. + * + * @param dataLabel + */ + public void setDataLabel(PieDataLabel dataLabel) { + super.setDataLabel(dataLabel); + } + + /** + * + */ + public PieDataLabel getDataLabel() { + return (PieDataLabel) super.getDataLabel(); + } + + /** + * Sets state which should be applied to a slice when a mouse is over + * the slice + * + * @param state + */ + public void setHoverState(NonLinearSeriesState state) { + super.setHoverState(state); + } + + public NonLinearSeriesState getHoverState() { + if (super.getHoverState() instanceof NonLinearSeriesState) { + return (NonLinearSeriesState) super.getHoverState(); + } + return null; + } + + } + + /** + * This class contains configuration options for bar and column series. + * + * @author Invient + */ + public abstract static class BaseBarConfig extends SeriesConfig { + private Paint borderColor; + private Integer borderRadius; + private Integer borderWidth; + private Boolean colorByPoint; + private Double groupPadding; + private Double minPointLength; + private Double pointPadding; + private Integer pointWidth; + + /** + * @return + */ + public Paint getBorderColor() { + return borderColor; + } + + /** + * Sets the color of the border surronding each column or bar. + * + * @param borderColor + */ + public void setBorderColor(Paint borderColor) { + this.borderColor = borderColor; + } + + /** + * @return + */ + public Integer getBorderRadius() { + return borderRadius; + } + + /** + * Sets corner radius of the border surronding each column or bar. + * + * @param borderRadius + */ + public void setBorderRadius(Integer borderRadius) { + this.borderRadius = borderRadius; + } + + /** + * @return + */ + public Integer getBorderWidth() { + return borderWidth; + } + + /** + * Sets width of the border surronding each column or bar. + * + * @param borderWidth + */ + public void setBorderWidth(Integer borderWidth) { + this.borderWidth = borderWidth; + } + + /** + * @return + */ + public Boolean getColorByPoint() { + return colorByPoint; + } + + /** + * If the argument is true then each point (bar or column in a series + * will have a different color otherwise all points (bars/columns) of a + * series will have same color. + * + * @param colorByPoint + */ + public void setColorByPoint(Boolean colorByPoint) { + this.colorByPoint = colorByPoint; + } + + /** + * @return + */ + public Double getGroupPadding() { + return groupPadding; + } + + /** + * Sets padding between each value groups, in x axis units. Defaults to + * 0.2. + * + * @param groupPadding + */ + public void setGroupPadding(Double groupPadding) { + this.groupPadding = groupPadding; + } + + /** + * @return + */ + public Double getMinPointLength() { + return minPointLength; + } + + /** + * Sets the minimal height for a column or width for a bar. By default, + * 0 values are not shown. To visualize a 0 (or close to zero) point, + * set the minimal point length to a pixel value like 3. In stacked + * column charts, minPointLength might not be respected for tightly + * packed values. Defaults to 0. (For detail, refer to + * http://www.highcharts.com/ref/#plotOptions-bar); + * + * @param minPointLength + */ + public void setMinPointLength(Double minPointLength) { + this.minPointLength = minPointLength; + } + + /** + * @return + */ + public Double getPointPadding() { + return pointPadding; + } + + /** + * Sets padding between each column or bar, in x axis units. + * + * @param pointPadding + */ + public void setPointPadding(Double pointPadding) { + this.pointPadding = pointPadding; + } + + /** + * @return + */ + public Integer getPointWidth() { + return pointWidth; + } + + /** + * Sets width of each bar or column in pixel. + * + * @param pointWidth + */ + public void setPointWidth(Integer pointWidth) { + this.pointWidth = pointWidth; + } + + /** + * Sets state which should be applied to a bar or column when a mouse is + * over the bar or column + * + * @param state + */ + public void setHoverState(NonLinearSeriesState state) { + super.setHoverState(state); + } + + /** + * + */ + public NonLinearSeriesState getHoverState() { + if (super.getHoverState() instanceof NonLinearSeriesState) { + return (NonLinearSeriesState) super.getHoverState(); + } + return null; + } + } + + /** + * This class contains configuration options for column series. + * + * @author Invient + */ + public static class ColumnConfig extends BaseBarConfig { + + } + + /** + * This class contains configuration options for bar series. + * + * @author Invient + */ + public static class BarConfig extends BaseBarConfig { + + } + + /** + * Defines ways in which series of a chart can be stacked. + *

+ * Stacking.Normal - represents that the values of each series are stacked. + *

+ * Stacking.Percent - represents that the the values of each series are + * stacked based on percentage of sum of total value, where total value is + * sum of values of all points on a particular tick of an axis. + * + * @author Invient + */ + public static enum Stacking { + NORMAL("normal"), PERCENT("percent"); + private String stacking; + + private Stacking(String stacking) { + this.stacking = stacking; + } + + public String getName() { + return this.stacking; + } + } + + /** + * Defines configuration per point in a series. It is possible to assign + * each point a different color and marker. + * + * @author Invient + */ + public static final class PointConfig implements Serializable { + private Boolean sliced; + private Boolean selected; + private Paint color; + private Marker marker; + + /** + * Creates an instance of this class with specified marker + * + * @param marker + */ + public PointConfig(Marker marker) { + this(null, null, null, marker); + } + + /** + * Creates an instance of this class with specified color + * + * @param color + */ + public PointConfig(Paint color) { + this(null, null, color, null); + } + + /** + * Creates an instance of this class with specified argument. The sliced + * attribute has meaning only for Pie chart/series. + * + * @param sliced + */ + public PointConfig(Boolean sliced) { + this(sliced, sliced, null, null); + } + + /** + * @param sliced - If true then the slice of a pie will be at an offset + * from the center of the pie. Applicable only for Pie + * chart/series. + * @param selected - If true then the point, to which this object is + * associated, will be shown as selected otherwise not. + * @param color - Specifies individual color for a point, to which this + * object is associated. + * @param marker - Specifies marker for a point, to which this object is + * associated. + * @see Marker + * @see Color + */ + public PointConfig(Boolean sliced, Boolean selected, Paint color, + Marker marker) { + super(); + this.sliced = sliced; + this.selected = selected; + this.color = color; + this.marker = marker; + } + + /** + * @return + */ + public Boolean getSliced() { + return sliced; + } + + /** + * @param sliced + */ + public void setSliced(Boolean sliced) { + this.sliced = sliced; + } + + /** + * @return + */ + public Boolean getSelected() { + return selected; + } + + /** + * @param selected + */ + public void setSelected(Boolean selected) { + this.selected = selected; + } + + /** + * @return + */ + public Paint getColor() { + return color; + } + + /** + * @param color + */ + public void setColor(Paint color) { + this.color = color; + } + + /** + * @return + */ + public Marker getMarker() { + return marker; + } + + /** + * @param marker + */ + public void setMarker(Marker marker) { + this.marker = marker; + } + + /** + * @return Returns string representation of this object. + */ + @Override + public String toString() { + return "PointConfig [sliced=" + sliced + ", selected=" + selected + + ", color=" + color + ", marker=" + marker + "]"; + } + + } + + /** + * A chart has a title and a subtitle. This class defines attributes which + * are common to both. + *

+ * The text of a title can be plain text or html text containing html + * elements. It is also possible to apply css to the title. The css must be + * valid css string e.g. { color: 'red' } + * + * @author Invient + * @see Title + * @see SubTitle + * @see HorzAlign + * @see VertAlign + */ + public static abstract class TitleBase implements Serializable { + private HorzAlign align; + private VertAlign vertAlign; + private Boolean floating; + private String text; + private Integer x; + private Integer y; + private String style; + + /** + * @return + */ + public HorzAlign getAlign() { + return align; + } + + /** + * Sets horizontal alignment of the title. Defaults to HorzAlign.CENTER + * + * @param align + */ + public void setAlign(HorzAlign align) { + this.align = align; + } + + /** + * @return + */ + public VertAlign getVertAlign() { + return vertAlign; + } + + /** + * Sets horizontal alignment of the title. Defaults to VertAlign.TOP + * + * @param vertAlign + */ + public void setVertAlign(VertAlign vertAlign) { + this.vertAlign = vertAlign; + } + + /** + * @return + */ + public Boolean getFloating() { + return floating; + } + + /** + * If the argument is true then the plot area will not move to make + * space for the chart title. Defaults to false. + * + * @param floating + */ + public void setFloating(Boolean floating) { + this.floating = floating; + } + + /** + * @return + */ + public String getText() { + return text; + } + + /** + * Sets text for the chart's title. The text can be plain or html + * string. + * + * @param text + */ + public void setText(String text) { + this.text = text; + } + + /** + * @return + */ + public Integer getX() { + return x; + } + + /** + * Sets x position (in pixel) of the title relative to the alignment + * within Spacing.left and Spacing.right. Defaults to 0 + * + * @param x + */ + public void setX(Integer x) { + this.x = x; + } + + /** + * @return + */ + public Integer getY() { + return y; + } + + /** + * Sets y position (in pixel) of the title relative to the alignment + * within Spacing.top and Spacing.bottom. Defaults to 0 + * + * @param y + */ + public void setY(Integer y) { + this.y = y; + } + + /** + * @return + */ + public String getStyle() { + return style; + } + + /** + * Sets css for the title. The css must be a valid css object. e.g. css + * string "{ color:'red' }" is valid but "{ color: 'red'" is invalid. + * + * @param style + */ + public void setStyle(String style) { + this.style = style; + } + } + + /** + * Defines attributes of chart title. + * + * @author Invient + */ + public static final class Title extends TitleBase { + private Integer margin; + + /** + * @return + */ + public Integer getMargin() { + return margin; + } + + /** + * Sets margin (in pixel) between the chart title and subtitle, if any. + * If chart subtitle doesn't exist then it indicates the margin between + * subtitle and plotarea. Defaults to 15 + * + * @param margin + */ + public void setMargin(Integer margin) { + this.margin = margin; + } + } + + /** + * Defines attributes of chart subtitle. + * + * @author Invient + */ + public static final class SubTitle extends TitleBase { + + } + + public static enum HorzAlign { + LEFT("left"), CENTER("center"), RIGHT("right"); + private String align; + + private HorzAlign(String align) { + this.align = align; + } + + public String getName() { + return this.align; + } + } + + public static enum VertAlign { + TOP("top"), MIDDLE("middle"), BOTTOM("bottom"); + private String align; + + private VertAlign(String align) { + this.align = align; + } + + public String getName() { + return this.align; + } + } + + /** + * Defines state for a series and point. A series can be in hover state. A + * point can be in hover and select state. In each state, a series and a + * point can have different visual clues. This is achived by setting some + * attributes of a seires and point. + * + * @author Invient + * @see SeriesState + */ + public static interface State extends Serializable { + public Boolean getEnabled(); + } + + /** + * Defines a set of attributes which will be applied to a series upon hover. + * The attributes linWidth is not applicable for Pie, Scatter, Bar and + * Column series. + * + * @author Invient + */ + public static class SeriesState implements State { + private Boolean enabled; + private Integer lineWidth; + + public Boolean getEnabled() { + return enabled; + } + + /** + * If the argument is true then the other properties of this class have + * impact on visual rendering of the series when a series is hovered or + * when a mouse is over the legend. Enabling this has a performance + * penalty. + *

+ * Defaults to false. + * + * @param enabled + */ + public void setEnabled(Boolean enabled) { + this.enabled = enabled; + } + + /** + * @return + */ + public Integer getLineWidth() { + return lineWidth; + } + + /** + * Sets width of a line in pixel. Defaults to 2. + * + * @param lineWidth + */ + public void setLineWidth(Integer lineWidth) { + this.lineWidth = lineWidth; + } + } + + /** + * Defines a set of attributes which are meaningful for bar and colum + * series. + * + * @author Invient + */ + public static class NonLinearSeriesState extends SeriesState { + private Double brightness; + + /** + * @return + */ + public Double getBrightness() { + return brightness; + } + + /** + * Sets intensity of brightness for a point. This applies only to bar + * and column series/chart + *

+ * Defaults to 0.1 + * + * @param brightness + */ + public void setBrightness(Double brightness) { + this.brightness = brightness; + } + } + + /** + * Defines a collection of attributes which makes a marker. Markers are + * generally used to annotate a graph points. + * + * @author Invient + */ + private static class MarkerAttribute implements Serializable { + private Boolean enabled; + private Paint fillColor; + private Paint lineColor; + private Integer lineWidth; + private Integer radius; + + public Boolean getEnabled() { + return enabled; + } + + public void setEnabled(Boolean enabled) { + this.enabled = enabled; + } + + public Paint getFillColor() { + return fillColor; + } + + public void setFillColor(Paint fillColor) { + this.fillColor = fillColor; + } + + public Paint getLineColor() { + return lineColor; + } + + public void setLineColor(Paint lineColor) { + this.lineColor = lineColor; + } + + public Integer getLineWidth() { + return lineWidth; + } + + public void setLineWidth(Integer lineWidth) { + this.lineWidth = lineWidth; + } + + public Integer getRadius() { + return radius; + } + + public void setRadius(Integer radius) { + this.radius = radius; + } + + @Override + public String toString() { + return "MarkerStateAttribute [enabled=" + enabled + ", fillColor=" + + fillColor + ", lineColor=" + lineColor + ", lineWidth=" + + lineWidth + ", radius=" + radius + "]"; + } + + } + + /** + * Defines a set of attributes which gets applied to a point when a point is + * selected or hovered. By default, markers are enabled so when a mouse is + * over a point marker gets applied. To turn off marker, set flag enabled to + * false. + *

+ * A point marker is useful only if the marker is not an image. + * + * @author Invient + * @see ImageMarker + * @see SymbolMarker + */ + public static final class MarkerState implements State { + private MarkerAttribute markerAttribute = new MarkerAttribute(); + + /** + * Creates this marker with enabled = true + */ + public MarkerState() { + markerAttribute.setEnabled(true); + } + + /** + * Creates this marker with specified argument. If enabled = false then + * the marker will not be applied to a point on hover or select state. + */ + public MarkerState(boolean enabled) { + markerAttribute.setEnabled(enabled); + } + + /** + * + */ + public Boolean getEnabled() { + return markerAttribute.getEnabled(); + } + + /** + * If enabled = false then the marker will not be applied to a point on + * hover or select state. Defaults to true + * + * @param enabled + */ + public void setEnabled(Boolean enabled) { + this.markerAttribute.setEnabled(enabled); + } + + /** + * @return + */ + public Paint getFillColor() { + return markerAttribute.getFillColor(); + } + + /** + * Sets fill color for the marker. When not specified it takes color of + * a series or point. + * + * @param fillColor + */ + public void setFillColor(Paint fillColor) { + this.markerAttribute.setFillColor(fillColor); + } + + /** + * @return + */ + public Paint getLineColor() { + return markerAttribute.getLineColor(); + } + + /** + * Sets color of the point marker's outline. When not specified it takes + * color of a series or point. + * + * @param lineColor + */ + public void setLineColor(Paint lineColor) { + this.markerAttribute.setLineColor(lineColor); + } + + /** + * @return + */ + public Integer getLineWidth() { + return markerAttribute.getLineWidth(); + } + + /** + * Sets width of the point marker's outline. Defaults to 0. + * + * @param lineWidth + */ + public void setLineWidth(Integer lineWidth) { + this.markerAttribute.setLineWidth(lineWidth); + } + + /** + * @return + */ + public Integer getRadius() { + return markerAttribute.getRadius(); + } + + /** + * Sets radius of the point marker. Defaults to 0. + * + * @param radius + */ + public void setRadius(Integer radius) { + this.markerAttribute.setRadius(radius); + } + + @Override + public String toString() { + return "MarkerState [enabled=" + getEnabled() + ", fillColor=" + + getFillColor() + ", lineColor=" + getLineColor() + + ", lineWidth=" + getLineWidth() + ", radius=" + + getRadius() + "]"; + } + + } + + /** + * Defines a marker for a point. Markers are applied to a point of chart's + * series. The marker can be applied at the time of drawing the chart or + * when a point is selcted or hovered. + *

+ * There are two types of marker. + *

    + *
  • + * {@link SymbolMarker}
  • + *
  • + * {@link ImageMarker}
  • + *
+ * + * @author Invient + * @see SymbolMarker + * @see ImageMarker + */ + public static interface Marker extends Serializable { + public Boolean getEnabled(); + + public void setEnabled(Boolean enabled); + } + + /** + * Defines attributes for a marker. + * + * @author Invient + * @see SymbolMarker + * @see ImageMarker + */ + public static abstract class AbstractMarker implements Marker { + private MarkerAttribute markerAttribute = new MarkerAttribute(); + + public AbstractMarker() { + } + + public AbstractMarker(boolean enabled) { + this.markerAttribute.setEnabled(enabled); + } + + protected Paint getLineColor() { + return markerAttribute.getLineColor(); + } + + protected void setLineColor(Paint lineColor) { + this.markerAttribute.setLineColor(lineColor); + } + + protected Paint getFillColor() { + return markerAttribute.getFillColor(); + } + + protected void setFillColor(Paint fillColor) { + this.markerAttribute.setFillColor(fillColor); + } + + protected Integer getLineWidth() { + return markerAttribute.getLineWidth(); + } + + protected void setLineWidth(Integer lineWidth) { + this.markerAttribute.setLineWidth(lineWidth); + } + + protected Integer getRadius() { + return markerAttribute.getRadius(); + } + + protected void setRadius(Integer radius) { + this.markerAttribute.setRadius(radius); + } + + public Boolean getEnabled() { + return markerAttribute.getEnabled(); + } + + public void setEnabled(Boolean enabled) { + this.markerAttribute.setEnabled(enabled); + } + + } + + /** + * This marker can take url of an image which will be used as a marker for a + * point or all points of a series. + *

+ * The url of an image must be with respect to root of the web application. + * e.g. If an image named temperature.png is under directory + * /img/climate then the url must be + * /img/climate/temperature.png + * + * @author Invient + */ + public static class ImageMarker extends AbstractMarker { + private String imageURL; + + /** + * Creates this marker with specified arguments. + * + * @param imageURL - URL of an image + * @param enabled - If false then this marker will not be applied to a + * point. What this means is that the data points of a line + * chart will not stand out. + */ + public ImageMarker(String imageURL, boolean enabled) { + super(enabled); + this.imageURL = imageURL; + } + + /** + * Creates this marker with specified arguments. + * + * @param imageURL - URL of an image + */ + public ImageMarker(String imageURL) { + super(true); + this.imageURL = imageURL; + } + + /** + * @return + */ + public String getImageURL() { + return imageURL; + } + + /** + * @param imageURL + */ + public void setImageURL(String imageURL) { + this.imageURL = imageURL; + } + + @Override + public String toString() { + return "ImageMarker [imageURL=" + imageURL + ", enabled" + + getEnabled() + "]"; + } + } + + /** + * This marker has predefined shape which cannot be changed. However, marker + * attributes can be set. + * + * @author Invient + */ + public static class SymbolMarker extends AbstractMarker { + private Symbol symbol; + private MarkerState hoverState; + private MarkerState selectState; + + /** + * Creates this marker with enabled = true + */ + public SymbolMarker() { + super(true); + } + + /** + * Creates this marker with specified arguments. + * + * @param enabled If false then this marker will not be applied to a point. + * What this means is that the data points of a line chart + * will not stand out. + */ + public SymbolMarker(boolean enabled) { + super(enabled); + } + + /** + * Creates this marker with specified arguments. + * + * @param lineColor - Color of the point marker's outline + */ + public SymbolMarker(Paint lineColor) { + super(true); + super.setLineColor(lineColor); + } + + /** + * Creates this marker with specified arguments. + * + * @param radius Radius of the point marker. + */ + public SymbolMarker(Integer radius) { + super(true); + this.setRadius(radius); + } + + /** + * Creates this marker with specified arguments. + * + * @param symbol It must be one of the predefine symbol such as + * Symbol.CIRCLE or Symbol.DIAMOND + */ + public SymbolMarker(Symbol symbol) { + super(true); + this.symbol = symbol; + } + + /** + * Creates this marker with specified arguments. + * + * @param lineColor Color of the point marker's outline + * @param radius Radius of the point marker. + */ + public SymbolMarker(Paint lineColor, Integer radius) { + super(true); + super.setLineColor(lineColor); + super.setRadius(radius); + } + + /** + * Creates this marker with specified arguments. + * + * @param lineColor - Color of the point marker's outline + * @param radius Radius of the point marker. + * @param symbol It must be one of the predefine symbol such as + * Symbol.CIRCLE or Symbol.DIAMOND + */ + public SymbolMarker(Paint lineColor, Integer radius, Symbol symbol) { + super(true); + super.setLineColor(lineColor); + super.setRadius(radius); + this.symbol = symbol; + } + + /** + * + */ + @Override + public Paint getLineColor() { + return super.getLineColor(); + } + + /** + * Sets color of the point marker's outline + * + * @param lineColor + */ + @Override + public void setLineColor(Paint lineColor) { + super.setLineColor(lineColor); + } + + /** + * + */ + @Override + public Paint getFillColor() { + return super.getFillColor(); + } + + /** + * Sets color of the point marker + * + * @param fillColor + */ + @Override + public void setFillColor(Paint fillColor) { + super.setFillColor(fillColor); + } + + /** + * + */ + @Override + public Integer getLineWidth() { + return super.getLineWidth(); + } + + /** + * Sets width of the point marker outline + * + * @param lineWidth + */ + @Override + public void setLineWidth(Integer lineWidth) { + super.setLineWidth(lineWidth); + } + + /** + * + */ + @Override + public Integer getRadius() { + return super.getRadius(); + } + + /** + * Sets radius of the point marker + * + * @param radius + */ + @Override + public void setRadius(Integer radius) { + super.setRadius(radius); + } + + /** + * @return + */ + public Symbol getSymbol() { + return symbol; + } + + /** + * Sets symbol for the point marker. It must be one of the predefine + * symbol such as Symbol.CIRCLE or Symbol.DIAMOND + * + * @param symbol + */ + public void setSymbol(Symbol symbol) { + this.symbol = symbol; + } + + /** + * @return + */ + public MarkerState getHoverState() { + return hoverState; + } + + /** + * Sets marker to be applied to a point when it is hovered. + * + * @param hoverState + */ + public void setHoverState(MarkerState hoverState) { + this.hoverState = hoverState; + } + + /** + * @return + */ + public MarkerState getSelectState() { + return selectState; + } + + /** + * Sets marker to be applied to a point when it is selected. + * + * @param selectState + */ + public void setSelectState(MarkerState selectState) { + this.selectState = selectState; + } + + @Override + public String toString() { + return "SymbolMarker [symbol=" + symbol + ", hoverState=" + + hoverState + ", selectState=" + selectState + + ", getLineColor()=" + getLineColor() + + ", getFillColor()=" + getFillColor() + + ", getLineWidth()=" + getLineWidth() + ", getRadius()=" + + getRadius() + ", getSymbol()=" + getSymbol() + + ", getHoverState()=" + getHoverState() + + ", getSelectState()=" + getSelectState() + "]"; + } + + /** + * Defines predefined marker shapes to be used along with + * {@link SymbolMarker} + * + * @author Invient + * @see SymbolMarker + */ + public static enum Symbol { + CIRCLE("circle"), DIAMOND("diamond"), SQUARE("square"), TRIANGLE( + "triangle"), TRIANGLE_DOWN("triangle-down"); + private String symbol; + + private Symbol(String symbol) { + this.symbol = symbol; + } + + public String getName() { + return this.symbol; + } + } + + } + + /** + * This class defines attributes common to X axis and Y axis. A chart can + * have one or more axis of each type. + * + * @author chirag + * @see XAxis + * @see YAxis + */ + public static abstract class AxisBase implements Axis { + private String id; + + private AxisType type = AxisType.LINEAR; + private AxisTitle title; + private AxisDataLabel label; + private LinkedHashSet plotBands = new LinkedHashSet(); + private LinkedHashSet plotLines = new LinkedHashSet(); + + private Paint alternateGridColor; + private Boolean endOnTick; + + private Grid grid; + + private Paint lineColor; + private Integer lineWidth; + private Axis linkedTo; + + private Double maxPadding; + private Integer maxZoom; + // private Double max; + // private Double min; + private Double minPadding; + + private Tick tick; + private MinorGrid minorGrid; + private MinorTick minorTick; + + private Integer offset; + private Boolean opposite; + private Boolean reversed; + private Boolean showFirstLabel; + private Boolean showLastLabel; + private WeekDay startOfWeek; + private Boolean startOnTick; + + /** + * Defines attributes of a minor tick. The minor ticks do not have a + * label. By default, minor ticks are not shown. To display minor ticks, + * set interval property. + * + * @author Invient + * @see Tick + */ + public static class MinorTick implements Serializable { + private Paint color; + private Double interval; + private Integer length; + private TickPosition position; + private Integer width; + + public Paint getColor() { + return color; + } + + public void setColor(Paint color) { + this.color = color; + } + + public Double getInterval() { + return interval; + } + + /** + * Sets interval for the minor tick. The interval must be specified + * in the axis unit. e.g. If an axis has tick interval of 50 units + * then setting minortick interval to 10 will show 5 minor ticks. + * + * @param interval + */ + public void setInterval(Double interval) { + this.interval = interval; + } + + public Integer getLength() { + return length; + } + + /** + * Sets length of the minorticks in pixel + * + * @param length + */ + public void setLength(Integer length) { + this.length = length; + } + + /** + * @return + */ + public TickPosition getPosition() { + return position; + } + + /** + * @param position + */ + public void setPosition(TickPosition position) { + this.position = position; + } + + /** + * @return + */ + public Integer getWidth() { + return width; + } + + /** + * Sets width of the minorticks in pixel + * + * @param width + */ + public void setWidth(Integer width) { + this.width = width; + } + + @Override + public String toString() { + return "MinorTick [color=" + color + ", length=" + length + + ", position=" + position + ", width=" + width + "]"; + } + + } + + /** + * Defines attributes of a tick marks. The interval of the tick marks + * must be specified in axis unit. For datetime axis, the interval must + * be in millisecond. + *

+ * The default tick interval is 1. + * + * @author Invient + * @see MinorTick + * @see TickmarkPlacement + */ + public static final class Tick extends MinorTick { + private TickmarkPlacement placement; + private Integer pixelInterval; + + /** + * @return + */ + public TickmarkPlacement getPlacement() { + return placement; + } + + /** + * Sets placement of the tick marks. + * + * @param placement + */ + public void setPlacement(TickmarkPlacement placement) { + this.placement = placement; + } + + /** + * @return + */ + public Integer getPixelInterval() { + return pixelInterval; + } + + /** + * Sets pixel interval of the tick marks + * + * @param pixelInterval + */ + public void setPixelInterval(Integer pixelInterval) { + this.pixelInterval = pixelInterval; + } + + @Override + public String toString() { + return "Tick [placement=" + placement + ", pixelInterval=" + + pixelInterval + ", getColor()=" + getColor() + + ", getLength()=" + getLength() + ", getPosition()=" + + getPosition() + ", getWidth()=" + getWidth() + "]"; + } + + } + + /** + * Defines attributes of minor grid lines of the chart. In order to show + * minor grid lines, you must specify set MinorTick for the axis also. + * + * @author Invient + * @see MinorTick + * @see Grid + */ + public static class MinorGrid implements Serializable { + private Paint lineColor; + private DashStyle lineDashStyle; + private Integer lineWidth; + + public Paint getLineColor() { + return lineColor; + } + + /** + * Sets color of the minor grid lines + * + * @param lineColor + */ + public void setLineColor(Paint lineColor) { + this.lineColor = lineColor; + } + + /** + * @return + */ + public DashStyle getLineDashStyle() { + return lineDashStyle; + } + + /** + * Sets dash or dot style of the minor grid lines. Defaults to + * DashStyle.SOLID + * + * @param lineDashStyle + * @see DashStyle + */ + public void setLineDashStyle(DashStyle lineDashStyle) { + this.lineDashStyle = lineDashStyle; + } + + /** + * @return + */ + public Integer getLineWidth() { + return lineWidth; + } + + /** + * Sets width (in pixel) of the minor grid lines. Defaults to 1 + * + * @param lineWidth + */ + public void setLineWidth(Integer lineWidth) { + this.lineWidth = lineWidth; + } + + @Override + public String toString() { + return "MinorGrid [lineColor=" + lineColor + ", lineDashStyle=" + + lineDashStyle + ", lineWidth=" + lineWidth + "]"; + } + + } + + /** + * Defines attributes of grid lines of the chart. By default, the grid + * lines are shown. To hide them set property lineWidth to 0. + * + * @author Invient + */ + public static final class Grid extends MinorGrid { + + } + + protected LinkedHashSet getAllPlotBands() { + return plotBands; + } + + protected void setAllPlotBands(LinkedHashSet plotBands) { + if (plotBands != null) { + this.plotBands = plotBands; + } + } + + protected void addPlotBand(PlotBand plotBand) { + this.plotBands.add(plotBand); + } + + protected void removePlotBand(PlotBand plotBand) { + this.plotBands.remove(plotBand); + } + + /** + * Removes a plotband with given id. + * + * @param id + */ + public void removePlotBand(String id) { + Iterator plotBandItr = ((LinkedHashSet) this.plotBands) + .iterator(); + while (plotBandItr.hasNext()) { + if (plotBandItr.next().getId().equals(id)) { + plotBandItr.remove(); + break; + } + } + } + + /** + * @return + */ + protected LinkedHashSet getAllPlotLines() { + return plotLines; + } + + /** + * @param plotLines + */ + protected void setAllPlotLines(LinkedHashSet plotLines) { + if (plotLines != null) { + this.plotLines = plotLines; + } + } + + /** + * @param plotLine + */ + protected void addPlotLine(PlotLine plotLine) { + this.plotLines.add(plotLine); + } + + /** + * @param plotLine + */ + protected void removePlotLine(PlotLine plotLine) { + this.plotLines.remove(plotLine); + } + + /** + * @param id + */ + public void removePlotLine(String id) { + Iterator plotLineItr = ((LinkedHashSet) this.plotLines) + .iterator(); + while (plotLineItr.hasNext()) { + if (plotLineItr.next().getId().equals(id)) { + plotLineItr.remove(); + break; + } + } + } + + /** + * + */ + public String getId() { + return id; + } + + /** + * Sets an id for the axis + */ + public void setId(String id) { + this.id = id; + } + + /** + * + */ + public Tick getTick() { + return tick; + } + + /** + * Sets tick for the axis + */ + public void setTick(Tick tick) { + this.tick = tick; + } + + /** + * + */ + public Integer getMaxZoom() { + return maxZoom; + } + + /** + * Sets maximum amount of zoom for this axis. For datetime axis, the + * maxZoom must be specified in milliseconds. For example, for a + * datetime axis the main unit is milliseconds. If maxZoom is set to + * 3600000, you can't zoom in more than to one hour. (Above example is + * taken from Highcharts documentation) + */ + public void setMaxZoom(Integer maxZoom) { + this.maxZoom = maxZoom; + } + + /** + * + */ + public Boolean getReversed() { + return reversed; + } + + /** + * If the argument it true then this axis will be reversed. Defaults to + * false. + */ + public void setReversed(Boolean reversed) { + this.reversed = reversed; + } + + /** + * + */ + public Boolean getOpposite() { + return opposite; + } + + /** + * If the argument is true then another axis on the opposite side of + * this axis will be displayed. The normal axis is on left side for + * vertical axes and bottom for horzontal axes. + */ + public void setOpposite(Boolean opposite) { + this.opposite = opposite; + } + + public AxisType getType() { + return type; + } + + /** + * Sets type of this axis. Used by subclasses + * + * @param type + * @see NumberXAxis + * @see NumberYAxis + * @see DateTimeAxis + */ + protected void setType(AxisType type) { + this.type = type; + } + + public AxisTitle getTitle() { + return title; + } + + /** + * Sets title for the axis + * + * @see AxisTitle + */ + public void setTitle(AxisTitle title) { + this.title = title; + } + + /** + * @return + */ + protected AxisDataLabel getLabel() { + return label; + } + + /** + * @param label + */ + protected void setLabel(AxisDataLabel label) { + this.label = label; + } + + /** + * + */ + public Paint getAlternateGridColor() { + return alternateGridColor; + } + + /** + * Sets a color to be used for alternate grids of the chart + */ + public void setAlternateGridColor(Paint alternateGridColor) { + this.alternateGridColor = alternateGridColor; + } + + /** + * + */ + public Boolean getEndOnTick() { + return endOnTick; + } + + /** + * If the argument is true then this axis will end on a tick. + */ + public void setEndOnTick(Boolean endOnTick) { + this.endOnTick = endOnTick; + } + + /** + * + */ + public Grid getGrid() { + return grid; + } + + /** + * Sets grid for this axis + * + * @see Grid + */ + public void setGrid(Grid grid) { + this.grid = grid; + } + + /** + * + */ + public Paint getLineColor() { + return lineColor; + } + + /** + * Sets a color for line of this axis. This line indicate this axis + */ + public void setLineColor(Paint lineColor) { + this.lineColor = lineColor; + } + + /** + * + */ + public Integer getLineWidth() { + return lineWidth; + } + + /** + * Sets width of this axis line + */ + public void setLineWidth(Integer lineWidth) { + this.lineWidth = lineWidth; + } + + /** + * + */ + public Axis getLinkedTo() { + return linkedTo; + } + + /** + * Sets another axis which is linked with this axis. The following + * description is copied from Highcharts API documentation + * http://www.highcharts.com/ref/#xAxis. + *

+ * When an axis is linked to a master axis, it will take the same + * extremes as the master, but as assigned by min or max or by + * setExtremes. It can be used to show additional info, or to ease + * reading the chart by duplicating the scales. Defaults to null. + */ + public void setLinkedTo(Axis linkedTo) { + if (linkedTo != this) { + this.linkedTo = linkedTo; + } + } + + /** + * + */ + public Double getMaxPadding() { + return maxPadding; + } + + public void setMaxPadding(Double maxPadding) { + this.maxPadding = maxPadding; + } + + public Double getMinPadding() { + return minPadding; + } + + public void setMinPadding(Double minPadding) { + this.minPadding = minPadding; + } + + public MinorGrid getMinorGrid() { + return minorGrid; + } + + public void setMinorGrid(MinorGrid minorGrid) { + this.minorGrid = minorGrid; + } + + public MinorTick getMinorTick() { + return minorTick; + } + + public void setMinorTick(MinorTick minorTick) { + this.minorTick = minorTick; + } + + public Integer getOffset() { + return offset; + } + + /** + * Sets distance of this axis from the plot area + */ + public void setOffset(Integer offset) { + this.offset = offset; + } + + public Boolean getShowFirstLabel() { + return showFirstLabel; + } + + /** + * If the argument is true then the label of this axis' first tick will + * be displayed. Defaults to true. + */ + public void setShowFirstLabel(Boolean showFirstLabel) { + this.showFirstLabel = showFirstLabel; + } + + public Boolean getShowLastLabel() { + return showLastLabel; + } + + /** + * If the argument is true then the label of this axis' last tick will + * be displayed. Defaults to false + */ + public void setShowLastLabel(Boolean showLastLabel) { + this.showLastLabel = showLastLabel; + } + + public WeekDay getStartOfWeek() { + return startOfWeek; + } + + /** + * Sets a day to be considered as start of the week. For datetime axis, + * this decides where to put tick. e.g. if startOfWeek = THURSDAY then + * tick will be placed on every thursday. + */ + public void setStartOfWeek(WeekDay startOfWeek) { + this.startOfWeek = startOfWeek; + } + + public Boolean getStartOnTick() { + return startOnTick; + } + + /** + * If the argument is true then this axis must start on a tick. Defaults + * to false + */ + public void setStartOnTick(Boolean startOnTick) { + this.startOnTick = startOnTick; + } + + public static enum WeekDay { + SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY; + } + + /** + * Defines position of the tick marks with respect to the axis + * categories. It is applicable only for categorized axes. + *

+ * TickmarkPlacement.ON - tick mark is placed in the center of the + * category + *

+ * TickmarkPlacement.BETWEEN - tick mark is placed between categories + * + * @author Invient + */ + public static enum TickmarkPlacement { + ON("on"), BETWEEN("between"); + private String name; + + private TickmarkPlacement(String name) { + this.name = name; + } + + public String getName() { + return this.name; + } + } + + /** + * Defines position of the axis ticks with respect to the axis line + * + * @author Invient + */ + public static enum TickPosition { + OUTSIDE("outside"), INSIDE("inside"); + private String name; + + private TickPosition(String name) { + this.name = name; + } + + public String getName() { + return this.name; + } + } + + /** + * Defines axis types. + *

+ * AxisType.LINEAR - + *

+ * AxisType.DATETIME - For datetime axis, the values are given in date + * except for {@link BaseLineConfig}.pointStart and {@link BaseLineConfig}.pointInterval + * properties, which are specified in milliseconds. + * + * @author Invient + * @see NumberXAxis + * @see NumberYAxis + * @see DateTimeAxis + */ + public static enum AxisType { + LINEAR("linear"), DATETIME("datetime"); + private String type; + + private AxisType(String type) { + this.type = type; + } + + public String getName() { + return this.type; + } + } + + public static enum AxisTitleAlign { + LOW("low"), MIDDLE("middle"), HIGH("high"); + private String name; + + private AxisTitleAlign(String name) { + this.name = name; + } + + public String getName() { + return this.name; + } + } + + public static final class AxisTitle implements Serializable { + private String text; + private AxisTitleAlign align; + private String style; + private Integer rotation; + private Integer margin; + + public AxisTitle(String text) { + this.text = text; + } + + public String getText() { + return text; + } + + public void setText(String text) { + this.text = text; + } + + public AxisTitleAlign getAlign() { + return align; + } + + public void setAlign(AxisTitleAlign align) { + this.align = align; + } + + public String getStyle() { + return style; + } + + public void setStyle(String style) { + this.style = style; + } + + public Integer getRotation() { + return rotation; + } + + public void setRotation(Integer rotation) { + this.rotation = rotation; + } + + public Integer getMargin() { + return margin; + } + + public void setMargin(Integer margin) { + this.margin = margin; + } + + } + + public static final class PlotLabel implements Serializable { + private HorzAlign align; + private VertAlign vertAlign; + private Integer rotation; + private String style; + private HorzAlign textAlign; + private Integer x; + private Integer y; + private String text; + + public PlotLabel(String text) { + super(); + this.text = text; + } + + public String getText() { + return text; + } + + public void setText(String text) { + this.text = text; + } + + public HorzAlign getAlign() { + return align; + } + + public void setAlign(HorzAlign align) { + this.align = align; + } + + public VertAlign getVertAlign() { + return vertAlign; + } + + public void setVertAlign(VertAlign vertAlign) { + this.vertAlign = vertAlign; + } + + public Integer getRotation() { + return rotation; + } + + public void setRotation(Integer rotation) { + this.rotation = rotation; + } + + public String getStyle() { + return style; + } + + public void setStyle(String style) { + this.style = style; + } + + public HorzAlign getTextAlign() { + return textAlign; + } + + public void setTextAlign(HorzAlign textAlign) { + this.textAlign = textAlign; + } + + public Integer getX() { + return x; + } + + public void setX(Integer x) { + this.x = x; + } + + public Integer getY() { + return y; + } + + public void setY(Integer y) { + this.y = y; + } + + } + + public static abstract class PlotBand implements Serializable { + private Paint color; + private Range range; + private String id; + private Integer zIndex; + private PlotLabel label; + + public PlotBand(String id) { + this.id = id; + } + + public Paint getColor() { + return color; + } + + public void setColor(Paint color) { + this.color = color; + } + + protected Range getRange() { + return range; + } + + protected void setRange(Range range) { + this.range = range; + } + + public String getId() { + return id; + } + + public Integer getZIndex() { + return zIndex; + } + + public void setZIndex(Integer zIndex) { + this.zIndex = zIndex; + } + + public PlotLabel getLabel() { + return label; + } + + public void setLabel(PlotLabel label) { + this.label = label; + } + + public static abstract class Range implements Serializable { + + } + + @Override + public int hashCode() { + final int prime = 31; + int result = 1; + result = prime * result + ((id == null) ? 0 : id.hashCode()); + return result; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + PlotBand other = (PlotBand) obj; + if (id == null) { + if (other.id != null) + return false; + } else if (!id.equals(other.id)) + return false; + return true; + } + + } + + public static final class NumberPlotBand extends PlotBand { + + public NumberPlotBand(String id) { + super(id); + } + + public NumberRange getRange() { + return (NumberRange) super.getRange(); + } + + public void setRange(NumberRange range) { + super.setRange((NumberRange) range); + } + + public static final class NumberRange extends Range { + private Double from; + private Double to; + + public NumberRange(Double from, Double to) { + super(); + this.from = from; + this.to = to; + } + + public Double getFrom() { + return from; + } + + public void setFrom(Double from) { + this.from = from; + } + + public Double getTo() { + return to; + } + + public void setTo(Double to) { + this.to = to; + } + } + } + + public static final class DateTimePlotBand extends PlotBand { + + public DateTimePlotBand(String id) { + super(id); + } + + public DateTimeRange getRange() { + return (DateTimeRange) super.getRange(); + } + + public void setRange(DateTimeRange range) { + super.setRange((DateTimeRange) range); + } + + public static final class DateTimeRange extends Range { + private Date from; + private Date to; + + public DateTimeRange(Date from, Date to) { + super(); + this.from = from; + this.to = to; + } + + public Date getFrom() { + return from; + } + + public void setFrom(Date from) { + this.from = from; + } + + public Date getTo() { + return to; + } + + public void setTo(Date to) { + this.to = to; + } + } + + } + + public static abstract class PlotLine implements Serializable { + private Paint color; + private DashStyle dashStyle; + private String id; + private Value value; + private Integer width = 1; + private Integer zIndex; + private PlotLabel label; + + public PlotLine(String id) { + this.id = id; + } + + public Paint getColor() { + return color; + } + + public void setColor(Paint color) { + this.color = color; + } + + public DashStyle getDashStyle() { + return dashStyle; + } + + public void setDashStyle(DashStyle dashStyle) { + this.dashStyle = dashStyle; + } + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + protected Value getValue() { + return value; + } + + protected void setValue(Value value) { + this.value = value; + } + + public Integer getWidth() { + return width; + } + + public void setWidth(Integer width) { + this.width = width; + } + + public Integer getZIndex() { + return zIndex; + } + + public void setZIndex(Integer zIndex) { + this.zIndex = zIndex; + } + + public PlotLabel getLabel() { + return label; + } + + public void setLabel(PlotLabel label) { + this.label = label; + } + + public static abstract class Value implements Serializable { + + } + + } + + public static final class NumberPlotLine extends PlotLine { + + public NumberPlotLine(String id) { + super(id); + } + + public NumberValue getValue() { + return (NumberValue) super.getValue(); + } + + public void setValue(NumberValue value) { + super.setValue((NumberValue) value); + } + + public static final class NumberValue extends Value { + + public NumberValue(Double value) { + super(); + this.value = value; + } + + private Double value; + + public Double getValue() { + return value; + } + + public void setValue(Double value) { + this.value = value; + } + } + } + + public static final class DateTimePlotLine extends PlotLine { + public DateTimePlotLine(String id) { + super(id); + } + + public DateTimeValue getValue() { + return (DateTimeValue) super.getValue(); + } + + public void setValue(DateTimeValue value) { + super.setValue((DateTimeValue) value); + } + + public static final class DateTimeValue extends Value { + private Date value; + + public DateTimeValue(Date value) { + super(); + this.value = value; + } + + public Date getValue() { + return value; + } + + public void setValue(Date value) { + this.value = value; + } + } + } + } + + public static interface Axis extends Serializable { + + public String getId(); + + public void setId(String id); + + public Tick getTick(); + + public void setTick(Tick tick); + + public Integer getMaxZoom(); + + public void setMaxZoom(Integer maxZoom); + + public Boolean getReversed(); + + public void setReversed(Boolean reversed); + + public Boolean getOpposite(); + + public void setOpposite(Boolean opposite); + + public AxisType getType(); + + public AxisTitle getTitle(); + + public void setTitle(AxisTitle title); + + public Paint getAlternateGridColor(); + + public void setAlternateGridColor(Paint alternateGridColor); + + public Boolean getEndOnTick(); + + public void setEndOnTick(Boolean endOnTick); + + public Grid getGrid(); + + public void setGrid(Grid grid); + + public Paint getLineColor(); + + public void setLineColor(Paint lineColor); + + public Integer getLineWidth(); + + public void setLineWidth(Integer lineWidth); + + public Axis getLinkedTo(); + + public void setLinkedTo(Axis linkedTo); + + public Double getMaxPadding(); + + public void setMaxPadding(Double maxPadding); + + public Double getMinPadding(); + + public void setMinPadding(Double minPadding); + + public MinorGrid getMinorGrid(); + + public void setMinorGrid(MinorGrid minorGrid); + + public MinorTick getMinorTick(); + + public void setMinorTick(MinorTick minorTick); + + public Integer getOffset(); + + public void setOffset(Integer offset); + + public Boolean getShowFirstLabel(); + + public void setShowFirstLabel(Boolean showFirstLabel); + + public Boolean getShowLastLabel(); + + public void setShowLastLabel(Boolean showLastLabel); + + public WeekDay getStartOfWeek(); + + public void setStartOfWeek(WeekDay startOfWeek); + + public Boolean getStartOnTick(); + + public void setStartOnTick(Boolean startOnTick); + + } + + public static interface XAxis extends Axis { + } + + public static interface YAxis extends Axis { + } + + public static abstract class NumberAxis extends AxisBase { + private Boolean allowDecimals; + private Double max; + private Double min; + + public NumberAxis() { + super.setType(AxisType.LINEAR); + } + + public Boolean getAllowDecimals() { + return allowDecimals; + } + + public void setAllowDecimals(Boolean allowDecimals) { + this.allowDecimals = allowDecimals; + } + + public void setMax(Double max) { + this.max = max; + } + + public void setMin(Double min) { + this.min = min; + } + + public Double getMin() { + return this.min; + } + + public Double getMax() { + return this.max; + } + + public LinkedHashSet getPlotBands() { + return super.getAllPlotBands(); + } + + public void setPlotBands(LinkedHashSet plotBands) { + super.setAllPlotBands(plotBands); + } + + public void addPlotBand(NumberPlotBand plotBand) { + super.addPlotBand(plotBand); + } + + public void removePlotBand(NumberPlotBand plotBand) { + super.removePlotBand(plotBand); + } + + public LinkedHashSet getPlotLines() { + return super.getAllPlotLines(); + } + + public void setPlotLines(LinkedHashSet plotLines) { + super.setAllPlotLines(plotLines); + } + + public void addPlotLine(NumberPlotLine plotLine) { + super.addPlotLine(plotLine); + } + + public void removePlotLine(NumberPlotLine plotLine) { + super.removePlotLine(plotLine); + } + + } + + public static final class NumberXAxis extends NumberAxis implements XAxis { + + public void setLabel(XAxisDataLabel label) { + super.setLabel(label); + } + + public XAxisDataLabel getLabel() { + return (XAxisDataLabel) super.getLabel(); + } + } + + public static final class NumberYAxis extends NumberAxis implements YAxis { + public void setLabel(YAxisDataLabel label) { + super.setLabel(label); + } + + public YAxisDataLabel getLabel() { + return (YAxisDataLabel) super.getLabel(); + } + + } + + public static final class DateTimeAxis extends AxisBase implements XAxis { + private DateTimeLabelFormat dateTimeLabelFormats; + private Date max; + private Date min; + + // private Date tickInterval; // FIXME It should be more intuitive to + // specify tick interval such as + // Month, Week, day, year similar to + // private Date minorTickInterval; + + public static final class DateTimeLabelFormat { + private String millisecond = "%H:%M:%S.%L"; + private String second = "%H:%M:%S"; + private String minute = "%H:%M"; + private String hour = "%H:%M"; + private String day = "%e. %b"; + private String week = "%e. %b"; + private String month = "%b '%y"; + private String year = "%Y"; + + public String getMillisecond() { + return millisecond; + } + + public void setMillisecond(String millisecond) { + this.millisecond = millisecond; + } + + public String getSecond() { + return second; + } + + public void setSecond(String second) { + this.second = second; + } + + public String getMinute() { + return minute; + } + + public void setMinute(String minute) { + this.minute = minute; + } + + public String getHour() { + return hour; + } + + public void setHour(String hour) { + this.hour = hour; + } + + public String getDay() { + return day; + } + + public void setDay(String day) { + this.day = day; + } + + public String getWeek() { + return week; + } + + public void setWeek(String week) { + this.week = week; + } + + public String getMonth() { + return month; + } + + public void setMonth(String month) { + this.month = month; + } + + public String getYear() { + return year; + } + + public void setYear(String year) { + this.year = year; + } + + @Override + public String toString() { + return "DateTimeLabelFormat [second=" + second + ", minute=" + + minute + ", hour=" + hour + ", day=" + day + + ", week=" + week + ", month=" + month + ", year=" + + year + "]"; + } + + } + + public DateTimeAxis() { + super.setType(AxisType.DATETIME); + } + + public DateTimeLabelFormat getDateTimeLabelFormat() { + return dateTimeLabelFormats; + } + + public void setDateTimeLabelFormat( + DateTimeLabelFormat dateTimeLabelFormat) { + this.dateTimeLabelFormats = dateTimeLabelFormat; + } + + public void setMax(Date max) { + this.max = max; + } + + public void setMin(Date min) { + this.min = min; + } + + public Date getMin() { + return this.min; + } + + public Date getMax() { + return this.max; + } + + public LinkedHashSet getPlotBands() { + return super.getAllPlotBands(); + } + + public void setPlotBands(LinkedHashSet plotBands) { + super.setAllPlotBands(plotBands); + } + + public void addPlotBand(DateTimePlotBand plotBand) { + super.addPlotBand(plotBand); + } + + public void removePlotBand(DateTimePlotBand plotBand) { + super.removePlotBand(plotBand); + } + + public LinkedHashSet getPlotLines() { + return super.getAllPlotLines(); + } + + public void setPlotLines(LinkedHashSet plotLines) { + super.setAllPlotLines(plotLines); + } + + public void addPlotLine(DateTimePlotLine plotLine) { + super.addPlotLine(plotLine); + } + + public void removePlotLine(DateTimePlotLine plotLine) { + super.removePlotLine(plotLine); + } + + } + + public static final class CategoryAxis extends AxisBase implements XAxis { + private List categories = new ArrayList(); + + public List getCategories() { + return categories; + } + + public void setCategories(List categories) { + if (categories != null) { + this.categories = categories; + } + } + + public void setLabel(XAxisDataLabel label) { + super.setLabel(label); + } + + public XAxisDataLabel getLabel() { + return (XAxisDataLabel) super.getLabel(); + } + + public LinkedHashSet getPlotBands() { + return super.getAllPlotBands(); + } + + public void setPlotBands(LinkedHashSet plotBands) { + super.setAllPlotBands(plotBands); + } + + public void addPlotBand(NumberPlotBand plotBand) { + super.addPlotBand(plotBand); + } + + public void removePlotBand(NumberPlotBand plotBand) { + super.removePlotBand(plotBand); + } + + public LinkedHashSet getPlotLines() { + return super.getAllPlotLines(); + } + + public void setPlotLines(LinkedHashSet plotLines) { + super.setAllPlotLines(plotLines); + } + + public void addPlotLine(NumberPlotLine plotLine) { + super.addPlotLine(plotLine); + } + + public void removePlotLine(NumberPlotLine plotLine) { + super.removePlotLine(plotLine); + } + } + + // Legend + public static final class Legend implements Serializable { + private Paint backgroundColor; + private Paint borderColor; + private Integer borderRadius; + private Integer borderWidth; + private Boolean enabled; + private Boolean floating; + private String itemHiddenStyle; + private String itemHoverStyle; + private String itemStyle; + private Integer itemWidth; + private Layout layout; + private String labelFormatterJsFunc; + private Integer margin; + private Boolean reversed; + private Boolean shadow; + private Integer symbolPadding; + private Integer symbolWidth; + private Integer width; + private Position position; + + public Legend() { + } + + public Legend(boolean enabled) { + this.enabled = enabled; + } + + public static enum Layout { + HORIZONTAL("horizontal"), VERTICAL("vertical"); + private String name; + + private Layout(String name) { + this.name = name; + } + + public String getName() { + return this.name; + } + } + + public Paint getBackgroundColor() { + return backgroundColor; + } + + public void setBackgroundColor(Paint backgroundColor) { + this.backgroundColor = backgroundColor; + } + + public Paint getBorderColor() { + return borderColor; + } + + public void setBorderColor(Paint borderColor) { + this.borderColor = borderColor; + } + + public Integer getBorderRadius() { + return borderRadius; + } + + public void setBorderRadius(Integer borderRadius) { + this.borderRadius = borderRadius; + } + + public Integer getBorderWidth() { + return borderWidth; + } + + public void setBorderWidth(Integer borderWidth) { + this.borderWidth = borderWidth; + } + + public Boolean getEnabled() { + return enabled; + } + + public void setEnabled(Boolean enabled) { + this.enabled = enabled; + } + + public Boolean getFloating() { + return floating; + } + + public void setFloating(Boolean floating) { + this.floating = floating; + } + + public String getItemHiddenStyle() { + return itemHiddenStyle; + } + + public void setItemHiddenStyle(String itemHiddenStyle) { + this.itemHiddenStyle = itemHiddenStyle; + } + + public String getItemHoverStyle() { + return itemHoverStyle; + } + + public void setItemHoverStyle(String itemHoverStyle) { + this.itemHoverStyle = itemHoverStyle; + } + + public String getItemStyle() { + return itemStyle; + } + + public void setItemStyle(String itemStyle) { + this.itemStyle = itemStyle; + } + + public Integer getItemWidth() { + return itemWidth; + } + + public void setItemWidth(Integer itemWidth) { + this.itemWidth = itemWidth; + } + + public Layout getLayout() { + return layout; + } + + public void setLayout(Layout layout) { + this.layout = layout; + } + + public String getLabelFormatterJsFunc() { + return labelFormatterJsFunc; + } + + public void setLabelFormatterJsFunc(String labelFormatterJsFunc) { + this.labelFormatterJsFunc = labelFormatterJsFunc; + } + + public Integer getMargin() { + return margin; + } + + public void setMargin(Integer margin) { + this.margin = margin; + } + + public Boolean getReversed() { + return reversed; + } + + public void setReversed(Boolean reversed) { + this.reversed = reversed; + } + + public Boolean getShadow() { + return shadow; + } + + public void setShadow(Boolean shadow) { + this.shadow = shadow; + } + + public Integer getSymbolPadding() { + return symbolPadding; + } + + public void setSymbolPadding(Integer symbolPadding) { + this.symbolPadding = symbolPadding; + } + + public Integer getSymbolWidth() { + return symbolWidth; + } + + public void setSymbolWidth(Integer symbolWidth) { + this.symbolWidth = symbolWidth; + } + + public Integer getWidth() { + return width; + } + + public void setWidth(Integer width) { + this.width = width; + } + + public Position getPosition() { + return position; + } + + public void setPosition(Position position) { + this.position = position; + } + + @Override + public String toString() { + return "Legend [backgroundColor=" + backgroundColor + + ", borderColor=" + borderColor + ", borderRadius=" + + borderRadius + ", borderWidth=" + borderWidth + + ", enabled=" + enabled + ", floating=" + floating + + ", itemHiddenStyle=" + itemHiddenStyle + + ", itemHoverStyle=" + itemHoverStyle + ", itemStyle=" + + itemStyle + ", itemWidth=" + itemWidth + ", layout=" + + layout + ", labelFormatter=" + labelFormatterJsFunc + + ", margin=" + margin + ", reversed=" + reversed + + ", shadow=" + shadow + ", symbolPadding=" + symbolPadding + + ", symbolWidth=" + symbolWidth + ", width=" + width + + ", position=" + position + "]"; + } + + } + + // Credits + public static final class Credit implements Serializable { + private Boolean enabled; + private String link; + private String style; + private String text; + private Position position; + + public Boolean getEnabled() { + return enabled; + } + + public void setEnabled(Boolean enabled) { + this.enabled = enabled; + } + + public String getLink() { + return link; + } + + public void setLink(String link) { + this.link = link; + } + + public String getStyle() { + return style; + } + + public void setStyle(String style) { + this.style = style; + } + + public String getText() { + return text; + } + + public void setText(String text) { + this.text = text; + } + + public Position getPosition() { + return position; + } + + public void setPosition(Position position) { + this.position = position; + } + + @Override + public String toString() { + return "Credit [enabled=" + enabled + ", link=" + link + ", style=" + + style + ", text=" + text + ", position=" + position + "]"; + } + } + + public static final class Position implements Serializable { + private HorzAlign align; + private VertAlign vertAlign; + private Integer x; + private Integer y; + + public HorzAlign getAlign() { + return align; + } + + public void setAlign(HorzAlign align) { + this.align = align; + } + + public VertAlign getVertAlign() { + return vertAlign; + } + + public void setVertAlign(VertAlign vertAlign) { + this.vertAlign = vertAlign; + } + + public Integer getX() { + return x; + } + + public void setX(Integer x) { + this.x = x; + } + + public Integer getY() { + return y; + } + + public void setY(Integer y) { + this.y = y; + } + + @Override + public String toString() { + return "Position [align=" + align + ", vertAlign=" + vertAlign + + ", x=" + x + ", y=" + y + "]"; + } + + } + + // Tooltip + public static final class Tooltip implements Serializable { + private Paint backgroundColor; + private Paint borderColor; + private Integer borderRadius; + private Integer borderWidth; + private Crosshairs crosshairs; + private Boolean enabled; + private String formatterJsFunc; + private Boolean shadow; + private Boolean shared; + private Integer snap; // NA for pie/bar/column + private String style; + private Boolean useHTML; + private String headerFormat; + private String pointFormat; + private String footerFormat; + + public String getHeaderFormat() { + return headerFormat; + } + + public void setHeaderFormat(String headerFormat) { + this.headerFormat = headerFormat; + } + + public String getPointFormat() { + return pointFormat; + } + + public void setPointFormat(String pointFormat) { + this.pointFormat = pointFormat; + } + + public String getFooterFormat() { + return footerFormat; + } + + public void setFooterFormat(String footerFormat) { + this.footerFormat = footerFormat; + } + + public Boolean getUseHTML() { + return useHTML; + } + + public void setUseHTML(Boolean useHTML) { + this.useHTML = useHTML; + } + + public Paint getBackgroundColor() { + return backgroundColor; + } + + public void setBackgroundColor(Paint backgroundColor) { + this.backgroundColor = backgroundColor; + } + + public Paint getBorderColor() { + return borderColor; + } + + public void setBorderColor(Paint borderColor) { + this.borderColor = borderColor; + } + + public Integer getBorderRadius() { + return borderRadius; + } + + public void setBorderRadius(Integer borderRadius) { + this.borderRadius = borderRadius; + } + + public Integer getBorderWidth() { + return borderWidth; + } + + public void setBorderWidth(Integer borderWidth) { + this.borderWidth = borderWidth; + } + + public Crosshairs getCrosshairs() { + return crosshairs; + } + + public void setCrosshairs(Crosshairs crosshairs) { + this.crosshairs = crosshairs; + } + + public Boolean getEnabled() { + return enabled; + } + + public void setEnabled(Boolean enabled) { + this.enabled = enabled; + } + + public String getFormatterJsFunc() { + return formatterJsFunc; + } + + public void setFormatterJsFunc(String formatterJsFunc) { + this.formatterJsFunc = formatterJsFunc; + } + + public Boolean getShadow() { + return shadow; + } + + public void setShadow(Boolean shadow) { + this.shadow = shadow; + } + + public Boolean getShared() { + return shared; + } + + public void setShared(Boolean shared) { + this.shared = shared; + } + + public Integer getSnap() { + return snap; + } + + public void setSnap(Integer snap) { + this.snap = snap; + } + + public String getStyle() { + return style; + } + + public void setStyle(String style) { + this.style = style; + } + + @Override + public String toString() { + return "Tooltip [backgroundColor=" + backgroundColor + + ", borderColor=" + borderColor + ", borderRadius=" + + borderRadius + ", borderWidth=" + borderWidth + + ", crosshairs=" + crosshairs + ", enabled=" + enabled + + ", formatter=" + formatterJsFunc + ", shadow=" + shadow + + ", shared=" + shared + ", snap=" + snap + ", style=" + + style + "]"; + } + + public static class Crosshairs { + private Double width; + private Paint color; + private DashStyle dashStyle; + private Integer zIndex; + + public Double getWidth() { + return width; + } + + public void setWidth(Double width) { + this.width = width; + } + + public Paint getColor() { + return color; + } + + public void setColor(Paint color) { + this.color = color; + } + + public DashStyle getDashStyle() { + return dashStyle; + } + + public void setDashStyle(DashStyle dashStyle) { + this.dashStyle = dashStyle; + } + + public Integer getzIndex() { + return zIndex; + } + + public void setzIndex(Integer zIndex) { + this.zIndex = zIndex; + } + + @Override + public String toString() { + return "Crosshairs{" + + "width=" + width + + ", color=" + color + + ", dashStyle=" + dashStyle + + ", zIndex=" + zIndex + + '}'; + } + } + } +} diff --git a/src/com/invient/vaadin/charts/InvientChartsUtil.java b/invient-charts/src/main/java/com/invient/vaadin/charts/InvientChartsUtil.java old mode 100755 new mode 100644 similarity index 85% rename from src/com/invient/vaadin/charts/InvientChartsUtil.java rename to invient-charts/src/main/java/com/invient/vaadin/charts/InvientChartsUtil.java index 49e48cf..ff25ba4 --- a/src/com/invient/vaadin/charts/InvientChartsUtil.java +++ b/invient-charts/src/main/java/com/invient/vaadin/charts/InvientChartsUtil.java @@ -1,2055 +1,2055 @@ -/* - * Copyright 2011 Invient (www.invient.com) - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not - * use this file except in compliance with the License. You may obtain a copy of - * the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations under - * the License. - */ -package com.invient.vaadin.charts; - -import java.util.Calendar; -import java.util.Date; -import java.util.GregorianCalendar; -import java.util.LinkedHashMap; -import java.util.LinkedHashSet; -import java.util.Map; -import java.util.Map.Entry; - -import com.vaadin.terminal.PaintException; -import com.vaadin.terminal.PaintTarget; - -import com.invient.vaadin.charts.InvientCharts.DateTimeSeries; -import com.invient.vaadin.charts.InvientCharts.DecimalPoint; -import com.invient.vaadin.charts.InvientCharts.Point; -import com.invient.vaadin.charts.InvientCharts.Series; -import com.invient.vaadin.charts.InvientCharts.SeriesCUR; -import com.invient.vaadin.charts.InvientCharts.SeriesType; -import com.invient.vaadin.charts.InvientChartsConfig.AreaConfig; -import com.invient.vaadin.charts.InvientChartsConfig.AreaSplineConfig; -import com.invient.vaadin.charts.InvientChartsConfig.Axis; -import com.invient.vaadin.charts.InvientChartsConfig.AxisBase; -import com.invient.vaadin.charts.InvientChartsConfig.AxisBase.AxisTitle; -import com.invient.vaadin.charts.InvientChartsConfig.AxisBase.DateTimePlotBand.DateTimeRange; -import com.invient.vaadin.charts.InvientChartsConfig.AxisBase.DateTimePlotLine.DateTimeValue; -import com.invient.vaadin.charts.InvientChartsConfig.AxisBase.Grid; -import com.invient.vaadin.charts.InvientChartsConfig.AxisBase.MinorGrid; -import com.invient.vaadin.charts.InvientChartsConfig.AxisBase.MinorTick; -import com.invient.vaadin.charts.InvientChartsConfig.AxisBase.NumberPlotBand.NumberRange; -import com.invient.vaadin.charts.InvientChartsConfig.AxisBase.NumberPlotLine.NumberValue; -import com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotBand; -import com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotBand.Range; -import com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotLabel; -import com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotLine; -import com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotLine.Value; -import com.invient.vaadin.charts.InvientChartsConfig.AxisBase.Tick; -import com.invient.vaadin.charts.InvientChartsConfig.AxisDataLabel; -import com.invient.vaadin.charts.InvientChartsConfig.BarConfig; -import com.invient.vaadin.charts.InvientChartsConfig.BaseBarConfig; -import com.invient.vaadin.charts.InvientChartsConfig.BaseLineConfig; -import com.invient.vaadin.charts.InvientChartsConfig.CategoryAxis; -import com.invient.vaadin.charts.InvientChartsConfig.ChartLabel; -import com.invient.vaadin.charts.InvientChartsConfig.ChartLabel.ChartLabelItem; -import com.invient.vaadin.charts.InvientChartsConfig.ColumnConfig; -import com.invient.vaadin.charts.InvientChartsConfig.Credit; -import com.invient.vaadin.charts.InvientChartsConfig.DataLabel; -import com.invient.vaadin.charts.InvientChartsConfig.DateTimeAxis; -import com.invient.vaadin.charts.InvientChartsConfig.DateTimeAxis.DateTimeLabelFormat; -import com.invient.vaadin.charts.InvientChartsConfig.GeneralChartConfig; -import com.invient.vaadin.charts.InvientChartsConfig.ImageMarker; -import com.invient.vaadin.charts.InvientChartsConfig.Legend; -import com.invient.vaadin.charts.InvientChartsConfig.LineConfig; -import com.invient.vaadin.charts.InvientChartsConfig.Marker; -import com.invient.vaadin.charts.InvientChartsConfig.MarkerState; -import com.invient.vaadin.charts.InvientChartsConfig.NonLinearSeriesState; -import com.invient.vaadin.charts.InvientChartsConfig.NumberAxis; -import com.invient.vaadin.charts.InvientChartsConfig.NumberXAxis; -import com.invient.vaadin.charts.InvientChartsConfig.NumberYAxis; -import com.invient.vaadin.charts.InvientChartsConfig.PieConfig; -import com.invient.vaadin.charts.InvientChartsConfig.PieDataLabel; -import com.invient.vaadin.charts.InvientChartsConfig.ScatterConfig; -import com.invient.vaadin.charts.InvientChartsConfig.SeriesConfig; -import com.invient.vaadin.charts.InvientChartsConfig.SeriesState; -import com.invient.vaadin.charts.InvientChartsConfig.SplineConfig; -import com.invient.vaadin.charts.InvientChartsConfig.SubTitle; -import com.invient.vaadin.charts.InvientChartsConfig.SymbolMarker; -import com.invient.vaadin.charts.InvientChartsConfig.Title; -import com.invient.vaadin.charts.InvientChartsConfig.TitleBase; -import com.invient.vaadin.charts.InvientChartsConfig.Tooltip; -import com.invient.vaadin.charts.InvientChartsConfig.XAxis; -import com.invient.vaadin.charts.InvientChartsConfig.XAxisDataLabel; -import com.invient.vaadin.charts.InvientChartsConfig.YAxis; -import com.invient.vaadin.charts.InvientChartsConfig.YAxisDataLabel; - -/** - * A utility class used by {@link InvientCharts} to write its state to the UIDL - * stream. The state includes properties of {@link InvientCharts} such as - * {@link InvientChartsConfig}, {@link Series}, {@link Point} and various chart - * events. - * - * In general, only non-null properties/attributes of a chart are written to the - * UIDL stream. - * - * @author Invient - * - */ -final class InvientChartsUtil { - - private InvientChartsUtil() { - throw new RuntimeException("This class cannot be instantiated."); - } - - /** - * Writes configuration attributes common to chart title and subtitle. - * - * @param target - * @param titleBaseOptions - * @throws PaintException - */ - private static void writeTitleBaseOptions(PaintTarget target, - TitleBase titleBaseOptions) throws PaintException { - if (titleBaseOptions.getText() != null) { - target.addAttribute("text", titleBaseOptions.getText()); - } - if (titleBaseOptions.getX() != null) { - target.addAttribute("x", titleBaseOptions.getX()); - } - if (titleBaseOptions.getY() != null) { - target.addAttribute("y", titleBaseOptions.getY()); - } - if (titleBaseOptions.getFloating() != null) { - target.addAttribute("floating", titleBaseOptions.getFloating()); - } - - if (titleBaseOptions.getAlign() != null) { - target.addAttribute("align", titleBaseOptions.getAlign().getName()); - } - if (titleBaseOptions.getVertAlign() != null) { - target.addAttribute("verticalAlign", titleBaseOptions - .getVertAlign().getName()); - } - if(titleBaseOptions.getStyle() != null) { - target.addAttribute("style", titleBaseOptions.getStyle()); - } - } - - /** - * Writes configuration attributes of the chart title. - * - * @param target - * @param titleOptions - * @throws PaintException - */ - public static void writeTitleConfig(PaintTarget target, Title titleOptions) - throws PaintException { - target.startTag("title"); - writeTitleBaseOptions(target, titleOptions); - if (titleOptions.getMargin() != null) { - target.addAttribute("margin", titleOptions.getMargin()); - } - target.endTag("title"); - } - - /** - * Writes configuration attributes of the chart subtitle. Only those - * attributes are written who have got non-null values. - * - * @param target - * @param subtitleOptions - * @throws PaintException - */ - public static void writeSubtitleConfig(PaintTarget target, - SubTitle subtitleOptions) throws PaintException { - target.startTag("subtitle"); - writeTitleBaseOptions(target, subtitleOptions); - target.endTag("subtitle"); - } - - /** - * Writes configuration attributes of the chart subtitle. - * - * @param target - * @param creditOptions - * @throws PaintException - */ - public static void writeCreditConfig(PaintTarget target, - Credit creditOptions) throws PaintException { - target.startTag("credit"); - - if (creditOptions.getEnabled() != null) { - target.addAttribute("enabled", creditOptions.getEnabled()); - } - target.startTag("position"); - if (creditOptions.getPosition() != null) { - if (creditOptions.getPosition().getAlign() != null) { - target.addAttribute("align", creditOptions.getPosition() - .getAlign().getName()); - } - if (creditOptions.getPosition().getVertAlign() != null) { - target.addAttribute("verticalAlign", creditOptions - .getPosition().getVertAlign().getName()); - } - if (creditOptions.getPosition().getX() != null) { - target.addAttribute("x", creditOptions.getPosition().getX()); - } - if (creditOptions.getPosition().getY() != null) { - target.addAttribute("y", creditOptions.getPosition().getY()); - } - } - target.endTag("position"); - - if (creditOptions.getLink() != null) { - target.addAttribute("href", creditOptions.getLink()); - } - if (creditOptions.getStyle() != null) { - target.addAttribute("style", creditOptions.getStyle()); - } - if (creditOptions.getText() != null) { - target.addAttribute("text", creditOptions.getText()); - } - target.endTag("credit"); - } - - /** - * Writes configuration attributes of the chart legend. - * - * @param target - * @param legendOptions - * @throws PaintException - */ - public static void writeLegendConfig(PaintTarget target, - Legend legendOptions) throws PaintException { - target.startTag("legend"); - - if (legendOptions.getBackgroundColor() != null) { - target.addAttribute("backgroundColor", legendOptions - .getBackgroundColor().getString()); - } - - if (legendOptions.getBorderColor() != null) { - target.addAttribute("borderColor", legendOptions.getBorderColor() - .getString()); - } - - if (legendOptions.getBorderRadius() != null) { - target.addAttribute("borderRadius", legendOptions.getBorderRadius()); - } - - if (legendOptions.getBorderWidth() != null) { - target.addAttribute("borderWidth", legendOptions.getBorderWidth()); - } - - if (legendOptions.getEnabled() != null) { - target.addAttribute("enabled", legendOptions.getEnabled()); - } - - if (legendOptions.getFloating() != null) { - target.addAttribute("floating", legendOptions.getFloating()); - } - - if (legendOptions.getItemHiddenStyle() != null) { - target.addAttribute("itemHiddenStyle", - legendOptions.getItemHiddenStyle()); - } - - if (legendOptions.getItemHoverStyle() != null) { - target.addAttribute("itemHoverStyle", - legendOptions.getItemHoverStyle()); - } - - if (legendOptions.getItemStyle() != null) { - target.addAttribute("itemStyle", legendOptions.getItemStyle()); - } - - if (legendOptions.getItemWidth() != null) { - target.addAttribute("itemWidth", legendOptions.getItemWidth()); - } - - if (legendOptions.getLayout() != null) { - target.addAttribute("layout", legendOptions.getLayout().getName()); - } - - if (legendOptions.getLabelFormatterJsFunc() != null) { - target.addAttribute("labelFormatter", - legendOptions.getLabelFormatterJsFunc()); - } - - if (legendOptions.getMargin() != null) { - target.addAttribute("margin", legendOptions.getMargin()); - } - - if (legendOptions.getReversed() != null) { - target.addAttribute("reversed", legendOptions.getReversed()); - } - - if (legendOptions.getShadow() != null) { - target.addAttribute("shadow", legendOptions.getShadow()); - } - - if (legendOptions.getSymbolPadding() != null) { - target.addAttribute("symbolPadding", - legendOptions.getSymbolPadding()); - } - - if (legendOptions.getSymbolWidth() != null) { - target.addAttribute("symbolWidth", legendOptions.getSymbolWidth()); - } - - if (legendOptions.getWidth() != null) { - target.addAttribute("width", legendOptions.getWidth()); - } - - if (legendOptions.getPosition() != null) { - if (legendOptions.getPosition().getAlign() != null) { - target.addAttribute("align", legendOptions.getPosition() - .getAlign().getName()); - } - if (legendOptions.getPosition().getVertAlign() != null) { - target.addAttribute("verticalAlign", legendOptions - .getPosition().getVertAlign().getName()); - } - if (legendOptions.getPosition().getX() != null) { - target.addAttribute("x", legendOptions.getPosition().getX()); - } - if (legendOptions.getPosition().getY() != null) { - target.addAttribute("y", legendOptions.getPosition().getY()); - } - } - - target.endTag("legend"); - } - - /** - * Writes configuration attributes of the chart tooltip. - * - * @param target - * @param tooltipOptions - * @throws PaintException - */ - public static void writeTooltipConfig(PaintTarget target, - Tooltip tooltipOptions) throws PaintException { - target.startTag("tooltip"); - - if (tooltipOptions.getBackgroundColor() != null) { - target.addAttribute("backgroundColor", tooltipOptions - .getBackgroundColor().getString()); - } - if (tooltipOptions.getBorderColor() != null) { - target.addAttribute("borderColor", tooltipOptions.getBorderColor() - .getString()); - } - if (tooltipOptions.getBorderRadius() != null) { - target.addAttribute("borderRadius", - tooltipOptions.getBorderRadius()); - } - if (tooltipOptions.getBorderWidth() != null) { - target.addAttribute("borderWidth", tooltipOptions.getBorderWidth()); - } - if (tooltipOptions.getCrosshairs() != null) { - target.addAttribute("crosshairs", tooltipOptions.getCrosshairs()); - } - if (tooltipOptions.getEnabled() != null) { - target.addAttribute("enabled", tooltipOptions.getEnabled()); - } - if (tooltipOptions.getFormatterJsFunc() != null) { - target.addAttribute("formatter", - tooltipOptions.getFormatterJsFunc()); - } - if (tooltipOptions.getShadow() != null) { - target.addAttribute("shadow", tooltipOptions.getShadow()); - } - if (tooltipOptions.getShared() != null) { - target.addAttribute("shared", tooltipOptions.getShared()); - } - if (tooltipOptions.getSnap() != null) { - target.addAttribute("snap", tooltipOptions.getSnap()); - } - if (tooltipOptions.getStyle() != null) { - target.addAttribute("style", tooltipOptions.getStyle()); - } - - target.endTag("tooltip"); - } - - /** - * Writes configuration attributes of the chart itself. - * - * @param target - * @param chartOptions - * @throws PaintException - */ - public static void writeGeneralChartConfig(PaintTarget target, - GeneralChartConfig chartOptions) throws PaintException { - target.startTag("chart"); - - if (chartOptions.getType() != null) { - target.addAttribute("type", chartOptions.getType().getName()); - } - - if (chartOptions.getWidth() != null) { - target.addAttribute("width", chartOptions.getWidth()); - } - if (chartOptions.getHeight() != null) { - target.addAttribute("height", chartOptions.getHeight()); - } - - if (chartOptions.getBackgroundColor() != null) { - target.addAttribute("backgroundColor", chartOptions - .getBackgroundColor().getString()); - } - if (chartOptions.getBorderColor() != null) { - target.addAttribute("borderColor", chartOptions.getBorderColor() - .getString()); - } - if (chartOptions.getBorderRadius() != null) { - target.addAttribute("borderRadius", chartOptions.getBorderRadius()); - } - if (chartOptions.getBorderWidth() != null) { - target.addAttribute("borderWidth", chartOptions.getBorderWidth()); - } - - if (chartOptions.getIgnoreHiddenSeries() != null) { - target.addAttribute("ignoreHiddenSeries", - chartOptions.getIgnoreHiddenSeries()); - } - if (chartOptions.getInverted() != null) { - target.addAttribute("inverted", chartOptions.getInverted()); - } - - if (chartOptions.getMargin() != null) { - if (chartOptions.getMargin().getTop() != null) { - target.addAttribute("marginTop", chartOptions.getMargin() - .getTop()); - } - if (chartOptions.getMargin().getLeft() != null) { - target.addAttribute("marginLeft", chartOptions.getMargin() - .getLeft()); - } - if (chartOptions.getMargin().getBottom() != null) { - target.addAttribute("marginBottom", chartOptions.getMargin() - .getBottom()); - } - if (chartOptions.getMargin().getRight() != null) { - target.addAttribute("marginRight", chartOptions.getMargin() - .getRight()); - } - } - - if (chartOptions.getSpacing() != null) { - - if (chartOptions.getSpacing().getTop() != null) { - target.addAttribute("spacingTop", chartOptions.getSpacing() - .getTop()); - } - if (chartOptions.getSpacing().getLeft() != null) { - target.addAttribute("spacingLeft", chartOptions.getSpacing() - .getLeft()); - } - if (chartOptions.getSpacing().getBottom() != null) { - target.addAttribute("spacingBottom", chartOptions.getSpacing() - .getBottom()); - } - if (chartOptions.getSpacing().getRight() != null) { - target.addAttribute("spacingRight", chartOptions.getSpacing() - .getRight()); - } - } - - if (chartOptions.getShowAxes() != null) { - target.addAttribute("showAxes", chartOptions.getShowAxes()); - } - if (chartOptions.getZoomType() != null) { - target.addAttribute("zoomType", chartOptions.getZoomType() - .getName()); - } - target.addAttribute("clientZoom", chartOptions.isClientZoom()); - - if (chartOptions.getAlignTicks() != null) { - target.addAttribute("alignTicks", chartOptions.getAlignTicks()); - } - if (chartOptions.getAnimation() != null) { - target.addAttribute("animation", chartOptions.getAnimation()); - } - if (chartOptions.getClassName() != null) { - target.addAttribute("className", chartOptions.getClassName()); - } - - if (chartOptions.getPlot() != null) { - if (chartOptions.getPlot().getBackgroundColor() != null) { - target.addAttribute("plotBackgroundColor", chartOptions - .getPlot().getBackgroundColor().getString()); - } - if (chartOptions.getPlot().getBorderColor() != null) { - target.addAttribute("plotBorderColor", chartOptions.getPlot() - .getBorderColor().getString()); - } - if (chartOptions.getPlot().getBackgroundImage() != null) { - target.addAttribute("plotBackgroundImage", chartOptions - .getPlot().getBackgroundImage()); - } - if (chartOptions.getPlot().getBorderWidth() != null) { - target.addAttribute("plotBorderWidth", chartOptions.getPlot() - .getBorderWidth()); - } - if (chartOptions.getPlot().getShadow() != null) { - target.addAttribute("plotShadow", chartOptions.getPlot() - .getShadow()); - } - } - - if (chartOptions.getReflow() != null) { - target.addAttribute("reflow", chartOptions.getReflow()); - } - if (chartOptions.getShadow() != null) { - target.addAttribute("shadow", chartOptions.getShadow()); - } - if (chartOptions.getStyle() != null) { - target.addAttribute("style", chartOptions.getStyle()); - } - - target.endTag("chart"); - } - - /** - * Writes configuration attributes of every series type. The series type can - * be one of the line, spline, scatter, area, areaspline, bar, column and - * pie. - * - * @param target - * @param seriesOptions - * @throws PaintException - */ - public static void writeSeriesConfigPerSeriesType(PaintTarget target, - Map seriesOptions) throws PaintException { - target.startTag("seriesOptionsPerSeriesType"); - // For each SeriesType have separate tag - for (Entry seriesEntryOptions : seriesOptions - .entrySet()) { - String tagName = seriesEntryOptions.getKey().getName(); - // - target.startTag(tagName); - // Write options for appropriate series type - writeSeriesConfig(target, seriesEntryOptions.getValue()); - // - target.endTag(tagName); - } - target.endTag("seriesOptionsPerSeriesType"); - } - - /** - * Writes configuration attributes of a single series. - * - * @param target - * @param series - * @throws PaintException - */ - private static void writeSeriesConfig(PaintTarget target, - SeriesConfig series) throws PaintException { - // Write options for appropriate series type - if (series instanceof LineConfig) { - writeLineOptions(target, (LineConfig) series); - } else if (series instanceof ScatterConfig) { - writeScatterOptions(target, (ScatterConfig) series); - } else if (series instanceof SplineConfig) { - writeSplineOptions(target, (SplineConfig) series); - } else if (series instanceof AreaConfig) { - writeAreaOptions(target, (AreaConfig) series); - } else if (series instanceof AreaSplineConfig) { - writeAreaSplineOptions(target, (AreaSplineConfig) series); - } else if (series instanceof ColumnConfig) { - writeColumnOptions(target, (ColumnConfig) series); - } else if (series instanceof BarConfig) { - writeBarOptions(target, (BarConfig) series); - } else if (series instanceof PieConfig) { - writePieOptions(target, (PieConfig) series); - } else { // Common series attributes - writeCommonSeriesOptions(target, series); - } - } - - /** - * Writes configuration attributes common to all types of series. - * - * @param target - * @param seriesOptions - * @throws PaintException - */ - private static void writeCommonSeriesOptions(PaintTarget target, - SeriesConfig seriesOptions) throws PaintException { - if (seriesOptions.getAllowPointSelect() != null) { - target.addAttribute("allowPointSelect", - seriesOptions.getAllowPointSelect()); - } - if (seriesOptions.getAnimation() != null) { - target.addAttribute("animation", seriesOptions.getAnimation()); - } - if (seriesOptions.getCursor() != null) { - target.addAttribute("cursor", seriesOptions.getCursor()); - } - // - if (seriesOptions.getColor() != null) { - target.addAttribute("color", seriesOptions.getColor().getString()); - } - if (seriesOptions.getEnableMouseTracking() != null) { - target.addAttribute("enableMouseTracking", - seriesOptions.getEnableMouseTracking()); - } - // if (seriesOptions.getSelected() != null) { - // target.addAttribute("selected", seriesOptions.getSelected()); - // } - if (seriesOptions.getShowCheckbox() != null) { - target.addAttribute("showCheckbox", seriesOptions.getShowCheckbox()); - } - if (seriesOptions.getShowInLegend() != null) { - target.addAttribute("showInLegend", seriesOptions.getShowInLegend()); - } - if (seriesOptions.getStacking() != null) { - target.addAttribute("stacking", seriesOptions.getStacking() - .getName()); - } - if (seriesOptions.getShadow() != null) { - target.addAttribute("shadow", seriesOptions.getShadow()); - } - if (seriesOptions.getVisible() != null) { - target.addAttribute("visible", seriesOptions.getVisible()); - } - // Data Label - writeSeriesDataLabel(target, seriesOptions.getDataLabel()); - // State - writeSeriesState(target, seriesOptions.getHoverState()); - } - - /** - * Writes configuration attributes of a series hover state. - * - * @param target - * @param seriesState - * @throws PaintException - */ - private static void writeSeriesState(PaintTarget target, - SeriesState seriesState) throws PaintException { - target.startTag("state"); - if (seriesState != null) { - target.startTag("hover"); - if (seriesState.getEnabled() != null) { - target.addAttribute("enabled", seriesState.getEnabled()); - } - if (seriesState.getLineWidth() != null) { - target.addAttribute("lineWidth", seriesState.getLineWidth()); - } - if (seriesState instanceof NonLinearSeriesState - && ((NonLinearSeriesState) seriesState).getBrightness() != null) { - target.addAttribute("brightness", - ((NonLinearSeriesState) seriesState).getBrightness()); - } - target.endTag("hover"); - } - target.endTag("state"); - } - - /** - * Writes configuration attributes common to all types of series. It takes - * care of specific data labels in case of pie. - * - * @param target - * @param dataLabel - * @throws PaintException - */ - private static void writeSeriesDataLabel(PaintTarget target, - DataLabel dataLabel) throws PaintException { - target.startTag("dataLabel"); - if (dataLabel != null) { - if (dataLabel instanceof PieDataLabel) { - writePieDataLabel(target, (PieDataLabel) dataLabel); - } else { - writeDataLabel(target, dataLabel); - } - } - target.endTag("dataLabel"); - } - - /** - * Writes configuration attributes of a series data labels. - * - * @param target - * @param dataLabel - * @throws PaintException - */ - private static void writeDataLabel(PaintTarget target, DataLabel dataLabel) - throws PaintException { - if (dataLabel.getAlign() != null) { - target.addAttribute("align", dataLabel.getAlign().getName()); - } - if (dataLabel.getEnabled() != null) { - target.addAttribute("enabled", dataLabel.getEnabled()); - } - if (dataLabel.getFormatterJsFunc() != null) { - target.addAttribute("formatter", dataLabel.getFormatterJsFunc()); - } - if (dataLabel.getRotation() != null) { - target.addAttribute("rotation", dataLabel.getRotation()); - } - if (dataLabel.getStyle() != null) { - target.addAttribute("style", dataLabel.getStyle()); - } - if (dataLabel.getX() != null) { - target.addAttribute("x", dataLabel.getX()); - } - if (dataLabel.getY() != null) { - target.addAttribute("y", dataLabel.getY()); - } - if (dataLabel.getColor() != null) { - target.addAttribute("color", dataLabel.getColor().getString()); - } - } - - /** - * Writes configuration attributes of a pie chart's data label. - * - * @param target - * @param dataLabel - * @throws PaintException - */ - private static void writePieDataLabel(PaintTarget target, - PieDataLabel dataLabel) throws PaintException { - - writeDataLabel(target, dataLabel); - - if (dataLabel.getConnectorWidth() != null) { - target.addAttribute("connectorWidth", dataLabel.getConnectorWidth()); - } - if (dataLabel.getConnectorPadding() != null) { - target.addAttribute("connectorPadding", - dataLabel.getConnectorPadding()); - } - if (dataLabel.getConnectorColor() != null) { - target.addAttribute("connectorColor", dataLabel.getConnectorColor() - .getString()); - } - if (dataLabel.getDistance() != null) { - target.addAttribute("distance", dataLabel.getDistance()); - } - } - - /** - * Writes configuration attributes of an axis data labels. - * - * @param target - * @param dataLabel - * @throws PaintException - */ - private static void writeAxisDataLabel(PaintTarget target, - AxisDataLabel dataLabel) throws PaintException { - - writeDataLabel(target, dataLabel); - - if (dataLabel.getStep() != null) { - target.addAttribute("step", dataLabel.getStep()); - } - } - - /** - * Writes configuration attributes of an x-axis data labels. - * - * @param target - * @param dataLabel - * @throws PaintException - */ - private static void writeXAxisDataLabel(PaintTarget target, - XAxisDataLabel dataLabel) throws PaintException { - target.startTag("label"); - if (dataLabel != null) { - writeAxisDataLabel(target, dataLabel); - - if (dataLabel.getStaggerLines() != null) { - target.addAttribute("staggerLines", dataLabel.getStaggerLines()); - } - } - - target.endTag("label"); - } - - /** - * Writes configuration attributes of y-axis data labels. - * - * @param target - * @param dataLabel - * @throws PaintException - */ - private static void writeYAxisDataLabel(PaintTarget target, - YAxisDataLabel dataLabel) throws PaintException { - target.startTag("label"); - - if (dataLabel != null) { - writeAxisDataLabel(target, dataLabel); - } - target.endTag("label"); - } - - /** - * Writes configuration attributes of a marker. It takes care of handling - * image or symbol marker. - * - * @param target - * @param markerOptions - * @throws PaintException - */ - private static void writeMarkerOptions(PaintTarget target, - Marker markerOptions) throws PaintException { - target.startTag("marker"); - if (markerOptions != null) { - if (markerOptions.getEnabled() != null) { - target.addAttribute("enabled", markerOptions.getEnabled()); - } - if (markerOptions instanceof ImageMarker) { - target.addAttribute("markerType", "image"); - writeImageMarkerOptions(target, (ImageMarker) markerOptions); - } else if (markerOptions instanceof SymbolMarker) { - target.addAttribute("markerType", "symbol"); - writeSymbolMarkerOptions(target, (SymbolMarker) markerOptions); - writeMarkerStates(target, (SymbolMarker) markerOptions); - } - } - target.endTag("marker"); - } - - /** - * Writes configuration attributes of a marker states hover and select - * - * - * @param target - * @param marker - * @throws PaintException - */ - private static void writeMarkerStates(PaintTarget target, - SymbolMarker marker) throws PaintException { - target.startTag("states"); - // - target.startTag("hover"); - if (marker.getHoverState() != null) { - writeMarkerState(target, marker.getHoverState()); - } - target.endTag("hover"); - - // - target.startTag("select"); - if (marker.getSelectState() != null) { - writeMarkerState(target, marker.getSelectState()); - } - target.endTag("select"); - - target.endTag("states"); - } - - /** - * Writes configuration attributes of an image marker - * - * @param target - * @param imgMarker - * @throws PaintException - */ - private static void writeImageMarkerOptions(PaintTarget target, - ImageMarker imgMarker) throws PaintException { - if (imgMarker.getImageURL() != null) { - target.addAttribute("symbol", imgMarker.getImageURL()); - } - } - - /** - * Writes configuration attributes of a symbol marker - * - * @param target - * @param symbolMarker - * @throws PaintException - */ - private static void writeSymbolMarkerOptions(PaintTarget target, - SymbolMarker symbolMarker) throws PaintException { - if (symbolMarker.getFillColor() != null) { - target.addAttribute("fillColor", symbolMarker.getFillColor() - .getString()); - } - if (symbolMarker.getLineColor() != null) { - target.addAttribute("lineColor", symbolMarker.getLineColor() - .getString()); - } - if (symbolMarker.getLineWidth() != null) { - target.addAttribute("lineWidth", symbolMarker.getLineWidth()); - } - if (symbolMarker.getRadius() != null) { - target.addAttribute("radius", symbolMarker.getRadius()); - } - if (symbolMarker.getSymbol() != null) { - target.addAttribute("symbol", symbolMarker.getSymbol().getName()); - } - } - - /** - * Writes configuration attributes of a marker - * - * @param target - * @param markerState - * @throws PaintException - */ - private static void writeMarkerState(PaintTarget target, - MarkerState markerState) throws PaintException { - if (markerState.getEnabled() != null) { - target.addAttribute("enabled", markerState.getEnabled()); - } - if (markerState.getFillColor() != null) { - target.addAttribute("fillColor", markerState.getFillColor() - .getString()); - } - if (markerState.getLineColor() != null) { - target.addAttribute("lineColor", markerState.getLineColor() - .getString()); - } - if (markerState.getLineWidth() != null) { - target.addAttribute("lineWidth", markerState.getLineWidth()); - } - if (markerState.getRadius() != null) { - target.addAttribute("radius", markerState.getRadius()); - } - } - - /** - * Writes configuration attributes common to all lines series such as line, - * spline and area. - * - * @param target - * @param baseLineOptions - * @throws PaintException - */ - private static void writeBaseLineOptions(PaintTarget target, - BaseLineConfig baseLineOptions) throws PaintException { - writeCommonSeriesOptions(target, baseLineOptions); - if (baseLineOptions.getDashStyle() != null) { - target.addAttribute("dashStyle", baseLineOptions.getDashStyle() - .getName()); - } - if (baseLineOptions.getLineWidth() != null) { - target.addAttribute("lineWidth", baseLineOptions.getLineWidth()); - } - if (baseLineOptions.getPointInterval() != null) { - target.addAttribute("pointInterval", - baseLineOptions.getPointInterval()); - } - if (baseLineOptions.getPointStart() != null) { - target.addAttribute("pointStart", baseLineOptions.getPointStart()); - } - if (baseLineOptions.getStickyTracking() != null) { - target.addAttribute("stickyTracking", - baseLineOptions.getStickyTracking()); - } - writeMarkerOptions(target, baseLineOptions.getMarker()); - } - - /** - * Writes configuration attributes of a spline series - * - * @param target - * @param splineOptions - * @throws PaintException - */ - private static void writeSplineOptions(PaintTarget target, - SplineConfig splineOptions) throws PaintException { - writeBaseLineOptions(target, splineOptions); - } - - /** - * Writes configuration attributes of s scatter series - * - * @param target - * @param scatterOptions - * @throws PaintException - */ - private static void writeScatterOptions(PaintTarget target, - ScatterConfig scatterOptions) throws PaintException { - writeBaseLineOptions(target, scatterOptions); - } - - /** - * Writes configuration attributes of a line series - * - * @param target - * @param lineOptions - * @throws PaintException - */ - private static void writeLineOptions(PaintTarget target, - LineConfig lineOptions) throws PaintException { - writeBaseLineOptions(target, lineOptions); - // - if (lineOptions.getStep() != null) { - target.addAttribute("step", lineOptions.getStep()); - } - } - - /** - * Writes configuration attributes of an area series - * - * @param target - * @param areaOptions - * @throws PaintException - */ - private static void writeAreaOptions(PaintTarget target, - AreaConfig areaOptions) throws PaintException { - writeBaseLineOptions(target, areaOptions); - // - if (areaOptions.getFillColor() != null) { - target.addAttribute("fillColor", areaOptions.getFillColor() - .getString()); - } - if (areaOptions.getFillOpacity() != null) { - target.addAttribute("fillOpacity", areaOptions.getFillOpacity()); - } - if (areaOptions.getLineColor() != null) { - target.addAttribute("lineColor", areaOptions.getLineColor() - .getString()); - } - if (areaOptions.getThreshold() != null) { - target.addAttribute("threshold", areaOptions.getThreshold()); - } - } - - /** - * Writes configuration attributes of an area-spline - * - * @param target - * @param areaSplineOptions - * @throws PaintException - */ - private static void writeAreaSplineOptions(PaintTarget target, - AreaSplineConfig areaSplineOptions) throws PaintException { - writeAreaOptions(target, areaSplineOptions); - } - - /** - * Writes configuration attributes of a pie series - * - * @param target - * @param pieOptions - * @throws PaintException - */ - private static void writePieOptions(PaintTarget target, PieConfig pieOptions) - throws PaintException { - writeCommonSeriesOptions(target, pieOptions); - // - if (pieOptions.getBorderColor() != null) { - target.addAttribute("borderColor", pieOptions.getBorderColor() - .getString()); - } - if (pieOptions.getBorderWidth() != null) { - target.addAttribute("borderWidth", pieOptions.getBorderWidth()); - } - if (pieOptions.getCenterX() != null) { - target.addAttribute("centerX", pieOptions.getCenterX()); - } - if (pieOptions.getCenterY() != null) { - target.addAttribute("centerY", pieOptions.getCenterY()); - } - if (pieOptions.getInnerSize() != null) { - target.addAttribute("innerSize", pieOptions.getInnerSize()); - } - if (pieOptions.getSize() != null) { - target.addAttribute("size", pieOptions.getSize()); - } - if (pieOptions.getSlicedOffset() != null) { - target.addAttribute("slicedOffset", pieOptions.getSlicedOffset()); - } - } - - /** - * Writes configuration attributes common to columnar series such as bar and - * column - * - * @param target - * @param baseBarOptions - * @throws PaintException - */ - private static void writeBaseBarOptions(PaintTarget target, - BaseBarConfig baseBarOptions) throws PaintException { - writeCommonSeriesOptions(target, baseBarOptions); - - if (baseBarOptions.getBorderColor() != null) { - target.addAttribute("borderColor", baseBarOptions.getBorderColor() - .getString()); - } - if (baseBarOptions.getBorderRadius() != null) { - target.addAttribute("borderRadius", - baseBarOptions.getBorderRadius()); - } - if (baseBarOptions.getBorderWidth() != null) { - target.addAttribute("borderWidth", baseBarOptions.getBorderWidth()); - } - if (baseBarOptions.getColorByPoint() != null) { - target.addAttribute("colorByPoint", - baseBarOptions.getColorByPoint()); - } - if (baseBarOptions.getGroupPadding() != null) { - target.addAttribute("groupPadding", - baseBarOptions.getGroupPadding()); - } - if (baseBarOptions.getMinPointLength() != null) { - target.addAttribute("minPointLength", - baseBarOptions.getMinPointLength()); - } - if (baseBarOptions.getPointPadding() != null) { - target.addAttribute("pointPadding", - baseBarOptions.getPointPadding()); - } - if (baseBarOptions.getPointWidth() != null) { - target.addAttribute("pointWidth", baseBarOptions.getPointWidth()); - } - } - - /** - * Writes configuration attributes of a bar series - * - * @param target - * @param barOptions - * @throws PaintException - */ - private static void writeBarOptions(PaintTarget target, BarConfig barOptions) - throws PaintException { - writeBaseBarOptions(target, barOptions); - } - - /** - * Writes configuration attributes of a column series - * - * @param target - * @param columnOptions - * @throws PaintException - */ - private static void writeColumnOptions(PaintTarget target, - ColumnConfig columnOptions) throws PaintException { - writeBaseBarOptions(target, columnOptions); - } - - /** - * Writes data of each series of the chart. It transforms data into a form - * which is usable by the Vaadin terminal class. It also writes - * configuration attributes specific to each series, if any. - * - * @param target - * @param chartSeriesType - * @param data - * @param xAxes - * @param yAxes - * @throws PaintException - */ - public static void writeSeries(PaintTarget target, - SeriesType chartSeriesType, LinkedHashSet data, - LinkedHashSet xAxes, LinkedHashSet yAxes) - throws PaintException { - if (data == null) { - return; - } - for (Series series : data) { - target.startTag("series"); - - if (series.getName() != null && series.getName().length() > 0) { - target.addAttribute("name", series.getName()); - } - if (series.getType() != null) { - target.addAttribute("type", series.getType().getName()); - } - if (series.getStack() != null && series.getStack().length() > 0) { - target.addAttribute("stack", series.getStack()); - } - - target.addAttribute("xAxis", - getXAxisIndex(series.getXAxis(), xAxes)); - target.addAttribute("yAxis", - getYAxisIndex(series.getYAxis(), yAxes)); - - String seriesOptionsTagName = chartSeriesType.getName(); - if (series.getType() != null) { - seriesOptionsTagName = series.getType().getName(); - } - - target.startTag(seriesOptionsTagName); - if (series.getConfig() != null) { - writeSeriesConfig(target, series.getConfig()); - } - target.endTag(seriesOptionsTagName); - - target.startTag("points"); - if (series.getPoints() != null) { - writePoints(target, series.getPoints()); - } - target.endTag("points"); - - target.endTag("series"); - } - - } - - /** - * Writes point data (x, y) and its configuration attributes, if any. If a - * point does not have x and y values then the point is skipped. However, - * for such points empty tags is created without any attributes or children. - * - * @param target - * @param points - * @throws PaintException - */ - private static void writePoints(PaintTarget target, - LinkedHashSet points) throws PaintException { - if (points == null) { - return; - } - for (Point point : points) { - target.startTag("point"); - if (point.getX() != null || point.getY() != null) { - if (point.getId() != null && point.getId().length() > 0) { - target.addAttribute("id", point.getId()); - } - if (point.getName() != null && point.getName().length() > 0) { - target.addAttribute("name", point.getName()); - } - if (point.getX() != null) { - if (point instanceof DecimalPoint) { - target.addAttribute("x", (Double) point.getX()); - } else { - target.addAttribute( - "x", - getDate((Date) point.getX(), - ((DateTimeSeries) point.getSeries()) - .isIncludeTime())); - } - } - if (point.getY() != null) { - target.addAttribute("y", (Double) point.getY()); - } - target.addAttribute("isShift", point.isShift()); - // Point config - if (point.getConfig() != null) { - if (point.getConfig().getSliced() != null) { - target.addAttribute("sliced", point.getConfig() - .getSliced()); - } - if (point.getConfig().getSelected() != null) { - target.addAttribute("selected", point.getConfig() - .getSelected()); - } - if (point.getConfig().getColor() != null) { - target.addAttribute("color", point.getConfig() - .getColor().getString()); - } - if (point.getConfig().getMarker() != null) { - writeMarkerOptions(target, point.getConfig() - .getMarker()); - } - } - } - target.endTag("point"); - } - } - - /** - * Writes configuration attributes common to all types of axis. - * - * @param target - * @param axis - * @param axes - * @throws PaintException - */ - private static void writeBaseAxis(PaintTarget target, AxisBase axis, - LinkedHashSet axes) throws PaintException { - - if (axis.getAlternateGridColor() != null) { - target.addAttribute("alternateGridColor", axis - .getAlternateGridColor().getString()); - } - if (axis.getEndOnTick() != null) { - target.addAttribute("endOnTick", axis.getEndOnTick()); - } - if (axis.getGrid() != null) { - writeAxisGrid(target, axis.getGrid()); - } - if (axis.getId() != null && axis.getId().length() > 0) { - target.addAttribute("id", axis.getId()); - } - - if (axis.getLineColor() != null) { - target.addAttribute("lineColor", axis.getLineColor().getString()); - } - if (axis.getLineWidth() != null) { - target.addAttribute("lineWidth", axis.getLineWidth()); - } - if (axis.getLinkedTo() != null) { - target.addAttribute("linkedTo", - getAxisIndex(axis.getLinkedTo(), axes)); - } - - if (axis.getMaxPadding() != null) { - target.addAttribute("maxPadding", axis.getMaxPadding()); - } - if (axis.getMaxZoom() != null) { - target.addAttribute("maxZoom", axis.getMaxZoom()); - } - if (axis.getMinPadding() != null) { - target.addAttribute("minPadding", axis.getMinPadding()); - } - - // - if (axis.getMinorGrid() != null) { - writeAxisMinorGrid(target, axis.getMinorGrid()); - } - // - if (axis.getMinorTick() != null) { - writeAxisMinorTick(target, axis.getMinorTick()); - } - - if (axis.getOffset() != null) { - target.addAttribute("offset", axis.getOffset()); - } - if (axis.getOpposite() != null) { - target.addAttribute("opposite", axis.getOpposite()); - } - if (axis.getReversed() != null) { - target.addAttribute("reversed", axis.getReversed()); - } - if (axis.getShowFirstLabel() != null) { - target.addAttribute("showFirstLabel", axis.getShowFirstLabel()); - } - if (axis.getShowLastLabel() != null) { - target.addAttribute("showLastLabel", axis.getShowLastLabel()); - } - - if (axis.getStartOfWeek() != null) { - target.addAttribute("startOfWeek", axis.getStartOfWeek().ordinal()); - } - if (axis.getStartOnTick() != null) { - target.addAttribute("startOnTick", axis.getStartOnTick()); - } - // - if (axis.getTick() != null) { - writeAxisTick(target, axis.getTick()); - } - // - if (axis.getType() != null) { - target.addAttribute("type", axis.getType().getName()); - } - // Title - writeAxisTitle(target, axis.getTitle()); - // Labels - if (axis.getLabel() instanceof XAxisDataLabel) { - writeXAxisDataLabel(target, (XAxisDataLabel) axis.getLabel()); - } else { - writeYAxisDataLabel(target, (YAxisDataLabel) axis.getLabel()); - } - - if (axis instanceof NumberAxis) { - writePlotBands(target, ((NumberAxis) axis).getPlotBands()); - // - writePlotLines(target, ((NumberAxis) axis).getPlotLines()); - } else if (axis instanceof DateTimeAxis) { - writePlotBands(target, ((DateTimeAxis) axis).getPlotBands()); - // - writePlotLines(target, ((DateTimeAxis) axis).getPlotLines()); - } else if (axis instanceof CategoryAxis) { - writePlotBands(target, ((CategoryAxis) axis).getPlotBands()); - // - writePlotLines(target, ((CategoryAxis) axis).getPlotLines()); - } - - } - - /** - * Returns an index of an x-axis in a list of x-axis only if the x-axis - * exists otherwise null - * - * @param indexOfXAxis - * @param xAxes - * @return Retrieves Retrieves an index of an x-axis in a list of x-axis - * only if the x-axis exists otherwise null - */ - private static Integer getXAxisIndex(XAxis indexOfXAxis, - LinkedHashSet xAxes) { - return getAxisIndex(indexOfXAxis, xAxes); - } - - /** - * Returns an index of a y-axis in a list of y-axis only if the y-axis - * exists otherwise null - * - * @param indexOfYAxis - * @param yAxes - * @return Returns index of a y-axis in a list of y-axis only if the y-axis - * exists otherwise null - */ - private static Integer getYAxisIndex(YAxis indexOfYAxis, - LinkedHashSet yAxes) { - return getAxisIndex(indexOfYAxis, yAxes); - } - - /** - * Returns an index of an axis in a list of axis only if the axis exists - * otherwise null - * - * @param indexOfAxis - * @param axes - * @return Returns an index of an axis in a list of axis only if the axis - * exists otherwise null - */ - private static Integer getAxisIndex(Axis indexOfAxis, - LinkedHashSet axes) { - if (indexOfAxis == null || axes == null || axes.size() == 0) { - return 0; - } - int index = 0; - for (Axis axis : axes) { - if (axis == indexOfAxis) { - return index; - } - index++; - } - - return null; - } - - /** - * Writes configuration attributes of the plotbands associated with an axis. - * - * @param target - * @param plotBands - * @throws PaintException - */ - private static void writePlotBands(PaintTarget target, - LinkedHashSet plotBands) throws PaintException { - target.startTag("plotBands"); - if (plotBands != null) { - for (PlotBand plotBand : plotBands) { - target.startTag("plotBand"); - - if (plotBand.getColor() != null) { - target.addAttribute("color", plotBand.getColor() - .getString()); - } - if (plotBand.getId() != null) { - target.addAttribute("id", plotBand.getId()); - } - if (plotBand.getZIndex() != null) { - target.addAttribute("zIndex", plotBand.getZIndex()); - } - writePlotLabel(target, plotBand.getLabel()); - writePlotBandRange(target, plotBand.getRange()); - - target.endTag("plotBand"); - } - } - target.endTag("plotBands"); - } - - /** - * Writes configuration attributes of a plotlabel. - * - * @param target - * @param plotLabel - * @throws PaintException - */ - private static void writePlotLabel(PaintTarget target, PlotLabel plotLabel) - throws PaintException { - - target.startTag("label"); - - if (plotLabel != null) { - if (plotLabel.getAlign() != null) { - target.addAttribute("align", plotLabel.getAlign().getName()); - } - if (plotLabel.getRotation() != null) { - target.addAttribute("rotation", plotLabel.getRotation()); - } - if (plotLabel.getStyle() != null) { - target.addAttribute("style", plotLabel.getStyle()); - } - if (plotLabel.getText() != null) { - target.addAttribute("text", plotLabel.getText()); - } - if (plotLabel.getTextAlign() != null) { - target.addAttribute("textAlign", plotLabel.getTextAlign() - .getName()); - } - if (plotLabel.getVertAlign() != null) { - target.addAttribute("verticalAlign", plotLabel.getVertAlign() - .getName()); - } - if (plotLabel.getX() != null) { - target.addAttribute("x", plotLabel.getX()); - } - if (plotLabel.getY() != null) { - target.addAttribute("y", plotLabel.getY()); - } - } - - target.endTag("label"); - } - - /** - * Writes from/to value for a plotband. It considers date and number values - * separately. - * - * @param target - * @param plotBandRange - * @throws PaintException - */ - private static void writePlotBandRange(PaintTarget target, - Range plotBandRange) throws PaintException { - target.startTag("rangeValue"); - if (plotBandRange != null) { - if (plotBandRange instanceof NumberRange) { - target.addAttribute("valueType", "number"); - NumberRange numberRange = (NumberRange) plotBandRange; - if (numberRange.getFrom() != null) { - target.addAttribute("from", numberRange.getFrom()); - } - if (numberRange.getTo() != null) { - target.addAttribute("to", numberRange.getTo()); - } - } else if (plotBandRange instanceof DateTimeRange) { - target.addAttribute("valueType", "date"); - DateTimeRange dateRange = (DateTimeRange) plotBandRange; - target.startTag("from"); - if (dateRange.getFrom() != null) { - target.addAttribute("year", - getYearFromDate(dateRange.getFrom())); - target.addAttribute("month", - getMonthFromDate(dateRange.getFrom())); - target.addAttribute("day", - getDayFromDate(dateRange.getFrom())); - } - target.endTag("from"); - target.startTag("to"); - if (dateRange.getTo() != null) { - target.addAttribute("year", - getYearFromDate(dateRange.getTo())); - target.addAttribute("month", - getMonthFromDate(dateRange.getTo())); - target.addAttribute("day", - getDayFromDate(dateRange.getTo())); - } - target.endTag("to"); - } - } - target.endTag("rangeValue"); - } - - /** - * Writes configuration attributes of the plotlines - * - * @param target - * @param plotLines - * @throws PaintException - */ - private static void writePlotLines(PaintTarget target, - LinkedHashSet plotLines) throws PaintException { - target.startTag("plotLines"); - if (plotLines != null) { - for (PlotLine plotLine : plotLines) { - target.startTag("plotLine"); - - if (plotLine.getColor() != null) { - target.addAttribute("color", plotLine.getColor() - .getString()); - } - if (plotLine.getDashStyle() != null) { - target.addAttribute("dashStyle", plotLine.getDashStyle() - .getName()); - } - if (plotLine.getId() != null) { - target.addAttribute("id", plotLine.getId()); - } - if (plotLine.getWidth() != null) { - target.addAttribute("width", plotLine.getWidth()); - } - if (plotLine.getZIndex() != null) { - target.addAttribute("zIndex", plotLine.getZIndex()); - } - writePlotLabel(target, plotLine.getLabel()); - writePlotLineValue(target, plotLine.getValue()); - target.endTag("plotLine"); - } - } - target.endTag("plotLines"); - } - - /** - * Writes value of a plotline. It considers date and number value - * separately. - * - * @param target - * @param plotLineValue - * @throws PaintException - */ - private static void writePlotLineValue(PaintTarget target, - Value plotLineValue) throws PaintException { - - target.startTag("lineValue"); - if (plotLineValue != null) { - if (plotLineValue instanceof NumberValue - && ((NumberValue) plotLineValue).getValue() != null) { - target.addAttribute("valueType", "number"); - target.addAttribute("value", - ((NumberValue) plotLineValue).getValue()); - } else if (plotLineValue instanceof DateTimeValue - && ((DateTimeValue) plotLineValue).getValue() != null) { - target.addAttribute("valueType", "date"); - Date date = ((DateTimeValue) plotLineValue).getValue(); - target.addAttribute("year", getYearFromDate(date)); - target.addAttribute("month", getMonthFromDate(date)); - target.addAttribute("day", getDayFromDate(date)); - } - } - target.endTag("lineValue"); - } - - /** - * @param target - * @param tick - * @throws PaintException - */ - private static void writeAxisTick(PaintTarget target, Tick tick) - throws PaintException { - writeAxisMinorTick(target, tick); - if (tick.getPixelInterval() != null) { - target.addAttribute("tickPixelInterval", tick.getPixelInterval()); - } - if (tick.getPlacement() != null) { - target.addAttribute("tickmarkPlacement", tick.getPlacement() - .getName()); - } - } - - /** - * Writes configuration attributes of an axis. Depending on type of the - * argument tick, it either writes attributes for {@link MinorTick} or - * {@link Tick} - * - * @param target - * @param tick - * @throws PaintException - */ - private static void writeAxisMinorTick(PaintTarget target, MinorTick tick) - throws PaintException { - - String attNameColor = "minorTickColor"; - String attNameInterval = "minorTickInterval"; - String attNameLength = "minorTickLength"; - String attNamePosition = "minorTickPosition"; - String attNameWidth = "minorTickWidth"; - if (tick instanceof Tick) { - attNameColor = "tickColor"; - attNameInterval = "tickInterval"; - attNameLength = "tickLength"; - attNamePosition = "tickPosition"; - attNameWidth = "tickWidth"; - } - if (tick.getColor() != null) { - target.addAttribute(attNameColor, tick.getColor().getString()); - } - if (tick.getInterval() != null) { - target.addAttribute(attNameInterval, tick.getInterval()); - } - if (tick.getLength() != null) { - target.addAttribute(attNameLength, tick.getLength()); - } - if (tick.getPosition() != null) { - target.addAttribute(attNamePosition, tick.getPosition().getName()); - } - if (tick.getWidth() != null) { - target.addAttribute(attNameWidth, tick.getWidth()); - } - } - - /** - * @param target - * @param grid - * @throws PaintException - */ - private static void writeAxisGrid(PaintTarget target, Grid grid) - throws PaintException { - writeAxisMinorGrid(target, grid); - } - - /** - * Writes configuration attributes of an axis. Depending on type of the - * argument tick, it either writes attributes for {@link MinorGrid} or - * {@link Grid} - * - * @param target - * @param grid - * @throws PaintException - */ - private static void writeAxisMinorGrid(PaintTarget target, MinorGrid grid) - throws PaintException { - - String attNameLineColor = "minorGridLineColor"; - String attNameLineWidth = "minorGridLineWidth"; - String attNameLineDashStyle = "minorGridLineDashStyle"; - if (grid instanceof Grid) { - attNameLineColor = "gridLineColor"; - attNameLineWidth = "gridLineWidth"; - attNameLineDashStyle = "gridLineDashStyle"; - } - - if (grid.getLineColor() != null) { - target.addAttribute(attNameLineColor, grid.getLineColor() - .getString()); - } - if (grid.getLineWidth() != null) { - target.addAttribute(attNameLineWidth, grid.getLineWidth()); - } - if (grid.getLineDashStyle() != null) { - target.addAttribute(attNameLineDashStyle, grid.getLineDashStyle() - .getName()); - } - } - - /** - * - * @param target - * @param title - * @throws PaintException - */ - private static void writeAxisTitle(PaintTarget target, AxisTitle title) - throws PaintException { - target.startTag("title"); - if (title != null) { - if (title.getAlign() != null) { - target.addAttribute("align", title.getAlign().getName()); - } - if (title.getMargin() != null) { - target.addAttribute("margin", title.getMargin()); - } - if (title.getRotation() != null) { - target.addAttribute("rotation", title.getRotation()); - } - if (title.getStyle() != null) { - target.addAttribute("style", title.getStyle()); - } - if (title.getText() != null) { - target.addAttribute("text", title.getText()); - } - } - target.endTag("title"); - } - - /** - * Iteratively processes each x-axis and writes configuration attributes of - * each axis based on type of the axis e.g. {@link NumberAxis}, - * {@link DateTimeAxis} and {@link CategoryAxis} - * - * @param target - * @param axes - * @throws PaintException - */ - public static void writeXAxes(PaintTarget target, - LinkedHashSet axes, InvientChartsConfig config) - throws PaintException { - target.startTag("xAxes"); - - if (axes != null) { - for (XAxis xAxis : axes) { - target.startTag("xAxis"); - writeBaseAxis(target, (AxisBase) xAxis, axes); - if (xAxis instanceof NumberXAxis) { - writeNumberAxis(target, (NumberXAxis) xAxis); - } else if (xAxis instanceof CategoryAxis) { - writeCategoryAxis(target, (CategoryAxis) xAxis); - } else if (xAxis instanceof DateTimeAxis) { - // Check if time should be included as part of a date value. - // If any of the datetime series - writeDateTimeAxis( - target, - (DateTimeAxis) xAxis, - isIncludeTime((DateTimeAxis) xAxis, config - .getInvientCharts().getAllSeries())); - } - - target.endTag("xAxis"); - } - } - - target.endTag("xAxes"); - } - - private static boolean isIncludeTime(DateTimeAxis axis, - LinkedHashSet chartSeries) { - for (Series series : chartSeries) { - if (series instanceof DateTimeSeries && series.getXAxis() == axis) { - return ((DateTimeSeries) series).isIncludeTime(); - } - } - return false; - } - - /** - * @param target - * @param numberAxis - * @throws PaintException - */ - private static void writeNumberAxis(PaintTarget target, - NumberAxis numberAxis) throws PaintException { - if (numberAxis.getAllowDecimals() != null) { - target.addAttribute("allowDecimals", numberAxis.getAllowDecimals()); - } - if (numberAxis.getMax() != null) { - target.addAttribute("max", numberAxis.getMax()); - } - if (numberAxis.getMin() != null) { - target.addAttribute("min", numberAxis.getMin()); - } - } - - /** - * Returns milliseconds of the date argument dt excluding time. - * - * @param dt - * @return - */ - public static long getDate(Date dt) { - return getDate(dt, false); - } - - /** - * Returns milliseconds of the date argument dt. If the argument - * isIncludeTime is false then the returned milliseconds does not include - * time. - * - * @param dt - * @param isIncludeTime - * @return - */ - private static long getDate(Date dt, boolean isIncludeTime) { - Calendar cal = GregorianCalendar.getInstance(); - cal.setTime(dt); - if (!isIncludeTime) { - cal.set(Calendar.HOUR, 0); - cal.set(Calendar.MINUTE, 0); - cal.set(Calendar.SECOND, 0); - cal.set(Calendar.MILLISECOND, 0); - } - return cal.getTimeInMillis(); - } - - /** - * @param target - * @param dateTimeAxis - * @throws PaintException - */ - private static void writeDateTimeAxis(PaintTarget target, - DateTimeAxis dateTimeAxis, boolean isIncludeTime) - throws PaintException { - if (dateTimeAxis.getMax() != null) { - target.addAttribute("max", - getDate(dateTimeAxis.getMax(), isIncludeTime)); - } - if (dateTimeAxis.getMin() != null) { - target.addAttribute("min", - getDate(dateTimeAxis.getMin(), isIncludeTime)); - } - if (dateTimeAxis.getDateTimeLabelFormat() != null) { - target.startTag("dateTimeLabelFormats"); - DateTimeLabelFormat dateTimeLabelFormat = dateTimeAxis - .getDateTimeLabelFormat(); - if (dateTimeLabelFormat.getSecond() != null) { - target.addAttribute("second", dateTimeAxis - .getDateTimeLabelFormat().getSecond()); - } - if (dateTimeLabelFormat.getMinute() != null) { - target.addAttribute("minute", dateTimeAxis - .getDateTimeLabelFormat().getMinute()); - } - if (dateTimeLabelFormat.getHour() != null) { - target.addAttribute("hour", dateTimeAxis - .getDateTimeLabelFormat().getHour()); - } - if (dateTimeLabelFormat.getDay() != null) { - target.addAttribute("day", dateTimeAxis - .getDateTimeLabelFormat().getDay()); - } - if (dateTimeLabelFormat.getWeek() != null) { - target.addAttribute("week", dateTimeAxis - .getDateTimeLabelFormat().getWeek()); - } - if (dateTimeLabelFormat.getMonth() != null) { - target.addAttribute("month", dateTimeAxis - .getDateTimeLabelFormat().getMonth()); - } - if (dateTimeLabelFormat.getYear() != null) { - target.addAttribute("year", dateTimeAxis - .getDateTimeLabelFormat().getYear()); - } - target.endTag("dateTimeLabelFormats"); - } - } - - /** - * @param target - * @param categoryAxis - * @throws PaintException - */ - private static void writeCategoryAxis(PaintTarget target, - CategoryAxis categoryAxis) throws PaintException { - target.startTag("categories"); - if (categoryAxis.getCategories() != null - && categoryAxis.getCategories().size() > 0) { - for (String category : categoryAxis.getCategories()) { - target.startTag("category"); - target.addAttribute("name", category); - target.endTag("category"); - } - } - target.endTag("categories"); - } - - /** - * @param target - * @param axes - * @throws PaintException - */ - public static void writeYAxes(PaintTarget target, - LinkedHashSet axes, InvientChartsConfig config) - throws PaintException { - target.startTag("yAxes"); - - if (axes != null) { - for (YAxis yAxis : axes) { - target.startTag("yAxis"); - writeBaseAxis(target, (AxisBase) yAxis, axes); - if (yAxis instanceof NumberYAxis) { - writeNumberAxis(target, (NumberYAxis) yAxis); - } - target.endTag("yAxis"); - } - } - - target.endTag("yAxes"); - } - - /** - * Writes configuration attributes of the chart labels. - * - * @param target - * @param chartLabel - * @throws PaintException - */ - public static void writeChartLabelConfig(PaintTarget target, - ChartLabel chartLabel) throws PaintException { - target.startTag("labels"); - - if (chartLabel != null && chartLabel.getLabels() != null - && chartLabel.getLabels().size() > 0) { - if (chartLabel.getStyle() != null) { - target.addAttribute("style", chartLabel.getStyle()); - } - target.startTag("items"); - for (ChartLabelItem label : chartLabel.getLabels()) { - if (label.getHtml() != null || label.getStyle() != null) { - target.startTag("item"); - if (label.getHtml() != null) { - target.addAttribute("html", label.getHtml()); - } - if (label.getStyle() != null) { - target.addAttribute("style", label.getStyle()); - } - target.endTag("item"); - } - } - target.endTag("items"); - } - - target.endTag("labels"); - } - - /** - * @param date - * @return Returns year of the argument date. - */ - private static String getYearFromDate(Date date) { - if (date == null) { - return null; - } - Calendar cal = Calendar.getInstance(); - cal.setTime(date); - return String.valueOf(cal.get(Calendar.YEAR)); - } - - /** - * @param date - * @return Returns month of the argument date. The returned values is based - * on zero-index i.e. for month January, the values returned is "0" - */ - private static String getMonthFromDate(Date date) { - if (date == null) { - return null; - } - Calendar cal = Calendar.getInstance(); - cal.setTime(date); - return String.valueOf(cal.get(Calendar.MONTH)); - } - - /** - * @param date - * @return - */ - private static String getDayFromDate(Date date) { - if (date == null) { - return null; - } - Calendar cal = Calendar.getInstance(); - cal.setTime(date); - return String.valueOf(cal.get(Calendar.DAY_OF_MONTH)); - } - - /** - * Writes information about which series were added, removed or updated. - * This information is used by Vaadin terminal class to decide whether to - * add a new series or remove/delete an existing series. Basically, this - * information helps client to update only a portion of the chart instead of - * full chart. - * - * @param target - * @param seriesCURMap - * @throws PaintException - */ - - public static void writeChartDataUpdates(PaintTarget target, - LinkedHashMap> seriesCURMap) - throws PaintException { - for (String seriesName : seriesCURMap.keySet()) { - LinkedHashSet seriesCURSet = seriesCURMap - .get(seriesName); - if (seriesCURSet != null && seriesCURSet.size() > 0) { - for (SeriesCUR seriesCUR : seriesCURSet) { - target.startTag("seriesDataUpdate"); - target.addAttribute("seriesName", seriesCUR.getName()); - target.addAttribute("operation", seriesCUR.getType() - .getName()); - target.addAttribute("isReloadPoints", - seriesCUR.isReloadPoints()); - target.startTag("pointsAdded"); - if (seriesCUR.getPointsAdded().size() > 0) { - writePoints(target, seriesCUR.getPointsAdded()); - } - target.endTag("pointsAdded"); - target.startTag("pointsRemoved"); - if (seriesCUR.getPointsRemoved().size() > 0) { - writePoints(target, seriesCUR.getPointsRemoved()); - } - target.endTag("pointsRemoved"); - target.endTag("seriesDataUpdate"); - } - } - } - } - -} +/* + * Copyright 2011 Invient (www.invient.com) + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ +package com.invient.vaadin.charts; + +import com.invient.vaadin.charts.InvientCharts.*; +import com.invient.vaadin.charts.InvientChartsConfig.*; +import com.invient.vaadin.charts.InvientChartsConfig.AxisBase.*; +import com.invient.vaadin.charts.InvientChartsConfig.AxisBase.DateTimePlotBand.DateTimeRange; +import com.invient.vaadin.charts.InvientChartsConfig.AxisBase.DateTimePlotLine.DateTimeValue; +import com.invient.vaadin.charts.InvientChartsConfig.AxisBase.NumberPlotBand.NumberRange; +import com.invient.vaadin.charts.InvientChartsConfig.AxisBase.NumberPlotLine.NumberValue; +import com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotBand.Range; +import com.invient.vaadin.charts.InvientChartsConfig.AxisBase.PlotLine.Value; +import com.invient.vaadin.charts.InvientChartsConfig.ChartLabel.ChartLabelItem; +import com.invient.vaadin.charts.InvientChartsConfig.DateTimeAxis.DateTimeLabelFormat; +import com.vaadin.terminal.PaintException; +import com.vaadin.terminal.PaintTarget; + +import java.util.*; +import java.util.Map.Entry; + +/** + * A utility class used by {@link InvientCharts} to write its state to the UIDL + * stream. The state includes properties of {@link InvientCharts} such as + * {@link InvientChartsConfig}, {@link Series}, {@link Point} and various chart + * events. + *

+ * In general, only non-null properties/attributes of a chart are written to the + * UIDL stream. + * + * @author Invient + */ +final class InvientChartsUtil { + + /** + * Private constructor to prevent instantiation. + */ + private InvientChartsUtil() { + + } + + /** + * Writes configuration attributes common to chart title and subtitle. + * + * @param target The paint target. + * @param titleBaseOptions The title base options. + * @throws PaintException + */ + private static void writeTitleBaseOptions(PaintTarget target, + TitleBase titleBaseOptions) throws PaintException { + if (titleBaseOptions.getText() != null) { + target.addAttribute("text", titleBaseOptions.getText()); + } + if (titleBaseOptions.getX() != null) { + target.addAttribute("x", titleBaseOptions.getX()); + } + if (titleBaseOptions.getY() != null) { + target.addAttribute("y", titleBaseOptions.getY()); + } + if (titleBaseOptions.getFloating() != null) { + target.addAttribute("floating", titleBaseOptions.getFloating()); + } + + if (titleBaseOptions.getAlign() != null) { + target.addAttribute("align", titleBaseOptions.getAlign().getName()); + } + if (titleBaseOptions.getVertAlign() != null) { + target.addAttribute("verticalAlign", titleBaseOptions + .getVertAlign().getName()); + } + if (titleBaseOptions.getStyle() != null) { + target.addAttribute("style", titleBaseOptions.getStyle()); + } + } + + /** + * Writes configuration attributes of the chart title. + * + * @param target The paint target. + * @param titleOptions The title options. + * @throws PaintException + */ + public static void writeTitleConfig(PaintTarget target, Title titleOptions) + throws PaintException { + target.startTag("title"); + writeTitleBaseOptions(target, titleOptions); + if (titleOptions.getMargin() != null) { + target.addAttribute("margin", titleOptions.getMargin()); + } + target.endTag("title"); + } + + /** + * Writes configuration attributes of the chart subtitle. Only those + * attributes are written who have got non-null values. + * + * @param target The paint target. + * @param subtitleOptions The subtitle options. + * @throws PaintException + */ + public static void writeSubtitleConfig(PaintTarget target, + SubTitle subtitleOptions) throws PaintException { + target.startTag("subtitle"); + writeTitleBaseOptions(target, subtitleOptions); + target.endTag("subtitle"); + } + + /** + * Writes configuration attributes of the chart subtitle. + * + * @param target The paint target. + * @param creditOptions The credit options. + * @throws PaintException + */ + public static void writeCreditConfig(PaintTarget target, + Credit creditOptions) throws PaintException { + target.startTag("credit"); + + if (creditOptions.getEnabled() != null) { + target.addAttribute("enabled", creditOptions.getEnabled()); + } + target.startTag("position"); + if (creditOptions.getPosition() != null) { + if (creditOptions.getPosition().getAlign() != null) { + target.addAttribute("align", creditOptions.getPosition() + .getAlign().getName()); + } + if (creditOptions.getPosition().getVertAlign() != null) { + target.addAttribute("verticalAlign", creditOptions + .getPosition().getVertAlign().getName()); + } + if (creditOptions.getPosition().getX() != null) { + target.addAttribute("x", creditOptions.getPosition().getX()); + } + if (creditOptions.getPosition().getY() != null) { + target.addAttribute("y", creditOptions.getPosition().getY()); + } + } + target.endTag("position"); + + if (creditOptions.getLink() != null) { + target.addAttribute("href", creditOptions.getLink()); + } + if (creditOptions.getStyle() != null) { + target.addAttribute("style", creditOptions.getStyle()); + } + if (creditOptions.getText() != null) { + target.addAttribute("text", creditOptions.getText()); + } + target.endTag("credit"); + } + + /** + * Writes configuration attributes of the chart legend. + * + * @param target The paint target. + * @param legendOptions The ledgend options. + * @throws PaintException + */ + public static void writeLegendConfig(PaintTarget target, + Legend legendOptions) throws PaintException { + target.startTag("legend"); + + if (legendOptions.getBackgroundColor() != null) { + target.addAttribute("backgroundColor", legendOptions + .getBackgroundColor().getString()); + } + + if (legendOptions.getBorderColor() != null) { + target.addAttribute("borderColor", legendOptions.getBorderColor() + .getString()); + } + + if (legendOptions.getBorderRadius() != null) { + target.addAttribute("borderRadius", legendOptions.getBorderRadius()); + } + + if (legendOptions.getBorderWidth() != null) { + target.addAttribute("borderWidth", legendOptions.getBorderWidth()); + } + + if (legendOptions.getEnabled() != null) { + target.addAttribute("enabled", legendOptions.getEnabled()); + } + + if (legendOptions.getFloating() != null) { + target.addAttribute("floating", legendOptions.getFloating()); + } + + if (legendOptions.getItemHiddenStyle() != null) { + target.addAttribute("itemHiddenStyle", + legendOptions.getItemHiddenStyle()); + } + + if (legendOptions.getItemHoverStyle() != null) { + target.addAttribute("itemHoverStyle", + legendOptions.getItemHoverStyle()); + } + + if (legendOptions.getItemStyle() != null) { + target.addAttribute("itemStyle", legendOptions.getItemStyle()); + } + + if (legendOptions.getItemWidth() != null) { + target.addAttribute("itemWidth", legendOptions.getItemWidth()); + } + + if (legendOptions.getLayout() != null) { + target.addAttribute("layout", legendOptions.getLayout().getName()); + } + + if (legendOptions.getLabelFormatterJsFunc() != null) { + target.addAttribute("labelFormatter", + legendOptions.getLabelFormatterJsFunc()); + } + + if (legendOptions.getMargin() != null) { + target.addAttribute("margin", legendOptions.getMargin()); + } + + if (legendOptions.getReversed() != null) { + target.addAttribute("reversed", legendOptions.getReversed()); + } + + if (legendOptions.getShadow() != null) { + target.addAttribute("shadow", legendOptions.getShadow()); + } + + if (legendOptions.getSymbolPadding() != null) { + target.addAttribute("symbolPadding", + legendOptions.getSymbolPadding()); + } + + if (legendOptions.getSymbolWidth() != null) { + target.addAttribute("symbolWidth", legendOptions.getSymbolWidth()); + } + + if (legendOptions.getWidth() != null) { + target.addAttribute("width", legendOptions.getWidth()); + } + + if (legendOptions.getPosition() != null) { + if (legendOptions.getPosition().getAlign() != null) { + target.addAttribute("align", legendOptions.getPosition() + .getAlign().getName()); + } + if (legendOptions.getPosition().getVertAlign() != null) { + target.addAttribute("verticalAlign", legendOptions + .getPosition().getVertAlign().getName()); + } + if (legendOptions.getPosition().getX() != null) { + target.addAttribute("x", legendOptions.getPosition().getX()); + } + if (legendOptions.getPosition().getY() != null) { + target.addAttribute("y", legendOptions.getPosition().getY()); + } + } + + target.endTag("legend"); + } + + /** + * Writes configuration attributes of the chart tooltip. + * + * @param target The paint target. + * @param tooltipOptions The tooltip options. + * @throws PaintException + */ + public static void writeTooltipConfig(PaintTarget target, + Tooltip tooltipOptions) throws PaintException { + target.startTag("tooltip"); + + if (tooltipOptions.getBackgroundColor() != null) { + target.addAttribute("backgroundColor", tooltipOptions + .getBackgroundColor().getString()); + } + if (tooltipOptions.getBorderColor() != null) { + target.addAttribute("borderColor", tooltipOptions.getBorderColor() + .getString()); + } + if (tooltipOptions.getBorderRadius() != null) { + target.addAttribute("borderRadius", + tooltipOptions.getBorderRadius()); + } + if (tooltipOptions.getBorderWidth() != null) { + target.addAttribute("borderWidth", tooltipOptions.getBorderWidth()); + } + if (tooltipOptions.getCrosshairs() != null) { + target.startTag("crosshairs"); + writeTooltipCrosshairsConfig(target, tooltipOptions.getCrosshairs()); + target.endTag("crosshairs"); + } + if (tooltipOptions.getEnabled() != null) { + target.addAttribute("enabled", tooltipOptions.getEnabled()); + } + if (tooltipOptions.getFormatterJsFunc() != null) { + target.addAttribute("formatter", + tooltipOptions.getFormatterJsFunc()); + } + if (tooltipOptions.getShadow() != null) { + target.addAttribute("shadow", tooltipOptions.getShadow()); + } + if (tooltipOptions.getShared() != null) { + target.addAttribute("shared", tooltipOptions.getShared()); + } + if (tooltipOptions.getSnap() != null) { + target.addAttribute("snap", tooltipOptions.getSnap()); + } + if (tooltipOptions.getStyle() != null) { + target.addAttribute("style", tooltipOptions.getStyle()); + } + if (tooltipOptions.getUseHTML() != null) { + target.addAttribute("useHTML", tooltipOptions.getUseHTML()); + } + if (tooltipOptions.getHeaderFormat() != null) { + target.addAttribute("headerFormat", tooltipOptions.getHeaderFormat()); + } + if (tooltipOptions.getPointFormat() != null) { + target.addAttribute("pointFormat", tooltipOptions.getPointFormat()); + } + if (tooltipOptions.getFooterFormat() != null) { + target.addAttribute("footerFormat", tooltipOptions.getFooterFormat()); + } + + target.endTag("tooltip"); + } + + /** + * Writes configuration attributes of the charts tooltip crosshairsOptions. + * + * @param target The paint target. + * @param crosshairsOptions The crosshairs options. + * @throws PaintException + */ + public static void writeTooltipCrosshairsConfig(PaintTarget target, + Tooltip.Crosshairs crosshairsOptions) throws PaintException { + if (crosshairsOptions.getWidth() != null) { + target.addAttribute("width", crosshairsOptions.getWidth()); + } + if (crosshairsOptions.getColor() != null) { + target.addAttribute("color", crosshairsOptions.getColor().getString()); + } + if (crosshairsOptions.getDashStyle() != null) { + target.addAttribute("dashStyle", crosshairsOptions.getDashStyle().getName()); + } + if (crosshairsOptions.getzIndex() != null) { + target.addAttribute("zIndex", crosshairsOptions.getzIndex()); + } + + } + + /** + * Writes configuration attributes of the chart itself. + * + * @param target The paint target. + * @param chartOptions The chart options. + * @throws PaintException + */ + public static void writeGeneralChartConfig(PaintTarget target, + GeneralChartConfig chartOptions) throws PaintException { + target.startTag("chart"); + + if (chartOptions.getType() != null) { + target.addAttribute("type", chartOptions.getType().getName()); + } + + if (chartOptions.getWidth() != null) { + target.addAttribute("width", chartOptions.getWidth()); + } + if (chartOptions.getHeight() != null) { + target.addAttribute("height", chartOptions.getHeight()); + } + + if (chartOptions.getBackgroundColor() != null) { + target.addAttribute("backgroundColor", chartOptions + .getBackgroundColor().getString()); + } + if (chartOptions.getBorderColor() != null) { + target.addAttribute("borderColor", chartOptions.getBorderColor() + .getString()); + } + if (chartOptions.getBorderRadius() != null) { + target.addAttribute("borderRadius", chartOptions.getBorderRadius()); + } + if (chartOptions.getBorderWidth() != null) { + target.addAttribute("borderWidth", chartOptions.getBorderWidth()); + } + + if (chartOptions.getIgnoreHiddenSeries() != null) { + target.addAttribute("ignoreHiddenSeries", + chartOptions.getIgnoreHiddenSeries()); + } + if (chartOptions.getInverted() != null) { + target.addAttribute("inverted", chartOptions.getInverted()); + } + + if (chartOptions.getMargin() != null) { + if (chartOptions.getMargin().getTop() != null) { + target.addAttribute("marginTop", chartOptions.getMargin() + .getTop()); + } + if (chartOptions.getMargin().getLeft() != null) { + target.addAttribute("marginLeft", chartOptions.getMargin() + .getLeft()); + } + if (chartOptions.getMargin().getBottom() != null) { + target.addAttribute("marginBottom", chartOptions.getMargin() + .getBottom()); + } + if (chartOptions.getMargin().getRight() != null) { + target.addAttribute("marginRight", chartOptions.getMargin() + .getRight()); + } + } + + if (chartOptions.getSpacing() != null) { + + if (chartOptions.getSpacing().getTop() != null) { + target.addAttribute("spacingTop", chartOptions.getSpacing() + .getTop()); + } + if (chartOptions.getSpacing().getLeft() != null) { + target.addAttribute("spacingLeft", chartOptions.getSpacing() + .getLeft()); + } + if (chartOptions.getSpacing().getBottom() != null) { + target.addAttribute("spacingBottom", chartOptions.getSpacing() + .getBottom()); + } + if (chartOptions.getSpacing().getRight() != null) { + target.addAttribute("spacingRight", chartOptions.getSpacing() + .getRight()); + } + } + + if (chartOptions.getShowAxes() != null) { + target.addAttribute("showAxes", chartOptions.getShowAxes()); + } + if (chartOptions.getZoomType() != null) { + target.addAttribute("zoomType", chartOptions.getZoomType() + .getName()); + } + target.addAttribute("clientZoom", chartOptions.isClientZoom()); + + if (chartOptions.getAlignTicks() != null) { + target.addAttribute("alignTicks", chartOptions.getAlignTicks()); + } + if (chartOptions.getAnimation() != null) { + target.addAttribute("animation", chartOptions.getAnimation()); + } + if (chartOptions.getClassName() != null) { + target.addAttribute("className", chartOptions.getClassName()); + } + + if (chartOptions.getPlot() != null) { + if (chartOptions.getPlot().getBackgroundColor() != null) { + target.addAttribute("plotBackgroundColor", chartOptions + .getPlot().getBackgroundColor().getString()); + } + if (chartOptions.getPlot().getBorderColor() != null) { + target.addAttribute("plotBorderColor", chartOptions.getPlot() + .getBorderColor().getString()); + } + if (chartOptions.getPlot().getBackgroundImage() != null) { + target.addAttribute("plotBackgroundImage", chartOptions + .getPlot().getBackgroundImage()); + } + if (chartOptions.getPlot().getBorderWidth() != null) { + target.addAttribute("plotBorderWidth", chartOptions.getPlot() + .getBorderWidth()); + } + if (chartOptions.getPlot().getShadow() != null) { + target.addAttribute("plotShadow", chartOptions.getPlot() + .getShadow()); + } + } + + if (chartOptions.getReflow() != null) { + target.addAttribute("reflow", chartOptions.getReflow()); + } + if (chartOptions.getShadow() != null) { + target.addAttribute("shadow", chartOptions.getShadow()); + } + if (chartOptions.getStyle() != null) { + target.addAttribute("style", chartOptions.getStyle()); + } + + target.endTag("chart"); + } + + /** + * Writes configuration attributes of every series type. The series type can + * be one of the line, spline, scatter, area, areaspline, bar, column and + * pie. + * + * @param target The paint target. + * @param seriesOptions The series options. + * @throws PaintException + */ + public static void writeSeriesConfigPerSeriesType(PaintTarget target, + Map seriesOptions) throws PaintException { + target.startTag("seriesOptionsPerSeriesType"); + // For each SeriesType have separate tag + for (Entry seriesEntryOptions : seriesOptions + .entrySet()) { + String tagName = seriesEntryOptions.getKey().getName(); + // + target.startTag(tagName); + // Write options for appropriate series type + writeSeriesConfig(target, seriesEntryOptions.getValue()); + // + target.endTag(tagName); + } + target.endTag("seriesOptionsPerSeriesType"); + } + + /** + * Writes configuration attributes of a single series. + * + * @param target The paint target. + * @param series The series options. + * @throws PaintException + */ + private static void writeSeriesConfig(PaintTarget target, SeriesConfig series) throws PaintException { + // Write options for appropriate series type + + if (series instanceof LineConfig) { + writeLineOptions(target, (LineConfig) series); + } else if (series instanceof ScatterConfig) { + writeScatterOptions(target, (ScatterConfig) series); + } else if (series instanceof AreaSplineConfig) { + writeAreaSplineOptions(target, (AreaSplineConfig) series); + } else if (series instanceof SplineConfig) { + writeSplineOptions(target, (SplineConfig) series); + } else if (series instanceof AreaConfig) { + writeAreaOptions(target, (AreaConfig) series); + } else if (series instanceof ColumnConfig) { + writeColumnOptions(target, (ColumnConfig) series); + } else if (series instanceof BarConfig) { + writeBarOptions(target, (BarConfig) series); + } else if (series instanceof PieConfig) { + writePieOptions(target, (PieConfig) series); + } else { + // Common series attributes + writeCommonSeriesOptions(target, series); + } + + } + + /** + * Writes configuration attributes common to all types of series. + * + * @param target The paint target. + * @param seriesOptions The series options. + * @throws PaintException + */ + private static void writeCommonSeriesOptions(PaintTarget target, + SeriesConfig seriesOptions) throws PaintException { + if (seriesOptions.getAllowPointSelect() != null) { + target.addAttribute("allowPointSelect", + seriesOptions.getAllowPointSelect()); + } + if (seriesOptions.getAnimation() != null) { + target.addAttribute("animation", seriesOptions.getAnimation()); + } + if (seriesOptions.getCursor() != null) { + target.addAttribute("cursor", seriesOptions.getCursor()); + } + + if (seriesOptions.getColor() != null) { + target.addAttribute("color", seriesOptions.getColor().getString()); + } + if (seriesOptions.getEnableMouseTracking() != null) { + target.addAttribute("enableMouseTracking", + seriesOptions.getEnableMouseTracking()); + } + + // if (seriesOptions.getSelected() != null) { + // target.addAttribute("selected", seriesOptions.getSelected()); + // } + + if (seriesOptions.getShowCheckbox() != null) { + target.addAttribute("showCheckbox", seriesOptions.getShowCheckbox()); + } + if (seriesOptions.getShowInLegend() != null) { + target.addAttribute("showInLegend", seriesOptions.getShowInLegend()); + } + if (seriesOptions.getStacking() != null) { + target.addAttribute("stacking", seriesOptions.getStacking() + .getName()); + } + if (seriesOptions.getShadow() != null) { + target.addAttribute("shadow", seriesOptions.getShadow()); + } + if (seriesOptions.getVisible() != null) { + target.addAttribute("visible", seriesOptions.getVisible()); + } + + writeSeriesDataLabel(target, seriesOptions.getDataLabel()); + writeSeriesState(target, seriesOptions.getHoverState()); + } + + /** + * Writes configuration attributes of a series hover state. + * + * @param target The paint target. + * @param seriesState The series state. + * @throws PaintException + */ + private static void writeSeriesState(PaintTarget target, + SeriesState seriesState) throws PaintException { + target.startTag("state"); + if (seriesState != null) { + target.startTag("hover"); + if (seriesState.getEnabled() != null) { + target.addAttribute("enabled", seriesState.getEnabled()); + } + if (seriesState.getLineWidth() != null) { + target.addAttribute("lineWidth", seriesState.getLineWidth()); + } + if (seriesState instanceof NonLinearSeriesState + && ((NonLinearSeriesState) seriesState).getBrightness() != null) { + target.addAttribute("brightness", + ((NonLinearSeriesState) seriesState).getBrightness()); + } + target.endTag("hover"); + } + target.endTag("state"); + } + + /** + * Writes configuration attributes common to all types of series. It takes + * care of specific data labels in case of pie. + * + * @param target The paint target. + * @param dataLabel The data label. + * @throws PaintException + */ + private static void writeSeriesDataLabel(PaintTarget target, + DataLabel dataLabel) throws PaintException { + target.startTag("dataLabel"); + if (dataLabel != null) { + if (dataLabel instanceof PieDataLabel) { + writePieDataLabel(target, (PieDataLabel) dataLabel); + } else { + writeDataLabel(target, dataLabel); + } + } + target.endTag("dataLabel"); + } + + /** + * Writes configuration attributes of a series data labels. + * + * @param target The paint target. + * @param dataLabel The data label. + * @throws PaintException + */ + private static void writeDataLabel(PaintTarget target, DataLabel dataLabel) + throws PaintException { + if (dataLabel.getAlign() != null) { + target.addAttribute("align", dataLabel.getAlign().getName()); + } + if (dataLabel.getEnabled() != null) { + target.addAttribute("enabled", dataLabel.getEnabled()); + } + if (dataLabel.getFormatterJsFunc() != null) { + target.addAttribute("formatter", dataLabel.getFormatterJsFunc()); + } + if (dataLabel.getRotation() != null) { + target.addAttribute("rotation", dataLabel.getRotation()); + } + if (dataLabel.getStyle() != null) { + target.addAttribute("style", dataLabel.getStyle()); + } + if (dataLabel.getX() != null) { + target.addAttribute("x", dataLabel.getX()); + } + if (dataLabel.getY() != null) { + target.addAttribute("y", dataLabel.getY()); + } + if (dataLabel.getColor() != null) { + target.addAttribute("color", dataLabel.getColor().getString()); + } + } + + /** + * Writes configuration attributes of a pie chart's data label. + * + * @param target The paint target. + * @param dataLabel The data label. + * @throws PaintException + */ + private static void writePieDataLabel(PaintTarget target, + PieDataLabel dataLabel) throws PaintException { + + writeDataLabel(target, dataLabel); + + if (dataLabel.getConnectorWidth() != null) { + target.addAttribute("connectorWidth", dataLabel.getConnectorWidth()); + } + if (dataLabel.getConnectorPadding() != null) { + target.addAttribute("connectorPadding", + dataLabel.getConnectorPadding()); + } + if (dataLabel.getConnectorColor() != null) { + target.addAttribute("connectorColor", dataLabel.getConnectorColor() + .getString()); + } + if (dataLabel.getDistance() != null) { + target.addAttribute("distance", dataLabel.getDistance()); + } + + } + + /** + * Writes configuration attributes of an axis data labels. + * + * @param target The paint target. + * @param dataLabel The data label. + * @throws PaintException + */ + private static void writeAxisDataLabel(PaintTarget target, + AxisDataLabel dataLabel) throws PaintException { + + writeDataLabel(target, dataLabel); + + if (dataLabel.getStep() != null) { + target.addAttribute("step", dataLabel.getStep()); + } + + } + + /** + * Writes configuration attributes of an x-axis data labels. + * + * @param target The paint target. + * @param dataLabel The data label. + * @throws PaintException + */ + private static void writeXAxisDataLabel(PaintTarget target, + XAxisDataLabel dataLabel) throws PaintException { + target.startTag("label"); + if (dataLabel != null) { + writeAxisDataLabel(target, dataLabel); + + if (dataLabel.getStaggerLines() != null) { + target.addAttribute("staggerLines", dataLabel.getStaggerLines()); + } + } + + target.endTag("label"); + } + + /** + * Writes configuration attributes of y-axis data labels. + * + * @param target The paint target. + * @param dataLabel The data label. + * @throws PaintException + */ + private static void writeYAxisDataLabel(PaintTarget target, + YAxisDataLabel dataLabel) throws PaintException { + target.startTag("label"); + + if (dataLabel != null) { + writeAxisDataLabel(target, dataLabel); + } + target.endTag("label"); + } + + /** + * Writes configuration attributes of a marker. It takes care of handling + * image or symbol marker. + * + * @param target The paint target. + * @param markerOptions The marker options. + * @throws PaintException + */ + private static void writeMarkerOptions(PaintTarget target, + Marker markerOptions) throws PaintException { + target.startTag("marker"); + if (markerOptions != null) { + if (markerOptions.getEnabled() != null) { + target.addAttribute("enabled", markerOptions.getEnabled()); + } + if (markerOptions instanceof ImageMarker) { + target.addAttribute("markerType", "image"); + writeImageMarkerOptions(target, (ImageMarker) markerOptions); + } else if (markerOptions instanceof SymbolMarker) { + target.addAttribute("markerType", "symbol"); + writeSymbolMarkerOptions(target, (SymbolMarker) markerOptions); + writeMarkerStates(target, (SymbolMarker) markerOptions); + } + } + target.endTag("marker"); + } + + /** + * Writes configuration attributes of a marker states hover and select + * + * @param target The paint target. + * @param marker The marker. + * @throws PaintException + */ + private static void writeMarkerStates(PaintTarget target, + SymbolMarker marker) throws PaintException { + target.startTag("states"); + // + target.startTag("hover"); + if (marker.getHoverState() != null) { + writeMarkerState(target, marker.getHoverState()); + } + target.endTag("hover"); + + // + target.startTag("select"); + if (marker.getSelectState() != null) { + writeMarkerState(target, marker.getSelectState()); + } + target.endTag("select"); + + target.endTag("states"); + } + + /** + * Writes configuration attributes of an image marker + * + * @param target The paint target. + * @param imgMarker The image marker. + * @throws PaintException + */ + private static void writeImageMarkerOptions(PaintTarget target, + ImageMarker imgMarker) throws PaintException { + if (imgMarker.getImageURL() != null) { + target.addAttribute("symbol", imgMarker.getImageURL()); + } + } + + /** + * Writes configuration attributes of a symbol marker + * + * @param target The paint target. + * @param symbolMarker The symbol marker. + * @throws PaintException + */ + private static void writeSymbolMarkerOptions(PaintTarget target, + SymbolMarker symbolMarker) throws PaintException { + if (symbolMarker.getFillColor() != null) { + target.addAttribute("fillColor", symbolMarker.getFillColor() + .getString()); + } + if (symbolMarker.getLineColor() != null) { + target.addAttribute("lineColor", symbolMarker.getLineColor() + .getString()); + } + if (symbolMarker.getLineWidth() != null) { + target.addAttribute("lineWidth", symbolMarker.getLineWidth()); + } + if (symbolMarker.getRadius() != null) { + target.addAttribute("radius", symbolMarker.getRadius()); + } + if (symbolMarker.getSymbol() != null) { + target.addAttribute("symbol", symbolMarker.getSymbol().getName()); + } + } + + /** + * Writes configuration attributes of a marker + * + * @param target The paint target. + * @param markerState The marker state. + * @throws PaintException + */ + private static void writeMarkerState(PaintTarget target, + MarkerState markerState) throws PaintException { + if (markerState.getEnabled() != null) { + target.addAttribute("enabled", markerState.getEnabled()); + } + if (markerState.getFillColor() != null) { + target.addAttribute("fillColor", markerState.getFillColor() + .getString()); + } + if (markerState.getLineColor() != null) { + target.addAttribute("lineColor", markerState.getLineColor() + .getString()); + } + if (markerState.getLineWidth() != null) { + target.addAttribute("lineWidth", markerState.getLineWidth()); + } + if (markerState.getRadius() != null) { + target.addAttribute("radius", markerState.getRadius()); + } + } + + /** + * Writes configuration attributes common to all lines series such as line, + * spline and area. + * + * @param target The paint target. + * @param baseLineOptions The base line options. + * @throws PaintException + */ + private static void writeBaseLineOptions(PaintTarget target, + BaseLineConfig baseLineOptions) throws PaintException { + writeCommonSeriesOptions(target, baseLineOptions); + if (baseLineOptions.getDashStyle() != null) { + target.addAttribute("dashStyle", baseLineOptions.getDashStyle() + .getName()); + } + if (baseLineOptions.getLineWidth() != null) { + target.addAttribute("lineWidth", baseLineOptions.getLineWidth()); + } + if (baseLineOptions.getPointInterval() != null) { + target.addAttribute("pointInterval", + baseLineOptions.getPointInterval()); + } + if (baseLineOptions.getTurboThreshold() != null) { + target.addAttribute("turboThreshold", + baseLineOptions.getTurboThreshold()); + } + if (baseLineOptions.getPointStart() != null) { + target.addAttribute("pointStart", baseLineOptions.getPointStart()); + } + if (baseLineOptions.getStickyTracking() != null) { + target.addAttribute("stickyTracking", + baseLineOptions.getStickyTracking()); + } + writeMarkerOptions(target, baseLineOptions.getMarker()); + } + + /** + * Writes configuration attributes of a spline series + * + * @param target The paint target. + * @param splineOptions The spline options. + * @throws PaintException + */ + private static void writeSplineOptions(PaintTarget target, + SplineConfig splineOptions) throws PaintException { + writeBaseLineOptions(target, splineOptions); + } + + /** + * Writes configuration attributes of s scatter series + * + * @param target The paint target. + * @param scatterOptions The scatter options. + * @throws PaintException + */ + private static void writeScatterOptions(PaintTarget target, + ScatterConfig scatterOptions) throws PaintException { + writeBaseLineOptions(target, scatterOptions); + } + + /** + * Writes configuration attributes of a line series + * + * @param target The paint target. + * @param lineOptions The line options. + * @throws PaintException + */ + private static void writeLineOptions(PaintTarget target, + LineConfig lineOptions) throws PaintException { + writeBaseLineOptions(target, lineOptions); + // + if (lineOptions.getStep() != null) { + target.addAttribute("step", lineOptions.getStep()); + } + } + + /** + * Writes configuration attributes of an area series + * + * @param target The paint target. + * @param areaOptions The area options. + * @throws PaintException + */ + private static void writeAreaOptions(PaintTarget target, + AreaConfig areaOptions) throws PaintException { + writeBaseLineOptions(target, areaOptions); + // + if (areaOptions.getFillColor() != null) { + target.addAttribute("fillColor", areaOptions.getFillColor() + .getString()); + } + if (areaOptions.getFillOpacity() != null) { + target.addAttribute("fillOpacity", areaOptions.getFillOpacity()); + } + if (areaOptions.getLineColor() != null) { + target.addAttribute("lineColor", areaOptions.getLineColor() + .getString()); + } + if (areaOptions.getThreshold() != null) { + target.addAttribute("threshold", areaOptions.getThreshold()); + } + + } + + /** + * Writes configuration attributes of an area-spline + * + * @param target The paint target. + * @param areaSplineOptions The area spline options. + * @throws PaintException + */ + private static void writeAreaSplineOptions(PaintTarget target, + AreaSplineConfig areaSplineOptions) throws PaintException { + writeAreaOptions(target, areaSplineOptions); + } + + /** + * Writes configuration attributes of a pie series + * + * @param target The paint target. + * @param pieOptions The pie options. + * @throws PaintException + */ + private static void writePieOptions(PaintTarget target, PieConfig pieOptions) + throws PaintException { + writeCommonSeriesOptions(target, pieOptions); + // + if (pieOptions.getBorderColor() != null) { + target.addAttribute("borderColor", pieOptions.getBorderColor() + .getString()); + } + if (pieOptions.getBorderWidth() != null) { + target.addAttribute("borderWidth", pieOptions.getBorderWidth()); + } + if (pieOptions.getCenterX() != null) { + target.addAttribute("centerX", pieOptions.getCenterX()); + } + if (pieOptions.getCenterY() != null) { + target.addAttribute("centerY", pieOptions.getCenterY()); + } + if (pieOptions.getInnerSize() != null) { + target.addAttribute("innerSize", pieOptions.getInnerSize()); + } + if (pieOptions.getSize() != null) { + target.addAttribute("size", pieOptions.getSize()); + } + if (pieOptions.getSlicedOffset() != null) { + target.addAttribute("slicedOffset", pieOptions.getSlicedOffset()); + } + if (pieOptions.getIgnoreHiddenPoint() != null) { + target.addAttribute("ignoreHiddenPoint", pieOptions.getIgnoreHiddenPoint()); + } + } + + /** + * Writes configuration attributes common to columnar series such as bar and + * column + * + * @param target The paint target. + * @param baseBarOptions The base bar options. + * @throws PaintException + */ + private static void writeBaseBarOptions(PaintTarget target, + BaseBarConfig baseBarOptions) throws PaintException { + writeCommonSeriesOptions(target, baseBarOptions); + + if (baseBarOptions.getBorderColor() != null) { + target.addAttribute("borderColor", baseBarOptions.getBorderColor() + .getString()); + } + if (baseBarOptions.getBorderRadius() != null) { + target.addAttribute("borderRadius", + baseBarOptions.getBorderRadius()); + } + if (baseBarOptions.getBorderWidth() != null) { + target.addAttribute("borderWidth", baseBarOptions.getBorderWidth()); + } + if (baseBarOptions.getColorByPoint() != null) { + target.addAttribute("colorByPoint", + baseBarOptions.getColorByPoint()); + } + if (baseBarOptions.getGroupPadding() != null) { + target.addAttribute("groupPadding", + baseBarOptions.getGroupPadding()); + } + if (baseBarOptions.getMinPointLength() != null) { + target.addAttribute("minPointLength", + baseBarOptions.getMinPointLength()); + } + if (baseBarOptions.getPointPadding() != null) { + target.addAttribute("pointPadding", + baseBarOptions.getPointPadding()); + } + if (baseBarOptions.getPointWidth() != null) { + target.addAttribute("pointWidth", baseBarOptions.getPointWidth()); + } + } + + /** + * Writes configuration attributes of a bar series + * + * @param target The paint target. + * @param barOptions The bar options. + * @throws PaintException + */ + private static void writeBarOptions(PaintTarget target, BarConfig barOptions) + throws PaintException { + writeBaseBarOptions(target, barOptions); + } + + /** + * Writes configuration attributes of a column series + * + * @param target The paint target. + * @param columnOptions The column options. + * @throws PaintException + */ + private static void writeColumnOptions(PaintTarget target, + ColumnConfig columnOptions) throws PaintException { + writeBaseBarOptions(target, columnOptions); + } + + /** + * Writes data of each series of the chart. It transforms data into a form + * which is usable by the Vaadin terminal class. It also writes + * configuration attributes specific to each series, if any. + * + * @param target The paint target. + * @param chartSeriesType The chart series type. + * @param data The data. + * @param xAxis The x-axis. + * @param yAxis The y-axis. + * + * @throws PaintException + */ + public static void writeSeries(PaintTarget target, + SeriesType chartSeriesType, LinkedHashSet data, + LinkedHashSet xAxis, LinkedHashSet yAxis) + throws PaintException { + if (data == null) { + return; + } + for (Series series : data) { + target.startTag("series"); + + if (series.getName() != null && series.getName().length() > 0) { + target.addAttribute("name", series.getName()); + } + if (series.getType() != null) { + target.addAttribute("type", series.getType().getName()); + } + if (series.getStack() != null && series.getStack().length() > 0) { + target.addAttribute("stack", series.getStack()); + } + + target.addAttribute("xAxis", + getXAxisIndex(series.getXAxis(), xAxis)); + target.addAttribute("yAxis", + getYAxisIndex(series.getYAxis(), yAxis)); + + String seriesOptionsTagName = chartSeriesType.getName(); + if (series.getType() != null) { + seriesOptionsTagName = series.getType().getName(); + } + + target.startTag(seriesOptionsTagName); + if (series.getConfig() != null) { + writeSeriesConfig(target, series.getConfig()); + } + target.endTag(seriesOptionsTagName); + + target.startTag("points"); + if (series.getPoints() != null) { + writePoints(target, series.getPoints()); + } + target.endTag("points"); + + target.endTag("series"); + } + + } + + /** + * Writes point data (x, y) and its configuration attributes, if any. If a + * point does not have x and y values then the point is skipped. However, + * for such points empty tags is created without any attributes or children. + * + * @param target + * @param points + * @throws PaintException + */ + private static void writePoints(PaintTarget target, + LinkedHashSet points) throws PaintException { + if (points == null) { + return; + } + for (Point point : points) { + target.startTag("point"); + if (point.getX() != null || point.getY() != null) { + if (point.getId() != null && point.getId().length() > 0) { + target.addAttribute("id", point.getId()); + } + if (point.getName() != null && point.getName().length() > 0) { + target.addAttribute("name", point.getName()); + } + if (point.getX() != null) { + if (point instanceof DecimalPoint) { + target.addAttribute("x", (Double) point.getX()); + } else { + target.addAttribute( + "x", + getDate((Date) point.getX(), + ((DateTimeSeries) point.getSeries()) + .isIncludeTime())); + } + } + if (point.getY() != null) { + target.addAttribute("y", (Double) point.getY()); + } + target.addAttribute("isShift", point.isShift()); + // Point config + if (point.getConfig() != null) { + if (point.getConfig().getSliced() != null) { + target.addAttribute("sliced", point.getConfig() + .getSliced()); + } + if (point.getConfig().getSelected() != null) { + target.addAttribute("selected", point.getConfig() + .getSelected()); + } + if (point.getConfig().getColor() != null) { + target.addAttribute("color", point.getConfig() + .getColor().getString()); + } + if (point.getConfig().getMarker() != null) { + writeMarkerOptions(target, point.getConfig() + .getMarker()); + } + } + } + target.endTag("point"); + } + } + + /** + * Writes configuration attributes common to all types of axis. + * + * @param target + * @param axis + * @param axes + * @throws PaintException + */ + private static void writeBaseAxis(PaintTarget target, AxisBase axis, + LinkedHashSet axes) throws PaintException { + + if (axis.getAlternateGridColor() != null) { + target.addAttribute("alternateGridColor", axis + .getAlternateGridColor().getString()); + } + if (axis.getEndOnTick() != null) { + target.addAttribute("endOnTick", axis.getEndOnTick()); + } + if (axis.getGrid() != null) { + writeAxisGrid(target, axis.getGrid()); + } + if (axis.getId() != null && axis.getId().length() > 0) { + target.addAttribute("id", axis.getId()); + } + + if (axis.getLineColor() != null) { + target.addAttribute("lineColor", axis.getLineColor().getString()); + } + if (axis.getLineWidth() != null) { + target.addAttribute("lineWidth", axis.getLineWidth()); + } + if (axis.getLinkedTo() != null) { + target.addAttribute("linkedTo", + getAxisIndex(axis.getLinkedTo(), axes)); + } + + if (axis.getMaxPadding() != null) { + target.addAttribute("maxPadding", axis.getMaxPadding()); + } + if (axis.getMaxZoom() != null) { + target.addAttribute("maxZoom", axis.getMaxZoom()); + } + if (axis.getMinPadding() != null) { + target.addAttribute("minPadding", axis.getMinPadding()); + } + + // + if (axis.getMinorGrid() != null) { + writeAxisMinorGrid(target, axis.getMinorGrid()); + } + // + if (axis.getMinorTick() != null) { + writeAxisMinorTick(target, axis.getMinorTick()); + } + + if (axis.getOffset() != null) { + target.addAttribute("offset", axis.getOffset()); + } + if (axis.getOpposite() != null) { + target.addAttribute("opposite", axis.getOpposite()); + } + if (axis.getReversed() != null) { + target.addAttribute("reversed", axis.getReversed()); + } + if (axis.getShowFirstLabel() != null) { + target.addAttribute("showFirstLabel", axis.getShowFirstLabel()); + } + if (axis.getShowLastLabel() != null) { + target.addAttribute("showLastLabel", axis.getShowLastLabel()); + } + + if (axis.getStartOfWeek() != null) { + target.addAttribute("startOfWeek", axis.getStartOfWeek().ordinal()); + } + if (axis.getStartOnTick() != null) { + target.addAttribute("startOnTick", axis.getStartOnTick()); + } + // + if (axis.getTick() != null) { + writeAxisTick(target, axis.getTick()); + } + // + if (axis.getType() != null) { + target.addAttribute("type", axis.getType().getName()); + } + // Title + writeAxisTitle(target, axis.getTitle()); + // Labels + if (axis.getLabel() instanceof XAxisDataLabel) { + writeXAxisDataLabel(target, (XAxisDataLabel) axis.getLabel()); + } else { + writeYAxisDataLabel(target, (YAxisDataLabel) axis.getLabel()); + } + + if (axis instanceof NumberAxis) { + writePlotBands(target, ((NumberAxis) axis).getPlotBands()); + // + writePlotLines(target, ((NumberAxis) axis).getPlotLines()); + } else if (axis instanceof DateTimeAxis) { + writePlotBands(target, ((DateTimeAxis) axis).getPlotBands()); + // + writePlotLines(target, ((DateTimeAxis) axis).getPlotLines()); + } else if (axis instanceof CategoryAxis) { + writePlotBands(target, ((CategoryAxis) axis).getPlotBands()); + // + writePlotLines(target, ((CategoryAxis) axis).getPlotLines()); + } + + } + + /** + * Returns an index of an x-axis in a list of x-axis only if the x-axis + * exists otherwise null + * + * @param indexOfXAxis + * @param xAxes + * @return Retrieves Retrieves an index of an x-axis in a list of x-axis + * only if the x-axis exists otherwise null + */ + private static Integer getXAxisIndex(XAxis indexOfXAxis, + LinkedHashSet xAxes) { + return getAxisIndex(indexOfXAxis, xAxes); + } + + /** + * Returns an index of a y-axis in a list of y-axis only if the y-axis + * exists otherwise null + * + * @param indexOfYAxis + * @param yAxes + * @return Returns index of a y-axis in a list of y-axis only if the y-axis + * exists otherwise null + */ + private static Integer getYAxisIndex(YAxis indexOfYAxis, + LinkedHashSet yAxes) { + return getAxisIndex(indexOfYAxis, yAxes); + } + + /** + * Returns an index of an axis in a list of axis only if the axis exists + * otherwise null + * + * @param indexOfAxis + * @param axes + * @return Returns an index of an axis in a list of axis only if the axis + * exists otherwise null + */ + private static Integer getAxisIndex(Axis indexOfAxis, + LinkedHashSet axes) { + if (indexOfAxis == null || axes == null || axes.size() == 0) { + return 0; + } + int index = 0; + for (Axis axis : axes) { + if (axis == indexOfAxis) { + return index; + } + index++; + } + + return null; + } + + /** + * Writes configuration attributes of the plotbands associated with an axis. + * + * @param target + * @param plotBands + * @throws PaintException + */ + private static void writePlotBands(PaintTarget target, + LinkedHashSet plotBands) throws PaintException { + target.startTag("plotBands"); + if (plotBands != null) { + for (PlotBand plotBand : plotBands) { + target.startTag("plotBand"); + + if (plotBand.getColor() != null) { + target.addAttribute("color", plotBand.getColor() + .getString()); + } + if (plotBand.getId() != null) { + target.addAttribute("id", plotBand.getId()); + } + if (plotBand.getZIndex() != null) { + target.addAttribute("zIndex", plotBand.getZIndex()); + } + writePlotLabel(target, plotBand.getLabel()); + writePlotBandRange(target, plotBand.getRange()); + + target.endTag("plotBand"); + } + } + target.endTag("plotBands"); + } + + /** + * Writes configuration attributes of a plotlabel. + * + * @param target + * @param plotLabel + * @throws PaintException + */ + private static void writePlotLabel(PaintTarget target, PlotLabel plotLabel) + throws PaintException { + + target.startTag("label"); + + if (plotLabel != null) { + if (plotLabel.getAlign() != null) { + target.addAttribute("align", plotLabel.getAlign().getName()); + } + if (plotLabel.getRotation() != null) { + target.addAttribute("rotation", plotLabel.getRotation()); + } + if (plotLabel.getStyle() != null) { + target.addAttribute("style", plotLabel.getStyle()); + } + if (plotLabel.getText() != null) { + target.addAttribute("text", plotLabel.getText()); + } + if (plotLabel.getTextAlign() != null) { + target.addAttribute("textAlign", plotLabel.getTextAlign() + .getName()); + } + if (plotLabel.getVertAlign() != null) { + target.addAttribute("verticalAlign", plotLabel.getVertAlign() + .getName()); + } + if (plotLabel.getX() != null) { + target.addAttribute("x", plotLabel.getX()); + } + if (plotLabel.getY() != null) { + target.addAttribute("y", plotLabel.getY()); + } + } + + target.endTag("label"); + } + + /** + * Writes from/to value for a plotband. It considers date and number values + * separately. + * + * @param target + * @param plotBandRange + * @throws PaintException + */ + private static void writePlotBandRange(PaintTarget target, + Range plotBandRange) throws PaintException { + target.startTag("rangeValue"); + if (plotBandRange != null) { + if (plotBandRange instanceof NumberRange) { + target.addAttribute("valueType", "number"); + NumberRange numberRange = (NumberRange) plotBandRange; + if (numberRange.getFrom() != null) { + target.addAttribute("from", numberRange.getFrom()); + } + if (numberRange.getTo() != null) { + target.addAttribute("to", numberRange.getTo()); + } + } else if (plotBandRange instanceof DateTimeRange) { + target.addAttribute("valueType", "date"); + DateTimeRange dateRange = (DateTimeRange) plotBandRange; + target.startTag("from"); + if (dateRange.getFrom() != null) { + target.addAttribute("year", + getYearFromDate(dateRange.getFrom())); + target.addAttribute("month", + getMonthFromDate(dateRange.getFrom())); + target.addAttribute("day", + getDayFromDate(dateRange.getFrom())); + } + target.endTag("from"); + target.startTag("to"); + if (dateRange.getTo() != null) { + target.addAttribute("year", + getYearFromDate(dateRange.getTo())); + target.addAttribute("month", + getMonthFromDate(dateRange.getTo())); + target.addAttribute("day", + getDayFromDate(dateRange.getTo())); + } + target.endTag("to"); + } + } + target.endTag("rangeValue"); + } + + /** + * Writes configuration attributes of the plotlines + * + * @param target + * @param plotLines + * @throws PaintException + */ + private static void writePlotLines(PaintTarget target, + LinkedHashSet plotLines) throws PaintException { + target.startTag("plotLines"); + if (plotLines != null) { + for (PlotLine plotLine : plotLines) { + target.startTag("plotLine"); + + if (plotLine.getColor() != null) { + target.addAttribute("color", plotLine.getColor() + .getString()); + } + if (plotLine.getDashStyle() != null) { + target.addAttribute("dashStyle", plotLine.getDashStyle() + .getName()); + } + if (plotLine.getId() != null) { + target.addAttribute("id", plotLine.getId()); + } + if (plotLine.getWidth() != null) { + target.addAttribute("width", plotLine.getWidth()); + } + if (plotLine.getZIndex() != null) { + target.addAttribute("zIndex", plotLine.getZIndex()); + } + writePlotLabel(target, plotLine.getLabel()); + writePlotLineValue(target, plotLine.getValue()); + target.endTag("plotLine"); + } + } + target.endTag("plotLines"); + } + + /** + * Writes value of a plotline. It considers date and number value + * separately. + * + * @param target + * @param plotLineValue + * @throws PaintException + */ + private static void writePlotLineValue(PaintTarget target, + Value plotLineValue) throws PaintException { + + target.startTag("lineValue"); + if (plotLineValue != null) { + if (plotLineValue instanceof NumberValue + && ((NumberValue) plotLineValue).getValue() != null) { + target.addAttribute("valueType", "number"); + target.addAttribute("value", + ((NumberValue) plotLineValue).getValue()); + } else if (plotLineValue instanceof DateTimeValue + && ((DateTimeValue) plotLineValue).getValue() != null) { + target.addAttribute("valueType", "date"); + Date date = ((DateTimeValue) plotLineValue).getValue(); + target.addAttribute("year", getYearFromDate(date)); + target.addAttribute("month", getMonthFromDate(date)); + target.addAttribute("day", getDayFromDate(date)); + } + } + target.endTag("lineValue"); + } + + /** + * @param target + * @param tick + * @throws PaintException + */ + private static void writeAxisTick(PaintTarget target, Tick tick) + throws PaintException { + writeAxisMinorTick(target, tick); + if (tick.getPixelInterval() != null) { + target.addAttribute("tickPixelInterval", tick.getPixelInterval()); + } + if (tick.getPlacement() != null) { + target.addAttribute("tickmarkPlacement", tick.getPlacement() + .getName()); + } + } + + /** + * Writes configuration attributes of an axis. Depending on type of the + * argument tick, it either writes attributes for {@link MinorTick} or + * {@link Tick} + * + * @param target + * @param tick + * @throws PaintException + */ + private static void writeAxisMinorTick(PaintTarget target, MinorTick tick) + throws PaintException { + + String attNameColor = "minorTickColor"; + String attNameInterval = "minorTickInterval"; + String attNameLength = "minorTickLength"; + String attNamePosition = "minorTickPosition"; + String attNameWidth = "minorTickWidth"; + if (tick instanceof Tick) { + attNameColor = "tickColor"; + attNameInterval = "tickInterval"; + attNameLength = "tickLength"; + attNamePosition = "tickPosition"; + attNameWidth = "tickWidth"; + } + if (tick.getColor() != null) { + target.addAttribute(attNameColor, tick.getColor().getString()); + } + if (tick.getInterval() != null) { + target.addAttribute(attNameInterval, tick.getInterval()); + } + if (tick.getLength() != null) { + target.addAttribute(attNameLength, tick.getLength()); + } + if (tick.getPosition() != null) { + target.addAttribute(attNamePosition, tick.getPosition().getName()); + } + if (tick.getWidth() != null) { + target.addAttribute(attNameWidth, tick.getWidth()); + } + } + + /** + * @param target + * @param grid + * @throws PaintException + */ + private static void writeAxisGrid(PaintTarget target, Grid grid) + throws PaintException { + writeAxisMinorGrid(target, grid); + } + + /** + * Writes configuration attributes of an axis. Depending on type of the + * argument tick, it either writes attributes for {@link MinorGrid} or + * {@link Grid} + * + * @param target + * @param grid + * @throws PaintException + */ + private static void writeAxisMinorGrid(PaintTarget target, MinorGrid grid) + throws PaintException { + + String attNameLineColor = "minorGridLineColor"; + String attNameLineWidth = "minorGridLineWidth"; + String attNameLineDashStyle = "minorGridLineDashStyle"; + if (grid instanceof Grid) { + attNameLineColor = "gridLineColor"; + attNameLineWidth = "gridLineWidth"; + attNameLineDashStyle = "gridLineDashStyle"; + } + + if (grid.getLineColor() != null) { + target.addAttribute(attNameLineColor, grid.getLineColor() + .getString()); + } + if (grid.getLineWidth() != null) { + target.addAttribute(attNameLineWidth, grid.getLineWidth()); + } + if (grid.getLineDashStyle() != null) { + target.addAttribute(attNameLineDashStyle, grid.getLineDashStyle() + .getName()); + } + } + + /** + * @param target + * @param title + * @throws PaintException + */ + private static void writeAxisTitle(PaintTarget target, AxisTitle title) + throws PaintException { + target.startTag("title"); + if (title != null) { + if (title.getAlign() != null) { + target.addAttribute("align", title.getAlign().getName()); + } + if (title.getMargin() != null) { + target.addAttribute("margin", title.getMargin()); + } + if (title.getRotation() != null) { + target.addAttribute("rotation", title.getRotation()); + } + if (title.getStyle() != null) { + target.addAttribute("style", title.getStyle()); + } + if (title.getText() != null) { + target.addAttribute("text", title.getText()); + } + } + target.endTag("title"); + } + + /** + * Iteratively processes each x-axis and writes configuration attributes of + * each axis based on type of the axis e.g. {@link NumberAxis}, + * {@link DateTimeAxis} and {@link CategoryAxis} + * + * @param target + * @param axes + * @throws PaintException + */ + public static void writeXAxes(PaintTarget target, + LinkedHashSet axes, InvientChartsConfig config) + throws PaintException { + target.startTag("xAxes"); + + if (axes != null) { + for (XAxis xAxis : axes) { + target.startTag("xAxis"); + writeBaseAxis(target, (AxisBase) xAxis, axes); + if (xAxis instanceof NumberXAxis) { + writeNumberAxis(target, (NumberXAxis) xAxis); + } else if (xAxis instanceof CategoryAxis) { + writeCategoryAxis(target, (CategoryAxis) xAxis); + } else if (xAxis instanceof DateTimeAxis) { + // Check if time should be included as part of a date value. + // If any of the datetime series + writeDateTimeAxis( + target, + (DateTimeAxis) xAxis, + isIncludeTime((DateTimeAxis) xAxis, config + .getInvientCharts().getAllSeries())); + } + + target.endTag("xAxis"); + } + } + + target.endTag("xAxes"); + } + + private static boolean isIncludeTime(DateTimeAxis axis, + LinkedHashSet chartSeries) { + for (Series series : chartSeries) { + if (series instanceof DateTimeSeries && series.getXAxis() == axis) { + return ((DateTimeSeries) series).isIncludeTime(); + } + } + return false; + } + + /** + * @param target + * @param numberAxis + * @throws PaintException + */ + private static void writeNumberAxis(PaintTarget target, + NumberAxis numberAxis) throws PaintException { + if (numberAxis.getAllowDecimals() != null) { + target.addAttribute("allowDecimals", numberAxis.getAllowDecimals()); + } + if (numberAxis.getMax() != null) { + target.addAttribute("max", numberAxis.getMax()); + } + if (numberAxis.getMin() != null) { + target.addAttribute("min", numberAxis.getMin()); + } + } + + /** + * Returns milliseconds of the date argument dt excluding time. + * + * @param dt + * @return + */ + public static long getDate(Date dt) { + return getDate(dt, false); + } + + /** + * Returns milliseconds of the date argument dt. If the argument + * isIncludeTime is false then the returned milliseconds does not include + * time. + * + * @param dt + * @param isIncludeTime + * @return + */ + private static long getDate(Date dt, boolean isIncludeTime) { + Calendar cal = GregorianCalendar.getInstance(); + cal.setTime(dt); + if (!isIncludeTime) { + cal.set(Calendar.HOUR, 0); + cal.set(Calendar.MINUTE, 0); + cal.set(Calendar.SECOND, 0); + cal.set(Calendar.MILLISECOND, 0); + } + return cal.getTimeInMillis(); + } + + /** + * @param target + * @param dateTimeAxis + * @throws PaintException + */ + private static void writeDateTimeAxis(PaintTarget target, + DateTimeAxis dateTimeAxis, boolean isIncludeTime) + throws PaintException { + if (dateTimeAxis.getMax() != null) { + target.addAttribute("max", + getDate(dateTimeAxis.getMax(), isIncludeTime)); + } + if (dateTimeAxis.getMin() != null) { + target.addAttribute("min", + getDate(dateTimeAxis.getMin(), isIncludeTime)); + } + if (dateTimeAxis.getDateTimeLabelFormat() != null) { + target.startTag("dateTimeLabelFormats"); + DateTimeLabelFormat dateTimeLabelFormat = dateTimeAxis + .getDateTimeLabelFormat(); + if (dateTimeLabelFormat.getMillisecond() != null) { + target.addAttribute("millisecond", dateTimeAxis + .getDateTimeLabelFormat().getMillisecond()); + } + if (dateTimeLabelFormat.getSecond() != null) { + target.addAttribute("second", dateTimeAxis + .getDateTimeLabelFormat().getSecond()); + } + if (dateTimeLabelFormat.getMinute() != null) { + target.addAttribute("minute", dateTimeAxis + .getDateTimeLabelFormat().getMinute()); + } + if (dateTimeLabelFormat.getHour() != null) { + target.addAttribute("hour", dateTimeAxis + .getDateTimeLabelFormat().getHour()); + } + if (dateTimeLabelFormat.getDay() != null) { + target.addAttribute("day", dateTimeAxis + .getDateTimeLabelFormat().getDay()); + } + if (dateTimeLabelFormat.getWeek() != null) { + target.addAttribute("week", dateTimeAxis + .getDateTimeLabelFormat().getWeek()); + } + if (dateTimeLabelFormat.getMonth() != null) { + target.addAttribute("month", dateTimeAxis + .getDateTimeLabelFormat().getMonth()); + } + if (dateTimeLabelFormat.getYear() != null) { + target.addAttribute("year", dateTimeAxis + .getDateTimeLabelFormat().getYear()); + } + target.endTag("dateTimeLabelFormats"); + } + } + + /** + * @param target + * @param categoryAxis + * @throws PaintException + */ + private static void writeCategoryAxis(PaintTarget target, + CategoryAxis categoryAxis) throws PaintException { + target.startTag("categories"); + if (categoryAxis.getCategories() != null + && categoryAxis.getCategories().size() > 0) { + for (String category : categoryAxis.getCategories()) { + target.startTag("category"); + target.addAttribute("name", category); + target.endTag("category"); + } + } + target.endTag("categories"); + } + + /** + * @param target + * @param axes + * @throws PaintException + */ + public static void writeYAxes(PaintTarget target, + LinkedHashSet axes, InvientChartsConfig config) + throws PaintException { + target.startTag("yAxes"); + + if (axes != null) { + for (YAxis yAxis : axes) { + target.startTag("yAxis"); + writeBaseAxis(target, (AxisBase) yAxis, axes); + if (yAxis instanceof NumberYAxis) { + writeNumberAxis(target, (NumberYAxis) yAxis); + } + target.endTag("yAxis"); + } + } + + target.endTag("yAxes"); + } + + /** + * Writes configuration attributes of the chart labels. + * + * @param target + * @param chartLabel + * @throws PaintException + */ + public static void writeChartLabelConfig(PaintTarget target, + ChartLabel chartLabel) throws PaintException { + target.startTag("labels"); + + if (chartLabel != null && chartLabel.getLabels() != null + && chartLabel.getLabels().size() > 0) { + if (chartLabel.getStyle() != null) { + target.addAttribute("style", chartLabel.getStyle()); + } + target.startTag("items"); + for (ChartLabelItem label : chartLabel.getLabels()) { + if (label.getHtml() != null || label.getStyle() != null) { + target.startTag("item"); + if (label.getHtml() != null) { + target.addAttribute("html", label.getHtml()); + } + if (label.getStyle() != null) { + target.addAttribute("style", label.getStyle()); + } + target.endTag("item"); + } + } + target.endTag("items"); + } + + target.endTag("labels"); + } + + /** + * @param date + * @return Returns year of the argument date. + */ + private static String getYearFromDate(Date date) { + if (date == null) { + return null; + } + Calendar cal = Calendar.getInstance(); + cal.setTime(date); + return String.valueOf(cal.get(Calendar.YEAR)); + } + + /** + * @param date + * @return Returns month of the argument date. The returned values is based + * on zero-index i.e. for month January, the values returned is "0" + */ + private static String getMonthFromDate(Date date) { + if (date == null) { + return null; + } + Calendar cal = Calendar.getInstance(); + cal.setTime(date); + return String.valueOf(cal.get(Calendar.MONTH)); + } + + /** + * @param date + * @return + */ + private static String getDayFromDate(Date date) { + if (date == null) { + return null; + } + Calendar cal = Calendar.getInstance(); + cal.setTime(date); + return String.valueOf(cal.get(Calendar.DAY_OF_MONTH)); + } + + /** + * Writes information about which series were added, removed or updated. + * This information is used by Vaadin terminal class to decide whether to + * add a new series or remove/delete an existing series. Basically, this + * information helps client to update only a portion of the chart instead of + * full chart. + * + * @param target + * @param seriesCURMap + * @throws PaintException + */ + + public static void writeChartDataUpdates(PaintTarget target, + LinkedHashMap> seriesCURMap) + throws PaintException { + for (String seriesName : seriesCURMap.keySet()) { + LinkedHashSet seriesCURSet = seriesCURMap + .get(seriesName); + if (seriesCURSet != null && seriesCURSet.size() > 0) { + for (SeriesCUR seriesCUR : seriesCURSet) { + target.startTag("seriesDataUpdate"); + target.addAttribute("seriesName", seriesCUR.getName()); + target.addAttribute("operation", seriesCUR.getType() + .getName()); + target.addAttribute("isReloadPoints", + seriesCUR.isReloadPoints()); + target.startTag("pointsAdded"); + if (seriesCUR.getPointsAdded().size() > 0) { + writePoints(target, seriesCUR.getPointsAdded()); + } + target.endTag("pointsAdded"); + target.startTag("pointsRemoved"); + if (seriesCUR.getPointsRemoved().size() > 0) { + writePoints(target, seriesCUR.getPointsRemoved()); + } + target.endTag("pointsRemoved"); + target.endTag("seriesDataUpdate"); + } + } + } + } + +} diff --git a/src/com/invient/vaadin/charts/Paint.java b/invient-charts/src/main/java/com/invient/vaadin/charts/Paint.java old mode 100755 new mode 100644 similarity index 100% rename from src/com/invient/vaadin/charts/Paint.java rename to invient-charts/src/main/java/com/invient/vaadin/charts/Paint.java diff --git a/invient-charts/src/main/java/com/invient/vaadin/charts/widgetset/InvientChartsWidgetset.gwt.xml b/invient-charts/src/main/java/com/invient/vaadin/charts/widgetset/InvientChartsWidgetset.gwt.xml new file mode 100644 index 0000000..ef7ee05 --- /dev/null +++ b/invient-charts/src/main/java/com/invient/vaadin/charts/widgetset/InvientChartsWidgetset.gwt.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/src/com/invient/vaadin/charts/widgetset/client/ui/GwtAxis.java b/invient-charts/src/main/java/com/invient/vaadin/charts/widgetset/client/ui/GwtAxis.java old mode 100755 new mode 100644 similarity index 100% rename from src/com/invient/vaadin/charts/widgetset/client/ui/GwtAxis.java rename to invient-charts/src/main/java/com/invient/vaadin/charts/widgetset/client/ui/GwtAxis.java diff --git a/src/com/invient/vaadin/charts/widgetset/client/ui/GwtChart.java b/invient-charts/src/main/java/com/invient/vaadin/charts/widgetset/client/ui/GwtChart.java old mode 100755 new mode 100644 similarity index 100% rename from src/com/invient/vaadin/charts/widgetset/client/ui/GwtChart.java rename to invient-charts/src/main/java/com/invient/vaadin/charts/widgetset/client/ui/GwtChart.java diff --git a/src/com/invient/vaadin/charts/widgetset/client/ui/GwtInvientCharts.java b/invient-charts/src/main/java/com/invient/vaadin/charts/widgetset/client/ui/GwtInvientCharts.java old mode 100755 new mode 100644 similarity index 95% rename from src/com/invient/vaadin/charts/widgetset/client/ui/GwtInvientCharts.java rename to invient-charts/src/main/java/com/invient/vaadin/charts/widgetset/client/ui/GwtInvientCharts.java index 7069f5f..ee87cf8 --- a/src/com/invient/vaadin/charts/widgetset/client/ui/GwtInvientCharts.java +++ b/invient-charts/src/main/java/com/invient/vaadin/charts/widgetset/client/ui/GwtInvientCharts.java @@ -1,219 +1,235 @@ -/* - * Copyright 2011 Invient (www.invient.com) - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not - * use this file except in compliance with the License. You may obtain a copy of - * the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations under - * the License. - */ -package com.invient.vaadin.charts.widgetset.client.ui; - -import com.google.gwt.core.client.JavaScriptObject; -import com.google.gwt.dom.client.DivElement; -import com.google.gwt.dom.client.Document; -import com.google.gwt.user.client.ui.Widget; - -import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtExportingOptions; - -/** - * - * This is the base class for InvientCharts. - * It does followings: - *

    - *
  • - * creates container
    element for the chart. - *
  • - *
  • - * destroys chart when the container
    element is removed - *
  • - *
  • - * defines a set of JavaScript functions to register various event listeners for the Highcharts. These JavaScript function will call - * predefined GWT methods where actual code is written to communicate to the server-side Vaadin components. - *
  • - *
- * - * @author Invient - * - */ -class GwtInvientCharts extends Widget { - - protected GwtChart chart; - protected String divId = "hchartdiv_" + System.currentTimeMillis(); - - public GwtInvientCharts() { - DivElement divElement = Document.get().createDivElement(); - divElement.setId(divId); - setElement(divElement); - } - - @Override - public void onLoad() { - } - - @Override - public void onUnload() { - // Remove chart and purge memory (prevents memory leaks) - if (chart != null) { - chart.destroy(); - // chart variable must be set to null so that the chart can be created again - // when using chart with Portal Layout. - // In portal layout, when one window is dragged, the chart is removed from - // html dom and when the window is dropped to a new position the chart - // needs to be recreated. - chart = null; - } - } - - protected void createChart(GwtInvientChartsConfig options) { - // For now, disable exporting icons on client. If we need then we would - // add support for setting exporting options through server-side code - GwtExportingOptions exportingOptions = GwtExportingOptions.create(); - exportingOptions.setEnabled(false); - options.setExportingOptions(exportingOptions); - // - chart = GwtInvientChartsUtil.newChart(options); - } - - protected static final class EventCallbacks { - - // Chart events - protected static native final JavaScriptObject getChartAddSeries( - VInvientCharts graphWidget) /*-{ - return function(event) { - var thisWidget = graphWidget; - thisWidget.@com.invient.vaadin.charts.widgetset.client.ui.VInvientCharts::chartAddSeriesListener(Lcom/invient/vaadin/charts/widgetset/client/ui/GwtChart;)(this); - }; - }-*/; - - protected static native final JavaScriptObject getChartClick( - VInvientCharts graphWidget) /*-{ - return function(event) { - var thisWidget = graphWidget; - var mouseCoords = $wnd.getMouseCoords(event); - thisWidget.@com.invient.vaadin.charts.widgetset.client.ui.VInvientCharts::chartClickListener(Lcom/invient/vaadin/charts/widgetset/client/ui/GwtChart;DDII)(this, event.xAxis[0].value, event.yAxis[0].value, mouseCoords.x, mouseCoords.y); - }; - }-*/; - - protected static native final JavaScriptObject getClientChartSelection( - VInvientCharts graphWidget) /*-{ - return function(event) { - var thisWidget = graphWidget; - if(event.xAxis && event.yAxis) { - thisWidget.@com.invient.vaadin.charts.widgetset.client.ui.VInvientCharts::chartSelectionListener(Lcom/invient/vaadin/charts/widgetset/client/ui/GwtChart;DDDD)(this, event.xAxis[0].min, event.xAxis[0].max, event.yAxis[0].min, event.yAxis[0].max); - } - else { - thisWidget.@com.invient.vaadin.charts.widgetset.client.ui.VInvientCharts::chartResetZoomListener(Lcom/invient/vaadin/charts/widgetset/client/ui/GwtChart;)(this); - } - }; - }-*/; - - protected static native final JavaScriptObject getServerChartSelection( - VInvientCharts graphWidget) /*-{ - return function(event) { - var thisWidget = graphWidget; - if(event.xAxis && event.yAxis) { - thisWidget.@com.invient.vaadin.charts.widgetset.client.ui.VInvientCharts::chartSelectionListener(Lcom/invient/vaadin/charts/widgetset/client/ui/GwtChart;DDDD)(this, event.xAxis[0].min, event.xAxis[0].max, event.yAxis[0].min, event.yAxis[0].max); - } - else { - thisWidget.@com.invient.vaadin.charts.widgetset.client.ui.VInvientCharts::chartResetZoomListener(Lcom/invient/vaadin/charts/widgetset/client/ui/GwtChart;)(this); - } - return false; - }; - }-*/; - - // Series events - protected static native final JavaScriptObject getSeriesClick( - VInvientCharts graphWidget) /*-{ - return function(event) { - var thisWidget = graphWidget; - var mouseCoords = $wnd.getMouseCoords(event); - thisWidget.@com.invient.vaadin.charts.widgetset.client.ui.VInvientCharts::seriesClickListener(Lcom/invient/vaadin/charts/widgetset/client/ui/GwtSeries;Lcom/invient/vaadin/charts/widgetset/client/ui/GwtPoint;II)(this, event.point, mouseCoords.x, mouseCoords.y); - }; - }-*/; - - protected static native final JavaScriptObject getSeriesHide( - VInvientCharts graphWidget) /*-{ - return function() { - var thisWidget = graphWidget; - thisWidget.@com.invient.vaadin.charts.widgetset.client.ui.VInvientCharts::seriesHideListener(Lcom/invient/vaadin/charts/widgetset/client/ui/GwtSeries;)(this); - }; - }-*/; - - protected static native final JavaScriptObject getSeriesShow( - VInvientCharts graphWidget) /*-{ - return function() { - var thisWidget = graphWidget; - thisWidget.@com.invient.vaadin.charts.widgetset.client.ui.VInvientCharts::seriesShowListener(Lcom/invient/vaadin/charts/widgetset/client/ui/GwtSeries;)(this); - }; - }-*/; - - protected static native final JavaScriptObject getSeriesLegendItemClick( - VInvientCharts graphWidget) /*-{ - return function(event) { - var thisWidget = graphWidget; - thisWidget.@com.invient.vaadin.charts.widgetset.client.ui.VInvientCharts::seriesLegendItemClickListener(Lcom/invient/vaadin/charts/widgetset/client/ui/GwtSeries;)(this); - }; - }-*/; - - // Point events - protected static native final JavaScriptObject getPieLegendItemClick( - VInvientCharts graphWidget) /*-{ - return function(event) { - var thisWidget = graphWidget; - thisWidget.@com.invient.vaadin.charts.widgetset.client.ui.VInvientCharts::pieLegendItemClickListener(Lcom/invient/vaadin/charts/widgetset/client/ui/GwtPoint;)(this); - }; - }-*/; - - protected static native final JavaScriptObject getPointClick( - VInvientCharts graphWidget) /*-{ - return function(event) { - var thisWidget = graphWidget; - var mouseCoords = $wnd.getMouseCoords(event); - thisWidget.@com.invient.vaadin.charts.widgetset.client.ui.VInvientCharts::pointClickListener(Lcom/invient/vaadin/charts/widgetset/client/ui/GwtPoint;II)(this, mouseCoords.x, mouseCoords.y); - }; - }-*/; - - protected static native final JavaScriptObject getPointSelect( - VInvientCharts graphWidget) /*-{ - return function(event) { - var thisWidget = graphWidget; - thisWidget.@com.invient.vaadin.charts.widgetset.client.ui.VInvientCharts::pointSelectListener(Lcom/invient/vaadin/charts/widgetset/client/ui/GwtPoint;)(this); - }; - }-*/; - - protected static native final JavaScriptObject getPointUnselect( - VInvientCharts graphWidget) /*-{ - return function(event) { - var thisWidget = graphWidget; - thisWidget.@com.invient.vaadin.charts.widgetset.client.ui.VInvientCharts::pointUnselectListener(Lcom/invient/vaadin/charts/widgetset/client/ui/GwtPoint;)(this); - }; - }-*/; - - protected static native final JavaScriptObject getPointRemove( - VInvientCharts graphWidget) /*-{ - return function(event) { - var thisWidget = graphWidget; - thisWidget.@com.invient.vaadin.charts.widgetset.client.ui.VInvientCharts::pointRemoveListener(Lcom/invient/vaadin/charts/widgetset/client/ui/GwtPoint;)(this); - }; - }-*/; - - } - -// @Override -// public void setHeight(String height) { -// getElement().setAttribute("height", height); -// } -// -// @Override -// public void setWidth(String width) { -// getElement().setAttribute("width", width); -// } - +/* + * Copyright 2011 Invient (www.invient.com) + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ +package com.invient.vaadin.charts.widgetset.client.ui; + +import java.util.UUID; + +import com.google.gwt.core.client.JavaScriptObject; +import com.google.gwt.dom.client.DivElement; +import com.google.gwt.dom.client.Document; +import com.google.gwt.user.client.ui.Widget; + +import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtExportingOptions; + +/** + * + * This is the base class for InvientCharts. + * It does followings: + *
    + *
  • + * creates container
    element for the chart. + *
  • + *
  • + * destroys chart when the container
    element is removed + *
  • + *
  • + * defines a set of JavaScript functions to register various event listeners for the Highcharts. These JavaScript function will call + * predefined GWT methods where actual code is written to communicate to the server-side Vaadin components. + *
  • + *
+ * + * @author Invient + * + */ +class GwtInvientCharts extends Widget { + + private static long chartId = System.currentTimeMillis(); + + protected GwtChart chart; + protected String divId = "hchartdiv_" + chartId++; + + // Cached chart options so that we can re-load them if we are detached and re-attached. + private GwtInvientChartsConfig options; + + public GwtInvientCharts() { + DivElement divElement = Document.get().createDivElement(); + divElement.setId(divId); + setElement(divElement); + } + + /** {@inheritDoc} */ + @Override + public void onLoad() { + if(chart == null && options != null) { + // And we are back again... (component was re-attached). + createChart(options); + } + } + + /** {@inheritDoc} */ + @Override + public void onUnload() { + // Remove chart and purge memory (prevents memory leaks) + if (chart != null) { + chart.destroy(); + // chart variable must be set to null so that the chart can be created again + // when using chart with Portal Layout. + // In portal layout, when one window is dragged, the chart is removed from + // html dom and when the window is dropped to a new position the chart + // needs to be recreated. + chart = null; + } + } + + protected void createChart(GwtInvientChartsConfig options) { + // For now, disable exporting icons on client. If we need then we would + // add support for setting exporting options through server-side code + GwtExportingOptions exportingOptions = GwtExportingOptions.create(); + exportingOptions.setEnabled(false); + options.setExportingOptions(exportingOptions); + // + chart = GwtInvientChartsUtil.newChart(options); + this.options = options; + } + + protected static final class EventCallbacks { + + // Chart events + protected static native final JavaScriptObject getChartAddSeries( + VInvientCharts graphWidget) /*-{ + return function(event) { + var thisWidget = graphWidget; + thisWidget.@com.invient.vaadin.charts.widgetset.client.ui.VInvientCharts::chartAddSeriesListener(Lcom/invient/vaadin/charts/widgetset/client/ui/GwtChart;)(this); + }; + }-*/; + + protected static native final JavaScriptObject getChartClick( + VInvientCharts graphWidget) /*-{ + return function(event) { + var thisWidget = graphWidget; + var mouseCoords = $wnd.getMouseCoords(event); + thisWidget.@com.invient.vaadin.charts.widgetset.client.ui.VInvientCharts::chartClickListener(Lcom/invient/vaadin/charts/widgetset/client/ui/GwtChart;DDII)(this, event.xAxis[0].value, event.yAxis[0].value, mouseCoords.x, mouseCoords.y); + }; + }-*/; + + protected static native final JavaScriptObject getClientChartSelection( + VInvientCharts graphWidget) /*-{ + return function(event) { + var thisWidget = graphWidget; + if(event.xAxis && event.yAxis) { + thisWidget.@com.invient.vaadin.charts.widgetset.client.ui.VInvientCharts::chartSelectionListener(Lcom/invient/vaadin/charts/widgetset/client/ui/GwtChart;DDDD)(this, event.xAxis[0].min, event.xAxis[0].max, event.yAxis[0].min, event.yAxis[0].max); + } + else { + thisWidget.@com.invient.vaadin.charts.widgetset.client.ui.VInvientCharts::chartResetZoomListener(Lcom/invient/vaadin/charts/widgetset/client/ui/GwtChart;)(this); + } + }; + }-*/; + + protected static native final JavaScriptObject getServerChartSelection( + VInvientCharts graphWidget) /*-{ + return function(event) { + var thisWidget = graphWidget; + if(event.xAxis && event.yAxis) { + thisWidget.@com.invient.vaadin.charts.widgetset.client.ui.VInvientCharts::chartSelectionListener(Lcom/invient/vaadin/charts/widgetset/client/ui/GwtChart;DDDD)(this, event.xAxis[0].min, event.xAxis[0].max, event.yAxis[0].min, event.yAxis[0].max); + } + else { + thisWidget.@com.invient.vaadin.charts.widgetset.client.ui.VInvientCharts::chartResetZoomListener(Lcom/invient/vaadin/charts/widgetset/client/ui/GwtChart;)(this); + } + return false; + }; + }-*/; + + // Series events + protected static native final JavaScriptObject getSeriesClick( + VInvientCharts graphWidget) /*-{ + return function(event) { + var thisWidget = graphWidget; + var mouseCoords = $wnd.getMouseCoords(event); + thisWidget.@com.invient.vaadin.charts.widgetset.client.ui.VInvientCharts::seriesClickListener(Lcom/invient/vaadin/charts/widgetset/client/ui/GwtSeries;Lcom/invient/vaadin/charts/widgetset/client/ui/GwtPoint;II)(this, event.point, mouseCoords.x, mouseCoords.y); + }; + }-*/; + + protected static native final JavaScriptObject getSeriesHide( + VInvientCharts graphWidget) /*-{ + return function() { + var thisWidget = graphWidget; + thisWidget.@com.invient.vaadin.charts.widgetset.client.ui.VInvientCharts::seriesHideListener(Lcom/invient/vaadin/charts/widgetset/client/ui/GwtSeries;)(this); + }; + }-*/; + + protected static native final JavaScriptObject getSeriesShow( + VInvientCharts graphWidget) /*-{ + return function() { + var thisWidget = graphWidget; + thisWidget.@com.invient.vaadin.charts.widgetset.client.ui.VInvientCharts::seriesShowListener(Lcom/invient/vaadin/charts/widgetset/client/ui/GwtSeries;)(this); + }; + }-*/; + + protected static native final JavaScriptObject getSeriesLegendItemClick( + VInvientCharts graphWidget) /*-{ + return function(event) { + var thisWidget = graphWidget; + thisWidget.@com.invient.vaadin.charts.widgetset.client.ui.VInvientCharts::seriesLegendItemClickListener(Lcom/invient/vaadin/charts/widgetset/client/ui/GwtSeries;)(this); + }; + }-*/; + + // Point events + protected static native final JavaScriptObject getPieLegendItemClick( + VInvientCharts graphWidget) /*-{ + return function(event) { + var thisWidget = graphWidget; + thisWidget.@com.invient.vaadin.charts.widgetset.client.ui.VInvientCharts::pieLegendItemClickListener(Lcom/invient/vaadin/charts/widgetset/client/ui/GwtPoint;)(this); + }; + }-*/; + + protected static native final JavaScriptObject getPointClick( + VInvientCharts graphWidget) /*-{ + return function(event) { + var thisWidget = graphWidget; + var mouseCoords = $wnd.getMouseCoords(event); + thisWidget.@com.invient.vaadin.charts.widgetset.client.ui.VInvientCharts::pointClickListener(Lcom/invient/vaadin/charts/widgetset/client/ui/GwtPoint;II)(this, mouseCoords.x, mouseCoords.y); + }; + }-*/; + + protected static native final JavaScriptObject getPointSelect( + VInvientCharts graphWidget) /*-{ + return function(event) { + var thisWidget = graphWidget; + thisWidget.@com.invient.vaadin.charts.widgetset.client.ui.VInvientCharts::pointSelectListener(Lcom/invient/vaadin/charts/widgetset/client/ui/GwtPoint;)(this); + }; + }-*/; + + protected static native final JavaScriptObject getPointUnselect( + VInvientCharts graphWidget) /*-{ + return function(event) { + var thisWidget = graphWidget; + thisWidget.@com.invient.vaadin.charts.widgetset.client.ui.VInvientCharts::pointUnselectListener(Lcom/invient/vaadin/charts/widgetset/client/ui/GwtPoint;)(this); + }; + }-*/; + + protected static native final JavaScriptObject getPointRemove( + VInvientCharts graphWidget) /*-{ + return function(event) { + var thisWidget = graphWidget; + thisWidget.@com.invient.vaadin.charts.widgetset.client.ui.VInvientCharts::pointRemoveListener(Lcom/invient/vaadin/charts/widgetset/client/ui/GwtPoint;)(this); + }; + }-*/; + + } + +// /** {@inheritDoc} */ +// @Override +// public void setHeight(String height) { +// getElement().setAttribute("height", height); +// } +// +// /** {@inheritDoc} */ +// @Override +// public void setWidth(String width) { +// getElement().setAttribute("width", width); +// } + } \ No newline at end of file diff --git a/src/com/invient/vaadin/charts/widgetset/client/ui/GwtInvientChartsConfig.java b/invient-charts/src/main/java/com/invient/vaadin/charts/widgetset/client/ui/GwtInvientChartsConfig.java old mode 100755 new mode 100644 similarity index 97% rename from src/com/invient/vaadin/charts/widgetset/client/ui/GwtInvientChartsConfig.java rename to invient-charts/src/main/java/com/invient/vaadin/charts/widgetset/client/ui/GwtInvientChartsConfig.java index 92ef102..8d24f18 --- a/src/com/invient/vaadin/charts/widgetset/client/ui/GwtInvientChartsConfig.java +++ b/invient-charts/src/main/java/com/invient/vaadin/charts/widgetset/client/ui/GwtInvientChartsConfig.java @@ -764,6 +764,10 @@ public native final void setStickyTracking(boolean stickyTracking) /*-{ public native final void setMarker(GwtMarker marker) /*-{ this.marker = marker; }-*/; + + public native final void setTurboThreshold(int turboThreshold) /*-{ + this.turboThreshold = turboThreshold; + }-*/; } static class GwtLineOptions extends GwtBaseLineOptions { @@ -848,7 +852,7 @@ public native final void setBorderColor(String borderColor) /*-{ this.borderColor = $wnd.getInvientChartsColor(borderColor); }-*/; - public native final void setBorderWidth(int borderWidth) /*-{ + public native final void setBorderWidth(double borderWidth) /*-{ this.borderWidth = borderWidth; }-*/; @@ -864,7 +868,10 @@ public native final void setSlicedOffset(int slicedOffset) /*-{ this.slicedOffset = slicedOffset; }-*/; - } + public native final void setIgnoreHiddenPoint(boolean ignoreHiddenPoint) /*-{ + this.ignoreHiddenPoint = ignoreHiddenPoint; + }-*/; + } static class GwtBaseBarOptions extends GwtSeriesGeneralOptions { protected GwtBaseBarOptions() { @@ -1607,6 +1614,10 @@ public static native final GwtDateTimeLabelFormats create() /*-{ return { }; }-*/; + public native final void setMillisecond(String millisecond) /*-{ + this.millisecond = millisecond; + }-*/; + public native final void setSecond(String second) /*-{ this.second = second; }-*/; @@ -1730,9 +1741,9 @@ public native final void setBorderWidth(int borderWidth) /*-{ }-*/; // FIXME all diff. values - public native final void setCrosshairs(boolean crosshairs) /*-{ - this.crosshairs = crosshairs; - }-*/; + public native final void setCrosshairs(GwtTooltipCrosshairs crosshairs) /*-{ + this.crosshairs = crosshairs; + }-*/; public native final void setEnabled(boolean enabled) /*-{ this.enabled = enabled; @@ -1757,8 +1768,48 @@ public native final void setSnap(int snap) /*-{ public native final void setStyle(String style) /*-{ this.style = eval("(" + style + ")"); }-*/; + + public native final void setUseHTML(boolean useHTML) /*-{ + this.useHTML = useHTML; + }-*/; + + public native final void setHeaderFormat(String headerFormat) /*-{ + this.headerFormat = headerFormat; + }-*/; + + public native final void setPointFormat(String pointFormat) /*-{ + this.pointFormat = pointFormat; + }-*/; + + public native final void setFooterFormat(String footerFormat) /*-{ + this.footerFormat = footerFormat; + }-*/; } + static final class GwtTooltipCrosshairs extends JavaScriptObject { + protected GwtTooltipCrosshairs() { + } + + public native final static GwtTooltipCrosshairs create() /*-{ + return {}; + }-*/; + + public native final void setWidth(double width) /*-{ + this.width = width; + }-*/; + + public native final void setColor(String color) /*-{ + this.color = $wnd.getInvientChartsColor(color); + }-*/; + + public native final void setDashstyle(String dashStyle) /*-{ + this.dashStyle = dashStyle; + }-*/; + public native final void setZIndex(int zIndex) /*-{ + this.zIndex = zIndex; + }-*/; + } + static final class GwtLegendOptions extends JavaScriptObject { protected GwtLegendOptions() { } @@ -1816,7 +1867,7 @@ public native final void setItemHoverStyle(String itemHoverStyle) /*-{ }-*/; public native final void setItemStyle(String itemStyle) /*-{ - this.itemStyle = itemStyle; + this.itemStyle = eval("(" + itemStyle + ")"); }-*/; public native final void setItemWidth(int itemWidth) /*-{ diff --git a/src/com/invient/vaadin/charts/widgetset/client/ui/GwtInvientChartsUtil.java b/invient-charts/src/main/java/com/invient/vaadin/charts/widgetset/client/ui/GwtInvientChartsUtil.java old mode 100755 new mode 100644 similarity index 100% rename from src/com/invient/vaadin/charts/widgetset/client/ui/GwtInvientChartsUtil.java rename to invient-charts/src/main/java/com/invient/vaadin/charts/widgetset/client/ui/GwtInvientChartsUtil.java diff --git a/src/com/invient/vaadin/charts/widgetset/client/ui/GwtPoint.java b/invient-charts/src/main/java/com/invient/vaadin/charts/widgetset/client/ui/GwtPoint.java old mode 100755 new mode 100644 similarity index 100% rename from src/com/invient/vaadin/charts/widgetset/client/ui/GwtPoint.java rename to invient-charts/src/main/java/com/invient/vaadin/charts/widgetset/client/ui/GwtPoint.java diff --git a/src/com/invient/vaadin/charts/widgetset/client/ui/GwtSeries.java b/invient-charts/src/main/java/com/invient/vaadin/charts/widgetset/client/ui/GwtSeries.java old mode 100755 new mode 100644 similarity index 100% rename from src/com/invient/vaadin/charts/widgetset/client/ui/GwtSeries.java rename to invient-charts/src/main/java/com/invient/vaadin/charts/widgetset/client/ui/GwtSeries.java diff --git a/src/com/invient/vaadin/charts/widgetset/client/ui/VInvientCharts.java b/invient-charts/src/main/java/com/invient/vaadin/charts/widgetset/client/ui/VInvientCharts.java old mode 100755 new mode 100644 similarity index 97% rename from src/com/invient/vaadin/charts/widgetset/client/ui/VInvientCharts.java rename to invient-charts/src/main/java/com/invient/vaadin/charts/widgetset/client/ui/VInvientCharts.java index ffd8e36..c2aca7d --- a/src/com/invient/vaadin/charts/widgetset/client/ui/VInvientCharts.java +++ b/invient-charts/src/main/java/com/invient/vaadin/charts/widgetset/client/ui/VInvientCharts.java @@ -1,2713 +1,2784 @@ -/* - * Copyright 2011 Invient (www.invient.com) - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not - * use this file except in compliance with the License. You may obtain a copy of - * the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations under - * the License. - */ -package com.invient.vaadin.charts.widgetset.client.ui; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import com.google.gwt.core.client.JavaScriptObject; -import com.google.gwt.core.client.JsArray; -import com.google.gwt.core.client.JsArrayNumber; -import com.google.gwt.core.client.JsArrayString; -import com.vaadin.terminal.gwt.client.ApplicationConnection; -import com.vaadin.terminal.gwt.client.Paintable; -import com.vaadin.terminal.gwt.client.UIDL; -import com.vaadin.terminal.gwt.client.VConsole; - -import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtAxisBaseOptions; -import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtAxisBaseOptions.GwtAxisDataLabels; -import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtAxisBaseOptions.GwtAxisTitleOptions; -import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtAxisBaseOptions.GwtPlotBands; -import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtAxisBaseOptions.GwtPlotLabel; -import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtAxisBaseOptions.GwtPlotLines; -import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtAxisBaseOptions.GwtXAxisDataLabels; -import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtAxisBaseOptions.GwtYAxisDataLabels; -import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtChartLabels; -import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtChartLabels.GwtChartLabelItem; -import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtChartOptions; -import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtChartOptions.GwtChartEvents; -import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtCreditOptions; -import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtLegendOptions; -import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtPlotOptions; -import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtPlotOptions.GwtAreaOptions; -import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtPlotOptions.GwtAreaSplineOptions; -import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtPlotOptions.GwtBarOptions; -import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtPlotOptions.GwtBaseBarOptions; -import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtPlotOptions.GwtBaseLineOptions; -import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtPlotOptions.GwtColumnOptions; -import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtPlotOptions.GwtDataLabels; -import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtPlotOptions.GwtLineOptions; -import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtPlotOptions.GwtMarker; -import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtPlotOptions.GwtMarker.GwtMarkerStates; -import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtPlotOptions.GwtMarker.GwtMarkerStates.GwtMarkerState; -import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtPlotOptions.GwtPieDataLabels; -import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtPlotOptions.GwtPieOptions; -import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtPlotOptions.GwtScatterOptions; -import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtPlotOptions.GwtSeriesEvents; -import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtPlotOptions.GwtSeriesGeneralOptions; -import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtPlotOptions.GwtSeriesGeneralOptions.GwtStates; -import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtPlotOptions.GwtSeriesGeneralOptions.GwtStates.GwtHover; -import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtPlotOptions.GwtSplineOptions; -import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtPointOptions; -import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtPointOptions.GwtPointEvents; -import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtPosition; -import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtSeriesDataOptions; -import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtSubtitleOptions; -import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtTitleBaseOptions; -import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtTitleOptions; -import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtTooltipOptions; -import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtXAxisOptions; -import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtXAxisOptions.GwtDateTimeLabelFormats; -import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtYAxisOptions; - -/** - * Client side widget which communicates with the server. Messages from the - * server are shown as HTML and mouse clicks are sent to the server. - * - * Reads data from UIDL and create appropriate JavaScript overlay objects such - * as {@link GwtChart}, {@link GwtAxis}, {@link GwtInvientChartsConfig}, - * {@link GwtPoint} and {@link GwtSeries} - * - * Uses a method newChart() of {@link GwtInvientChartsUtil} to create a chart - * object of type {@link GwtChart} - * - * @author Invient - */ -public class VInvientCharts extends GwtInvientCharts implements Paintable /* - * , - * ClickHandler - * , - * ScrollHandler - */{ - - private static final long serialVersionUID = -762763091427791681L; - - /** Set the CSS class name to allow styling. */ - public static final String CLASSNAME = "v-invientcharts"; - - /** The client side widget identifier */ - protected String uidlId; - - /** Reference to the server connection object. */ - protected ApplicationConnection client; - - /** - * The constructor should first call super() to initialize the component and - * then handle any initialization relevant to Vaadin. - */ - public VInvientCharts() { - super(); - setStyleName(CLASSNAME); - publish(); - } - - /** - * Called whenever an update is received from the server - */ - public void updateFromUIDL(UIDL uidl, ApplicationConnection client) { - VConsole.log("Enter [updateFromUIDL]"); - // This call should be made first. - // It handles sizes, captions, tooltips, etc. automatically. - if (client.updateComponent(this, uidl, true)) { - // If client.updateComponent returns true there has been no changes - // and we - // do not need to update anything. - return; - } - - // Save reference to server connection object to be able to send - // user interaction later - this.client = client; - - // Save the client side identifier (paintable id) for the widget - uidlId = uidl.getId(); - - // Create chart only once along with chart options - // Chart options are set only once. - if (chart == null) { - // Chart options - GwtInvientChartsConfig options = getInvientChartOptions(uidl - .getChildUIDL(ChartUIDLIndex.OPTIONS.ordinal())); - // Chart events - updateOptionsWithEvents(options, - uidl.getChildUIDL(ChartUIDLIndex.EVENTS.ordinal())); - // Chart data - JsArray chartData = getChartData(uidl - .getChildUIDL(ChartUIDLIndex.DATA.ordinal())); - options.setSeriesInstanceOptions(chartData); - VConsole.log("Going to create a chart."); - createChart(options); - } else { - resetRedrawChart(); - if (uidl.getBooleanAttribute("reloadChartSeries")) { - // Get all series and add them to chart - JsArray chartData = getChartData(uidl - .getChildUIDL(ChartUIDLIndex.DATA.ordinal())); - int seriesCount = chart.getSeries().length(); - VConsole.log("# of series the chart has " + seriesCount); - VConsole.log("Going to remove all series of the chart."); - for (int ind = seriesCount - 1; ind >= 0; ind--) { - setRedrawChart(); - chart.getSeries().get(ind).remove(false); - } - VConsole.log("Goint to add series to the chart."); - for (int ind = 0; ind < chartData.length(); ind++) { - setRedrawChart(); - chart.addSeries(chartData.get(ind), false); - } - } else { - VConsole.log("Going to update chart data."); - UIDL chartDataUIDL = uidl.getChildUIDL(ChartUIDLIndex.DATA - .ordinal()); - UIDL chartDataUpdatesUIDL = uidl - .getChildUIDL(ChartUIDLIndex.DATA_UPDATES.ordinal()); - updateChartData(chartDataUpdatesUIDL, chartDataUIDL); - } - - // Options UIDL - UIDL optionsUIDL = uidl.getChildUIDL(ChartUIDLIndex.OPTIONS - .ordinal()); - // Update chart title & subtitle - setChartTitleAndSubtitle(optionsUIDL); - // Size - setChartSize(optionsUIDL); - - VConsole.log("Getting x-axis options..."); - JsArray uidlXAxesOptionsArr = getXAxisOptions(optionsUIDL - .getChildUIDL(ChartOptionsUIDLIndex.X_AXES.ordinal())); - JsArray chartXAxesOptionsArr = JavaScriptObject - .createArray().cast(); - JsArray chartXAxesArr = chart.getXAxes(); - if (chart.getOptions().hasXAxesOptions()) { - chartXAxesOptionsArr = chart.getOptions().getXAxesOptions(); - updateXAxisCategories(chartXAxesArr, chartXAxesOptionsArr, - uidlXAxesOptionsArr); - } - updateAxesPlotBandsAndPlotLines(chartXAxesArr, - chartXAxesOptionsArr, uidlXAxesOptionsArr); - - VConsole.log("Getting y-axis options..."); - JsArray uidlYAxesOptionsArr = getYAxisOptions(optionsUIDL - .getChildUIDL(ChartOptionsUIDLIndex.Y_AXES.ordinal())); - JsArray chartYAxesOptionsArr = JavaScriptObject - .createArray().cast(); - if (chart.getOptions().hasYAxesOptions()) { - chartYAxesOptionsArr = chart.getOptions().getYAxesOptions(); - } - JsArray chartYAxesArr = chart.getYAxes(); - updateAxesPlotBandsAndPlotLines(chartYAxesArr, - chartYAxesOptionsArr, uidlYAxesOptionsArr); - // Update axis extremes - if (chart.getOptions().hasXAxesOptions() - || chart.getOptions().hasYAxesOptions()) { - updateAxisExtremes(chart.getXAxes(), chartXAxesOptionsArr, - uidlXAxesOptionsArr); - updateAxisExtremes(chart.getYAxes(), chartYAxesOptionsArr, - uidlYAxesOptionsArr); - } - if (isRedrawChart()) { - VConsole.log("Going to redraw the chart."); - chart.redraw(); - } - } - // Get SVG if required and send it to server - handleChartSVG(uidl); - handlePrint(uidl); - VConsole.log("Exit [updateFromUIDL]"); - } - - // Set title & subtitle - private void setChartTitleAndSubtitle(UIDL optionsUIDL) { - VConsole.log("Enter [setChartTitleAndSubtitle]"); - // There is not need to set redrawChart flag as setting title & subtitle - // does not require redrawing of the chart. - chart.setTitle( - getTitleOptions(optionsUIDL - .getChildUIDL(ChartOptionsUIDLIndex.TITLE.ordinal())), - getSubtitleOptions(optionsUIDL - .getChildUIDL(ChartOptionsUIDLIndex.SUBTITLE.ordinal()))); - VConsole.log("Exit [setChartTitleAndSubtitle]"); - } - - // Set chart size - private void setChartSize(UIDL optionsUIDL) { - // There is not need to set redrawChart flag as setting title & subtitle - // does not require redrawing of the chart. - GwtChartOptions chartOptions = getChartOptions(optionsUIDL - .getChildUIDL(ChartOptionsUIDLIndex.CHART_CONFIG.ordinal())); - int newWidth = chartOptions.getWidth(); - int newHeight = chartOptions.getHeight(); - int existingWidth = chart.getOptions().getChartOptions().getWidth(); - int existingHeight = chart.getOptions().getChartOptions().getHeight(); - - if ((newWidth != -1 && newWidth != existingWidth) - || (newHeight != -1 && newHeight != existingHeight)) { - VConsole.log("Set chart size."); - chart.getOptions().getChartOptions().setWidth(newWidth); - chart.getOptions().getChartOptions().setHeight(newHeight); - chart.setSize(newWidth, newHeight); - } - } - - private void handlePrint(UIDL uidl) { - boolean isPrint = uidl.getBooleanAttribute("isPrint"); - if (isPrint) { - VConsole.log("Going to print the chart..."); - chart.printInvientChart(); - } - } - - private void handleChartSVG(UIDL uidl) { - boolean isRetrieveSVG = uidl.getBooleanAttribute("isRetrieveSVG"); - if (isRetrieveSVG) { - VConsole.log("Get an svg string..."); - String svg = chart.getSVG(null); - // send svg to server - client.updateVariable(uidlId, "event", "chartSVGAvailable", false); - Map eventData = new HashMap(); - eventData.put("svg", svg); - client.updateVariable(uidlId, "eventData", eventData, true); - } - } - - private void updateXAxisCategories(JsArray chartAxesArr, - JsArray chartXAxesOptionsArr, - JsArray uidlXAxesOptionsArr) { - VConsole.log("Enter [updateXAxisCategories]"); - if (chartXAxesOptionsArr == null || chartXAxesOptionsArr.length() == 0) { - VConsole.log("Chart doesn't have any X axis]"); - VConsole.log("Exit [updateXAxisCategories]"); - return; - } - int noOfAxis = chartXAxesOptionsArr.length(); - for (int ind = 0; ind < noOfAxis; ind++) { - GwtAxis chartAxis = chartAxesArr.get(ind); - GwtXAxisOptions chartAxisOptions = chartXAxesOptionsArr.get(ind); - GwtXAxisOptions uidlAxisOptions = uidlXAxesOptionsArr.get(ind); - if (chartAxis != null && chartAxisOptions != null - && uidlAxisOptions != null) { - // If axis - if (!areStringArraysEqual(uidlAxisOptions.getCategories(), - chartAxis.getCategories())) { - setRedrawChart(); - chartAxisOptions.setCategories(uidlAxisOptions - .getCategories()); - chartAxis.setCategories(uidlAxisOptions.getCategories(), - false); - } - } - } - VConsole.log("Exit [updateXAxisCategories]"); - } - - private boolean areStringArraysEqual(JsArrayString arrOne, - JsArrayString arrTwo) { - if (arrOne == arrTwo) { - return true; - } - if ((arrOne != null && arrTwo == null) - || (arrOne == null && arrTwo != null)) { - return false; - } - if (arrOne.length() != arrTwo.length()) { - return false; - } - // Compare each array element - for (int arrInd = 0; arrInd < arrOne.length(); arrInd++) { - String arrOneVal = arrOne.get(arrInd); - String arrTwoVal = arrTwo.get(arrInd); - if (arrOneVal == null) { - if (arrTwoVal != null) { - return false; - } - } - else if(!arrOneVal.equals(arrTwoVal)) { - return false; - } - } - - return true; - } - - private void updateAxisExtremes(JsArray chartAxesArr, - JsArray chartAxesOptionsArr, - JsArray uidlAxesOptionsArr) { - VConsole.log("Enter [updateAxisExtremes]"); - if (chartAxesOptionsArr == null || chartAxesOptionsArr.length() == 0) { - VConsole.log("Chart doesn't have any X/Y axis]"); - VConsole.log("Exit [updateAxisExtremes]"); - return; - } - int noOfAxis = chartAxesOptionsArr.length(); - for (int ind = 0; ind < noOfAxis; ind++) { - GwtAxis chartAxis = chartAxesArr.get(ind); - GwtAxisBaseOptions chartAxisOptions = chartAxesOptionsArr.get(ind); - GwtAxisBaseOptions uidlAxisOptions = uidlAxesOptionsArr.get(ind); - if (chartAxis != null && chartAxisOptions != null - && uidlAxisOptions != null) { - double uidlMin = uidlAxisOptions.getMin(); - double uidlMax = uidlAxisOptions.getMax(); - double chartMin = chartAxisOptions.getMin(); - double chartMax = chartAxisOptions.getMax(); - // Update chart's axis options as - // it is not updated when extremes are set using - // axis.setExtremes() - if (uidlMin != chartMin) { - setRedrawChart(); - chartAxisOptions.setMin(uidlMin); - } - if (uidlMax != chartMax) { - setRedrawChart(); - chartAxisOptions.setMax(uidlMax); - } - VConsole.log("[updateAxisExtremes] min " + chartAxisOptions.getMin() + ", max " + chartAxisOptions.getMax()); - chartAxis.setExtremes(chartAxisOptions.getMin(), chartAxisOptions.getMax(), false); - } - } - VConsole.log("Exit [updateAxisExtremes]"); - } - - private enum ChartUIDLIndex { - OPTIONS, DATA, EVENTS, DATA_UPDATES; - } - - private enum ChartOptionsUIDLIndex { - TITLE, SUBTITLE, CREDIT, LEGEND, TOOLTIP, CHART_CONFIG, SERIES_OPTIONS, X_AXES, Y_AXES, LABEL; - } - - private void updateAxesPlotBandsAndPlotLines( - JsArray chartAxesArr, - JsArray chartAxesOptionsArr, - JsArray uidlAxesOptionsArr) { - VConsole.log("Enter [updateAxesPlotBandsAndPlotLines]"); - int noOfAxis = chartAxesArr.length(); - for (int ind = 0; ind < noOfAxis; ind++) { - GwtAxis chartAxis = chartAxesArr.get(ind); - GwtAxisBaseOptions chartAxisOptions = chartAxesOptionsArr.get(ind); - GwtAxisBaseOptions uidlAxisOptions = uidlAxesOptionsArr.get(ind); - if (chartAxis != null && chartAxisOptions != null - && uidlAxisOptions != null) { - updatePlotBands(chartAxis, chartAxisOptions, uidlAxisOptions); - updatePlotLines(chartAxis, chartAxisOptions, uidlAxisOptions); - } - } - VConsole.log("Exit [updateAxesPlotBandsAndPlotLines]"); - } - - // - private void updatePlotLines(GwtAxis chartAxis, - GwtAxisBaseOptions chartAxisOptions, - GwtAxisBaseOptions uidlAxisOptions) { - VConsole.log("Enter [updatePlotLines]"); - // Update chartAxisPlotBands whenever a plotline is added or removed as - // the library - // does not update chart options by itself. - JsArray chartAxisPlotLines = chartAxisOptions - .getPlotLines(); - JsArray uidlAxisPlotLines = uidlAxisOptions - .getPlotLines(); - if (uidlAxisPlotLines == null && chartAxisPlotLines == null) { - VConsole.log("No plotlines found."); - VConsole.log("Exit [updatePlotLines]"); - return; - } - if (uidlAxisPlotLines == null) { - uidlAxisPlotLines = JavaScriptObject.createArray().cast(); - } - if (chartAxisPlotLines == null) { - chartAxisPlotLines = JavaScriptObject.createArray().cast(); - } - JsArray updatedChartAxisPlotLines = JavaScriptObject - .createArray().cast(); - int numOfChartAxisPlotLines = chartAxisPlotLines.length(); - int numOfUIDLAxisPlotLines = uidlAxisPlotLines.length(); - boolean updatedAxisPlotLines = false; - for (int indOuter = 0; indOuter < numOfChartAxisPlotLines; indOuter++) { - GwtPlotLines chartPlotLine = chartAxisPlotLines.get(indOuter); - String plotLineId = chartPlotLine.getId(); - boolean found = false; - for (int indInner = 0; indInner < numOfUIDLAxisPlotLines; indInner++) { - GwtPlotLines uidlPlotLine = uidlAxisPlotLines.get(indInner); - if (uidlPlotLine != null - && uidlPlotLine.getId().equals(plotLineId)) { - if (uidlPlotLine.getValue() == chartPlotLine.getValue()) { - // PlotLine exists and value is same so no action should - // be taken except marking UIDL PlotLine to null. - // Setting UIDL PlotLine - // to null ensures that remaining PlotLines in UIDL can - // be added - // safely to the chart. - uidlAxisPlotLines.set(indInner, null); - updatedChartAxisPlotLines.push(chartPlotLine); - found = true; - } - break; - } - } - if (!found) { - // remove plot line as it is not found in UIDL received from the - // server - updatedAxisPlotLines = true; - chartAxis.removePlotLine(plotLineId); - } - } - // Add all remaining plot lines in UIDL to the chart - for (int ind = 0; ind < numOfUIDLAxisPlotLines; ind++) { - GwtPlotLines uidlPlotLine = uidlAxisPlotLines.get(ind); - if (uidlPlotLine != null) { - updatedAxisPlotLines = true; - chartAxis.addPlotLine(uidlPlotLine); - updatedChartAxisPlotLines.push(uidlPlotLine); - } - } - - // Update chart axis plotlines - if (updatedAxisPlotLines) { - setRedrawChart(); - chartAxisOptions.setPlotLines(updatedChartAxisPlotLines); - } - VConsole.log("Exit [updatePlotLines]"); - } - - // - private void updatePlotBands(GwtAxis chartAxis, - GwtAxisBaseOptions chartAxisOptions, - GwtAxisBaseOptions uidlAxisOptions) { - VConsole.log("Enter [updatePlotBands]"); - // Update chartAxisPlotBands whenever a plotband is added or removed as - // the library - // does not update chart options by itself. - JsArray chartAxisPlotBands = chartAxisOptions - .getPlotBands(); - JsArray uidlAxisPlotBands = uidlAxisOptions - .getPlotBands(); - if (uidlAxisPlotBands == null && chartAxisPlotBands == null) { - VConsole.log("No plotbands found."); - VConsole.log("Exit [updatePlotBands]"); - return; - } - if (uidlAxisPlotBands == null) { - uidlAxisPlotBands = JavaScriptObject.createArray().cast(); - } - if (chartAxisPlotBands == null) { - chartAxisPlotBands = JavaScriptObject.createArray().cast(); - } - JsArray updatedChartAxisPlotBands = JavaScriptObject - .createArray().cast(); - int numOfChartAxisPlotBands = chartAxisPlotBands.length(); - int numOfUIDLAxisPlotBands = uidlAxisPlotBands.length(); - boolean updatedAxisPlotBands = false; - for (int indOuter = 0; indOuter < numOfChartAxisPlotBands; indOuter++) { - GwtPlotBands chartPlotBand = chartAxisPlotBands.get(indOuter); - String plotBandId = chartPlotBand.getId(); - boolean found = false; - for (int indInner = 0; indInner < numOfUIDLAxisPlotBands; indInner++) { - GwtPlotBands uidlPlotBand = uidlAxisPlotBands.get(indInner); - if (uidlPlotBand != null - && uidlPlotBand.getId().equals(plotBandId)) { - if (chartPlotBand.getFrom() == uidlPlotBand.getFrom() - && chartPlotBand.getTo() == uidlPlotBand.getTo()) { - VConsole.log("Plotband id " - + plotBandId - + " exists in chart as well as in UIDL from the server."); - // PlotBand exists and from/to values are same so - // nothing to be done. - // The UIDL plotband is set to null so that remaining - // plotbands - // can be safely added to the chart - uidlAxisPlotBands.set(indInner, null); - updatedChartAxisPlotBands.push(chartPlotBand); - VConsole.log("Plotband id " + plotBandId - + " exists in both."); - found = true; - } - break; - } - } - if (!found) { - // remove plot band as it is not found in UIDL received from the - // server - VConsole.log("Plotband id " + plotBandId + " removed."); - updatedAxisPlotBands = true; - chartAxis.removePlotBand(plotBandId); - } - } - // Add all remaining plot bands in UIDL to the chart - for (int ind = 0; ind < numOfUIDLAxisPlotBands; ind++) { - GwtPlotBands uidlPlotBand = uidlAxisPlotBands.get(ind); - if (uidlPlotBand != null) { - updatedAxisPlotBands = true; - VConsole.log("Plotband id " + uidlPlotBand.getId() - + " added with from : " + uidlPlotBand.getFrom() - + " and to: " + uidlPlotBand.getTo()); - chartAxis.addPlotBand(uidlPlotBand); - updatedChartAxisPlotBands.push(uidlPlotBand); - } - } - - // Update chart axis plotbands - if (updatedAxisPlotBands) { - setRedrawChart(); - chartAxisOptions.setPlotBands(updatedChartAxisPlotBands); - } - VConsole.log("Exit [updatePlotBands]"); - } - - private boolean redrawChart = false; - - private void setRedrawChart() { - this.redrawChart = true; - } - - private boolean isRedrawChart() { - return this.redrawChart; - } - - private void resetRedrawChart() { - this.redrawChart = false; - } - - private void updateChartData(UIDL uidlChartDataUpdates, UIDL uidlChartData) { - VConsole.log("Enter [updateChartData]"); - JsArrayString seriesToAdd = JavaScriptObject.createArray().cast(); - JsArrayString seriesToUpdate = JavaScriptObject.createArray().cast(); - List seriesToUpdateList = new ArrayList(); - for (int ind = 0; ind < uidlChartDataUpdates.getChildCount(); ind++) { - UIDL seriesUpdateUIDL = uidlChartDataUpdates.getChildUIDL(ind); - String seriesName = seriesUpdateUIDL - .getStringAttribute("seriesName"); - String operation = seriesUpdateUIDL.getStringAttribute("operation"); - VConsole.log("Series name : " + seriesName + ", operation : " - + operation); - if (seriesName != null && seriesName.length() > 0 - && operation != null && operation.length() > 0) { - if (SeriesCURType.REMOVE.getName().equals(operation)) { - GwtSeries series = chart.getSeries(seriesName); - if (series != null) { - VConsole.log("Removing series : " + seriesName); - setRedrawChart(); - series.remove(false); - } - } else if (SeriesCURType.ADD.getName().equals(operation)) { - seriesToAdd.push(seriesName); - } else if (SeriesCURType.UPDATE.getName().equals(operation)) { - VConsole.log("Will update series : " + seriesName); - seriesToUpdateList.add(seriesUpdateUIDL); - seriesToUpdate.push(seriesName); - } - } - } - - if (seriesToAdd.length() > 0) { - setRedrawChart(); - JsArray uidlChartDataArr = getChartData( - uidlChartData, seriesToAdd); - for (int ind = 0; ind < uidlChartDataArr.length(); ind++) { - VConsole.log("Adding series " - + uidlChartDataArr.get(ind).getName()); - chart.addSeries(uidlChartDataArr.get(ind), false); - } - } - if (seriesToUpdateList.size() > 0) { - setRedrawChart(); - JsArray uidlChartDataArr = getChartData( - uidlChartData, seriesToUpdate); - for (int ind = 0; ind < seriesToUpdateList.size(); ind++) { - UIDL uidlSeriesToUpdate = seriesToUpdateList.get(ind); - GwtSeriesDataOptions uidlSeriesDataOptions = uidlChartDataArr - .get(ind); - GwtSeries chartSeries = chart.getSeries(uidlSeriesDataOptions - .getName()); - GwtSeriesGeneralOptions chartSeriesOptions = chartSeries - .getSeriesGeneralOptions(); - GwtSeriesGeneralOptions uidlSeriesOptions = uidlSeriesDataOptions - .getSeriesOptions(); - // Update visibility - boolean isVisible = (uidlSeriesOptions != null ? uidlSeriesOptions - .isVisible() : true); - chartSeriesOptions.setVisible(isVisible); - if (chartSeriesOptions.isVisible() == true - && chartSeries.isVisible() == false) { - chartSeries.show(); - } - if (chartSeriesOptions.isVisible() == false - && chartSeries.isVisible() == true) { - chartSeries.hide(); - } - // Update points - if (uidlSeriesToUpdate.getBooleanAttribute("isReloadPoints")) { - // update all points - VConsole.log("Reloading points for series : " - + uidlSeriesToUpdate.getStringAttribute("name")); - chartSeries.setDataAsPointOptions( - uidlSeriesDataOptions.getDataAsPointOptions(), - false); - } else { - UIDL uidlPointsAdded = uidlSeriesToUpdate.getChildUIDL(0); - UIDL uidlPointsRemoved = uidlSeriesToUpdate.getChildUIDL(1); - updateSeriesData(chartSeries, uidlPointsAdded, - uidlPointsRemoved); - } - } - } - - VConsole.log("Exit [updateChartData]"); - } - - private void updateSeriesData(GwtSeries chartSeries, UIDL uidlPointsAdded, - UIDL uidlPointsRemoved) { - VConsole.log("Enter [updateSeriesData]"); - if (uidlPointsAdded != null && uidlPointsAdded.getChildCount() > 0) { - // Add points - JsArray pointsTobeAdded = getSeriesPoints(uidlPointsAdded); - VConsole.log("# of points to be added : " - + pointsTobeAdded.length()); - for (int cnt = 0; cnt < pointsTobeAdded.length(); cnt++) { - GwtPointOptions pointOptions = pointsTobeAdded.get(cnt); - chartSeries.addPoint(pointOptions, false, - pointOptions.isShift()); - } - } - - if (uidlPointsRemoved != null && uidlPointsRemoved.getChildCount() > 0) { - // Remove points - JsArray pointsTobeRemoved = getSeriesPoints(uidlPointsRemoved); - VConsole.log("# of points to be removed : " - + pointsTobeRemoved.length()); - JsArray chartSeriesData = chartSeries.getData(); - for (int cnt = 0; cnt < pointsTobeRemoved.length(); cnt++) { - GwtPointOptions pointToRemove = pointsTobeRemoved.get(cnt); - for (int chartPointCnt = 0; chartPointCnt < chartSeriesData - .length(); chartPointCnt++) { - GwtPoint chartSeriesPoint = chartSeriesData - .get(chartPointCnt); - // Using Double.compareTo(another Double) does not result in - // appr. code which can be executed in JS correctly. - // e.g. x.compareTo(y) results in compare(x.value, y.value) - // where x.value is undefined in JS, - // Don't know the reason yet but will figure out. So do a - // direct comparison - if (chartSeriesPoint.getX() == pointToRemove.getX() - && chartSeriesPoint.getY() == pointToRemove.getY()) { - VConsole.log("Removing point (" - + chartSeriesPoint.getX() + ", " - + chartSeriesPoint.getY() + ")"); - chartSeriesPoint.remove(); - break; - } - } - } - } - VConsole.log("Exit [updateSeriesData]"); - } - - private static enum SeriesCURType { - ADD("Add"), UPDATE("Update"), REMOVE("Remove"); - private String name; - - private SeriesCURType(String name) { - this.name = name; - } - - public String getName() { - return this.name; - } - } - - private JsArray getChartData(UIDL uidl) { - return getChartData(uidl, null); - } - - private boolean doesArrayContainSeriesName( - JsArrayString namesOfSeriesToAdd, String seriesName) { - for (int ind = 0; ind < namesOfSeriesToAdd.length(); ind++) { - if (seriesName.equals(namesOfSeriesToAdd.get(ind))) { - return true; - } - } - return false; - } - - private JsArray getChartData(UIDL uidl, - JsArrayString namesOfSeriesToAdd) { - VConsole.log("Enter [getChartData]"); - - JsArray seriesDataArr = JavaScriptObject - .createArray().cast(); - // Process each series data - for (int cnt = 0; cnt < uidl.getChildCount(); cnt++) { - GwtSeriesDataOptions seriesData = GwtSeriesDataOptions.create(); - UIDL seriesUIDL = uidl.getChildUIDL(cnt); - String seriesName = seriesUIDL.getStringAttribute("name"); - if (seriesName != null && namesOfSeriesToAdd != null) { - if (!doesArrayContainSeriesName(namesOfSeriesToAdd, seriesName)) { - continue; - } - } - // From charts series data retrieve only those series data - // whose names are specified in the second argument - if (seriesUIDL.hasAttribute("name")) { - // Setting name automatically sets series id which can later be - // used to retrieve using chart.get(id); - seriesData.setName(seriesName); - } - if (seriesUIDL.hasAttribute("stack")) { - seriesData.setStack(seriesUIDL.getStringAttribute("stack")); - } - // FIXME - fallback on chart options type if series doesn't have a - // type - String seriesType = "line"; - if (seriesUIDL.hasAttribute("type")) { - seriesType = seriesUIDL.getStringAttribute("type"); - seriesData.setType(seriesType); - } - if (seriesUIDL.hasAttribute("xAxis")) { - seriesData.setXAxis(seriesUIDL.getIntAttribute("xAxis")); - } - if (seriesUIDL.hasAttribute("yAxis")) { - seriesData.setYAxis(seriesUIDL.getIntAttribute("yAxis")); - } - // Get data/points - seriesData.setDataAsPointOptions(getSeriesPoints(seriesUIDL - .getChildUIDL(1))); - // Get series options - GwtSeriesGeneralOptions seriesOptions = getSeriesOptions( - seriesType, seriesUIDL.getChildUIDL(0)); - if (seriesOptions != null) { - seriesData.setSeriesOptions(seriesOptions); - } - - seriesDataArr.push(seriesData); - } - - VConsole.log("Exit [getChartData]"); - return seriesDataArr; - } - - private JsArray getSeriesPoints(UIDL pointsUIDL) { - VConsole.log("Enter [getSeriesPoints]"); - - JsArray pointsArr = JavaScriptObject.createArray() - .cast(); - for (int cnt = 0; cnt < pointsUIDL.getChildCount(); cnt++) { - UIDL pointUIDL = pointsUIDL.getChildUIDL(cnt); - GwtPointOptions pointOptions = GwtPointOptions.create(); - // If a point doesn't have any attributes then - // consider it as a null since a user might want to represent - // no activity graph - if (pointUIDL.getAttributeNames().size() == 0) { - pointOptions.setNullY(); - } else { - if (pointUIDL.hasAttribute("id")) { - pointOptions.setId(pointUIDL.getStringAttribute("id")); - } - if (pointUIDL.hasAttribute("name")) { - pointOptions.setName(pointUIDL.getStringAttribute("name")); - } - if (pointUIDL.hasAttribute("color")) { - pointOptions - .setColor(pointUIDL.getStringAttribute("color")); - } - if (pointUIDL.hasAttribute("sliced")) { - pointOptions.setSliced(pointUIDL - .getBooleanAttribute("sliced")); - } - if (pointUIDL.hasAttribute("selected")) { - pointOptions.setSelected(pointUIDL - .getBooleanAttribute("selected")); - } - if (pointUIDL.hasAttribute("x")) { - pointOptions.setX(pointUIDL.getIntAttribute("x")); - } else { - pointOptions.setNullX(); - } - if (pointUIDL.hasAttribute("y")) { - pointOptions.setY(pointUIDL.getIntAttribute("y")); - } else { - pointOptions.setNullY(); - } - if (pointUIDL.hasAttribute("isShift")) { - pointOptions.setShift(pointUIDL - .getBooleanAttribute("isShift")); - } - GwtMarker markerOptions = getMarkerOptions(pointUIDL - .getChildUIDL(0)); - if (markerOptions != null) { - pointOptions.setMarker(markerOptions); - } - } - pointsArr.push(pointOptions); - } - - VConsole.log("Exit [getSeriesPoints]"); - return pointsArr; - } - - private GwtInvientChartsConfig getInvientChartOptions(UIDL uidl) { - VConsole.log("Enter [getInvientChartOptions]"); - VConsole.log("Child UIDL count : " + uidl.getChildCount()); - GwtInvientChartsConfig options = GwtInvientChartsConfig.create(); - // Get title UIDL - VConsole.log("Getting title options..."); - // Title - options.setTitleOptions(getTitleOptions(uidl - .getChildUIDL(ChartOptionsUIDLIndex.TITLE.ordinal()))); - - VConsole.log("Getting subtitle options..."); - // Subtitle - options.setSubtitleOptions(getSubtitleOptions(uidl - .getChildUIDL(ChartOptionsUIDLIndex.SUBTITLE.ordinal()))); - // Credit - options.setCreditOptions(getCreditOptions(uidl - .getChildUIDL(ChartOptionsUIDLIndex.CREDIT.ordinal()))); - // Legend - options.setLegendOptions(getLegendOptions(uidl - .getChildUIDL(ChartOptionsUIDLIndex.LEGEND.ordinal()))); - // Tooltip - options.setTooltipOptions(getTooltipOptions(uidl - .getChildUIDL(ChartOptionsUIDLIndex.TOOLTIP.ordinal()))); - - // Then DEMO application - VConsole.log("Getting chart options..."); - // Chart Options - options.setChartOptions(getChartOptions(uidl - .getChildUIDL(ChartOptionsUIDLIndex.CHART_CONFIG.ordinal()))); - - VConsole.log("Getting plot options..."); - // Plot Options for various series types - options.setPlotOptions(getPlotOptions(uidl - .getChildUIDL(ChartOptionsUIDLIndex.SERIES_OPTIONS.ordinal()))); - - VConsole.log("Getting x-axis options..."); - JsArray xAxisOptions = getXAxisOptions(uidl - .getChildUIDL(ChartOptionsUIDLIndex.X_AXES.ordinal())); - if (xAxisOptions.length() > 0) { - options.setXAxesOptions(xAxisOptions); - } - - VConsole.log("Getting y-axis options..."); - JsArray yAxisOptions = getYAxisOptions(uidl - .getChildUIDL(ChartOptionsUIDLIndex.Y_AXES.ordinal())); - if (yAxisOptions.length() > 0) { - options.setYAxesOptions(yAxisOptions); - } - - VConsole.log("Getting chart labels..."); - GwtChartLabels labels = getChartLabels(uidl - .getChildUIDL(ChartOptionsUIDLIndex.LABEL.ordinal())); - if (labels != null) { - options.setLabels(labels); - } - - VConsole.log("Exit [getInvientChartOptions]"); - return options; - } - - private GwtChartLabels getChartLabels(UIDL uidl) { - VConsole.log("Enter [getChartLabels]"); - VConsole.log("Tag name -> " + uidl.getTag()); - if ((uidl.getAttributeNames().size() == 0 && uidl.getChildCount() == 0) - || (uidl.getAttributeNames().size() > 0 && uidl.getChildCount() == 0)) { - VConsole.log("Exit [getChartLabels]"); - return null; - } - UIDL labelItemsUIDL = uidl.getChildUIDL(0); - if (labelItemsUIDL.getChildCount() == 0) { - VConsole.log("Exit [getChartLabels]"); - return null; - } - - GwtChartLabels labels = GwtChartLabels.create(); - if (uidl.hasAttribute("style")) { - labels.setStyle(uidl.getStringAttribute("style")); - } - - JsArray chartLabelItemsArr = JavaScriptObject - .createArray().cast(); - for (int cnt = 0; cnt < labelItemsUIDL.getChildCount(); cnt++) { - UIDL labelItemUIDL = labelItemsUIDL.getChildUIDL(cnt); - if (labelItemUIDL.hasAttribute("html") - || labelItemUIDL.hasAttribute("style")) { - GwtChartLabelItem labelItem = GwtChartLabelItem.create(); - if (labelItemUIDL.hasAttribute("html")) { - labelItem.setHtml(labelItemUIDL.getStringAttribute("html")); - } - // - if (labelItemUIDL.hasAttribute("style")) { - labelItem.setStyle(labelItemUIDL - .getStringAttribute("style")); - } - chartLabelItemsArr.push(labelItem); - } - } - labels.setItems(chartLabelItemsArr); - VConsole.log("Exit [getChartLabels]"); - return labels; - } - - private GwtCreditOptions getCreditOptions(UIDL uidl) { - VConsole.log("Enter [getCreditOptions]"); - VConsole.log("Tag name -> " + uidl.getTag()); - GwtCreditOptions creditOptions = GwtCreditOptions.create(); - - if (uidl.hasAttribute("enabled")) { - creditOptions.setEnabled(uidl.getBooleanAttribute("enabled")); - } - if (uidl.hasAttribute("href")) { - creditOptions.setHref(uidl.getStringAttribute("href")); - } - if (uidl.hasAttribute("style")) { - creditOptions.setStyle(uidl.getStringAttribute("style")); - } - if (uidl.hasAttribute("text")) { - creditOptions.setText(uidl.getStringAttribute("text")); - } - UIDL positionUIDL = uidl.getChildUIDL(0); - GwtPosition position = GwtPosition.create(); - if (positionUIDL.hasAttribute("align")) { - position.setAlign(positionUIDL.getStringAttribute("align")); - } - if (positionUIDL.hasAttribute("verticalAlign")) { - position.setVerticalAlign(positionUIDL - .getStringAttribute("verticalAlign")); - } - if (positionUIDL.hasAttribute("x")) { - position.setX(positionUIDL.getIntAttribute("x")); - } - if (positionUIDL.hasAttribute("y")) { - position.setY(positionUIDL.getIntAttribute("y")); - } - creditOptions.setPosition(position); - - VConsole.log("Exit [getCreditOptions]"); - return creditOptions; - } - - private GwtLegendOptions getLegendOptions(UIDL uidl) { - VConsole.log("Enter [getLegendOptions]"); - VConsole.log("Tag name -> " + uidl.getTag()); - - GwtLegendOptions legendOptions = GwtLegendOptions.create(); - if (uidl.hasAttribute("align")) { - legendOptions.setAlign(uidl.getStringAttribute("align")); - } - if (uidl.hasAttribute("backgroundColor")) { - legendOptions.setBackgroundColor(uidl - .getStringAttribute("backgroundColor")); - } - if (uidl.hasAttribute("borderColor")) { - legendOptions - .setBorderColor(uidl.getStringAttribute("borderColor")); - } - if (uidl.hasAttribute("borderRadius")) { - legendOptions.setBorderRadius(uidl.getIntAttribute("borderRadius")); - } - if (uidl.hasAttribute("borderWidth")) { - legendOptions.setBorderWidth(uidl.getIntAttribute("borderWidth")); - } - if (uidl.hasAttribute("enabled")) { - legendOptions.setEnabled(uidl.getBooleanAttribute("enabled")); - } - if (uidl.hasAttribute("floating")) { - legendOptions.setFloating(uidl.getBooleanAttribute("floating")); - } - if (uidl.hasAttribute("itemHiddenStyle")) { - legendOptions.setItemHiddenStyle(uidl - .getStringAttribute("itemHiddenStyle")); - } - if (uidl.hasAttribute("itemHoverStyle")) { - legendOptions.setItemHoverStyle(uidl - .getStringAttribute("itemHoverStyle")); - } - if (uidl.hasAttribute("itemStyle")) { - legendOptions.setItemStyle(uidl.getStringAttribute("itemStyle")); - } - if (uidl.hasAttribute("itemWidth")) { - legendOptions.setItemWidth(uidl.getIntAttribute("itemWidth")); - } - if (uidl.hasAttribute("layout")) { - legendOptions.setLayout(uidl.getStringAttribute("layout")); - } - if (uidl.hasAttribute("labelFormatter")) { - legendOptions.setLabelFormatter(getExecutableFunction(uidl - .getStringAttribute("labelFormatter"))); - } - if (uidl.hasAttribute("margin")) { - legendOptions.setMargin(uidl.getIntAttribute("margin")); - } - if (uidl.hasAttribute("reversed")) { - legendOptions.setReversed(uidl.getBooleanAttribute("reversed")); - } - if (uidl.hasAttribute("shadow")) { - legendOptions.setShadow(uidl.getBooleanAttribute("shadow")); - } - if (uidl.hasAttribute("symbolPadding")) { - legendOptions.setSymbolPadding(uidl - .getIntAttribute("symbolPadding")); - } - if (uidl.hasAttribute("symbolWidth")) { - legendOptions.setSymbolWidth(uidl.getIntAttribute("symbolWidth")); - } - if (uidl.hasAttribute("verticalAlign")) { - legendOptions.setVerticalAlign(uidl - .getStringAttribute("verticalAlign")); - } - if (uidl.hasAttribute("width")) { - legendOptions.setWidth(uidl.getIntAttribute("width")); - } - if (uidl.hasAttribute("x")) { - legendOptions.setX(uidl.getIntAttribute("x")); - } - if (uidl.hasAttribute("y")) { - legendOptions.setY(uidl.getIntAttribute("y")); - } - - VConsole.log("Exit [getLegendOptions]"); - return legendOptions; - } - - private GwtTooltipOptions getTooltipOptions(UIDL uidl) { - VConsole.log("Enter [getTooltipOptions]"); - VConsole.log("Tag name -> " + uidl.getTag()); - GwtTooltipOptions tooltipOptions = GwtTooltipOptions.create(); - - if (uidl.hasAttribute("backgroundColor")) { - tooltipOptions.setBackgroundColor(uidl - .getStringAttribute("backgroundColor")); - } - if (uidl.hasAttribute("borderColor")) { - tooltipOptions.setBorderColor(uidl - .getStringAttribute("borderColor")); - } - if (uidl.hasAttribute("borderRadius")) { - tooltipOptions - .setBorderRadius(uidl.getIntAttribute("borderRadius")); - } - if (uidl.hasAttribute("borderWidth")) { - tooltipOptions.setBorderWidth(uidl.getIntAttribute("borderWidth")); - } - if (uidl.hasAttribute("crosshairs")) { - tooltipOptions - .setCrosshairs(uidl.getBooleanAttribute("crosshairs")); - } - if (uidl.hasAttribute("enabled")) { - tooltipOptions.setEnabled(uidl.getBooleanAttribute("enabled")); - } - if (uidl.hasAttribute("formatter")) { - tooltipOptions.setFormatter(getExecutableFunction(uidl - .getStringAttribute("formatter"))); - } - if (uidl.hasAttribute("shadow")) { - tooltipOptions.setShadow(uidl.getBooleanAttribute("shadow")); - } - if (uidl.hasAttribute("shared")) { - tooltipOptions.setShared(uidl.getBooleanAttribute("shared")); - } - if (uidl.hasAttribute("snap")) { - tooltipOptions.setSnap(uidl.getIntAttribute("snap")); - } - if (uidl.hasAttribute("style")) { - tooltipOptions.setStyle(uidl.getStringAttribute("style")); - } - - VConsole.log("Exit [getTooltipOptions]"); - return tooltipOptions; - } - - private GwtTitleOptions getTitleOptions(UIDL uidl) { - VConsole.log("Enter [getTitleOptions]"); - VConsole.log("Tag Name : " + uidl.getTag()); - GwtTitleOptions titleOptions = GwtTitleOptions.createTitleOptions(); - updateTitleBaseOptions(uidl, titleOptions); - - if (uidl.hasAttribute("margin")) { - titleOptions.setMargin(uidl.getIntAttribute("margin")); - } - - VConsole.log("Exit [getTitleOptions]"); - return titleOptions; - } - - private GwtSubtitleOptions getSubtitleOptions(UIDL uidl) { - VConsole.log("Enter [getSubtitleOptions]"); - VConsole.log("Tag Name : " + uidl.getTag()); - GwtSubtitleOptions subtitleOptions = GwtSubtitleOptions - .createSubtitleOptions(); - updateTitleBaseOptions(uidl, subtitleOptions); - VConsole.log("Exit [getTitleOptions]"); - return subtitleOptions; - } - - private void updateTitleBaseOptions(UIDL uidl, - GwtTitleBaseOptions titleBaseOptions) { - VConsole.log("Enter [updateTitleBaseOptions]"); - VConsole.log("Tag Name : " + uidl.getTag()); - if (uidl.hasAttribute("text")) { - titleBaseOptions.setText(uidl.getStringAttribute("text")); - } - if (uidl.hasAttribute("align")) { - titleBaseOptions.setAlign(uidl.getStringAttribute("align")); - } - if (uidl.hasAttribute("floating")) { - titleBaseOptions.setFloating(uidl.getBooleanAttribute("floating")); - } - if (uidl.hasAttribute("style")) { - titleBaseOptions.setStyle(uidl.getStringAttribute("style")); - } - if (uidl.hasAttribute("verticalAlign")) { - titleBaseOptions.setVerticalAlign(uidl - .getStringAttribute("verticalAlign")); - } - if (uidl.hasAttribute("x")) { - titleBaseOptions.setX(uidl.getIntAttribute("x")); - } - if (uidl.hasAttribute("y")) { - titleBaseOptions.setY(uidl.getIntAttribute("y")); - } - - VConsole.log("Exit [updateTitleBaseOptions]"); - } - - private GwtChartOptions getChartOptions(UIDL uidl) { - VConsole.log("Enter [getChartOptions]"); - VConsole.log("Tag Name : " + uidl.getTag()); - - GwtChartOptions chartOptions = GwtChartOptions.create(); - // DIV - A container for the InvientChart - chartOptions.setRenderTo(super.divId); - - if (uidl.hasAttribute("type")) { - chartOptions.setType(uidl.getStringAttribute("type")); - } - if (uidl.hasAttribute("width")) { - chartOptions.setWidth(uidl.getIntAttribute("width")); - } - if (uidl.hasAttribute("height")) { - chartOptions.setHeight(uidl.getIntAttribute("height")); - } - if (uidl.hasAttribute("backgroundColor")) { - chartOptions.setBackgroundColor(uidl - .getStringAttribute("backgroundColor")); - } - if (uidl.hasAttribute("borderColor")) { - chartOptions.setBorderColor(uidl.getStringAttribute("borderColor")); - } - if (uidl.hasAttribute("borderRadius")) { - chartOptions.setBorderRadius(uidl.getIntAttribute("borderRadius")); - } - if (uidl.hasAttribute("borderWidth")) { - chartOptions.setBorderWidth(uidl.getIntAttribute("borderWidth")); - } - if (uidl.hasAttribute("ignoreHiddenSeries")) { - chartOptions.setIgnoreHiddenSeries(uidl - .getBooleanAttribute("ignoreHiddenSeries")); - } - if (uidl.hasAttribute("inverted")) { - chartOptions.setInverted(uidl.getBooleanAttribute("inverted")); - } - if (uidl.hasAttribute("marginTop")) { - chartOptions.setMarginTop(uidl.getIntAttribute("marginTop")); - } - if (uidl.hasAttribute("marginLeft")) { - chartOptions.setMarginLeft(uidl.getIntAttribute("marginLeft")); - } - if (uidl.hasAttribute("marginRight")) { - chartOptions.setMarginRight(uidl.getIntAttribute("marginRight")); - } - if (uidl.hasAttribute("marginBottom")) { - chartOptions.setMarginBottom(uidl.getIntAttribute("marginBottom")); - } - if (uidl.hasAttribute("spacingTop")) { - chartOptions.setSpacingTop(uidl.getIntAttribute("spacingTop")); - } - if (uidl.hasAttribute("spacingLeft")) { - chartOptions.setSpacingLeft(uidl.getIntAttribute("spacingLeft")); - } - if (uidl.hasAttribute("spacingRight")) { - chartOptions.setSpacingRight(uidl.getIntAttribute("spacingRight")); - } - if (uidl.hasAttribute("spacingBottom")) { - chartOptions - .setSpacingBottom(uidl.getIntAttribute("spacingBottom")); - } - if (uidl.hasAttribute("showAxes")) { - chartOptions.setShowAxes(uidl.getBooleanAttribute("showAxes")); - } - if (uidl.hasAttribute("zoomType")) { - chartOptions.setZoomType(uidl.getStringAttribute("zoomType")); - } - if (uidl.hasAttribute("clientZoom")) { - chartOptions.setClientZoom(uidl.getBooleanAttribute("clientZoom")); - } - - if (uidl.hasAttribute("alignTicks")) { - chartOptions.setAlignTicks(uidl.getBooleanAttribute("alignTicks")); - } - if (uidl.hasAttribute("animation")) { - chartOptions.setAnimation(uidl.getBooleanAttribute("animation")); - } - if (uidl.hasAttribute("className")) { - chartOptions.setClassName(uidl.getStringAttribute("className")); - } - if (uidl.hasAttribute("plotBackgroundColor")) { - chartOptions.setPlotBackgroundColor(uidl - .getStringAttribute("plotBackgroundColor")); - } - if (uidl.hasAttribute("plotBorderColor")) { - chartOptions.setPlotBorderColor(uidl - .getStringAttribute("plotBorderColor")); - } - if (uidl.hasAttribute("plotBackgroundImage")) { - chartOptions.setPlotBackgroundImage(uidl - .getStringAttribute("plotBackgroundImage")); - } - if (uidl.hasAttribute("plotBorderWidth")) { - chartOptions.setPlotBorderWidth(uidl - .getIntAttribute("plotBorderWidth")); - } - if (uidl.hasAttribute("plotShadow")) { - chartOptions.setPlotShadow(uidl.getBooleanAttribute("plotShadow")); - } - if (uidl.hasAttribute("reflow")) { - chartOptions.setReflow(uidl.getBooleanAttribute("reflow")); - } - if (uidl.hasAttribute("shadow")) { - chartOptions.setShadow(uidl.getBooleanAttribute("shadow")); - } - if (uidl.hasAttribute("style")) { - chartOptions.setStyle(uidl.getStringAttribute("style")); - } - - VConsole.log("Exit [getChartOptions]"); - return chartOptions; - } - - private void updateBaseAxisOptions(UIDL axisUIDL, - GwtAxisBaseOptions axisBaseOptions) { - VConsole.log("Enter [updateBaseAxisOptions]"); - if (axisUIDL.hasAttribute("id")) { - axisBaseOptions.setId(axisUIDL.getStringAttribute("id")); - } - if (axisUIDL.hasAttribute("allowDecimals")) { - axisBaseOptions.setAllowDecimals(axisUIDL - .getBooleanAttribute("allowDecimals")); - } - if (axisUIDL.hasAttribute("alternateGridColor")) { - axisBaseOptions.setAlternateGridColor(axisUIDL - .getStringAttribute("alternateGridColor")); - } - if (axisUIDL.hasAttribute("endOnTick")) { - axisBaseOptions.setEndOnTick(axisUIDL - .getBooleanAttribute("endOnTick")); - } - // Grid - if (axisUIDL.hasAttribute("gridLineColor")) { - axisBaseOptions.setGridLineColor(axisUIDL - .getStringAttribute("gridLineColor")); - } - if (axisUIDL.hasAttribute("gridLineWidth")) { - axisBaseOptions.setGridLineWidth(axisUIDL - .getIntAttribute("gridLineWidth")); - } - if (axisUIDL.hasAttribute("gridLineDashStyle")) { - axisBaseOptions.setGridLineDashStyle(axisUIDL - .getStringAttribute("gridLineDashStyle")); - } - // Line - if (axisUIDL.hasAttribute("lineColor")) { - axisBaseOptions.setLineColor(axisUIDL - .getStringAttribute("lineColor")); - } - if (axisUIDL.hasAttribute("lineWidth")) { - axisBaseOptions.setLineWidth(axisUIDL.getIntAttribute("lineWidth")); - } - // - if (axisUIDL.hasAttribute("linkedTo")) { - axisBaseOptions.setLinkedTo(axisUIDL.getIntAttribute("linkedTo")); - } - - if (axisUIDL.hasAttribute("max")) { - axisBaseOptions.setMax(axisUIDL.getDoubleAttribute("max")); - } - if (axisUIDL.hasAttribute("maxPadding")) { - axisBaseOptions.setMaxPadding(axisUIDL - .getDoubleAttribute("maxPadding")); - } - if (axisUIDL.hasAttribute("maxZoom")) { - axisBaseOptions.setMaxZoom(axisUIDL.getIntAttribute("maxZoom")); - } - - // - if (axisUIDL.hasAttribute("min")) { - axisBaseOptions.setMin(axisUIDL.getDoubleAttribute("min")); - } - if (axisUIDL.hasAttribute("minPadding")) { - axisBaseOptions.setMinPadding(axisUIDL - .getDoubleAttribute("minPadding")); - } - // Minor Grid - if (axisUIDL.hasAttribute("minorGridLineColor")) { - axisBaseOptions.setMinorGridLineColor(axisUIDL - .getStringAttribute("minorGridLineColor")); - } - if (axisUIDL.hasAttribute("minorGridLineWidth")) { - axisBaseOptions.setMinorGridLineWidth(axisUIDL - .getIntAttribute("minorGridLineWidth")); - } - if (axisUIDL.hasAttribute("minorGridLineDashStyle")) { - axisBaseOptions.setMinorGridLineDashStyle(axisUIDL - .getStringAttribute("minorGridLineDashStyle")); - } - // Minor Ticks - if (axisUIDL.hasAttribute("minorTickColor")) { - axisBaseOptions.setMinorTickColor(axisUIDL - .getStringAttribute("minorTickColor")); - } - if (axisUIDL.hasAttribute("minorTickInterval")) { - axisBaseOptions.setMinorTickInterval(axisUIDL - .getDoubleAttribute("minorTickInterval")); - } - if (axisUIDL.hasAttribute("minorTickLength")) { - axisBaseOptions.setMinorTickLength(axisUIDL - .getIntAttribute("minorTickLength")); - } - if (axisUIDL.hasAttribute("minorTickPosition")) { - axisBaseOptions.setMinorTickPosition(axisUIDL - .getStringAttribute("minorTickPosition")); - } - if (axisUIDL.hasAttribute("minorTickWidth")) { - axisBaseOptions.setMinorTickWidth(axisUIDL - .getIntAttribute("minorTickWidth")); - } - // - if (axisUIDL.hasAttribute("offset")) { - axisBaseOptions.setOffset(axisUIDL.getIntAttribute("offset")); - } - if (axisUIDL.hasAttribute("opposite")) { - axisBaseOptions.setOpposite(axisUIDL - .getBooleanAttribute("opposite")); - } - if (axisUIDL.hasAttribute("reversed")) { - axisBaseOptions.setReversed(axisUIDL - .getBooleanAttribute("reversed")); - } - if (axisUIDL.hasAttribute("showFirstLabel")) { - axisBaseOptions.setShowFirstLabel(axisUIDL - .getBooleanAttribute("showFirstLabel")); - } - if (axisUIDL.hasAttribute("showLastLabel")) { - axisBaseOptions.setShowLastLabel(axisUIDL - .getBooleanAttribute("showLastLabel")); - } - if (axisUIDL.hasAttribute("startOfWeek")) { - axisBaseOptions.setStartOfWeek(axisUIDL - .getIntAttribute("startOfWeek")); - } - if (axisUIDL.hasAttribute("startOnTick")) { - axisBaseOptions.setStartOnTick(axisUIDL - .getBooleanAttribute("startOnTick")); - } - // Tick - if (axisUIDL.hasAttribute("tickColor")) { - axisBaseOptions.setTickColor(axisUIDL - .getStringAttribute("tickColor")); - } - if (axisUIDL.hasAttribute("tickInterval")) { - axisBaseOptions.setTickInterval(axisUIDL - .getDoubleAttribute("tickInterval")); - } - if (axisUIDL.hasAttribute("tickLength")) { - axisBaseOptions.setTickLength(axisUIDL - .getIntAttribute("tickLength")); - } - if (axisUIDL.hasAttribute("tickPosition")) { - axisBaseOptions.setTickPosition(axisUIDL - .getStringAttribute("tickPosition")); - } - if (axisUIDL.hasAttribute("tickWidth")) { - axisBaseOptions.setTickWidth(axisUIDL.getIntAttribute("tickWidth")); - } - if (axisUIDL.hasAttribute("tickPixelInterval")) { - axisBaseOptions.setTickPixelInterval(axisUIDL - .getIntAttribute("tickPixelInterval")); - } - if (axisUIDL.hasAttribute("tickmarkPlacement")) { - axisBaseOptions.setTickmarkPlacement(axisUIDL - .getStringAttribute("tickmarkPlacement")); - } - - if (axisUIDL.hasAttribute("type")) { - axisBaseOptions.setType(axisUIDL.getStringAttribute("type")); - } - - // title - UIDL titleUIDL = axisUIDL.getChildUIDL(0); - GwtAxisTitleOptions titleOptions = getAxisTitleOptions(titleUIDL); - if (titleOptions != null) { - axisBaseOptions.setTitle(titleOptions); - } - - // label - UIDL labelUIDL = axisUIDL.getChildUIDL(1); - String axisName = axisUIDL.getTag(); - GwtAxisDataLabels axisDataLabels = getAxisDataLabels(labelUIDL, - axisName); - if (axisDataLabels != null) { - axisBaseOptions.setLabels(axisDataLabels); - } - // plotband - UIDL plotBandsUIDL = axisUIDL.getChildUIDL(2); - JsArray plotBands = getPlotBands(plotBandsUIDL); - if (plotBands.length() > 0) { - axisBaseOptions.setPlotBands(plotBands); - } - // plotline - UIDL plotLinesUIDL = axisUIDL.getChildUIDL(3); - JsArray plotLines = getPlotLines(plotLinesUIDL); - if (plotLines.length() > 0) { - axisBaseOptions.setPlotLines(plotLines); - } - VConsole.log("Exit [updateBaseAxisOptions]"); - } - - private GwtAxisTitleOptions getAxisTitleOptions(UIDL axisTitleUIDL) { - if (axisTitleUIDL == null - || axisTitleUIDL.getAttributeNames().size() == 0) { - return null; - } - GwtAxisTitleOptions titleOptions = GwtAxisTitleOptions.create(); - if (axisTitleUIDL.hasAttribute("align")) { - titleOptions.setAlign(axisTitleUIDL.getStringAttribute("align")); - } - if (axisTitleUIDL.hasAttribute("margin")) { - titleOptions.setMargin(axisTitleUIDL.getIntAttribute("margin")); - } - if (axisTitleUIDL.hasAttribute("rotation")) { - titleOptions.setRotation(axisTitleUIDL.getIntAttribute("rotation")); - } - if (axisTitleUIDL.hasAttribute("style")) { - titleOptions.setStyle(axisTitleUIDL.getStringAttribute("style")); - } - if (axisTitleUIDL.hasAttribute("text")) { - titleOptions.setText(axisTitleUIDL.getStringAttribute("text")); - } - return titleOptions; - } - - private JsArray getPlotBands(UIDL plotBandsUIDL) { - JsArray plotBandsArr = JavaScriptObject.createArray() - .cast(); - for (int cnt = 0; cnt < plotBandsUIDL.getChildCount(); cnt++) { - UIDL plotBandUIDL = plotBandsUIDL.getChildUIDL(cnt); - if (plotBandUIDL.getAttributeNames().size() == 0 - && plotBandUIDL.getChildCount() == 0) { - continue; - } - GwtPlotBands plotBands = GwtPlotBands.create(); - if (plotBandUIDL.hasAttribute("color")) { - plotBands.setColor(plotBandUIDL.getStringAttribute("color")); - } - if (plotBandUIDL.hasAttribute("id")) { - plotBands.setId(plotBandUIDL.getStringAttribute("id")); - } - if (plotBandUIDL.hasAttribute("zIndex")) { - plotBands.setZIndex(plotBandUIDL.getIntAttribute("zIndex")); - } - // label - GwtPlotLabel label = getPlotLabel(plotBandUIDL.getChildUIDL(0)); - if (label != null) { - plotBands.setLabel(label); - } - // from/to value - UIDL valueUIDL = plotBandUIDL.getChildUIDL(1); - if (valueUIDL.hasAttribute("valueType")) { - String valueType = valueUIDL.getStringAttribute("valueType"); - if (valueType.equals("number")) { - plotBands.setFrom(valueUIDL.getDoubleAttribute("from")); - plotBands.setTo(valueUIDL.getDoubleAttribute("to")); - } else { // date - // from - UIDL fromUIDL = valueUIDL.getChildUIDL(0); - int fromYear = fromUIDL.getIntAttribute("year"); - int fromMonth = fromUIDL.getIntAttribute("month"); - int fromDay = fromUIDL.getIntAttribute("day"); - plotBands.setFrom("Date.UTC(" + fromYear + ", " + fromMonth - + "," + fromDay + ")"); - // to - UIDL toUIDL = valueUIDL.getChildUIDL(1); - int toYear = toUIDL.getIntAttribute("year"); - int toMonth = toUIDL.getIntAttribute("month"); - int toDay = toUIDL.getIntAttribute("day"); - plotBands.setTo("Date.UTC(" + toYear + ", " + toMonth + "," - + toDay + ")"); - } - } - // - plotBandsArr.push(plotBands); - } - return plotBandsArr; - } - - private JsArray getPlotLines(UIDL plotLinesUIDL) { - JsArray plotLinesArr = JavaScriptObject.createArray() - .cast(); - for (int cnt = 0; cnt < plotLinesUIDL.getChildCount(); cnt++) { - UIDL plotLineUIDL = plotLinesUIDL.getChildUIDL(cnt); - if (plotLineUIDL.getAttributeNames().size() == 0 - && plotLineUIDL.getChildCount() == 0) { - continue; - } - GwtPlotLines plotLines = GwtPlotLines.create(); - if (plotLineUIDL.hasAttribute("color")) { - plotLines.setColor(plotLineUIDL.getStringAttribute("color")); - } - if (plotLineUIDL.hasAttribute("dashStyle")) { - plotLines.setDashStyle(plotLineUIDL - .getStringAttribute("dashStyle")); - } - if (plotLineUIDL.hasAttribute("id")) { - plotLines.setId(plotLineUIDL.getStringAttribute("id")); - } - if (plotLineUIDL.hasAttribute("width")) { - plotLines.setWidth(plotLineUIDL.getIntAttribute("width")); - } - if (plotLineUIDL.hasAttribute("zIndex")) { - plotLines.setZIndex(plotLineUIDL.getIntAttribute("zIndex")); - } - // label - GwtPlotLabel label = getPlotLabel(plotLineUIDL.getChildUIDL(0)); - if (label != null) { - plotLines.setLabel(label); - } - // line value - UIDL lineValueUIDL = plotLineUIDL.getChildUIDL(1); - if (lineValueUIDL.hasAttribute("valueType")) { - String valueType = lineValueUIDL - .getStringAttribute("valueType"); - if (valueType.equals("number")) { - if (lineValueUIDL.hasAttribute("value")) { - plotLines.setValue(lineValueUIDL - .getDoubleAttribute("value")); - } - } else { // date - int year = lineValueUIDL.getIntAttribute("year"); - int month = lineValueUIDL.getIntAttribute("month"); - int day = lineValueUIDL.getIntAttribute("day"); - plotLines.setValue("Date.UTC(" + year + ", " + month + "," - + day + ")"); - } - } - // - plotLinesArr.push(plotLines); - } - return plotLinesArr; - } - - private GwtPlotLabel getPlotLabel(UIDL plotLabelUIDL) { - if (plotLabelUIDL == null - || plotLabelUIDL.getAttributeNames().size() == 0) { - return null; - } - GwtPlotLabel label = GwtPlotLabel.create(); - if (plotLabelUIDL.hasAttribute("align")) { - label.setAlign(plotLabelUIDL.getStringAttribute("align")); - } - if (plotLabelUIDL.hasAttribute("rotation")) { - label.setRotation(plotLabelUIDL.getIntAttribute("rotation")); - } - if (plotLabelUIDL.hasAttribute("style")) { - label.setStyle(plotLabelUIDL.getStringAttribute("style")); - } - if (plotLabelUIDL.hasAttribute("align")) { - label.setAlign(plotLabelUIDL.getStringAttribute("align")); - } - if (plotLabelUIDL.hasAttribute("text")) { - label.setText(plotLabelUIDL.getStringAttribute("text")); - } - if (plotLabelUIDL.hasAttribute("verticalAlign")) { - label.setVerticalAlign(plotLabelUIDL - .getStringAttribute("verticalAlign")); - } - if (plotLabelUIDL.hasAttribute("x")) { - label.setX(plotLabelUIDL.getIntAttribute("x")); - } - if (plotLabelUIDL.hasAttribute("y")) { - label.setY(plotLabelUIDL.getIntAttribute("y")); - } - - return label; - } - - // FIXME - Code organization - private GwtAxisDataLabels getAxisDataLabels(UIDL labelUIDL, String axisName) { - if (labelUIDL == null || labelUIDL.getAttributeNames().size() == 0) { - return null; - } - if (axisName.equals("xAxis")) { - GwtXAxisDataLabels labels = GwtXAxisDataLabels.createXAxisLabels(); - updateDataLabel(labelUIDL, labels); - if (labelUIDL.hasAttribute("staggerLines")) { - labels.setStaggerLines(labelUIDL - .getIntAttribute("staggerLines")); - } - if (labelUIDL.hasAttribute("step")) { - labels.setStep(labelUIDL.getIntAttribute("step")); - } - return labels; - } else { - GwtYAxisDataLabels labels = GwtYAxisDataLabels.createYAxisLabels(); - updateDataLabel(labelUIDL, labels); - return labels; - } - } - - private JsArray getXAxisOptions(UIDL uidl) { - VConsole.log("Enter [getXAxisOptions]"); - VConsole.log("Tag Name : " + uidl.getTag()); - JsArray xAxes = JavaScriptObject.createArray().cast(); - - for (int cnt = 0; cnt < uidl.getChildCount(); cnt++) { - GwtXAxisOptions xAxisOptions = GwtXAxisOptions.create(); - UIDL axisUIDL = uidl.getChildUIDL(cnt); - if (axisUIDL.getAttributeNames().size() == 0 - && axisUIDL.getChildCount() == 0) { - continue; - } - updateBaseAxisOptions(axisUIDL, xAxisOptions); - - UIDL childUIDL = axisUIDL.getChildUIDL(4); - if (childUIDL != null) { - if (childUIDL.getTag().equals("categories") - && childUIDL.getChildCount() > 0) { - JsArrayString categories = JavaScriptObject.createArray() - .cast(); - UIDL categoriesUIDL = childUIDL; - for (int idx = 0; idx < categoriesUIDL.getChildCount(); idx++) { - categories.push(categoriesUIDL.getChildUIDL(idx) - .getStringAttribute("name")); - } - xAxisOptions.setCategories(categories); - } else if (childUIDL.getTag().equals("dateTimeLabelFormats") - && childUIDL.getAttributeNames().size() > 0) { - UIDL dateTimeLblFmtsUIDL = childUIDL; - GwtDateTimeLabelFormats formats = GwtDateTimeLabelFormats - .create(); - if (dateTimeLblFmtsUIDL.hasAttribute("second")) { - formats.setSecond(dateTimeLblFmtsUIDL - .getStringAttribute("second")); - } - if (dateTimeLblFmtsUIDL.hasAttribute("minute")) { - formats.setMinute(dateTimeLblFmtsUIDL - .getStringAttribute("minute")); - } - if (dateTimeLblFmtsUIDL.hasAttribute("hour")) { - formats.setHour(dateTimeLblFmtsUIDL - .getStringAttribute("hour")); - } - if (dateTimeLblFmtsUIDL.hasAttribute("day")) { - formats.setDay(dateTimeLblFmtsUIDL - .getStringAttribute("day")); - } - if (dateTimeLblFmtsUIDL.hasAttribute("week")) { - formats.setWeek(dateTimeLblFmtsUIDL - .getStringAttribute("week")); - } - if (dateTimeLblFmtsUIDL.hasAttribute("month")) { - formats.setMonth(dateTimeLblFmtsUIDL - .getStringAttribute("month")); - } - if (dateTimeLblFmtsUIDL.hasAttribute("year")) { - formats.setYear(dateTimeLblFmtsUIDL - .getStringAttribute("year")); - } - xAxisOptions.setDateTimeLabelFormats(formats); - } - } - xAxes.push(xAxisOptions); - } - - VConsole.log("Exit [getXAxisOptions]"); - return xAxes; - } - - private JsArray getYAxisOptions(UIDL uidl) { - VConsole.log("Enter [getYAxisOptions]"); - VConsole.log("Tag Name : " + uidl.getTag()); - JsArray yAxes = JavaScriptObject.createArray().cast(); - - for (int cnt = 0; cnt < uidl.getChildCount(); cnt++) { - GwtYAxisOptions yAxisOptions = GwtYAxisOptions.create(); - UIDL axisUIDL = uidl.getChildUIDL(cnt); - if (axisUIDL.getAttributeNames().size() == 0 - && axisUIDL.getChildCount() == 0) { - continue; - } - updateBaseAxisOptions(axisUIDL, yAxisOptions); - yAxes.push(yAxisOptions); - } - - VConsole.log("Exit [getYAxisOptions]"); - return yAxes; - } - - private GwtPlotOptions getPlotOptions(UIDL uidl) { - VConsole.log("Enter [getPlotOptions]"); - VConsole.log("Tag Name : " + uidl.getTag()); - - GwtPlotOptions plotOptions = GwtPlotOptions.create(); - - for (int cnt = 0; cnt < uidl.getChildCount(); cnt++) { - UIDL seriesUIDL = uidl.getChildUIDL(cnt); - String seriesType = seriesUIDL.getTag(); - VConsole.log("Series Type : " + seriesType); - GwtSeriesGeneralOptions seriesOptions = getSeriesOptions( - seriesType, seriesUIDL); - if (seriesOptions == null) { - continue; - } - if (seriesType.equals("series")) { - plotOptions.setSeries(seriesOptions); - } else if (seriesType.equals("line")) { - plotOptions.setLine((GwtLineOptions) seriesOptions); - } else if (seriesType.equals("scatter")) { - plotOptions.setScatter((GwtScatterOptions) seriesOptions); - } else if (seriesType.equals("spline")) { - plotOptions.setSpline((GwtSplineOptions) seriesOptions); - } else if (seriesType.equals("area")) { - plotOptions.setArea((GwtAreaOptions) seriesOptions); - } else if (seriesType.equals("areaspline")) { - plotOptions.setAreaSpline((GwtAreaSplineOptions) seriesOptions); - } else if (seriesType.equals("bar")) { - plotOptions.setBar((GwtBarOptions) seriesOptions); - } else if (seriesType.equals("column")) { - plotOptions.setColumn((GwtColumnOptions) seriesOptions); - } else if (seriesType.equals("pie")) { - plotOptions.setPie((GwtPieOptions) seriesOptions); - } - } - - VConsole.log("Exit [getPlotOptions]"); - return plotOptions; - } - - private GwtSeriesGeneralOptions getSeriesOptions(String seriesType, - UIDL seriesUIDL) { - VConsole.log("Enter [getSeriesOptions]"); - VConsole.log("Tag Name : " + seriesUIDL.getTag()); - if (seriesUIDL.getAttributeNames().size() == 0 - && seriesUIDL.getChildCount() == 0) { - VConsole.log("No attributes/children found for series type : " - + seriesType); - VConsole.log("Exit [getSeriesOptions]"); - return null; - } - GwtSeriesGeneralOptions seriesOptions = null; - if (seriesType.equals("series")) { - seriesOptions = GwtSeriesGeneralOptions.createSeriesOptions(); - updateSeriesOptions(seriesUIDL, seriesOptions); - } else if (seriesType.equals("line")) { - seriesOptions = GwtLineOptions.createLineOptions(); - updateLineOptions(seriesUIDL, (GwtLineOptions) seriesOptions); - } else if (seriesType.equals("scatter")) { - seriesOptions = GwtScatterOptions.createScatterOptions(); - updateScatterOptions(seriesUIDL, (GwtScatterOptions) seriesOptions); - } else if (seriesType.equals("spline")) { - seriesOptions = GwtSplineOptions.createSplineOptions(); - updateSplineOptions(seriesUIDL, (GwtSplineOptions) seriesOptions); - } else if (seriesType.equals("area")) { - seriesOptions = GwtAreaOptions.createAreaOptions(); - updateAreaOptions(seriesUIDL, (GwtAreaOptions) seriesOptions); - } else if (seriesType.equals("areaspline")) { - seriesOptions = GwtAreaSplineOptions.createAreaSplineOptions(); - updateAreaSplineOptions(seriesUIDL, - (GwtAreaSplineOptions) seriesOptions); - } else if (seriesType.equals("bar")) { - seriesOptions = GwtBarOptions.createBarOptions(); - updateBarOptions(seriesUIDL, (GwtBarOptions) seriesOptions); - } else if (seriesType.equals("column")) { - seriesOptions = GwtColumnOptions.createColumnOptions(); - updateColumnOptions(seriesUIDL, (GwtColumnOptions) seriesOptions); - } else if (seriesType.equals("pie")) { - seriesOptions = GwtPieOptions.createPieOptions(); - updatePieOptions(seriesUIDL, (GwtPieOptions) seriesOptions); - } else { - // This should not happen - VConsole.log("[getSeriesOptions] : Invalid series type " - + seriesType); - } - VConsole.log("Exit [getSeriesOptions]"); - return seriesOptions; - } - - private void updateSeriesOptions(UIDL seriesUIDL, - GwtSeriesGeneralOptions seriesOptions) { - VConsole.log("Enter [updateSeriesOptions]"); - VConsole.log("Tag Name : " + seriesUIDL.getTag()); - - if (seriesUIDL.hasAttribute("allowPointSelect")) { - seriesOptions.setAllowPointSelect(seriesUIDL - .getBooleanAttribute("allowPointSelect")); - } - if (seriesUIDL.hasAttribute("animation")) { - seriesOptions.setAnimation(seriesUIDL - .getBooleanAttribute("animation")); - } - if (seriesUIDL.hasAttribute("cursor")) { - seriesOptions.setCursor(seriesUIDL.getStringAttribute("cursor")); - } - if (seriesUIDL.hasAttribute("enableMouseTracking")) { - seriesOptions.setEnableMouseTracking(seriesUIDL - .getBooleanAttribute("enableMouseTracking")); - } - if (seriesUIDL.hasAttribute("selected")) { - seriesOptions.setSelected(seriesUIDL - .getBooleanAttribute("selected")); - } - if (seriesUIDL.hasAttribute("shadow")) { - seriesOptions.setShadow(seriesUIDL.getBooleanAttribute("shadow")); - } - if (seriesUIDL.hasAttribute("showCheckbox")) { - seriesOptions.setShowCheckbox(seriesUIDL - .getBooleanAttribute("showCheckbox")); - } - if (seriesUIDL.hasAttribute("showInLegend")) { - seriesOptions.setShowInLegend(seriesUIDL - .getBooleanAttribute("showInLegend")); - } - if (seriesUIDL.hasAttribute("stacking")) { - seriesOptions - .setStacking(seriesUIDL.getStringAttribute("stacking")); - } - if (seriesUIDL.hasAttribute("visible")) { - seriesOptions.setVisible(seriesUIDL.getBooleanAttribute("visible")); - } - if (seriesUIDL.hasAttribute("color")) { - seriesOptions.setColor(seriesUIDL.getStringAttribute("color")); - } - // FIXME - How to get series type - // datalabels - GwtDataLabels dataLabels = getSeriesDataLabel( - seriesUIDL.getChildUIDL(0), seriesUIDL.getTag()); - if (dataLabels != null) { - seriesOptions.setDataLabels(dataLabels); - } - - // state - GwtStates seriesState = getSeriesState(seriesUIDL.getChildUIDL(1)); - - if (seriesState != null) { - seriesOptions.setStates(seriesState); - } - - VConsole.log("Exit [updateSeriesOptions]"); - } - - private GwtDataLabels getSeriesDataLabel(UIDL dataLabelUIDL, - String seriesType) { - VConsole.log("Enter [getSeriesDataLabel]"); - if (dataLabelUIDL == null - || dataLabelUIDL.getAttributeNames().size() == 0) { - return null; - } - GwtDataLabels dataLabel = GwtDataLabels.createDataLabels(); - if (seriesType.equals("pie")) { - dataLabel = GwtPieDataLabels.createPieDataLabels(); - updatePieDataLabel(dataLabelUIDL, (GwtPieDataLabels) dataLabel); - } else { - updateDataLabel(dataLabelUIDL, dataLabel); - } - VConsole.log("Exit [getSeriesDataLabel]"); - return dataLabel; - } - - private void updatePieDataLabel(UIDL dataLabelUIDL, - GwtPieDataLabels pieDataLabel) { - updateDataLabel(dataLabelUIDL, pieDataLabel); - if (dataLabelUIDL.hasAttribute("connectorColor")) { - pieDataLabel.setConnectorColor(dataLabelUIDL - .getStringAttribute("connectorColor")); - } - if (dataLabelUIDL.hasAttribute("connectorWidth")) { - pieDataLabel.setConnectorWidth(dataLabelUIDL - .getIntAttribute("connectorWidth")); - } - if (dataLabelUIDL.hasAttribute("connectorPadding")) { - pieDataLabel.setConnectorPadding(dataLabelUIDL - .getIntAttribute("connectorPadding")); - } - if (dataLabelUIDL.hasAttribute("distance")) { - pieDataLabel.setDistance(dataLabelUIDL.getIntAttribute("distance")); - } - } - - private void updateDataLabel(UIDL dataLabelUIDL, GwtDataLabels dataLabel) { - if (dataLabelUIDL.hasAttribute("align")) { - dataLabel.setAlign(dataLabelUIDL.getStringAttribute("align")); - } - if (dataLabelUIDL.hasAttribute("enabled")) { - dataLabel.setEnabled(dataLabelUIDL.getBooleanAttribute("enabled")); - } - if (dataLabelUIDL.hasAttribute("formatter")) { - dataLabel.setFormatter(getExecutableFunction(dataLabelUIDL - .getStringAttribute("formatter"))); - } - if (dataLabelUIDL.hasAttribute("rotation")) { - dataLabel.setRotation(dataLabelUIDL.getIntAttribute("rotation")); - } - if (dataLabelUIDL.hasAttribute("style")) { - dataLabel.setStyle(dataLabelUIDL.getStringAttribute("style")); - } - if (dataLabelUIDL.hasAttribute("x")) { - dataLabel.setX(dataLabelUIDL.getIntAttribute("x")); - } - if (dataLabelUIDL.hasAttribute("y")) { - dataLabel.setY(dataLabelUIDL.getIntAttribute("y")); - } - if (dataLabelUIDL.hasAttribute("color")) { - dataLabel.setColor(dataLabelUIDL.getStringAttribute("color")); - } - } - - private GwtStates getSeriesState(UIDL stateUIDL) { - if (stateUIDL == null - || (stateUIDL != null && stateUIDL.getChildCount() == 0) - || (stateUIDL.getChildCount() > 0 && stateUIDL.getChildUIDL(0) - .getAttributeNames().size() == 0)) { - return null; - } - GwtStates state = GwtStates.create(); - GwtHover hover = GwtHover.create(); - state.setHover(hover); - UIDL hoverUIDL = stateUIDL.getChildUIDL(0); - if (hoverUIDL.hasAttribute("enabled")) { - hover.setEnabled(hoverUIDL.getBooleanAttribute("enabled")); - } - if (hoverUIDL.hasAttribute("lineWidth")) { - hover.setLineWidth(hoverUIDL.getIntAttribute("lineWidth")); - } - if (hoverUIDL.hasAttribute("brightness")) { - hover.setBrightness(hoverUIDL.getDoubleAttribute("brightness")); - } - return state; - } - - private GwtMarker getMarkerOptions(UIDL uidl) { - VConsole.log("Enter [getMarkerOptions]"); - int noOfAttrs = 0; - noOfAttrs = (uidl != null ? uidl.getAttributeNames().size() : 0); - if (uidl == null || (noOfAttrs == 0 && uidl.getChildCount() == 0)) { - VConsole.log("Exit [getMarkerOptions]"); - return null; - } - GwtMarker marker = GwtMarker.create(); - String markerType = uidl.getStringAttribute("markerType"); - if (uidl.hasAttribute("enabled")) { - marker.setEnabled(uidl.getBooleanAttribute("enabled")); - } - if (uidl.hasAttribute("lineColor")) { - marker.setLineColor(uidl.getStringAttribute("lineColor")); - } - if (uidl.hasAttribute("fillColor")) { - marker.setFillColor(uidl.getStringAttribute("fillColor")); - } - if (uidl.hasAttribute("lineWidth")) { - marker.setLineWidth(uidl.getIntAttribute("lineWidth")); - } - if (uidl.hasAttribute("radius")) { - marker.setRadius(uidl.getIntAttribute("radius")); - } - if (uidl.hasAttribute("symbol")) { - if (markerType.equals("image")) { - marker.setSymbol("url(." + uidl.getStringAttribute("symbol") - + ")"); - } else { - marker.setSymbol(uidl.getStringAttribute("symbol")); - } - } - - // Marker states exist only in case of SymbolMarker and not ImageMarker - if (uidl.getChildCount() > 0) { - UIDL statesUIDL = uidl.getChildUIDL(0); - UIDL hoverStateUIDL = statesUIDL.getChildUIDL(0); - UIDL selectStateUIDL = statesUIDL.getChildUIDL(1); - GwtMarkerState markerHoverState = getMarkerState(hoverStateUIDL); - GwtMarkerState markerSelectState = getMarkerState(selectStateUIDL); - if (markerHoverState != null || markerSelectState != null) { - VConsole.log("Setting marker states..."); - GwtMarkerStates markerStates = GwtMarkerStates.create(); - if (markerHoverState != null) { - markerStates.setHover(markerHoverState); - } - if (markerSelectState != null) { - markerStates.setSelect(markerSelectState); - } - marker.setStates(markerStates); - } - } - VConsole.log("Exit [getMarkerOptions]"); - return marker; - } - - private GwtMarkerState getMarkerState(UIDL uidl) { - VConsole.log("Enter [getMarkerState]"); - if (uidl == null || uidl.getAttributeNames().size() == 0) { - VConsole.log("Neither hover nor select states found for a maker."); - VConsole.log("Exit [getMarkerState]"); - return null; - } - GwtMarkerState markerState = GwtMarkerState.create(); - if (uidl.hasAttribute("enabled")) { - markerState.setEnabled(uidl.getBooleanAttribute("enabled")); - } - if (uidl.hasAttribute("lineColor")) { - markerState.setLineColor(uidl.getStringAttribute("lineColor")); - } - if (uidl.hasAttribute("fillColor")) { - markerState.setFillColor(uidl.getStringAttribute("fillColor")); - } - if (uidl.hasAttribute("lineWidth")) { - markerState.setLineWidth(uidl.getIntAttribute("lineWidth")); - } - if (uidl.hasAttribute("radius")) { - markerState.setRadius(uidl.getIntAttribute("radius")); - } - VConsole.log("Exit [getMarkerState]"); - return markerState; - } - - private void updateBaseLineOptions(UIDL lineUIDL, - GwtBaseLineOptions lineOptions) { - VConsole.log("Enter [updateBaseLineOptions]"); - - updateSeriesOptions(lineUIDL, lineOptions); - if (lineUIDL.hasAttribute("color")) { - lineOptions.setColor(lineUIDL.getStringAttribute("color")); - } - if (lineUIDL.hasAttribute("dashStyle")) { - lineOptions.setDashStyle(lineUIDL.getStringAttribute("dashStyle")); - } - if (lineUIDL.hasAttribute("lineWidth")) { - lineOptions.setLineWidth(lineUIDL.getIntAttribute("lineWidth")); - } - if (lineUIDL.hasAttribute("pointStart")) { - lineOptions.setPointStart(lineUIDL.getDoubleAttribute("pointStart")); - } - if (lineUIDL.hasAttribute("pointInterval")) { - lineOptions.setPointInterval(lineUIDL - .getIntAttribute("pointInterval")); - } - if (lineUIDL.hasAttribute("stickyTracking")) { - lineOptions.setStickyTracking(lineUIDL - .getBooleanAttribute("stickyTracking")); - } - - GwtMarker marker = getMarkerOptions(lineUIDL.getChildUIDL(2)); - if (marker != null) { - lineOptions.setMarker(marker); - } - VConsole.log("Exit [updateBaseLineOptions]"); - } - - private void updateLineOptions(UIDL lineUIDL, GwtLineOptions lineOptions) { - VConsole.log("Enter [updateLineOptions]"); - VConsole.log("Tag Name : " + lineUIDL.getTag()); - - updateBaseLineOptions(lineUIDL, lineOptions); - - if (lineUIDL.hasAttribute("step")) { - lineOptions.setStep(lineUIDL.getBooleanAttribute("step")); - } - - VConsole.log("Exit [updateBaseLineOptions]"); - } - - private void updateScatterOptions(UIDL scatterUIDL, - GwtScatterOptions scatterOptions) { - VConsole.log("Enter [updateScatterOptions]"); - VConsole.log("Tag Name : " + scatterUIDL.getTag()); - - updateBaseLineOptions(scatterUIDL, scatterOptions); - - VConsole.log("Exit [updateScatterOptions]"); - } - - private void updateSplineOptions(UIDL splineUIDL, - GwtSplineOptions splineOptions) { - VConsole.log("Enter [updateSplineOptions]"); - VConsole.log("Tag Name : " + splineUIDL.getTag()); - - updateBaseLineOptions(splineUIDL, splineOptions); - - VConsole.log("Exit [updateSplineOptions]"); - } - - private void updateAreaOptions(UIDL areaUIDL, GwtAreaOptions areaOptions) { - VConsole.log("Enter [updateAreaOptions]"); - VConsole.log("Tag Name : " + areaUIDL.getTag()); - - updateBaseLineOptions(areaUIDL, areaOptions); - if (areaUIDL.hasAttribute("fillColor")) { - areaOptions.setFillColor(areaUIDL.getStringAttribute("fillColor")); - } - if (areaUIDL.hasAttribute("lineColor")) { - areaOptions.setLineColor(areaUIDL.getStringAttribute("lineColor")); - } - if (areaUIDL.hasAttribute("fillOpacity")) { - areaOptions.setFillOpacity(areaUIDL - .getDoubleAttribute("fillOpacity")); - } - if (areaUIDL.hasAttribute("threshold")) { - areaOptions.setThreshold(areaUIDL.getIntAttribute("threshold")); - } - - VConsole.log("Exit [updateAreaOptions]"); - } - - private void updateAreaSplineOptions(UIDL areaSplineUIDL, - GwtAreaSplineOptions areaSplineOptions) { - VConsole.log("Enter [updateAreaSplineOptions]"); - VConsole.log("Tag Name : " + areaSplineUIDL.getTag()); - - updateAreaOptions(areaSplineUIDL, areaSplineOptions); - - VConsole.log("Exit [updateAreaSplineOptions]"); - } - - private void updatePieOptions(UIDL pieUIDL, GwtPieOptions pieOptions) { - VConsole.log("Enter [updatePieOptions]"); - VConsole.log("Tag Name : " + pieUIDL.getTag()); - - updateSeriesOptions(pieUIDL, pieOptions); - Integer centerX = null; - Integer centerY = null; - if (pieUIDL.hasAttribute("centerX")) { - centerX = pieUIDL.getIntAttribute("centerX"); - } - if (pieUIDL.hasAttribute("centerY")) { - centerY = pieUIDL.getIntAttribute("centerY"); - } - if (centerX != null || centerY != null) { - JsArrayNumber center = JavaScriptObject.createArray().cast(); - center.push((centerX == null ? 0 : centerX)); - center.push((centerY == null ? 0 : centerY)); - pieOptions.setCenter(center); - } - if (pieUIDL.hasAttribute("borderColor")) { - pieOptions - .setBorderColor(pieUIDL.getStringAttribute("borderColor")); - } - if (pieUIDL.hasAttribute("borderWidth")) { - pieOptions.setBorderWidth(pieUIDL.getIntAttribute("borderWidth")); - } - if (pieUIDL.hasAttribute("innerSize")) { - pieOptions.setInnerSize(pieUIDL.getIntAttribute("innerSize")); - } - if (pieUIDL.hasAttribute("size")) { - pieOptions.setSize(pieUIDL.getIntAttribute("size")); - } - if (pieUIDL.hasAttribute("slicedOffset")) { - pieOptions.setSlicedOffset(pieUIDL.getIntAttribute("slicedOffset")); - } - - VConsole.log("Exit [updatePieOptions]"); - } - - private void updateBaseBarOptions(UIDL barUIDL, - GwtBaseBarOptions baseBarOptions) { - VConsole.log("Enter [updateBaseBarOptions]"); - - updateSeriesOptions(barUIDL, baseBarOptions); - if (barUIDL.hasAttribute("borderColor")) { - baseBarOptions.setBorderColor(barUIDL - .getStringAttribute("borderColor")); - } - if (barUIDL.hasAttribute("borderWidth")) { - baseBarOptions.setBorderWidth(barUIDL - .getIntAttribute("borderWidth")); - } - if (barUIDL.hasAttribute("borderRadius")) { - baseBarOptions.setBorderRadius(barUIDL - .getIntAttribute("borderRadius")); - } - if (barUIDL.hasAttribute("colorByPoint")) { - baseBarOptions.setColorByPoint(barUIDL - .getBooleanAttribute("colorByPoint")); - } - if (barUIDL.hasAttribute("groupPadding")) { - baseBarOptions.setGroupPadding(barUIDL - .getDoubleAttribute("groupPadding")); - } - if (barUIDL.hasAttribute("minPointLength")) { - baseBarOptions.setMinPointLength(barUIDL - .getDoubleAttribute("minPointLength")); - } - if (barUIDL.hasAttribute("pointPadding")) { - baseBarOptions.setPointPadding(barUIDL - .getDoubleAttribute("pointPadding")); - } - if (barUIDL.hasAttribute("pointWidth")) { - baseBarOptions.setPointWidth(barUIDL.getIntAttribute("pointWidth")); - } - - VConsole.log("Exit [updateBaseBarOptions]"); - } - - private void updateBarOptions(UIDL barUIDL, GwtBarOptions barOptions) { - VConsole.log("Enter [updateBarOptions]"); - VConsole.log("Tag Name : " + barUIDL.getTag()); - - updateBaseBarOptions(barUIDL, barOptions); - - VConsole.log("Exit [updateBarOptions]"); - } - - private void updateColumnOptions(UIDL columnUIDL, - GwtColumnOptions columnOptions) { - VConsole.log("Enter [updateColumnOptions]"); - VConsole.log("Tag Name : " + columnUIDL.getTag()); - - updateBaseBarOptions(columnUIDL, columnOptions); - - VConsole.log("Exit [updateColumnOptions]"); - } - - private void updateOptionsWithChartEvents(GwtInvientChartsConfig options, - UIDL chartEventUIDL) { - VConsole.log("Enter [updateOptionsWithChartEvents]"); - - // Chart events - GwtChartEvents chartEvents = GwtChartEvents.create(); - if (chartEventUIDL.hasAttribute("addSeries") - && chartEventUIDL.getBooleanAttribute("addSeries")) { - chartEvents.setAddSeriesEvent(EventCallbacks - .getChartAddSeries(this)); - } - if (chartEventUIDL.hasAttribute("click") - && chartEventUIDL.getBooleanAttribute("click")) { - chartEvents.setClickEvent(EventCallbacks.getChartClick(this)); - } - if (chartEventUIDL.hasAttribute("selection") - && chartEventUIDL.getBooleanAttribute("selection")) { - if (options.getChartOptions().getClientZoom()) { - chartEvents.setSelectionEvent(EventCallbacks - .getClientChartSelection(this)); - } else { - chartEvents.setSelectionEvent(EventCallbacks - .getServerChartSelection(this)); - } - } - if (options.getChartOptions() == null) { - options.setChartOptions(GwtChartOptions.create()); - } - options.getChartOptions().setEvents(chartEvents); - - VConsole.log("Exit [updateOptionsWithChartEvents]"); - } - - private GwtSeriesEvents getSeriesEvents(UIDL seriesEventUIDL) { - GwtSeriesEvents seriesEvents = GwtSeriesEvents.create(); - boolean foundEvt = false; - if (seriesEventUIDL.hasAttribute("legendItemClick") - && seriesEventUIDL.getBooleanAttribute("legendItemClick")) { - seriesEvents.setLegendItemClickEvent(EventCallbacks - .getSeriesLegendItemClick(this)); - foundEvt = true; - } - if (seriesEventUIDL.hasAttribute("click") - && seriesEventUIDL.getBooleanAttribute("click")) { - seriesEvents.setClickEvent(EventCallbacks.getSeriesClick(this)); - foundEvt = true; - } - if (seriesEventUIDL.hasAttribute("show") - && seriesEventUIDL.getBooleanAttribute("show")) { - seriesEvents.setShowEvent(EventCallbacks.getSeriesShow(this)); - foundEvt = true; - } - if (seriesEventUIDL.hasAttribute("hide") - && seriesEventUIDL.getBooleanAttribute("hide")) { - seriesEvents.setHideEvent(EventCallbacks.getSeriesHide(this)); - foundEvt = true; - } - if (foundEvt) { - return seriesEvents; - } - return null; - } - - private void updateOptionsWithSeriesAndPoingEvents( - GwtInvientChartsConfig options, UIDL chartSeriesEventsUIDL) { - VConsole.log("Enter [updateOptionsWithSeriesAndPoingEvents]"); - VConsole.log("[updateOptionsWithSeriesEvents] # of series : " - + chartSeriesEventsUIDL.getChildCount()); - - // UIDL seriesEventUIDL = eventUIDL.getChildUIDL(1); - if (chartSeriesEventsUIDL.getChildCount() > 0 - && options.getPlotOptions() == null) { - options.setPlotOptions(GwtPlotOptions.create()); - } - for (int cnt = 0; cnt < chartSeriesEventsUIDL.getChildCount(); cnt++) { - UIDL seriesEventsUIDL = chartSeriesEventsUIDL.getChildUIDL(cnt); - String seriesType = seriesEventsUIDL.getTag(); // can be - // series/pie/line - // etc - VConsole.log("Series type " + seriesType); - // - GwtSeriesEvents seriesEvents = getSeriesEvents(seriesEventsUIDL); - // - GwtPointEvents pointEvents = null; - if (seriesEventsUIDL.getChildCount() > 0) { - pointEvents = getPointEvents(options, - seriesEventsUIDL.getChildUIDL(0)); - } - if (seriesEvents == null && pointEvents == null) { - VConsole.log("No series/point events found for series type : " - + seriesType); - continue; - } - GwtSeriesGeneralOptions seriesOptions = null; - if (seriesType.equals("line")) { - if (options.getPlotOptions().getLine() == null) { - options.getPlotOptions().setLine( - GwtLineOptions.createLineOptions()); - } - seriesOptions = options.getPlotOptions().getLine(); - } else if (seriesType.equals("spline")) { - if (options.getPlotOptions().getSpline() == null) { - options.getPlotOptions().setSpline( - GwtSplineOptions.createSplineOptions()); - } - seriesOptions = options.getPlotOptions().getSpline(); - } else if (seriesType.equals("area")) { - if (options.getPlotOptions().getArea() == null) { - options.getPlotOptions().setArea( - GwtAreaOptions.createAreaOptions()); - } - seriesOptions = options.getPlotOptions().getArea(); - } else if (seriesType.equals("areaspline")) { - if (options.getPlotOptions().getAreaSpline() == null) { - options.getPlotOptions().setAreaSpline( - GwtAreaSplineOptions.createAreaSplineOptions()); - } - seriesOptions = options.getPlotOptions().getAreaSpline(); - } else if (seriesType.equals("bar")) { - if (options.getPlotOptions().getBar() == null) { - options.getPlotOptions().setBar( - GwtBarOptions.createBarOptions()); - } - seriesOptions = options.getPlotOptions().getBar(); - } else if (seriesType.equals("column")) { - if (options.getPlotOptions().getColumn() == null) { - options.getPlotOptions().setColumn( - GwtColumnOptions.createColumnOptions()); - } - seriesOptions = options.getPlotOptions().getColumn(); - } else if (seriesType.equals("scatter")) { - if (options.getPlotOptions().getScatter() == null) { - options.getPlotOptions().setScatter( - GwtScatterOptions.createScatterOptions()); - } - seriesOptions = options.getPlotOptions().getScatter(); - } else if (seriesType.equals("pie")) { - if (options.getPlotOptions().getPie() == null) { - options.getPlotOptions().setPie( - GwtPieOptions.createPieOptions()); - } - seriesOptions = options.getPlotOptions().getPie(); - } else { - if (options.getPlotOptions().getSeries() == null) { - options.getPlotOptions().setSeries( - GwtSeriesGeneralOptions.createSeriesOptions()); - } - seriesOptions = options.getPlotOptions().getSeries(); - } - // Set series/point events - if (seriesEvents != null) { - seriesOptions.setEvents(seriesEvents); - } - if (pointEvents != null) { - seriesOptions.setPointEvents(pointEvents); - } - } - VConsole.log("Exit [updateOptionsWithSeriesAndPoingEvents]"); - } - - private GwtPointEvents getPointEvents(GwtInvientChartsConfig options, - UIDL pointEventsUIDL) { - VConsole.log("Enter [getPointEvents]"); - // Point events - boolean foundEvt = false; - GwtPointEvents pointEvents = GwtPointEvents.create(); - if (pointEventsUIDL.hasAttribute("legendItemClick") - && pointEventsUIDL.getBooleanAttribute("legendItemClick")) { - pointEvents.setLegendItemClickEvent(EventCallbacks - .getPieLegendItemClick(this)); - foundEvt = true; - } - if (pointEventsUIDL.hasAttribute("click") - && pointEventsUIDL.getBooleanAttribute("click")) { - pointEvents.setClickEvent(EventCallbacks.getPointClick(this)); - foundEvt = true; - } - if (pointEventsUIDL.hasAttribute("remove") - && pointEventsUIDL.getBooleanAttribute("remove")) { - pointEvents.setRemoveEvent(EventCallbacks.getPointRemove(this)); - foundEvt = true; - } - if (pointEventsUIDL.hasAttribute("select") - && pointEventsUIDL.getBooleanAttribute("select")) { - pointEvents.setSelectEvent(EventCallbacks.getPointSelect(this)); - foundEvt = true; - } - if (pointEventsUIDL.hasAttribute("unselect") - && pointEventsUIDL.getBooleanAttribute("unselect")) { - pointEvents.setUnselectEvent(EventCallbacks.getPointUnselect(this)); - foundEvt = true; - } - VConsole.log("Exit [getPointEvents]"); - if (foundEvt) { - return pointEvents; - } - return null; - } - - private void updateOptionsWithEvents(GwtInvientChartsConfig options, - UIDL eventUIDL) { - VConsole.log("Enter [updateOptionsWithEvents]"); - - // Chart events - updateOptionsWithChartEvents(options, eventUIDL.getChildUIDL(0)); - - // Series events - updateOptionsWithSeriesAndPoingEvents(options, - eventUIDL.getChildUIDL(1)); - - VConsole.log("Exit [updateOptionsWithEvents]"); - } - - protected void chartAddSeriesListener(GwtChart chart) { - VConsole.log("Enter [chartAddSeriesListener]"); - - client.updateVariable(uidlId, "event", "addSeries", true); - - VConsole.log("Exit [chartAddSeriesListener]"); - } - - protected void chartClickListener(GwtChart chart, double xAxisPos, - double yAxisPos, int pageX, int pageY) { - VConsole.log("Enter [chartClickListener]"); - - VConsole.log("chartClickListener : xAxisPos : " + xAxisPos - + ", yAxisPos : " + yAxisPos); - client.updateVariable(uidlId, "event", "chartClick", false); - Map eventData = new HashMap(); - eventData.put("xAxisPos", String.valueOf(xAxisPos)); - eventData.put("yAxisPos", String.valueOf(yAxisPos)); - updateEventDataWithMousePosition(eventData, pageX, pageY); - client.updateVariable(uidlId, "eventData", eventData, true); - - VConsole.log("Exit [chartClickListener]"); - } - - protected void chartSelectionListener(GwtChart chart, double xAxisMin, - double xAxisMax, double yAxisMin, double yAxisMax) { - VConsole.log("Enter [chartSelectionListener]"); - - VConsole.log("[chartSelectionListener] xAxisMin : " + xAxisMin - + ", xAxisMax : " + xAxisMax + ", yAxisMin : " + yAxisMin - + ", yAxisMax : " + yAxisMax); - client.updateVariable(uidlId, "event", "chartZoom", false); - Map eventData = new HashMap(); - eventData.put("xAxisMin", String.valueOf(xAxisMin)); - eventData.put("xAxisMax", String.valueOf(xAxisMax)); - eventData.put("yAxisMin", String.valueOf(yAxisMin)); - eventData.put("yAxisMax", String.valueOf(yAxisMax)); - client.updateVariable(uidlId, "eventData", eventData, true); - - VConsole.log("Exit [chartSelectionListener]"); - } - - protected void chartResetZoomListener(GwtChart chart) { - VConsole.log("Enter [chartResetZoomListener]"); - - client.updateVariable(uidlId, "event", "chartResetZoom", true); - - VConsole.log("Exit [chartResetZoomListener]"); - } - - protected void seriesClickListener(GwtSeries series, GwtPoint nearestPoint, - int pageX, int pageY) { - VConsole.log("Enter [seriesClickListener]"); - - VConsole.log("[seriesClickListener] point x: " + nearestPoint.getX() - + ", point y: " + nearestPoint.getY()); - client.updateVariable(uidlId, "event", "seriesClick", false); - Map eventData = getEventData(nearestPoint); - updateEventDataWithMousePosition(eventData, pageX, pageY); - client.updateVariable(uidlId, "eventData", eventData, true); - - VConsole.log("Exit [seriesClickListener]"); - } - - protected void seriesHideListener(GwtSeries series) { - VConsole.log("Enter [seriesHideListener]"); - - VConsole.log("[seriesHideListener] series name " + series.getName()); - client.updateVariable(uidlId, "event", "seriesHide", false); - Map eventData = new HashMap(); - eventData.put("seriesName", series.getName()); - client.updateVariable(uidlId, "eventData", eventData, true); - - VConsole.log("Exit [seriesHideListener]"); - } - - protected void seriesShowListener(GwtSeries series) { - VConsole.log("Enter [seriesShowListener]"); - - VConsole.log("[seriesShowListener] series name " + series.getName()); - client.updateVariable(uidlId, "event", "seriesShow", false); - Map eventData = new HashMap(); - eventData.put("seriesName", series.getName()); - client.updateVariable(uidlId, "eventData", eventData, true); - - VConsole.log("Exit [seriesShowListener]"); - } - - protected void seriesLegendItemClickListener(GwtSeries series) { - VConsole.log("Enter [seriesLegendItemClickListener]"); - - VConsole.log("[seriesLegendItemClickListener] name " + series.getName()); - client.updateVariable(uidlId, "event", "seriesLegendItemClick", false); - Map eventData = new HashMap(); - eventData.put("seriesName", series.getName()); - client.updateVariable(uidlId, "eventData", eventData, true); - - VConsole.log("Exit [seriesLegendItemClickListener]"); - } - - protected void pieLegendItemClickListener(GwtPoint point) { - VConsole.log("Enter [pieLegendItemClickListener]"); - - client.updateVariable(uidlId, "event", "pieLegendItemClick", false); - Map eventData = getEventData(point); - client.updateVariable(uidlId, "eventData", eventData, true); - - VConsole.log("Exit [pieLegendItemClickListener]"); - } - - protected void pointClickListener(GwtPoint point, int pageX, int pageY) { - VConsole.log("Enter [pointClickListener]"); - - client.updateVariable(uidlId, "event", "pointClick", false); - Map eventData = getEventData(point); - updateEventDataWithMousePosition(eventData, pageX, pageY); - client.updateVariable(uidlId, "eventData", eventData, true); - - VConsole.log("Exit [pointClickListener]"); - } - - protected void pointSelectListener(GwtPoint point) { - VConsole.log("Enter [pointSelectListener]"); - - VConsole.log("[pointSelectListener] point " + point.getX() + ", " - + point.getY()); - client.updateVariable(uidlId, "event", "pointSelect", false); - client.updateVariable(uidlId, "eventData", getEventData(point), true); - - VConsole.log("Exit [pointSelectListener]"); - } - - protected void pointUnselectListener(GwtPoint point) { - VConsole.log("Enter [pointUnselectListener]"); - - VConsole.log("[pointUnselectListener] point " + point.getX() + ", " - + point.getY()); - client.updateVariable(uidlId, "event", "pointUnselect", false); - client.updateVariable(uidlId, "eventData", getEventData(point), true); - - VConsole.log("Exit [pointUnselectListener]"); - } - - protected void pointRemoveListener(GwtPoint point) { - VConsole.log("Enter [pointRemoveListener]"); - - VConsole.log("[pointRemoveListener] point " + point.getX() + ", " - + point.getY()); - client.updateVariable(uidlId, "event", "pointRemove", false); - client.updateVariable(uidlId, "eventData", getEventData(point), true); - - VConsole.log("Exit [pointRemoveListener]"); - } - - private Map getEventData(GwtPoint point) { - Map eventData = new HashMap(); - eventData.put("seriesName", point.getSeries().getName()); - eventData.put("category", point.getCategory()); - // The point x and y values are converted into - // string value to avoid data conversion issues - // for datetime series/axis - // It is responsibility of the server to convert string value - // into appropriate data type e.g. double or Date - eventData.put("pointX", String.valueOf(point.getX())); - eventData.put("pointY", String.valueOf(point.getY())); - return eventData; - } - - private void updateEventDataWithMousePosition( - Map eventData, int pageX, int pageY) { - eventData.put("mouseX", pageX); - eventData.put("mouseY", pageY); - } - - private String getExecutableFunction(String formatterFunc) { - StringBuilder sb = new StringBuilder(""); - sb.append("function dummy() { "); - sb.append(" return "); - sb.append(formatterFunc).append(";"); - sb.append(" }"); - sb.append(" dummy();"); - return sb.toString(); - } - - /** - * Define a JS function to be used in order to get mouse coordinates when - * click event occurs on a chart/series/point - */ - private native final void publish() /*-{ - // Used in based class GwtInvientCharts.java - $wnd.getMouseCoords = function(ev) { - if(ev.pageX || ev.pageY){ - return {x:ev.pageX, y:ev.pageY}; - } else { - return { - x:ev.clientX + document.documentElement.scrollLeft, - y:ev.clientY + document.documentElement.scrollTop - }; - } - }; - // Used in class GwtInvientChartsConfig.java - $wnd.getInvientChartsColor = function(colorVal) { - var colorKey = 'JSOBJ:'; - var index = colorVal.indexOf(colorKey); - if(index == 0) { - return eval('(' + colorVal.substring(index+colorKey.length) + ')'); - } - return colorVal; - }; - }-*/; - -} +/* + * Copyright 2011 Invient (www.invient.com) + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ +package com.invient.vaadin.charts.widgetset.client.ui; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +import com.google.gwt.core.client.JavaScriptObject; +import com.google.gwt.core.client.JsArray; +import com.google.gwt.core.client.JsArrayNumber; +import com.google.gwt.core.client.JsArrayString; +import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtAxisBaseOptions; +import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtAxisBaseOptions.GwtAxisDataLabels; +import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtAxisBaseOptions.GwtAxisTitleOptions; +import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtAxisBaseOptions.GwtPlotBands; +import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtAxisBaseOptions.GwtPlotLabel; +import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtAxisBaseOptions.GwtPlotLines; +import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtAxisBaseOptions.GwtXAxisDataLabels; +import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtAxisBaseOptions.GwtYAxisDataLabels; +import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtChartLabels; +import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtChartLabels.GwtChartLabelItem; +import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtChartOptions; +import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtChartOptions.GwtChartEvents; +import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtCreditOptions; +import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtLegendOptions; +import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtPlotOptions; +import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtPlotOptions.GwtAreaOptions; +import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtPlotOptions.GwtAreaSplineOptions; +import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtPlotOptions.GwtBarOptions; +import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtPlotOptions.GwtBaseBarOptions; +import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtPlotOptions.GwtBaseLineOptions; +import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtPlotOptions.GwtColumnOptions; +import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtPlotOptions.GwtDataLabels; +import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtPlotOptions.GwtLineOptions; +import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtPlotOptions.GwtMarker; +import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtPlotOptions.GwtMarker.GwtMarkerStates; +import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtPlotOptions.GwtMarker.GwtMarkerStates.GwtMarkerState; +import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtPlotOptions.GwtPieDataLabels; +import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtPlotOptions.GwtPieOptions; +import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtPlotOptions.GwtScatterOptions; +import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtPlotOptions.GwtSeriesEvents; +import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtPlotOptions.GwtSeriesGeneralOptions; +import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtPlotOptions.GwtSeriesGeneralOptions.GwtStates; +import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtPlotOptions.GwtSeriesGeneralOptions.GwtStates.GwtHover; +import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtPlotOptions.GwtSplineOptions; +import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtPointOptions; +import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtPointOptions.GwtPointEvents; +import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtPosition; +import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtSeriesDataOptions; +import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtSubtitleOptions; +import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtTitleBaseOptions; +import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtTitleOptions; +import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtTooltipOptions; +import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtTooltipCrosshairs; +import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtXAxisOptions; +import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtXAxisOptions.GwtDateTimeLabelFormats; +import com.invient.vaadin.charts.widgetset.client.ui.GwtInvientChartsConfig.GwtYAxisOptions; +import com.vaadin.terminal.gwt.client.ApplicationConnection; +import com.vaadin.terminal.gwt.client.Paintable; +import com.vaadin.terminal.gwt.client.UIDL; +import com.vaadin.terminal.gwt.client.VConsole; + +/** + * Client side widget which communicates with the server. Messages from the + * server are shown as HTML and mouse clicks are sent to the server. + * + * Reads data from UIDL and create appropriate JavaScript overlay objects such + * as {@link GwtChart}, {@link GwtAxis}, {@link GwtInvientChartsConfig}, + * {@link GwtPoint} and {@link GwtSeries} + * + * Uses a method newChart() of {@link GwtInvientChartsUtil} to create a chart + * object of type {@link GwtChart} + * + * @author Invient + */ +public class VInvientCharts extends GwtInvientCharts implements Paintable /* + * , + * ClickHandler + * , + * ScrollHandler + */{ + + private static final long serialVersionUID = -762763091427791681L; + + /** Set the CSS class name to allow styling. */ + public static final String CLASSNAME = "v-invientcharts"; + + /** The client side widget identifier */ + protected String uidlId; + + /** Reference to the server connection object. */ + protected ApplicationConnection client; + + /** + * The constructor should first call super() to initialize the component and + * then handle any initialization relevant to Vaadin. + */ + public VInvientCharts() { + super(); + setStyleName(CLASSNAME); + publish(); + } + + /** + * Called whenever an update is received from the server + */ + public void updateFromUIDL(UIDL uidl, ApplicationConnection client) { + VConsole.log("Enter [updateFromUIDL]"); + // This call should be made first. + // It handles sizes, captions, tooltips, etc. automatically. + if (client.updateComponent(this, uidl, true)) { + // If client.updateComponent returns true there has been no changes + // and we + // do not need to update anything. + return; + } + + // Save reference to server connection object to be able to send + // user interaction later + this.client = client; + + // Save the client side identifier (paintable id) for the widget + uidlId = uidl.getId(); + + // Create chart only once along with chart options + // Chart options are set only once. + if (chart == null) { + // Chart options + GwtInvientChartsConfig options = getInvientChartOptions(uidl + .getChildUIDL(ChartUIDLIndex.OPTIONS.ordinal())); + // Chart events + updateOptionsWithEvents(options, + uidl.getChildUIDL(ChartUIDLIndex.EVENTS.ordinal())); + // Chart data + JsArray chartData = getChartData(uidl + .getChildUIDL(ChartUIDLIndex.DATA.ordinal())); + options.setSeriesInstanceOptions(chartData); + VConsole.log("Going to create a chart."); + createChart(options); + } else { + resetRedrawChart(); + if (uidl.getBooleanAttribute("reloadChartSeries")) { + // Get all series and add them to chart + JsArray chartData = getChartData(uidl + .getChildUIDL(ChartUIDLIndex.DATA.ordinal())); + int seriesCount = chart.getSeries().length(); + VConsole.log("# of series the chart has " + seriesCount); + VConsole.log("Going to remove all series of the chart."); + for (int ind = seriesCount - 1; ind >= 0; ind--) { + setRedrawChart(); + chart.getSeries().get(ind).remove(false); + } + VConsole.log("Goint to add series to the chart."); + for (int ind = 0; ind < chartData.length(); ind++) { + setRedrawChart(); + chart.addSeries(chartData.get(ind), false); + } + } else { + VConsole.log("Going to update chart data."); + UIDL chartDataUIDL = uidl.getChildUIDL(ChartUIDLIndex.DATA + .ordinal()); + UIDL chartDataUpdatesUIDL = uidl + .getChildUIDL(ChartUIDLIndex.DATA_UPDATES.ordinal()); + updateChartData(chartDataUpdatesUIDL, chartDataUIDL); + } + + // Options UIDL + UIDL optionsUIDL = uidl.getChildUIDL(ChartUIDLIndex.OPTIONS + .ordinal()); + // Update chart title & subtitle + setChartTitleAndSubtitle(optionsUIDL); + // Size + setChartSize(optionsUIDL); + + VConsole.log("Getting x-axis options..."); + JsArray uidlXAxesOptionsArr = getXAxisOptions(optionsUIDL + .getChildUIDL(ChartOptionsUIDLIndex.X_AXES.ordinal())); + JsArray chartXAxesOptionsArr = JavaScriptObject + .createArray().cast(); + JsArray chartXAxesArr = chart.getXAxes(); + if (chart.getOptions().hasXAxesOptions()) { + chartXAxesOptionsArr = chart.getOptions().getXAxesOptions(); + updateXAxisCategories(chartXAxesArr, chartXAxesOptionsArr, + uidlXAxesOptionsArr); + } + updateAxesPlotBandsAndPlotLines(chartXAxesArr, + chartXAxesOptionsArr, uidlXAxesOptionsArr); + + VConsole.log("Getting y-axis options..."); + JsArray uidlYAxesOptionsArr = getYAxisOptions(optionsUIDL + .getChildUIDL(ChartOptionsUIDLIndex.Y_AXES.ordinal())); + JsArray chartYAxesOptionsArr = JavaScriptObject + .createArray().cast(); + if (chart.getOptions().hasYAxesOptions()) { + chartYAxesOptionsArr = chart.getOptions().getYAxesOptions(); + } + JsArray chartYAxesArr = chart.getYAxes(); + updateAxesPlotBandsAndPlotLines(chartYAxesArr, + chartYAxesOptionsArr, uidlYAxesOptionsArr); + // Update axis extremes + if (chart.getOptions().hasXAxesOptions() + || chart.getOptions().hasYAxesOptions()) { + updateAxisExtremes(chart.getXAxes(), chartXAxesOptionsArr, + uidlXAxesOptionsArr); + updateAxisExtremes(chart.getYAxes(), chartYAxesOptionsArr, + uidlYAxesOptionsArr); + } + if (isRedrawChart()) { + VConsole.log("Going to redraw the chart."); + chart.redraw(); + } + } + // Get SVG if required and send it to server + handleChartSVG(uidl); + handlePrint(uidl); + VConsole.log("Exit [updateFromUIDL]"); + } + + // Set title & subtitle + private void setChartTitleAndSubtitle(UIDL optionsUIDL) { + VConsole.log("Enter [setChartTitleAndSubtitle]"); + // There is not need to set redrawChart flag as setting title & subtitle + // does not require redrawing of the chart. + chart.setTitle( + getTitleOptions(optionsUIDL + .getChildUIDL(ChartOptionsUIDLIndex.TITLE.ordinal())), + getSubtitleOptions(optionsUIDL + .getChildUIDL(ChartOptionsUIDLIndex.SUBTITLE.ordinal()))); + VConsole.log("Exit [setChartTitleAndSubtitle]"); + } + + // Set chart size + private void setChartSize(UIDL optionsUIDL) { + // There is not need to set redrawChart flag as setting title & subtitle + // does not require redrawing of the chart. + GwtChartOptions chartOptions = getChartOptions(optionsUIDL + .getChildUIDL(ChartOptionsUIDLIndex.CHART_CONFIG.ordinal())); + int newWidth = chartOptions.getWidth(); + int newHeight = chartOptions.getHeight(); + updateChartSize(newWidth, newHeight); + } + + private void updateChartSize(int newWidth, int newHeight) { + int existingWidth = chart.getOptions().getChartOptions().getWidth(); + int existingHeight = chart.getOptions().getChartOptions().getHeight(); + + if ((newWidth != -1 && newWidth != existingWidth) + || (newHeight != -1 && newHeight != existingHeight)) { + VConsole.log("Set chart size."); + chart.getOptions().getChartOptions().setWidth(newWidth); + chart.getOptions().getChartOptions().setHeight(newHeight); + chart.setSize(newWidth, newHeight); + } + } + + /** + * {@inheritDoc} + */ + @Override + public void setHeight(String height) { + super.setHeight(height); + updateChartSize(); + } + + /** + * {@inheritDoc} + */ + @Override + public void setWidth(String width) { + super.setWidth(width); + updateChartSize(); + } + + private void updateChartSize() { + if (chart != null) { + updateChartSize(getElement().getOffsetWidth(), getElement().getOffsetHeight()); + } + } + + private void handlePrint(UIDL uidl) { + boolean isPrint = uidl.getBooleanAttribute("isPrint"); + if (isPrint) { + VConsole.log("Going to print the chart..."); + chart.printInvientChart(); + } + } + + private void handleChartSVG(UIDL uidl) { + boolean isRetrieveSVG = uidl.getBooleanAttribute("isRetrieveSVG"); + if (isRetrieveSVG) { + VConsole.log("Get an svg string..."); + String svg = chart.getSVG(null); + // send svg to server + client.updateVariable(uidlId, "event", "chartSVGAvailable", false); + Map eventData = new HashMap(); + eventData.put("svg", svg); + client.updateVariable(uidlId, "eventData", eventData, true); + } + } + + private void updateXAxisCategories(JsArray chartAxesArr, + JsArray chartXAxesOptionsArr, + JsArray uidlXAxesOptionsArr) { + VConsole.log("Enter [updateXAxisCategories]"); + if (chartXAxesOptionsArr == null || chartXAxesOptionsArr.length() == 0) { + VConsole.log("Chart doesn't have any X axis]"); + VConsole.log("Exit [updateXAxisCategories]"); + return; + } + int noOfAxis = chartXAxesOptionsArr.length(); + for (int ind = 0; ind < noOfAxis; ind++) { + GwtAxis chartAxis = chartAxesArr.get(ind); + GwtXAxisOptions chartAxisOptions = chartXAxesOptionsArr.get(ind); + GwtXAxisOptions uidlAxisOptions = uidlXAxesOptionsArr.get(ind); + if (chartAxis != null && chartAxisOptions != null + && uidlAxisOptions != null) { + // If axis + if (!areStringArraysEqual(uidlAxisOptions.getCategories(), + chartAxis.getCategories())) { + setRedrawChart(); + chartAxisOptions.setCategories(uidlAxisOptions + .getCategories()); + chartAxis.setCategories(uidlAxisOptions.getCategories(), + false); + } + } + } + VConsole.log("Exit [updateXAxisCategories]"); + } + + private boolean areStringArraysEqual(JsArrayString arrOne, + JsArrayString arrTwo) { + if (arrOne == arrTwo) { + return true; + } + if ((arrOne != null && arrTwo == null) + || (arrOne == null && arrTwo != null)) { + return false; + } + if (arrOne.length() != arrTwo.length()) { + return false; + } + // Compare each array element + for (int arrInd = 0; arrInd < arrOne.length(); arrInd++) { + String arrOneVal = arrOne.get(arrInd); + String arrTwoVal = arrTwo.get(arrInd); + if (arrOneVal == null) { + if (arrTwoVal != null) { + return false; + } + } + else if(!arrOneVal.equals(arrTwoVal)) { + return false; + } + } + + return true; + } + + private void updateAxisExtremes(JsArray chartAxesArr, + JsArray chartAxesOptionsArr, + JsArray uidlAxesOptionsArr) { + VConsole.log("Enter [updateAxisExtremes]"); + if (chartAxesOptionsArr == null || chartAxesOptionsArr.length() == 0) { + VConsole.log("Chart doesn't have any X/Y axis]"); + VConsole.log("Exit [updateAxisExtremes]"); + return; + } + int noOfAxis = chartAxesOptionsArr.length(); + for (int ind = 0; ind < noOfAxis; ind++) { + GwtAxis chartAxis = chartAxesArr.get(ind); + GwtAxisBaseOptions chartAxisOptions = chartAxesOptionsArr.get(ind); + GwtAxisBaseOptions uidlAxisOptions = uidlAxesOptionsArr.get(ind); + if (chartAxis != null && chartAxisOptions != null + && uidlAxisOptions != null) { + double uidlMin = uidlAxisOptions.getMin(); + double uidlMax = uidlAxisOptions.getMax(); + double chartMin = chartAxisOptions.getMin(); + double chartMax = chartAxisOptions.getMax(); + // Update chart's axis options as + // it is not updated when extremes are set using + // axis.setExtremes() + if (uidlMin != chartMin) { + setRedrawChart(); + chartAxisOptions.setMin(uidlMin); + } + if (uidlMax != chartMax) { + setRedrawChart(); + chartAxisOptions.setMax(uidlMax); + } + VConsole.log("[updateAxisExtremes] min " + chartAxisOptions.getMin() + ", max " + chartAxisOptions.getMax()); + chartAxis.setExtremes(chartAxisOptions.getMin(), chartAxisOptions.getMax(), false); + } + } + VConsole.log("Exit [updateAxisExtremes]"); + } + + private enum ChartUIDLIndex { + OPTIONS, DATA, EVENTS, DATA_UPDATES; + } + + private enum ChartOptionsUIDLIndex { + TITLE, SUBTITLE, CREDIT, LEGEND, TOOLTIP, CHART_CONFIG, SERIES_OPTIONS, X_AXES, Y_AXES, LABEL, CROSSHAIRS; + } + + private void updateAxesPlotBandsAndPlotLines( + JsArray chartAxesArr, + JsArray chartAxesOptionsArr, + JsArray uidlAxesOptionsArr) { + VConsole.log("Enter [updateAxesPlotBandsAndPlotLines]"); + int noOfAxis = chartAxesArr.length(); + for (int ind = 0; ind < noOfAxis; ind++) { + GwtAxis chartAxis = chartAxesArr.get(ind); + GwtAxisBaseOptions chartAxisOptions = chartAxesOptionsArr.get(ind); + GwtAxisBaseOptions uidlAxisOptions = uidlAxesOptionsArr.get(ind); + if (chartAxis != null && chartAxisOptions != null + && uidlAxisOptions != null) { + updatePlotBands(chartAxis, chartAxisOptions, uidlAxisOptions); + updatePlotLines(chartAxis, chartAxisOptions, uidlAxisOptions); + } + } + VConsole.log("Exit [updateAxesPlotBandsAndPlotLines]"); + } + + // + private void updatePlotLines(GwtAxis chartAxis, + GwtAxisBaseOptions chartAxisOptions, + GwtAxisBaseOptions uidlAxisOptions) { + VConsole.log("Enter [updatePlotLines]"); + // Update chartAxisPlotBands whenever a plotline is added or removed as + // the library + // does not update chart options by itself. + JsArray chartAxisPlotLines = chartAxisOptions + .getPlotLines(); + JsArray uidlAxisPlotLines = uidlAxisOptions + .getPlotLines(); + if (uidlAxisPlotLines == null && chartAxisPlotLines == null) { + VConsole.log("No plotlines found."); + VConsole.log("Exit [updatePlotLines]"); + return; + } + if (uidlAxisPlotLines == null) { + uidlAxisPlotLines = JavaScriptObject.createArray().cast(); + } + if (chartAxisPlotLines == null) { + chartAxisPlotLines = JavaScriptObject.createArray().cast(); + } + JsArray updatedChartAxisPlotLines = JavaScriptObject + .createArray().cast(); + int numOfChartAxisPlotLines = chartAxisPlotLines.length(); + int numOfUIDLAxisPlotLines = uidlAxisPlotLines.length(); + boolean updatedAxisPlotLines = false; + for (int indOuter = 0; indOuter < numOfChartAxisPlotLines; indOuter++) { + GwtPlotLines chartPlotLine = chartAxisPlotLines.get(indOuter); + String plotLineId = chartPlotLine.getId(); + boolean found = false; + for (int indInner = 0; indInner < numOfUIDLAxisPlotLines; indInner++) { + GwtPlotLines uidlPlotLine = uidlAxisPlotLines.get(indInner); + if (uidlPlotLine != null + && uidlPlotLine.getId().equals(plotLineId)) { + if (uidlPlotLine.getValue() == chartPlotLine.getValue()) { + // PlotLine exists and value is same so no action should + // be taken except marking UIDL PlotLine to null. + // Setting UIDL PlotLine + // to null ensures that remaining PlotLines in UIDL can + // be added + // safely to the chart. + uidlAxisPlotLines.set(indInner, null); + updatedChartAxisPlotLines.push(chartPlotLine); + found = true; + } + break; + } + } + if (!found) { + // remove plot line as it is not found in UIDL received from the + // server + updatedAxisPlotLines = true; + chartAxis.removePlotLine(plotLineId); + } + } + // Add all remaining plot lines in UIDL to the chart + for (int ind = 0; ind < numOfUIDLAxisPlotLines; ind++) { + GwtPlotLines uidlPlotLine = uidlAxisPlotLines.get(ind); + if (uidlPlotLine != null) { + updatedAxisPlotLines = true; + chartAxis.addPlotLine(uidlPlotLine); + updatedChartAxisPlotLines.push(uidlPlotLine); + } + } + + // Update chart axis plotlines + if (updatedAxisPlotLines) { + setRedrawChart(); + chartAxisOptions.setPlotLines(updatedChartAxisPlotLines); + } + VConsole.log("Exit [updatePlotLines]"); + } + + // + private void updatePlotBands(GwtAxis chartAxis, + GwtAxisBaseOptions chartAxisOptions, + GwtAxisBaseOptions uidlAxisOptions) { + VConsole.log("Enter [updatePlotBands]"); + // Update chartAxisPlotBands whenever a plotband is added or removed as + // the library + // does not update chart options by itself. + JsArray chartAxisPlotBands = chartAxisOptions + .getPlotBands(); + JsArray uidlAxisPlotBands = uidlAxisOptions + .getPlotBands(); + if (uidlAxisPlotBands == null && chartAxisPlotBands == null) { + VConsole.log("No plotbands found."); + VConsole.log("Exit [updatePlotBands]"); + return; + } + if (uidlAxisPlotBands == null) { + uidlAxisPlotBands = JavaScriptObject.createArray().cast(); + } + if (chartAxisPlotBands == null) { + chartAxisPlotBands = JavaScriptObject.createArray().cast(); + } + JsArray updatedChartAxisPlotBands = JavaScriptObject + .createArray().cast(); + int numOfChartAxisPlotBands = chartAxisPlotBands.length(); + int numOfUIDLAxisPlotBands = uidlAxisPlotBands.length(); + boolean updatedAxisPlotBands = false; + for (int indOuter = 0; indOuter < numOfChartAxisPlotBands; indOuter++) { + GwtPlotBands chartPlotBand = chartAxisPlotBands.get(indOuter); + String plotBandId = chartPlotBand.getId(); + boolean found = false; + for (int indInner = 0; indInner < numOfUIDLAxisPlotBands; indInner++) { + GwtPlotBands uidlPlotBand = uidlAxisPlotBands.get(indInner); + if (uidlPlotBand != null + && uidlPlotBand.getId().equals(plotBandId)) { + if (chartPlotBand.getFrom() == uidlPlotBand.getFrom() + && chartPlotBand.getTo() == uidlPlotBand.getTo()) { + VConsole.log("Plotband id " + + plotBandId + + " exists in chart as well as in UIDL from the server."); + // PlotBand exists and from/to values are same so + // nothing to be done. + // The UIDL plotband is set to null so that remaining + // plotbands + // can be safely added to the chart + uidlAxisPlotBands.set(indInner, null); + updatedChartAxisPlotBands.push(chartPlotBand); + VConsole.log("Plotband id " + plotBandId + + " exists in both."); + found = true; + } + break; + } + } + if (!found) { + // remove plot band as it is not found in UIDL received from the + // server + VConsole.log("Plotband id " + plotBandId + " removed."); + updatedAxisPlotBands = true; + chartAxis.removePlotBand(plotBandId); + } + } + // Add all remaining plot bands in UIDL to the chart + for (int ind = 0; ind < numOfUIDLAxisPlotBands; ind++) { + GwtPlotBands uidlPlotBand = uidlAxisPlotBands.get(ind); + if (uidlPlotBand != null) { + updatedAxisPlotBands = true; + VConsole.log("Plotband id " + uidlPlotBand.getId() + + " added with from : " + uidlPlotBand.getFrom() + + " and to: " + uidlPlotBand.getTo()); + chartAxis.addPlotBand(uidlPlotBand); + updatedChartAxisPlotBands.push(uidlPlotBand); + } + } + + // Update chart axis plotbands + if (updatedAxisPlotBands) { + setRedrawChart(); + chartAxisOptions.setPlotBands(updatedChartAxisPlotBands); + } + VConsole.log("Exit [updatePlotBands]"); + } + + private boolean redrawChart = false; + + private void setRedrawChart() { + this.redrawChart = true; + } + + private boolean isRedrawChart() { + return this.redrawChart; + } + + private void resetRedrawChart() { + this.redrawChart = false; + } + + private void updateChartData(UIDL uidlChartDataUpdates, UIDL uidlChartData) { + VConsole.log("Enter [updateChartData]"); + JsArrayString seriesToAdd = JavaScriptObject.createArray().cast(); + JsArrayString seriesToUpdate = JavaScriptObject.createArray().cast(); + List seriesToUpdateList = new ArrayList(); + for (int ind = 0; ind < uidlChartDataUpdates.getChildCount(); ind++) { + UIDL seriesUpdateUIDL = uidlChartDataUpdates.getChildUIDL(ind); + String seriesName = seriesUpdateUIDL + .getStringAttribute("seriesName"); + String operation = seriesUpdateUIDL.getStringAttribute("operation"); + VConsole.log("Series name : " + seriesName + ", operation : " + + operation); + if (seriesName != null && seriesName.length() > 0 + && operation != null && operation.length() > 0) { + if (SeriesCURType.REMOVE.getName().equals(operation)) { + GwtSeries series = chart.getSeries(seriesName); + if (series != null) { + VConsole.log("Removing series : " + seriesName); + setRedrawChart(); + series.remove(false); + } + } else if (SeriesCURType.ADD.getName().equals(operation)) { + seriesToAdd.push(seriesName); + } else if (SeriesCURType.UPDATE.getName().equals(operation)) { + VConsole.log("Will update series : " + seriesName); + seriesToUpdateList.add(seriesUpdateUIDL); + seriesToUpdate.push(seriesName); + } + } + } + + if (seriesToAdd.length() > 0) { + setRedrawChart(); + JsArray uidlChartDataArr = getChartData( + uidlChartData, seriesToAdd); + for (int ind = 0; ind < uidlChartDataArr.length(); ind++) { + VConsole.log("Adding series " + + uidlChartDataArr.get(ind).getName()); + chart.addSeries(uidlChartDataArr.get(ind), false); + } + } + if (seriesToUpdateList.size() > 0) { + setRedrawChart(); + JsArray uidlChartDataArr = getChartData( + uidlChartData, seriesToUpdate); + for (int ind = 0; ind < seriesToUpdateList.size(); ind++) { + UIDL uidlSeriesToUpdate = seriesToUpdateList.get(ind); + GwtSeriesDataOptions uidlSeriesDataOptions = uidlChartDataArr + .get(ind); + GwtSeries chartSeries = chart.getSeries(uidlSeriesDataOptions + .getName()); + GwtSeriesGeneralOptions chartSeriesOptions = chartSeries + .getSeriesGeneralOptions(); + GwtSeriesGeneralOptions uidlSeriesOptions = uidlSeriesDataOptions + .getSeriesOptions(); + // Update visibility + boolean isVisible = (uidlSeriesOptions != null ? uidlSeriesOptions + .isVisible() : true); + chartSeriesOptions.setVisible(isVisible); + if (chartSeriesOptions.isVisible() == true + && chartSeries.isVisible() == false) { + chartSeries.show(); + } + if (chartSeriesOptions.isVisible() == false + && chartSeries.isVisible() == true) { + chartSeries.hide(); + } + // Update points + if (uidlSeriesToUpdate.getBooleanAttribute("isReloadPoints")) { + // update all points + VConsole.log("Reloading points for series : " + + uidlSeriesToUpdate.getStringAttribute("name")); + chartSeries.setDataAsPointOptions( + uidlSeriesDataOptions.getDataAsPointOptions(), + false); + } else { + UIDL uidlPointsAdded = uidlSeriesToUpdate.getChildUIDL(0); + UIDL uidlPointsRemoved = uidlSeriesToUpdate.getChildUIDL(1); + updateSeriesData(chartSeries, uidlPointsAdded, + uidlPointsRemoved); + } + } + } + + VConsole.log("Exit [updateChartData]"); + } + + private void updateSeriesData(GwtSeries chartSeries, UIDL uidlPointsAdded, + UIDL uidlPointsRemoved) { + VConsole.log("Enter [updateSeriesData]"); + if (uidlPointsAdded != null && uidlPointsAdded.getChildCount() > 0) { + // Add points + JsArray pointsTobeAdded = getSeriesPoints(uidlPointsAdded); + VConsole.log("# of points to be added : " + + pointsTobeAdded.length()); + for (int cnt = 0; cnt < pointsTobeAdded.length(); cnt++) { + GwtPointOptions pointOptions = pointsTobeAdded.get(cnt); + chartSeries.addPoint(pointOptions, false, + pointOptions.isShift()); + } + } + + if (uidlPointsRemoved != null && uidlPointsRemoved.getChildCount() > 0) { + // Remove points + JsArray pointsTobeRemoved = getSeriesPoints(uidlPointsRemoved); + VConsole.log("# of points to be removed : " + + pointsTobeRemoved.length()); + JsArray chartSeriesData = chartSeries.getData(); + for (int cnt = 0; cnt < pointsTobeRemoved.length(); cnt++) { + GwtPointOptions pointToRemove = pointsTobeRemoved.get(cnt); + for (int chartPointCnt = 0; chartPointCnt < chartSeriesData + .length(); chartPointCnt++) { + GwtPoint chartSeriesPoint = chartSeriesData + .get(chartPointCnt); + // Using Double.compareTo(another Double) does not result in + // appr. code which can be executed in JS correctly. + // e.g. x.compareTo(y) results in compare(x.value, y.value) + // where x.value is undefined in JS, + // Don't know the reason yet but will figure out. So do a + // direct comparison + if (chartSeriesPoint.getX() == pointToRemove.getX() + && chartSeriesPoint.getY() == pointToRemove.getY()) { + VConsole.log("Removing point (" + + chartSeriesPoint.getX() + ", " + + chartSeriesPoint.getY() + ")"); + chartSeriesPoint.remove(); + break; + } + } + } + } + VConsole.log("Exit [updateSeriesData]"); + } + + private static enum SeriesCURType { + ADD("Add"), UPDATE("Update"), REMOVE("Remove"); + private String name; + + private SeriesCURType(String name) { + this.name = name; + } + + public String getName() { + return this.name; + } + } + + private JsArray getChartData(UIDL uidl) { + return getChartData(uidl, null); + } + + private boolean doesArrayContainSeriesName( + JsArrayString namesOfSeriesToAdd, String seriesName) { + for (int ind = 0; ind < namesOfSeriesToAdd.length(); ind++) { + if (seriesName.equals(namesOfSeriesToAdd.get(ind))) { + return true; + } + } + return false; + } + + private JsArray getChartData(UIDL uidl, + JsArrayString namesOfSeriesToAdd) { + VConsole.log("Enter [getChartData]"); + + JsArray seriesDataArr = JavaScriptObject + .createArray().cast(); + // Process each series data + for (int cnt = 0; cnt < uidl.getChildCount(); cnt++) { + GwtSeriesDataOptions seriesData = GwtSeriesDataOptions.create(); + UIDL seriesUIDL = uidl.getChildUIDL(cnt); + String seriesName = seriesUIDL.getStringAttribute("name"); + if (seriesName != null && namesOfSeriesToAdd != null) { + if (!doesArrayContainSeriesName(namesOfSeriesToAdd, seriesName)) { + continue; + } + } + // From charts series data retrieve only those series data + // whose names are specified in the second argument + if (seriesUIDL.hasAttribute("name")) { + // Setting name automatically sets series id which can later be + // used to retrieve using chart.get(id); + seriesData.setName(seriesName); + } + if (seriesUIDL.hasAttribute("stack")) { + seriesData.setStack(seriesUIDL.getStringAttribute("stack")); + } + // FIXME - fallback on chart options type if series doesn't have a + // type + String seriesType = "line"; + if (seriesUIDL.hasAttribute("type")) { + seriesType = seriesUIDL.getStringAttribute("type"); + seriesData.setType(seriesType); + } + if (seriesUIDL.hasAttribute("xAxis")) { + seriesData.setXAxis(seriesUIDL.getIntAttribute("xAxis")); + } + if (seriesUIDL.hasAttribute("yAxis")) { + seriesData.setYAxis(seriesUIDL.getIntAttribute("yAxis")); + } + // Get data/points + seriesData.setDataAsPointOptions(getSeriesPoints(seriesUIDL + .getChildUIDL(1))); + // Get series options + GwtSeriesGeneralOptions seriesOptions = getSeriesOptions( + seriesType, seriesUIDL.getChildUIDL(0)); + if (seriesOptions != null) { + seriesData.setSeriesOptions(seriesOptions); + } + + seriesDataArr.push(seriesData); + } + + VConsole.log("Exit [getChartData]"); + return seriesDataArr; + } + + private JsArray getSeriesPoints(UIDL pointsUIDL) { + VConsole.log("Enter [getSeriesPoints]"); + + JsArray pointsArr = JavaScriptObject.createArray() + .cast(); + for (int cnt = 0; cnt < pointsUIDL.getChildCount(); cnt++) { + UIDL pointUIDL = pointsUIDL.getChildUIDL(cnt); + GwtPointOptions pointOptions = GwtPointOptions.create(); + // If a point doesn't have any attributes then + // consider it as a null since a user might want to represent + // no activity graph + if (pointUIDL.getAttributeNames().size() == 0) { + pointOptions.setNullY(); + } else { + if (pointUIDL.hasAttribute("id")) { + pointOptions.setId(pointUIDL.getStringAttribute("id")); + } + if (pointUIDL.hasAttribute("name")) { + pointOptions.setName(pointUIDL.getStringAttribute("name")); + } + if (pointUIDL.hasAttribute("color")) { + pointOptions + .setColor(pointUIDL.getStringAttribute("color")); + } + if (pointUIDL.hasAttribute("sliced")) { + pointOptions.setSliced(pointUIDL + .getBooleanAttribute("sliced")); + } + if (pointUIDL.hasAttribute("selected")) { + pointOptions.setSelected(pointUIDL + .getBooleanAttribute("selected")); + } + if (pointUIDL.hasAttribute("x")) { + pointOptions.setX(pointUIDL.getIntAttribute("x")); + } else { + pointOptions.setNullX(); + } + if (pointUIDL.hasAttribute("y")) { + pointOptions.setY(pointUIDL.getIntAttribute("y")); + } else { + pointOptions.setNullY(); + } + if (pointUIDL.hasAttribute("isShift")) { + pointOptions.setShift(pointUIDL + .getBooleanAttribute("isShift")); + } + GwtMarker markerOptions = getMarkerOptions(pointUIDL + .getChildUIDL(0)); + if (markerOptions != null) { + pointOptions.setMarker(markerOptions); + } + } + pointsArr.push(pointOptions); + } + + VConsole.log("Exit [getSeriesPoints]"); + return pointsArr; + } + + private GwtInvientChartsConfig getInvientChartOptions(UIDL uidl) { + VConsole.log("Enter [getInvientChartOptions]"); + VConsole.log("Child UIDL count : " + uidl.getChildCount()); + GwtInvientChartsConfig options = GwtInvientChartsConfig.create(); + // Get title UIDL + VConsole.log("Getting title options..."); + // Title + options.setTitleOptions(getTitleOptions(uidl + .getChildUIDL(ChartOptionsUIDLIndex.TITLE.ordinal()))); + + VConsole.log("Getting subtitle options..."); + // Subtitle + options.setSubtitleOptions(getSubtitleOptions(uidl + .getChildUIDL(ChartOptionsUIDLIndex.SUBTITLE.ordinal()))); + // Credit + options.setCreditOptions(getCreditOptions(uidl + .getChildUIDL(ChartOptionsUIDLIndex.CREDIT.ordinal()))); + // Legend + options.setLegendOptions(getLegendOptions(uidl + .getChildUIDL(ChartOptionsUIDLIndex.LEGEND.ordinal()))); + // Tooltip + options.setTooltipOptions(getTooltipOptions(uidl + .getChildUIDL(ChartOptionsUIDLIndex.TOOLTIP.ordinal()))); + + // Then DEMO application + VConsole.log("Getting chart options..."); + // Chart Options + options.setChartOptions(getChartOptions(uidl + .getChildUIDL(ChartOptionsUIDLIndex.CHART_CONFIG.ordinal()))); + + VConsole.log("Getting plot options..."); + // Plot Options for various series types + options.setPlotOptions(getPlotOptions(uidl + .getChildUIDL(ChartOptionsUIDLIndex.SERIES_OPTIONS.ordinal()))); + + VConsole.log("Getting x-axis options..."); + JsArray xAxisOptions = getXAxisOptions(uidl + .getChildUIDL(ChartOptionsUIDLIndex.X_AXES.ordinal())); + if (xAxisOptions.length() > 0) { + options.setXAxesOptions(xAxisOptions); + } + + VConsole.log("Getting y-axis options..."); + JsArray yAxisOptions = getYAxisOptions(uidl + .getChildUIDL(ChartOptionsUIDLIndex.Y_AXES.ordinal())); + if (yAxisOptions.length() > 0) { + options.setYAxesOptions(yAxisOptions); + } + + VConsole.log("Getting chart labels..."); + GwtChartLabels labels = getChartLabels(uidl + .getChildUIDL(ChartOptionsUIDLIndex.LABEL.ordinal())); + if (labels != null) { + options.setLabels(labels); + } + + VConsole.log("Exit [getInvientChartOptions]"); + return options; + } + + private GwtChartLabels getChartLabels(UIDL uidl) { + VConsole.log("Enter [getChartLabels]"); + VConsole.log("Tag name -> " + uidl.getTag()); + if ((uidl.getAttributeNames().size() == 0 && uidl.getChildCount() == 0) + || (uidl.getAttributeNames().size() > 0 && uidl.getChildCount() == 0)) { + VConsole.log("Exit [getChartLabels]"); + return null; + } + UIDL labelItemsUIDL = uidl.getChildUIDL(0); + if (labelItemsUIDL.getChildCount() == 0) { + VConsole.log("Exit [getChartLabels]"); + return null; + } + + GwtChartLabels labels = GwtChartLabels.create(); + if (uidl.hasAttribute("style")) { + labels.setStyle(uidl.getStringAttribute("style")); + } + + JsArray chartLabelItemsArr = JavaScriptObject + .createArray().cast(); + for (int cnt = 0; cnt < labelItemsUIDL.getChildCount(); cnt++) { + UIDL labelItemUIDL = labelItemsUIDL.getChildUIDL(cnt); + if (labelItemUIDL.hasAttribute("html") + || labelItemUIDL.hasAttribute("style")) { + GwtChartLabelItem labelItem = GwtChartLabelItem.create(); + if (labelItemUIDL.hasAttribute("html")) { + labelItem.setHtml(labelItemUIDL.getStringAttribute("html")); + } + // + if (labelItemUIDL.hasAttribute("style")) { + labelItem.setStyle(labelItemUIDL + .getStringAttribute("style")); + } + chartLabelItemsArr.push(labelItem); + } + } + labels.setItems(chartLabelItemsArr); + VConsole.log("Exit [getChartLabels]"); + return labels; + } + + private GwtCreditOptions getCreditOptions(UIDL uidl) { + VConsole.log("Enter [getCreditOptions]"); + VConsole.log("Tag name -> " + uidl.getTag()); + GwtCreditOptions creditOptions = GwtCreditOptions.create(); + + if (uidl.hasAttribute("enabled")) { + creditOptions.setEnabled(uidl.getBooleanAttribute("enabled")); + } + if (uidl.hasAttribute("href")) { + creditOptions.setHref(uidl.getStringAttribute("href")); + } + if (uidl.hasAttribute("style")) { + creditOptions.setStyle(uidl.getStringAttribute("style")); + } + if (uidl.hasAttribute("text")) { + creditOptions.setText(uidl.getStringAttribute("text")); + } + UIDL positionUIDL = uidl.getChildUIDL(0); + GwtPosition position = GwtPosition.create(); + if (positionUIDL.hasAttribute("align")) { + position.setAlign(positionUIDL.getStringAttribute("align")); + } + if (positionUIDL.hasAttribute("verticalAlign")) { + position.setVerticalAlign(positionUIDL + .getStringAttribute("verticalAlign")); + } + if (positionUIDL.hasAttribute("x")) { + position.setX(positionUIDL.getIntAttribute("x")); + } + if (positionUIDL.hasAttribute("y")) { + position.setY(positionUIDL.getIntAttribute("y")); + } + creditOptions.setPosition(position); + + VConsole.log("Exit [getCreditOptions]"); + return creditOptions; + } + + private GwtLegendOptions getLegendOptions(UIDL uidl) { + VConsole.log("Enter [getLegendOptions]"); + VConsole.log("Tag name -> " + uidl.getTag()); + + GwtLegendOptions legendOptions = GwtLegendOptions.create(); + if (uidl.hasAttribute("align")) { + legendOptions.setAlign(uidl.getStringAttribute("align")); + } + if (uidl.hasAttribute("backgroundColor")) { + legendOptions.setBackgroundColor(uidl + .getStringAttribute("backgroundColor")); + } + if (uidl.hasAttribute("borderColor")) { + legendOptions + .setBorderColor(uidl.getStringAttribute("borderColor")); + } + if (uidl.hasAttribute("borderRadius")) { + legendOptions.setBorderRadius(uidl.getIntAttribute("borderRadius")); + } + if (uidl.hasAttribute("borderWidth")) { + legendOptions.setBorderWidth(uidl.getIntAttribute("borderWidth")); + } + if (uidl.hasAttribute("enabled")) { + legendOptions.setEnabled(uidl.getBooleanAttribute("enabled")); + } + if (uidl.hasAttribute("floating")) { + legendOptions.setFloating(uidl.getBooleanAttribute("floating")); + } + if (uidl.hasAttribute("itemHiddenStyle")) { + legendOptions.setItemHiddenStyle(uidl + .getStringAttribute("itemHiddenStyle")); + } + if (uidl.hasAttribute("itemHoverStyle")) { + legendOptions.setItemHoverStyle(uidl + .getStringAttribute("itemHoverStyle")); + } + if (uidl.hasAttribute("itemStyle")) { + legendOptions.setItemStyle(uidl.getStringAttribute("itemStyle")); + } + if (uidl.hasAttribute("itemWidth")) { + legendOptions.setItemWidth(uidl.getIntAttribute("itemWidth")); + } + if (uidl.hasAttribute("layout")) { + legendOptions.setLayout(uidl.getStringAttribute("layout")); + } + if (uidl.hasAttribute("labelFormatter")) { + legendOptions.setLabelFormatter(getExecutableFunction(uidl + .getStringAttribute("labelFormatter"))); + } + if (uidl.hasAttribute("margin")) { + legendOptions.setMargin(uidl.getIntAttribute("margin")); + } + if (uidl.hasAttribute("reversed")) { + legendOptions.setReversed(uidl.getBooleanAttribute("reversed")); + } + if (uidl.hasAttribute("shadow")) { + legendOptions.setShadow(uidl.getBooleanAttribute("shadow")); + } + if (uidl.hasAttribute("symbolPadding")) { + legendOptions.setSymbolPadding(uidl + .getIntAttribute("symbolPadding")); + } + if (uidl.hasAttribute("symbolWidth")) { + legendOptions.setSymbolWidth(uidl.getIntAttribute("symbolWidth")); + } + if (uidl.hasAttribute("verticalAlign")) { + legendOptions.setVerticalAlign(uidl + .getStringAttribute("verticalAlign")); + } + if (uidl.hasAttribute("width")) { + legendOptions.setWidth(uidl.getIntAttribute("width")); + } + if (uidl.hasAttribute("x")) { + legendOptions.setX(uidl.getIntAttribute("x")); + } + if (uidl.hasAttribute("y")) { + legendOptions.setY(uidl.getIntAttribute("y")); + } + + VConsole.log("Exit [getLegendOptions]"); + return legendOptions; + } + + private GwtTooltipOptions getTooltipOptions(UIDL uidl) { + VConsole.log("Enter [getTooltipOptions]"); + VConsole.log("Tag name -> " + uidl.getTag()); + GwtTooltipOptions tooltipOptions = GwtTooltipOptions.create(); + + if(uidl.getChildByTagName("crosshairs") != null) { + tooltipOptions + .setCrosshairs(getTooltipCrosshairs(uidl.getChildByTagName("crosshairs"))); + } + if (uidl.hasAttribute("backgroundColor")) { + tooltipOptions.setBackgroundColor(uidl + .getStringAttribute("backgroundColor")); + } + if (uidl.hasAttribute("borderColor")) { + tooltipOptions.setBorderColor(uidl + .getStringAttribute("borderColor")); + } + if (uidl.hasAttribute("borderRadius")) { + tooltipOptions + .setBorderRadius(uidl.getIntAttribute("borderRadius")); + } + if (uidl.hasAttribute("borderWidth")) { + tooltipOptions.setBorderWidth(uidl.getIntAttribute("borderWidth")); + } + if (uidl.hasAttribute("enabled")) { + tooltipOptions.setEnabled(uidl.getBooleanAttribute("enabled")); + } + if (uidl.hasAttribute("formatter")) { + tooltipOptions.setFormatter(getExecutableFunction(uidl + .getStringAttribute("formatter"))); + } + if (uidl.hasAttribute("shadow")) { + tooltipOptions.setShadow(uidl.getBooleanAttribute("shadow")); + } + if (uidl.hasAttribute("shared")) { + tooltipOptions.setShared(uidl.getBooleanAttribute("shared")); + } + if (uidl.hasAttribute("snap")) { + tooltipOptions.setSnap(uidl.getIntAttribute("snap")); + } + if (uidl.hasAttribute("style")) { + tooltipOptions.setStyle(uidl.getStringAttribute("style")); + } + if (uidl.hasAttribute("useHTML")) { + tooltipOptions.setUseHTML(uidl.getBooleanAttribute("useHTML")); + } + if (uidl.hasAttribute("headerFormat")) { + tooltipOptions.setHeaderFormat(uidl.getStringAttribute("headerFormat")); + } + if (uidl.hasAttribute("pointFormat")) { + tooltipOptions.setPointFormat(uidl.getStringAttribute("pointFormat")); + } + if (uidl.hasAttribute("footerFormat")) { + tooltipOptions.setFooterFormat(uidl.getStringAttribute("footerFormat")); + } + + VConsole.log("Exit [getTooltipOptions]"); + return tooltipOptions; + } + + private GwtTooltipCrosshairs getTooltipCrosshairs(UIDL uidl) { + VConsole.log("Enter [getTooltipCrosshairs]"); + VConsole.log("Tag name -> " + uidl.getTag()); + GwtTooltipCrosshairs crosshairs = GwtTooltipCrosshairs.create(); + if (uidl.hasAttribute("width")) { + crosshairs.setWidth(uidl.getDoubleAttribute("width")); + } + if (uidl.hasAttribute("color")) { + crosshairs.setColor(uidl.getStringAttribute("color")); + } + if (uidl.hasAttribute("dashStyle")) { + crosshairs.setDashstyle(uidl.getStringAttribute("dashStyle")); + } + if (uidl.hasAttribute("zIndex")) { + crosshairs.setZIndex(uidl.getIntAttribute("zIndex")); + } + VConsole.log("Exit [getTooltipCrosshairs]"); + return crosshairs; + } + + private GwtTitleOptions getTitleOptions(UIDL uidl) { + VConsole.log("Enter [getTitleOptions]"); + VConsole.log("Tag Name : " + uidl.getTag()); + GwtTitleOptions titleOptions = GwtTitleOptions.createTitleOptions(); + updateTitleBaseOptions(uidl, titleOptions); + + if (uidl.hasAttribute("margin")) { + titleOptions.setMargin(uidl.getIntAttribute("margin")); + } + + VConsole.log("Exit [getTitleOptions]"); + return titleOptions; + } + + private GwtSubtitleOptions getSubtitleOptions(UIDL uidl) { + VConsole.log("Enter [getSubtitleOptions]"); + VConsole.log("Tag Name : " + uidl.getTag()); + GwtSubtitleOptions subtitleOptions = GwtSubtitleOptions + .createSubtitleOptions(); + updateTitleBaseOptions(uidl, subtitleOptions); + VConsole.log("Exit [getTitleOptions]"); + return subtitleOptions; + } + + private void updateTitleBaseOptions(UIDL uidl, + GwtTitleBaseOptions titleBaseOptions) { + VConsole.log("Enter [updateTitleBaseOptions]"); + VConsole.log("Tag Name : " + uidl.getTag()); + if (uidl.hasAttribute("text")) { + titleBaseOptions.setText(uidl.getStringAttribute("text")); + } + if (uidl.hasAttribute("align")) { + titleBaseOptions.setAlign(uidl.getStringAttribute("align")); + } + if (uidl.hasAttribute("floating")) { + titleBaseOptions.setFloating(uidl.getBooleanAttribute("floating")); + } + if (uidl.hasAttribute("style")) { + titleBaseOptions.setStyle(uidl.getStringAttribute("style")); + } + if (uidl.hasAttribute("verticalAlign")) { + titleBaseOptions.setVerticalAlign(uidl + .getStringAttribute("verticalAlign")); + } + if (uidl.hasAttribute("x")) { + titleBaseOptions.setX(uidl.getIntAttribute("x")); + } + if (uidl.hasAttribute("y")) { + titleBaseOptions.setY(uidl.getIntAttribute("y")); + } + + VConsole.log("Exit [updateTitleBaseOptions]"); + } + + private GwtChartOptions getChartOptions(UIDL uidl) { + VConsole.log("Enter [getChartOptions]"); + VConsole.log("Tag Name : " + uidl.getTag()); + + GwtChartOptions chartOptions = GwtChartOptions.create(); + // DIV - A container for the InvientChart + chartOptions.setRenderTo(super.divId); + + if (uidl.hasAttribute("type")) { + chartOptions.setType(uidl.getStringAttribute("type")); + } + if (uidl.hasAttribute("width")) { + chartOptions.setWidth(uidl.getIntAttribute("width")); + } + if (uidl.hasAttribute("height")) { + chartOptions.setHeight(uidl.getIntAttribute("height")); + } + if (uidl.hasAttribute("backgroundColor")) { + chartOptions.setBackgroundColor(uidl + .getStringAttribute("backgroundColor")); + } + if (uidl.hasAttribute("borderColor")) { + chartOptions.setBorderColor(uidl.getStringAttribute("borderColor")); + } + if (uidl.hasAttribute("borderRadius")) { + chartOptions.setBorderRadius(uidl.getIntAttribute("borderRadius")); + } + if (uidl.hasAttribute("borderWidth")) { + chartOptions.setBorderWidth(uidl.getIntAttribute("borderWidth")); + } + if (uidl.hasAttribute("ignoreHiddenSeries")) { + chartOptions.setIgnoreHiddenSeries(uidl + .getBooleanAttribute("ignoreHiddenSeries")); + } + if (uidl.hasAttribute("inverted")) { + chartOptions.setInverted(uidl.getBooleanAttribute("inverted")); + } + if (uidl.hasAttribute("marginTop")) { + chartOptions.setMarginTop(uidl.getIntAttribute("marginTop")); + } + if (uidl.hasAttribute("marginLeft")) { + chartOptions.setMarginLeft(uidl.getIntAttribute("marginLeft")); + } + if (uidl.hasAttribute("marginRight")) { + chartOptions.setMarginRight(uidl.getIntAttribute("marginRight")); + } + if (uidl.hasAttribute("marginBottom")) { + chartOptions.setMarginBottom(uidl.getIntAttribute("marginBottom")); + } + if (uidl.hasAttribute("spacingTop")) { + chartOptions.setSpacingTop(uidl.getIntAttribute("spacingTop")); + } + if (uidl.hasAttribute("spacingLeft")) { + chartOptions.setSpacingLeft(uidl.getIntAttribute("spacingLeft")); + } + if (uidl.hasAttribute("spacingRight")) { + chartOptions.setSpacingRight(uidl.getIntAttribute("spacingRight")); + } + if (uidl.hasAttribute("spacingBottom")) { + chartOptions + .setSpacingBottom(uidl.getIntAttribute("spacingBottom")); + } + if (uidl.hasAttribute("showAxes")) { + chartOptions.setShowAxes(uidl.getBooleanAttribute("showAxes")); + } + if (uidl.hasAttribute("zoomType")) { + chartOptions.setZoomType(uidl.getStringAttribute("zoomType")); + } + if (uidl.hasAttribute("clientZoom")) { + chartOptions.setClientZoom(uidl.getBooleanAttribute("clientZoom")); + } + + if (uidl.hasAttribute("alignTicks")) { + chartOptions.setAlignTicks(uidl.getBooleanAttribute("alignTicks")); + } + if (uidl.hasAttribute("animation")) { + chartOptions.setAnimation(uidl.getBooleanAttribute("animation")); + } + if (uidl.hasAttribute("className")) { + chartOptions.setClassName(uidl.getStringAttribute("className")); + } + if (uidl.hasAttribute("plotBackgroundColor")) { + chartOptions.setPlotBackgroundColor(uidl + .getStringAttribute("plotBackgroundColor")); + } + if (uidl.hasAttribute("plotBorderColor")) { + chartOptions.setPlotBorderColor(uidl + .getStringAttribute("plotBorderColor")); + } + if (uidl.hasAttribute("plotBackgroundImage")) { + chartOptions.setPlotBackgroundImage(uidl + .getStringAttribute("plotBackgroundImage")); + } + if (uidl.hasAttribute("plotBorderWidth")) { + chartOptions.setPlotBorderWidth(uidl + .getIntAttribute("plotBorderWidth")); + } + if (uidl.hasAttribute("plotShadow")) { + chartOptions.setPlotShadow(uidl.getBooleanAttribute("plotShadow")); + } + if (uidl.hasAttribute("reflow")) { + chartOptions.setReflow(uidl.getBooleanAttribute("reflow")); + } + if (uidl.hasAttribute("shadow")) { + chartOptions.setShadow(uidl.getBooleanAttribute("shadow")); + } + if (uidl.hasAttribute("style")) { + chartOptions.setStyle(uidl.getStringAttribute("style")); + } + + VConsole.log("Exit [getChartOptions]"); + return chartOptions; + } + + private void updateBaseAxisOptions(UIDL axisUIDL, + GwtAxisBaseOptions axisBaseOptions) { + VConsole.log("Enter [updateBaseAxisOptions]"); + if (axisUIDL.hasAttribute("id")) { + axisBaseOptions.setId(axisUIDL.getStringAttribute("id")); + } + if (axisUIDL.hasAttribute("allowDecimals")) { + axisBaseOptions.setAllowDecimals(axisUIDL + .getBooleanAttribute("allowDecimals")); + } + if (axisUIDL.hasAttribute("alternateGridColor")) { + axisBaseOptions.setAlternateGridColor(axisUIDL + .getStringAttribute("alternateGridColor")); + } + if (axisUIDL.hasAttribute("endOnTick")) { + axisBaseOptions.setEndOnTick(axisUIDL + .getBooleanAttribute("endOnTick")); + } + // Grid + if (axisUIDL.hasAttribute("gridLineColor")) { + axisBaseOptions.setGridLineColor(axisUIDL + .getStringAttribute("gridLineColor")); + } + if (axisUIDL.hasAttribute("gridLineWidth")) { + axisBaseOptions.setGridLineWidth(axisUIDL + .getIntAttribute("gridLineWidth")); + } + if (axisUIDL.hasAttribute("gridLineDashStyle")) { + axisBaseOptions.setGridLineDashStyle(axisUIDL + .getStringAttribute("gridLineDashStyle")); + } + // Line + if (axisUIDL.hasAttribute("lineColor")) { + axisBaseOptions.setLineColor(axisUIDL + .getStringAttribute("lineColor")); + } + if (axisUIDL.hasAttribute("lineWidth")) { + axisBaseOptions.setLineWidth(axisUIDL.getIntAttribute("lineWidth")); + } + // + if (axisUIDL.hasAttribute("linkedTo")) { + axisBaseOptions.setLinkedTo(axisUIDL.getIntAttribute("linkedTo")); + } + + if (axisUIDL.hasAttribute("max")) { + axisBaseOptions.setMax(axisUIDL.getDoubleAttribute("max")); + } + if (axisUIDL.hasAttribute("maxPadding")) { + axisBaseOptions.setMaxPadding(axisUIDL + .getDoubleAttribute("maxPadding")); + } + if (axisUIDL.hasAttribute("maxZoom")) { + axisBaseOptions.setMaxZoom(axisUIDL.getIntAttribute("maxZoom")); + } + + // + if (axisUIDL.hasAttribute("min")) { + axisBaseOptions.setMin(axisUIDL.getDoubleAttribute("min")); + } + if (axisUIDL.hasAttribute("minPadding")) { + axisBaseOptions.setMinPadding(axisUIDL + .getDoubleAttribute("minPadding")); + } + // Minor Grid + if (axisUIDL.hasAttribute("minorGridLineColor")) { + axisBaseOptions.setMinorGridLineColor(axisUIDL + .getStringAttribute("minorGridLineColor")); + } + if (axisUIDL.hasAttribute("minorGridLineWidth")) { + axisBaseOptions.setMinorGridLineWidth(axisUIDL + .getIntAttribute("minorGridLineWidth")); + } + if (axisUIDL.hasAttribute("minorGridLineDashStyle")) { + axisBaseOptions.setMinorGridLineDashStyle(axisUIDL + .getStringAttribute("minorGridLineDashStyle")); + } + // Minor Ticks + if (axisUIDL.hasAttribute("minorTickColor")) { + axisBaseOptions.setMinorTickColor(axisUIDL + .getStringAttribute("minorTickColor")); + } + if (axisUIDL.hasAttribute("minorTickInterval")) { + axisBaseOptions.setMinorTickInterval(axisUIDL + .getDoubleAttribute("minorTickInterval")); + } + if (axisUIDL.hasAttribute("minorTickLength")) { + axisBaseOptions.setMinorTickLength(axisUIDL + .getIntAttribute("minorTickLength")); + } + if (axisUIDL.hasAttribute("minorTickPosition")) { + axisBaseOptions.setMinorTickPosition(axisUIDL + .getStringAttribute("minorTickPosition")); + } + if (axisUIDL.hasAttribute("minorTickWidth")) { + axisBaseOptions.setMinorTickWidth(axisUIDL + .getIntAttribute("minorTickWidth")); + } + // + if (axisUIDL.hasAttribute("offset")) { + axisBaseOptions.setOffset(axisUIDL.getIntAttribute("offset")); + } + if (axisUIDL.hasAttribute("opposite")) { + axisBaseOptions.setOpposite(axisUIDL + .getBooleanAttribute("opposite")); + } + if (axisUIDL.hasAttribute("reversed")) { + axisBaseOptions.setReversed(axisUIDL + .getBooleanAttribute("reversed")); + } + if (axisUIDL.hasAttribute("showFirstLabel")) { + axisBaseOptions.setShowFirstLabel(axisUIDL + .getBooleanAttribute("showFirstLabel")); + } + if (axisUIDL.hasAttribute("showLastLabel")) { + axisBaseOptions.setShowLastLabel(axisUIDL + .getBooleanAttribute("showLastLabel")); + } + if (axisUIDL.hasAttribute("startOfWeek")) { + axisBaseOptions.setStartOfWeek(axisUIDL + .getIntAttribute("startOfWeek")); + } + if (axisUIDL.hasAttribute("startOnTick")) { + axisBaseOptions.setStartOnTick(axisUIDL + .getBooleanAttribute("startOnTick")); + } + // Tick + if (axisUIDL.hasAttribute("tickColor")) { + axisBaseOptions.setTickColor(axisUIDL + .getStringAttribute("tickColor")); + } + if (axisUIDL.hasAttribute("tickInterval")) { + axisBaseOptions.setTickInterval(axisUIDL + .getDoubleAttribute("tickInterval")); + } + if (axisUIDL.hasAttribute("tickLength")) { + axisBaseOptions.setTickLength(axisUIDL + .getIntAttribute("tickLength")); + } + if (axisUIDL.hasAttribute("tickPosition")) { + axisBaseOptions.setTickPosition(axisUIDL + .getStringAttribute("tickPosition")); + } + if (axisUIDL.hasAttribute("tickWidth")) { + axisBaseOptions.setTickWidth(axisUIDL.getIntAttribute("tickWidth")); + } + if (axisUIDL.hasAttribute("tickPixelInterval")) { + axisBaseOptions.setTickPixelInterval(axisUIDL + .getIntAttribute("tickPixelInterval")); + } + if (axisUIDL.hasAttribute("tickmarkPlacement")) { + axisBaseOptions.setTickmarkPlacement(axisUIDL + .getStringAttribute("tickmarkPlacement")); + } + + if (axisUIDL.hasAttribute("type")) { + axisBaseOptions.setType(axisUIDL.getStringAttribute("type")); + } + + // title + UIDL titleUIDL = axisUIDL.getChildUIDL(0); + GwtAxisTitleOptions titleOptions = getAxisTitleOptions(titleUIDL); + if (titleOptions != null) { + axisBaseOptions.setTitle(titleOptions); + } + + // label + UIDL labelUIDL = axisUIDL.getChildUIDL(1); + String axisName = axisUIDL.getTag(); + GwtAxisDataLabels axisDataLabels = getAxisDataLabels(labelUIDL, + axisName); + if (axisDataLabels != null) { + axisBaseOptions.setLabels(axisDataLabels); + } + // plotband + UIDL plotBandsUIDL = axisUIDL.getChildUIDL(2); + JsArray plotBands = getPlotBands(plotBandsUIDL); + if (plotBands.length() > 0) { + axisBaseOptions.setPlotBands(plotBands); + } + // plotline + UIDL plotLinesUIDL = axisUIDL.getChildUIDL(3); + JsArray plotLines = getPlotLines(plotLinesUIDL); + if (plotLines.length() > 0) { + axisBaseOptions.setPlotLines(plotLines); + } + VConsole.log("Exit [updateBaseAxisOptions]"); + } + + private GwtAxisTitleOptions getAxisTitleOptions(UIDL axisTitleUIDL) { + if (axisTitleUIDL == null + || axisTitleUIDL.getAttributeNames().size() == 0) { + return null; + } + GwtAxisTitleOptions titleOptions = GwtAxisTitleOptions.create(); + if (axisTitleUIDL.hasAttribute("align")) { + titleOptions.setAlign(axisTitleUIDL.getStringAttribute("align")); + } + if (axisTitleUIDL.hasAttribute("margin")) { + titleOptions.setMargin(axisTitleUIDL.getIntAttribute("margin")); + } + if (axisTitleUIDL.hasAttribute("rotation")) { + titleOptions.setRotation(axisTitleUIDL.getIntAttribute("rotation")); + } + if (axisTitleUIDL.hasAttribute("style")) { + titleOptions.setStyle(axisTitleUIDL.getStringAttribute("style")); + } + if (axisTitleUIDL.hasAttribute("text")) { + titleOptions.setText(axisTitleUIDL.getStringAttribute("text")); + } + return titleOptions; + } + + private JsArray getPlotBands(UIDL plotBandsUIDL) { + JsArray plotBandsArr = JavaScriptObject.createArray() + .cast(); + for (int cnt = 0; cnt < plotBandsUIDL.getChildCount(); cnt++) { + UIDL plotBandUIDL = plotBandsUIDL.getChildUIDL(cnt); + if (plotBandUIDL.getAttributeNames().size() == 0 + && plotBandUIDL.getChildCount() == 0) { + continue; + } + GwtPlotBands plotBands = GwtPlotBands.create(); + if (plotBandUIDL.hasAttribute("color")) { + plotBands.setColor(plotBandUIDL.getStringAttribute("color")); + } + if (plotBandUIDL.hasAttribute("id")) { + plotBands.setId(plotBandUIDL.getStringAttribute("id")); + } + if (plotBandUIDL.hasAttribute("zIndex")) { + plotBands.setZIndex(plotBandUIDL.getIntAttribute("zIndex")); + } + // label + GwtPlotLabel label = getPlotLabel(plotBandUIDL.getChildUIDL(0)); + if (label != null) { + plotBands.setLabel(label); + } + // from/to value + UIDL valueUIDL = plotBandUIDL.getChildUIDL(1); + if (valueUIDL.hasAttribute("valueType")) { + String valueType = valueUIDL.getStringAttribute("valueType"); + if (valueType.equals("number")) { + plotBands.setFrom(valueUIDL.getDoubleAttribute("from")); + plotBands.setTo(valueUIDL.getDoubleAttribute("to")); + } else { // date + // from + UIDL fromUIDL = valueUIDL.getChildUIDL(0); + int fromYear = fromUIDL.getIntAttribute("year"); + int fromMonth = fromUIDL.getIntAttribute("month"); + int fromDay = fromUIDL.getIntAttribute("day"); + plotBands.setFrom("Date.UTC(" + fromYear + ", " + fromMonth + + "," + fromDay + ")"); + // to + UIDL toUIDL = valueUIDL.getChildUIDL(1); + int toYear = toUIDL.getIntAttribute("year"); + int toMonth = toUIDL.getIntAttribute("month"); + int toDay = toUIDL.getIntAttribute("day"); + plotBands.setTo("Date.UTC(" + toYear + ", " + toMonth + "," + + toDay + ")"); + } + } + // + plotBandsArr.push(plotBands); + } + return plotBandsArr; + } + + private JsArray getPlotLines(UIDL plotLinesUIDL) { + JsArray plotLinesArr = JavaScriptObject.createArray() + .cast(); + for (int cnt = 0; cnt < plotLinesUIDL.getChildCount(); cnt++) { + UIDL plotLineUIDL = plotLinesUIDL.getChildUIDL(cnt); + if (plotLineUIDL.getAttributeNames().size() == 0 + && plotLineUIDL.getChildCount() == 0) { + continue; + } + GwtPlotLines plotLines = GwtPlotLines.create(); + if (plotLineUIDL.hasAttribute("color")) { + plotLines.setColor(plotLineUIDL.getStringAttribute("color")); + } + if (plotLineUIDL.hasAttribute("dashStyle")) { + plotLines.setDashStyle(plotLineUIDL + .getStringAttribute("dashStyle")); + } + if (plotLineUIDL.hasAttribute("id")) { + plotLines.setId(plotLineUIDL.getStringAttribute("id")); + } + if (plotLineUIDL.hasAttribute("width")) { + plotLines.setWidth(plotLineUIDL.getIntAttribute("width")); + } + if (plotLineUIDL.hasAttribute("zIndex")) { + plotLines.setZIndex(plotLineUIDL.getIntAttribute("zIndex")); + } + // label + GwtPlotLabel label = getPlotLabel(plotLineUIDL.getChildUIDL(0)); + if (label != null) { + plotLines.setLabel(label); + } + // line value + UIDL lineValueUIDL = plotLineUIDL.getChildUIDL(1); + if (lineValueUIDL.hasAttribute("valueType")) { + String valueType = lineValueUIDL + .getStringAttribute("valueType"); + if (valueType.equals("number")) { + if (lineValueUIDL.hasAttribute("value")) { + plotLines.setValue(lineValueUIDL + .getDoubleAttribute("value")); + } + } else { // date + int year = lineValueUIDL.getIntAttribute("year"); + int month = lineValueUIDL.getIntAttribute("month"); + int day = lineValueUIDL.getIntAttribute("day"); + plotLines.setValue("Date.UTC(" + year + ", " + month + "," + + day + ")"); + } + } + // + plotLinesArr.push(plotLines); + } + return plotLinesArr; + } + + private GwtPlotLabel getPlotLabel(UIDL plotLabelUIDL) { + if (plotLabelUIDL == null + || plotLabelUIDL.getAttributeNames().size() == 0) { + return null; + } + GwtPlotLabel label = GwtPlotLabel.create(); + if (plotLabelUIDL.hasAttribute("align")) { + label.setAlign(plotLabelUIDL.getStringAttribute("align")); + } + if (plotLabelUIDL.hasAttribute("rotation")) { + label.setRotation(plotLabelUIDL.getIntAttribute("rotation")); + } + if (plotLabelUIDL.hasAttribute("style")) { + label.setStyle(plotLabelUIDL.getStringAttribute("style")); + } + if (plotLabelUIDL.hasAttribute("align")) { + label.setAlign(plotLabelUIDL.getStringAttribute("align")); + } + if (plotLabelUIDL.hasAttribute("text")) { + label.setText(plotLabelUIDL.getStringAttribute("text")); + } + if (plotLabelUIDL.hasAttribute("verticalAlign")) { + label.setVerticalAlign(plotLabelUIDL + .getStringAttribute("verticalAlign")); + } + if (plotLabelUIDL.hasAttribute("x")) { + label.setX(plotLabelUIDL.getIntAttribute("x")); + } + if (plotLabelUIDL.hasAttribute("y")) { + label.setY(plotLabelUIDL.getIntAttribute("y")); + } + + return label; + } + + // FIXME - Code organization + private GwtAxisDataLabels getAxisDataLabels(UIDL labelUIDL, String axisName) { + if (labelUIDL == null || labelUIDL.getAttributeNames().size() == 0) { + return null; + } + if (axisName.equals("xAxis")) { + GwtXAxisDataLabels labels = GwtXAxisDataLabels.createXAxisLabels(); + updateDataLabel(labelUIDL, labels); + if (labelUIDL.hasAttribute("staggerLines")) { + labels.setStaggerLines(labelUIDL + .getIntAttribute("staggerLines")); + } + if (labelUIDL.hasAttribute("step")) { + labels.setStep(labelUIDL.getIntAttribute("step")); + } + return labels; + } else { + GwtYAxisDataLabels labels = GwtYAxisDataLabels.createYAxisLabels(); + updateDataLabel(labelUIDL, labels); + return labels; + } + } + + private JsArray getXAxisOptions(UIDL uidl) { + VConsole.log("Enter [getXAxisOptions]"); + VConsole.log("Tag Name : " + uidl.getTag()); + JsArray xAxes = JavaScriptObject.createArray().cast(); + + for (int cnt = 0; cnt < uidl.getChildCount(); cnt++) { + GwtXAxisOptions xAxisOptions = GwtXAxisOptions.create(); + UIDL axisUIDL = uidl.getChildUIDL(cnt); + if (axisUIDL.getAttributeNames().size() == 0 + && axisUIDL.getChildCount() == 0) { + continue; + } + updateBaseAxisOptions(axisUIDL, xAxisOptions); + + UIDL childUIDL = axisUIDL.getChildUIDL(4); + if (childUIDL != null) { + if (childUIDL.getTag().equals("categories") + && childUIDL.getChildCount() > 0) { + JsArrayString categories = JavaScriptObject.createArray() + .cast(); + UIDL categoriesUIDL = childUIDL; + for (int idx = 0; idx < categoriesUIDL.getChildCount(); idx++) { + categories.push(categoriesUIDL.getChildUIDL(idx) + .getStringAttribute("name")); + } + xAxisOptions.setCategories(categories); + } else if (childUIDL.getTag().equals("dateTimeLabelFormats") + && childUIDL.getAttributeNames().size() > 0) { + UIDL dateTimeLblFmtsUIDL = childUIDL; + GwtDateTimeLabelFormats formats = GwtDateTimeLabelFormats + .create(); + if (dateTimeLblFmtsUIDL.hasAttribute("millisecond")) { + formats.setMillisecond(dateTimeLblFmtsUIDL + .getStringAttribute("millisecond")); + } + if (dateTimeLblFmtsUIDL.hasAttribute("second")) { + formats.setSecond(dateTimeLblFmtsUIDL + .getStringAttribute("second")); + } + if (dateTimeLblFmtsUIDL.hasAttribute("minute")) { + formats.setMinute(dateTimeLblFmtsUIDL + .getStringAttribute("minute")); + } + if (dateTimeLblFmtsUIDL.hasAttribute("hour")) { + formats.setHour(dateTimeLblFmtsUIDL + .getStringAttribute("hour")); + } + if (dateTimeLblFmtsUIDL.hasAttribute("day")) { + formats.setDay(dateTimeLblFmtsUIDL + .getStringAttribute("day")); + } + if (dateTimeLblFmtsUIDL.hasAttribute("week")) { + formats.setWeek(dateTimeLblFmtsUIDL + .getStringAttribute("week")); + } + if (dateTimeLblFmtsUIDL.hasAttribute("month")) { + formats.setMonth(dateTimeLblFmtsUIDL + .getStringAttribute("month")); + } + if (dateTimeLblFmtsUIDL.hasAttribute("year")) { + formats.setYear(dateTimeLblFmtsUIDL + .getStringAttribute("year")); + } + xAxisOptions.setDateTimeLabelFormats(formats); + } + } + xAxes.push(xAxisOptions); + } + + VConsole.log("Exit [getXAxisOptions]"); + return xAxes; + } + + private JsArray getYAxisOptions(UIDL uidl) { + VConsole.log("Enter [getYAxisOptions]"); + VConsole.log("Tag Name : " + uidl.getTag()); + JsArray yAxes = JavaScriptObject.createArray().cast(); + + for (int cnt = 0; cnt < uidl.getChildCount(); cnt++) { + GwtYAxisOptions yAxisOptions = GwtYAxisOptions.create(); + UIDL axisUIDL = uidl.getChildUIDL(cnt); + if (axisUIDL.getAttributeNames().size() == 0 + && axisUIDL.getChildCount() == 0) { + continue; + } + updateBaseAxisOptions(axisUIDL, yAxisOptions); + yAxes.push(yAxisOptions); + } + + VConsole.log("Exit [getYAxisOptions]"); + return yAxes; + } + + private GwtPlotOptions getPlotOptions(UIDL uidl) { + VConsole.log("Enter [getPlotOptions]"); + VConsole.log("Tag Name : " + uidl.getTag()); + + GwtPlotOptions plotOptions = GwtPlotOptions.create(); + + for (int cnt = 0; cnt < uidl.getChildCount(); cnt++) { + UIDL seriesUIDL = uidl.getChildUIDL(cnt); + String seriesType = seriesUIDL.getTag(); + VConsole.log("Series Type : " + seriesType); + GwtSeriesGeneralOptions seriesOptions = getSeriesOptions( + seriesType, seriesUIDL); + if (seriesOptions == null) { + continue; + } + if (seriesType.equals("series")) { + plotOptions.setSeries(seriesOptions); + } else if (seriesType.equals("line")) { + plotOptions.setLine((GwtLineOptions) seriesOptions); + } else if (seriesType.equals("scatter")) { + plotOptions.setScatter((GwtScatterOptions) seriesOptions); + } else if (seriesType.equals("spline")) { + plotOptions.setSpline((GwtSplineOptions) seriesOptions); + } else if (seriesType.equals("area")) { + plotOptions.setArea((GwtAreaOptions) seriesOptions); + } else if (seriesType.equals("areaspline")) { + plotOptions.setAreaSpline((GwtAreaSplineOptions) seriesOptions); + } else if (seriesType.equals("bar")) { + plotOptions.setBar((GwtBarOptions) seriesOptions); + } else if (seriesType.equals("column")) { + plotOptions.setColumn((GwtColumnOptions) seriesOptions); + } else if (seriesType.equals("pie")) { + plotOptions.setPie((GwtPieOptions) seriesOptions); + } + } + + VConsole.log("Exit [getPlotOptions]"); + return plotOptions; + } + + private GwtSeriesGeneralOptions getSeriesOptions(String seriesType, + UIDL seriesUIDL) { + VConsole.log("Enter [getSeriesOptions]"); + VConsole.log("Tag Name : " + seriesUIDL.getTag()); + if (seriesUIDL.getAttributeNames().size() == 0 + && seriesUIDL.getChildCount() == 0) { + VConsole.log("No attributes/children found for series type : " + + seriesType); + VConsole.log("Exit [getSeriesOptions]"); + return null; + } + GwtSeriesGeneralOptions seriesOptions = null; + if (seriesType.equals("series")) { + seriesOptions = GwtSeriesGeneralOptions.createSeriesOptions(); + updateSeriesOptions(seriesUIDL, seriesOptions); + } else if (seriesType.equals("line")) { + seriesOptions = GwtLineOptions.createLineOptions(); + updateLineOptions(seriesUIDL, (GwtLineOptions) seriesOptions); + } else if (seriesType.equals("scatter")) { + seriesOptions = GwtScatterOptions.createScatterOptions(); + updateScatterOptions(seriesUIDL, (GwtScatterOptions) seriesOptions); + } else if (seriesType.equals("spline")) { + seriesOptions = GwtSplineOptions.createSplineOptions(); + updateSplineOptions(seriesUIDL, (GwtSplineOptions) seriesOptions); + } else if (seriesType.equals("area")) { + seriesOptions = GwtAreaOptions.createAreaOptions(); + updateAreaOptions(seriesUIDL, (GwtAreaOptions) seriesOptions); + } else if (seriesType.equals("areaspline")) { + seriesOptions = GwtAreaSplineOptions.createAreaSplineOptions(); + updateAreaSplineOptions(seriesUIDL, + (GwtAreaSplineOptions) seriesOptions); + } else if (seriesType.equals("bar")) { + seriesOptions = GwtBarOptions.createBarOptions(); + updateBarOptions(seriesUIDL, (GwtBarOptions) seriesOptions); + } else if (seriesType.equals("column")) { + seriesOptions = GwtColumnOptions.createColumnOptions(); + updateColumnOptions(seriesUIDL, (GwtColumnOptions) seriesOptions); + } else if (seriesType.equals("pie")) { + seriesOptions = GwtPieOptions.createPieOptions(); + updatePieOptions(seriesUIDL, (GwtPieOptions) seriesOptions); + } else { + // This should not happen + VConsole.log("[getSeriesOptions] : Invalid series type " + + seriesType); + } + VConsole.log("Exit [getSeriesOptions]"); + return seriesOptions; + } + + private void updateSeriesOptions(UIDL seriesUIDL, + GwtSeriesGeneralOptions seriesOptions) { + VConsole.log("Enter [updateSeriesOptions]"); + VConsole.log("Tag Name : " + seriesUIDL.getTag()); + + if (seriesUIDL.hasAttribute("allowPointSelect")) { + seriesOptions.setAllowPointSelect(seriesUIDL + .getBooleanAttribute("allowPointSelect")); + } + if (seriesUIDL.hasAttribute("animation")) { + seriesOptions.setAnimation(seriesUIDL + .getBooleanAttribute("animation")); + } + if (seriesUIDL.hasAttribute("cursor")) { + seriesOptions.setCursor(seriesUIDL.getStringAttribute("cursor")); + } + if (seriesUIDL.hasAttribute("enableMouseTracking")) { + seriesOptions.setEnableMouseTracking(seriesUIDL + .getBooleanAttribute("enableMouseTracking")); + } + if (seriesUIDL.hasAttribute("selected")) { + seriesOptions.setSelected(seriesUIDL + .getBooleanAttribute("selected")); + } + if (seriesUIDL.hasAttribute("shadow")) { + seriesOptions.setShadow(seriesUIDL.getBooleanAttribute("shadow")); + } + if (seriesUIDL.hasAttribute("showCheckbox")) { + seriesOptions.setShowCheckbox(seriesUIDL + .getBooleanAttribute("showCheckbox")); + } + if (seriesUIDL.hasAttribute("showInLegend")) { + seriesOptions.setShowInLegend(seriesUIDL + .getBooleanAttribute("showInLegend")); + } + if (seriesUIDL.hasAttribute("stacking")) { + seriesOptions + .setStacking(seriesUIDL.getStringAttribute("stacking")); + } + if (seriesUIDL.hasAttribute("visible")) { + seriesOptions.setVisible(seriesUIDL.getBooleanAttribute("visible")); + } + if (seriesUIDL.hasAttribute("color")) { + seriesOptions.setColor(seriesUIDL.getStringAttribute("color")); + } + // FIXME - How to get series type + // datalabels + GwtDataLabels dataLabels = getSeriesDataLabel( + seriesUIDL.getChildUIDL(0), seriesUIDL.getTag()); + if (dataLabels != null) { + seriesOptions.setDataLabels(dataLabels); + } + + // state + GwtStates seriesState = getSeriesState(seriesUIDL.getChildUIDL(1)); + + if (seriesState != null) { + seriesOptions.setStates(seriesState); + } + + VConsole.log("Exit [updateSeriesOptions]"); + } + + private GwtDataLabels getSeriesDataLabel(UIDL dataLabelUIDL, + String seriesType) { + VConsole.log("Enter [getSeriesDataLabel]"); + if (dataLabelUIDL == null + || dataLabelUIDL.getAttributeNames().size() == 0) { + return null; + } + GwtDataLabels dataLabel = GwtDataLabels.createDataLabels(); + if (seriesType.equals("pie")) { + dataLabel = GwtPieDataLabels.createPieDataLabels(); + updatePieDataLabel(dataLabelUIDL, (GwtPieDataLabels) dataLabel); + } else { + updateDataLabel(dataLabelUIDL, dataLabel); + } + VConsole.log("Exit [getSeriesDataLabel]"); + return dataLabel; + } + + private void updatePieDataLabel(UIDL dataLabelUIDL, + GwtPieDataLabels pieDataLabel) { + updateDataLabel(dataLabelUIDL, pieDataLabel); + if (dataLabelUIDL.hasAttribute("connectorColor")) { + pieDataLabel.setConnectorColor(dataLabelUIDL + .getStringAttribute("connectorColor")); + } + if (dataLabelUIDL.hasAttribute("connectorWidth")) { + pieDataLabel.setConnectorWidth(dataLabelUIDL + .getIntAttribute("connectorWidth")); + } + if (dataLabelUIDL.hasAttribute("connectorPadding")) { + pieDataLabel.setConnectorPadding(dataLabelUIDL + .getIntAttribute("connectorPadding")); + } + if (dataLabelUIDL.hasAttribute("distance")) { + pieDataLabel.setDistance(dataLabelUIDL.getIntAttribute("distance")); + } + } + + private void updateDataLabel(UIDL dataLabelUIDL, GwtDataLabels dataLabel) { + if (dataLabelUIDL.hasAttribute("align")) { + dataLabel.setAlign(dataLabelUIDL.getStringAttribute("align")); + } + if (dataLabelUIDL.hasAttribute("enabled")) { + dataLabel.setEnabled(dataLabelUIDL.getBooleanAttribute("enabled")); + } + if (dataLabelUIDL.hasAttribute("formatter")) { + dataLabel.setFormatter(getExecutableFunction(dataLabelUIDL + .getStringAttribute("formatter"))); + } + if (dataLabelUIDL.hasAttribute("rotation")) { + dataLabel.setRotation(dataLabelUIDL.getIntAttribute("rotation")); + } + if (dataLabelUIDL.hasAttribute("style")) { + dataLabel.setStyle(dataLabelUIDL.getStringAttribute("style")); + } + if (dataLabelUIDL.hasAttribute("x")) { + dataLabel.setX(dataLabelUIDL.getIntAttribute("x")); + } + if (dataLabelUIDL.hasAttribute("y")) { + dataLabel.setY(dataLabelUIDL.getIntAttribute("y")); + } + if (dataLabelUIDL.hasAttribute("color")) { + dataLabel.setColor(dataLabelUIDL.getStringAttribute("color")); + } + } + + private GwtStates getSeriesState(UIDL stateUIDL) { + if (stateUIDL == null + || (stateUIDL != null && stateUIDL.getChildCount() == 0) + || (stateUIDL.getChildCount() > 0 && stateUIDL.getChildUIDL(0) + .getAttributeNames().size() == 0)) { + return null; + } + GwtStates state = GwtStates.create(); + GwtHover hover = GwtHover.create(); + state.setHover(hover); + UIDL hoverUIDL = stateUIDL.getChildUIDL(0); + if (hoverUIDL.hasAttribute("enabled")) { + hover.setEnabled(hoverUIDL.getBooleanAttribute("enabled")); + } + if (hoverUIDL.hasAttribute("lineWidth")) { + hover.setLineWidth(hoverUIDL.getIntAttribute("lineWidth")); + } + if (hoverUIDL.hasAttribute("brightness")) { + hover.setBrightness(hoverUIDL.getDoubleAttribute("brightness")); + } + return state; + } + + private GwtMarker getMarkerOptions(UIDL uidl) { + VConsole.log("Enter [getMarkerOptions]"); + int noOfAttrs = 0; + noOfAttrs = (uidl != null ? uidl.getAttributeNames().size() : 0); + if (uidl == null || (noOfAttrs == 0 && uidl.getChildCount() == 0)) { + VConsole.log("Exit [getMarkerOptions]"); + return null; + } + GwtMarker marker = GwtMarker.create(); + String markerType = uidl.getStringAttribute("markerType"); + if (uidl.hasAttribute("enabled")) { + marker.setEnabled(uidl.getBooleanAttribute("enabled")); + } + if (uidl.hasAttribute("lineColor")) { + marker.setLineColor(uidl.getStringAttribute("lineColor")); + } + if (uidl.hasAttribute("fillColor")) { + marker.setFillColor(uidl.getStringAttribute("fillColor")); + } + if (uidl.hasAttribute("lineWidth")) { + marker.setLineWidth(uidl.getIntAttribute("lineWidth")); + } + if (uidl.hasAttribute("radius")) { + marker.setRadius(uidl.getIntAttribute("radius")); + } + if (uidl.hasAttribute("symbol")) { + if (markerType.equals("image")) { + marker.setSymbol("url(." + uidl.getStringAttribute("symbol") + + ")"); + } else { + marker.setSymbol(uidl.getStringAttribute("symbol")); + } + } + + // Marker states exist only in case of SymbolMarker and not ImageMarker + if (uidl.getChildCount() > 0) { + UIDL statesUIDL = uidl.getChildUIDL(0); + UIDL hoverStateUIDL = statesUIDL.getChildUIDL(0); + UIDL selectStateUIDL = statesUIDL.getChildUIDL(1); + GwtMarkerState markerHoverState = getMarkerState(hoverStateUIDL); + GwtMarkerState markerSelectState = getMarkerState(selectStateUIDL); + if (markerHoverState != null || markerSelectState != null) { + VConsole.log("Setting marker states..."); + GwtMarkerStates markerStates = GwtMarkerStates.create(); + if (markerHoverState != null) { + markerStates.setHover(markerHoverState); + } + if (markerSelectState != null) { + markerStates.setSelect(markerSelectState); + } + marker.setStates(markerStates); + } + } + VConsole.log("Exit [getMarkerOptions]"); + return marker; + } + + private GwtMarkerState getMarkerState(UIDL uidl) { + VConsole.log("Enter [getMarkerState]"); + if (uidl == null || uidl.getAttributeNames().size() == 0) { + VConsole.log("Neither hover nor select states found for a maker."); + VConsole.log("Exit [getMarkerState]"); + return null; + } + GwtMarkerState markerState = GwtMarkerState.create(); + if (uidl.hasAttribute("enabled")) { + markerState.setEnabled(uidl.getBooleanAttribute("enabled")); + } + if (uidl.hasAttribute("lineColor")) { + markerState.setLineColor(uidl.getStringAttribute("lineColor")); + } + if (uidl.hasAttribute("fillColor")) { + markerState.setFillColor(uidl.getStringAttribute("fillColor")); + } + if (uidl.hasAttribute("lineWidth")) { + markerState.setLineWidth(uidl.getIntAttribute("lineWidth")); + } + if (uidl.hasAttribute("radius")) { + markerState.setRadius(uidl.getIntAttribute("radius")); + } + VConsole.log("Exit [getMarkerState]"); + return markerState; + } + + private void updateBaseLineOptions(UIDL lineUIDL, + GwtBaseLineOptions lineOptions) { + VConsole.log("Enter [updateBaseLineOptions]"); + + updateSeriesOptions(lineUIDL, lineOptions); + if (lineUIDL.hasAttribute("color")) { + lineOptions.setColor(lineUIDL.getStringAttribute("color")); + } + if (lineUIDL.hasAttribute("dashStyle")) { + lineOptions.setDashStyle(lineUIDL.getStringAttribute("dashStyle")); + } + if (lineUIDL.hasAttribute("lineWidth")) { + lineOptions.setLineWidth(lineUIDL.getIntAttribute("lineWidth")); + } + if (lineUIDL.hasAttribute("pointStart")) { + lineOptions.setPointStart(lineUIDL.getDoubleAttribute("pointStart")); + } + if (lineUIDL.hasAttribute("pointInterval")) { + lineOptions.setPointInterval(lineUIDL + .getIntAttribute("pointInterval")); + } + if (lineUIDL.hasAttribute("turboThreshold")) { + lineOptions.setTurboThreshold(lineUIDL + .getIntAttribute("turboThreshold")); + } + if (lineUIDL.hasAttribute("stickyTracking")) { + lineOptions.setStickyTracking(lineUIDL + .getBooleanAttribute("stickyTracking")); + } + + GwtMarker marker = getMarkerOptions(lineUIDL.getChildUIDL(2)); + if (marker != null) { + lineOptions.setMarker(marker); + } + VConsole.log("Exit [updateBaseLineOptions]"); + } + + private void updateLineOptions(UIDL lineUIDL, GwtLineOptions lineOptions) { + VConsole.log("Enter [updateLineOptions]"); + VConsole.log("Tag Name : " + lineUIDL.getTag()); + + updateBaseLineOptions(lineUIDL, lineOptions); + + if (lineUIDL.hasAttribute("step")) { + lineOptions.setStep(lineUIDL.getBooleanAttribute("step")); + } + + VConsole.log("Exit [updateBaseLineOptions]"); + } + + private void updateScatterOptions(UIDL scatterUIDL, + GwtScatterOptions scatterOptions) { + VConsole.log("Enter [updateScatterOptions]"); + VConsole.log("Tag Name : " + scatterUIDL.getTag()); + + updateBaseLineOptions(scatterUIDL, scatterOptions); + + VConsole.log("Exit [updateScatterOptions]"); + } + + private void updateSplineOptions(UIDL splineUIDL, + GwtSplineOptions splineOptions) { + VConsole.log("Enter [updateSplineOptions]"); + VConsole.log("Tag Name : " + splineUIDL.getTag()); + + updateBaseLineOptions(splineUIDL, splineOptions); + + VConsole.log("Exit [updateSplineOptions]"); + } + + private void updateAreaOptions(UIDL areaUIDL, GwtAreaOptions areaOptions) { + VConsole.log("Enter [updateAreaOptions]"); + VConsole.log("Tag Name : " + areaUIDL.getTag()); + + updateBaseLineOptions(areaUIDL, areaOptions); + if (areaUIDL.hasAttribute("fillColor")) { + areaOptions.setFillColor(areaUIDL.getStringAttribute("fillColor")); + } + if (areaUIDL.hasAttribute("lineColor")) { + areaOptions.setLineColor(areaUIDL.getStringAttribute("lineColor")); + } + if (areaUIDL.hasAttribute("fillOpacity")) { + areaOptions.setFillOpacity(areaUIDL + .getDoubleAttribute("fillOpacity")); + } + if (areaUIDL.hasAttribute("threshold")) { + areaOptions.setThreshold(areaUIDL.getIntAttribute("threshold")); + } + + VConsole.log("Exit [updateAreaOptions]"); + } + + private void updateAreaSplineOptions(UIDL areaSplineUIDL, + GwtAreaSplineOptions areaSplineOptions) { + VConsole.log("Enter [updateAreaSplineOptions]"); + VConsole.log("Tag Name : " + areaSplineUIDL.getTag()); + + updateAreaOptions(areaSplineUIDL, areaSplineOptions); + + VConsole.log("Exit [updateAreaSplineOptions]"); + } + + private void updatePieOptions(UIDL pieUIDL, GwtPieOptions pieOptions) { + VConsole.log("Enter [updatePieOptions]"); + VConsole.log("Tag Name : " + pieUIDL.getTag()); + + updateSeriesOptions(pieUIDL, pieOptions); + Integer centerX = null; + Integer centerY = null; + if (pieUIDL.hasAttribute("centerX")) { + centerX = pieUIDL.getIntAttribute("centerX"); + } + if (pieUIDL.hasAttribute("centerY")) { + centerY = pieUIDL.getIntAttribute("centerY"); + } + if (centerX != null || centerY != null) { + JsArrayNumber center = JavaScriptObject.createArray().cast(); + center.push((centerX == null ? 0 : centerX)); + center.push((centerY == null ? 0 : centerY)); + pieOptions.setCenter(center); + } + if (pieUIDL.hasAttribute("borderColor")) { + pieOptions + .setBorderColor(pieUIDL.getStringAttribute("borderColor")); + } + if (pieUIDL.hasAttribute("borderWidth")) { + pieOptions.setBorderWidth(pieUIDL.getDoubleAttribute("borderWidth")); + } + if (pieUIDL.hasAttribute("innerSize")) { + pieOptions.setInnerSize(pieUIDL.getIntAttribute("innerSize")); + } + if (pieUIDL.hasAttribute("ignoreHiddenPoint")) { + pieOptions.setIgnoreHiddenPoint(pieUIDL.getBooleanAttribute("ignoreHiddenPoint")); + } + if (pieUIDL.hasAttribute("size")) { + pieOptions.setSize(pieUIDL.getIntAttribute("size")); + } + if (pieUIDL.hasAttribute("slicedOffset")) { + pieOptions.setSlicedOffset(pieUIDL.getIntAttribute("slicedOffset")); + } + + VConsole.log("Exit [updatePieOptions]"); + } + + private void updateBaseBarOptions(UIDL barUIDL, + GwtBaseBarOptions baseBarOptions) { + VConsole.log("Enter [updateBaseBarOptions]"); + + updateSeriesOptions(barUIDL, baseBarOptions); + if (barUIDL.hasAttribute("borderColor")) { + baseBarOptions.setBorderColor(barUIDL + .getStringAttribute("borderColor")); + } + if (barUIDL.hasAttribute("borderWidth")) { + baseBarOptions.setBorderWidth(barUIDL + .getIntAttribute("borderWidth")); + } + if (barUIDL.hasAttribute("borderRadius")) { + baseBarOptions.setBorderRadius(barUIDL + .getIntAttribute("borderRadius")); + } + if (barUIDL.hasAttribute("colorByPoint")) { + baseBarOptions.setColorByPoint(barUIDL + .getBooleanAttribute("colorByPoint")); + } + if (barUIDL.hasAttribute("groupPadding")) { + baseBarOptions.setGroupPadding(barUIDL + .getDoubleAttribute("groupPadding")); + } + if (barUIDL.hasAttribute("minPointLength")) { + baseBarOptions.setMinPointLength(barUIDL + .getDoubleAttribute("minPointLength")); + } + if (barUIDL.hasAttribute("pointPadding")) { + baseBarOptions.setPointPadding(barUIDL + .getDoubleAttribute("pointPadding")); + } + if (barUIDL.hasAttribute("pointWidth")) { + baseBarOptions.setPointWidth(barUIDL.getIntAttribute("pointWidth")); + } + + VConsole.log("Exit [updateBaseBarOptions]"); + } + + private void updateBarOptions(UIDL barUIDL, GwtBarOptions barOptions) { + VConsole.log("Enter [updateBarOptions]"); + VConsole.log("Tag Name : " + barUIDL.getTag()); + + updateBaseBarOptions(barUIDL, barOptions); + + VConsole.log("Exit [updateBarOptions]"); + } + + private void updateColumnOptions(UIDL columnUIDL, + GwtColumnOptions columnOptions) { + VConsole.log("Enter [updateColumnOptions]"); + VConsole.log("Tag Name : " + columnUIDL.getTag()); + + updateBaseBarOptions(columnUIDL, columnOptions); + + VConsole.log("Exit [updateColumnOptions]"); + } + + private void updateOptionsWithChartEvents(GwtInvientChartsConfig options, + UIDL chartEventUIDL) { + VConsole.log("Enter [updateOptionsWithChartEvents]"); + + // Chart events + GwtChartEvents chartEvents = GwtChartEvents.create(); + if (chartEventUIDL.hasAttribute("addSeries") + && chartEventUIDL.getBooleanAttribute("addSeries")) { + chartEvents.setAddSeriesEvent(EventCallbacks + .getChartAddSeries(this)); + } + if (chartEventUIDL.hasAttribute("click") + && chartEventUIDL.getBooleanAttribute("click")) { + chartEvents.setClickEvent(EventCallbacks.getChartClick(this)); + } + if (chartEventUIDL.hasAttribute("selection") + && chartEventUIDL.getBooleanAttribute("selection")) { + if (options.getChartOptions().getClientZoom()) { + chartEvents.setSelectionEvent(EventCallbacks + .getClientChartSelection(this)); + } else { + chartEvents.setSelectionEvent(EventCallbacks + .getServerChartSelection(this)); + } + } + if (options.getChartOptions() == null) { + options.setChartOptions(GwtChartOptions.create()); + } + options.getChartOptions().setEvents(chartEvents); + + VConsole.log("Exit [updateOptionsWithChartEvents]"); + } + + private GwtSeriesEvents getSeriesEvents(UIDL seriesEventUIDL) { + GwtSeriesEvents seriesEvents = GwtSeriesEvents.create(); + boolean foundEvt = false; + if (seriesEventUIDL.hasAttribute("legendItemClick") + && seriesEventUIDL.getBooleanAttribute("legendItemClick")) { + seriesEvents.setLegendItemClickEvent(EventCallbacks + .getSeriesLegendItemClick(this)); + foundEvt = true; + } + if (seriesEventUIDL.hasAttribute("click") + && seriesEventUIDL.getBooleanAttribute("click")) { + seriesEvents.setClickEvent(EventCallbacks.getSeriesClick(this)); + foundEvt = true; + } + if (seriesEventUIDL.hasAttribute("show") + && seriesEventUIDL.getBooleanAttribute("show")) { + seriesEvents.setShowEvent(EventCallbacks.getSeriesShow(this)); + foundEvt = true; + } + if (seriesEventUIDL.hasAttribute("hide") + && seriesEventUIDL.getBooleanAttribute("hide")) { + seriesEvents.setHideEvent(EventCallbacks.getSeriesHide(this)); + foundEvt = true; + } + if (foundEvt) { + return seriesEvents; + } + return null; + } + + private void updateOptionsWithSeriesAndPoingEvents( + GwtInvientChartsConfig options, UIDL chartSeriesEventsUIDL) { + VConsole.log("Enter [updateOptionsWithSeriesAndPoingEvents]"); + VConsole.log("[updateOptionsWithSeriesEvents] # of series : " + + chartSeriesEventsUIDL.getChildCount()); + + // UIDL seriesEventUIDL = eventUIDL.getChildUIDL(1); + if (chartSeriesEventsUIDL.getChildCount() > 0 + && options.getPlotOptions() == null) { + options.setPlotOptions(GwtPlotOptions.create()); + } + for (int cnt = 0; cnt < chartSeriesEventsUIDL.getChildCount(); cnt++) { + UIDL seriesEventsUIDL = chartSeriesEventsUIDL.getChildUIDL(cnt); + String seriesType = seriesEventsUIDL.getTag(); // can be + // series/pie/line + // etc + VConsole.log("Series type " + seriesType); + // + GwtSeriesEvents seriesEvents = getSeriesEvents(seriesEventsUIDL); + // + GwtPointEvents pointEvents = null; + if (seriesEventsUIDL.getChildCount() > 0) { + pointEvents = getPointEvents(options, + seriesEventsUIDL.getChildUIDL(0)); + } + if (seriesEvents == null && pointEvents == null) { + VConsole.log("No series/point events found for series type : " + + seriesType); + continue; + } + GwtSeriesGeneralOptions seriesOptions = null; + if (seriesType.equals("line")) { + if (options.getPlotOptions().getLine() == null) { + options.getPlotOptions().setLine( + GwtLineOptions.createLineOptions()); + } + seriesOptions = options.getPlotOptions().getLine(); + } else if (seriesType.equals("spline")) { + if (options.getPlotOptions().getSpline() == null) { + options.getPlotOptions().setSpline( + GwtSplineOptions.createSplineOptions()); + } + seriesOptions = options.getPlotOptions().getSpline(); + } else if (seriesType.equals("area")) { + if (options.getPlotOptions().getArea() == null) { + options.getPlotOptions().setArea( + GwtAreaOptions.createAreaOptions()); + } + seriesOptions = options.getPlotOptions().getArea(); + } else if (seriesType.equals("areaspline")) { + if (options.getPlotOptions().getAreaSpline() == null) { + options.getPlotOptions().setAreaSpline( + GwtAreaSplineOptions.createAreaSplineOptions()); + } + seriesOptions = options.getPlotOptions().getAreaSpline(); + } else if (seriesType.equals("bar")) { + if (options.getPlotOptions().getBar() == null) { + options.getPlotOptions().setBar( + GwtBarOptions.createBarOptions()); + } + seriesOptions = options.getPlotOptions().getBar(); + } else if (seriesType.equals("column")) { + if (options.getPlotOptions().getColumn() == null) { + options.getPlotOptions().setColumn( + GwtColumnOptions.createColumnOptions()); + } + seriesOptions = options.getPlotOptions().getColumn(); + } else if (seriesType.equals("scatter")) { + if (options.getPlotOptions().getScatter() == null) { + options.getPlotOptions().setScatter( + GwtScatterOptions.createScatterOptions()); + } + seriesOptions = options.getPlotOptions().getScatter(); + } else if (seriesType.equals("pie")) { + if (options.getPlotOptions().getPie() == null) { + options.getPlotOptions().setPie( + GwtPieOptions.createPieOptions()); + } + seriesOptions = options.getPlotOptions().getPie(); + } else { + if (options.getPlotOptions().getSeries() == null) { + options.getPlotOptions().setSeries( + GwtSeriesGeneralOptions.createSeriesOptions()); + } + seriesOptions = options.getPlotOptions().getSeries(); + } + // Set series/point events + if (seriesEvents != null) { + seriesOptions.setEvents(seriesEvents); + } + if (pointEvents != null) { + seriesOptions.setPointEvents(pointEvents); + } + } + VConsole.log("Exit [updateOptionsWithSeriesAndPoingEvents]"); + } + + private GwtPointEvents getPointEvents(GwtInvientChartsConfig options, + UIDL pointEventsUIDL) { + VConsole.log("Enter [getPointEvents]"); + // Point events + boolean foundEvt = false; + GwtPointEvents pointEvents = GwtPointEvents.create(); + if (pointEventsUIDL.hasAttribute("legendItemClick") + && pointEventsUIDL.getBooleanAttribute("legendItemClick")) { + pointEvents.setLegendItemClickEvent(EventCallbacks + .getPieLegendItemClick(this)); + foundEvt = true; + } + if (pointEventsUIDL.hasAttribute("click") + && pointEventsUIDL.getBooleanAttribute("click")) { + pointEvents.setClickEvent(EventCallbacks.getPointClick(this)); + foundEvt = true; + } + if (pointEventsUIDL.hasAttribute("remove") + && pointEventsUIDL.getBooleanAttribute("remove")) { + pointEvents.setRemoveEvent(EventCallbacks.getPointRemove(this)); + foundEvt = true; + } + if (pointEventsUIDL.hasAttribute("select") + && pointEventsUIDL.getBooleanAttribute("select")) { + pointEvents.setSelectEvent(EventCallbacks.getPointSelect(this)); + foundEvt = true; + } + if (pointEventsUIDL.hasAttribute("unselect") + && pointEventsUIDL.getBooleanAttribute("unselect")) { + pointEvents.setUnselectEvent(EventCallbacks.getPointUnselect(this)); + foundEvt = true; + } + VConsole.log("Exit [getPointEvents]"); + if (foundEvt) { + return pointEvents; + } + return null; + } + + private void updateOptionsWithEvents(GwtInvientChartsConfig options, + UIDL eventUIDL) { + VConsole.log("Enter [updateOptionsWithEvents]"); + + // Chart events + updateOptionsWithChartEvents(options, eventUIDL.getChildUIDL(0)); + + // Series events + updateOptionsWithSeriesAndPoingEvents(options, + eventUIDL.getChildUIDL(1)); + + VConsole.log("Exit [updateOptionsWithEvents]"); + } + + protected void chartAddSeriesListener(GwtChart chart) { + VConsole.log("Enter [chartAddSeriesListener]"); + + client.updateVariable(uidlId, "event", "addSeries", true); + + VConsole.log("Exit [chartAddSeriesListener]"); + } + + protected void chartClickListener(GwtChart chart, double xAxisPos, + double yAxisPos, int pageX, int pageY) { + VConsole.log("Enter [chartClickListener]"); + + VConsole.log("chartClickListener : xAxisPos : " + xAxisPos + + ", yAxisPos : " + yAxisPos); + client.updateVariable(uidlId, "event", "chartClick", false); + Map eventData = new HashMap(); + eventData.put("xAxisPos", String.valueOf(xAxisPos)); + eventData.put("yAxisPos", String.valueOf(yAxisPos)); + updateEventDataWithMousePosition(eventData, pageX, pageY); + client.updateVariable(uidlId, "eventData", eventData, true); + + VConsole.log("Exit [chartClickListener]"); + } + + protected void chartSelectionListener(GwtChart chart, double xAxisMin, + double xAxisMax, double yAxisMin, double yAxisMax) { + VConsole.log("Enter [chartSelectionListener]"); + + VConsole.log("[chartSelectionListener] xAxisMin : " + xAxisMin + + ", xAxisMax : " + xAxisMax + ", yAxisMin : " + yAxisMin + + ", yAxisMax : " + yAxisMax); + client.updateVariable(uidlId, "event", "chartZoom", false); + Map eventData = new HashMap(); + eventData.put("xAxisMin", String.valueOf(xAxisMin)); + eventData.put("xAxisMax", String.valueOf(xAxisMax)); + eventData.put("yAxisMin", String.valueOf(yAxisMin)); + eventData.put("yAxisMax", String.valueOf(yAxisMax)); + client.updateVariable(uidlId, "eventData", eventData, true); + + VConsole.log("Exit [chartSelectionListener]"); + } + + protected void chartResetZoomListener(GwtChart chart) { + VConsole.log("Enter [chartResetZoomListener]"); + + client.updateVariable(uidlId, "event", "chartResetZoom", true); + + VConsole.log("Exit [chartResetZoomListener]"); + } + + protected void seriesClickListener(GwtSeries series, GwtPoint nearestPoint, + int pageX, int pageY) { + VConsole.log("Enter [seriesClickListener]"); + + VConsole.log("[seriesClickListener] point x: " + nearestPoint.getX() + + ", point y: " + nearestPoint.getY()); + client.updateVariable(uidlId, "event", "seriesClick", false); + Map eventData = getEventData(nearestPoint); + updateEventDataWithMousePosition(eventData, pageX, pageY); + client.updateVariable(uidlId, "eventData", eventData, true); + + VConsole.log("Exit [seriesClickListener]"); + } + + protected void seriesHideListener(GwtSeries series) { + VConsole.log("Enter [seriesHideListener]"); + + VConsole.log("[seriesHideListener] series name " + series.getName()); + client.updateVariable(uidlId, "event", "seriesHide", false); + Map eventData = new HashMap(); + eventData.put("seriesName", series.getName()); + client.updateVariable(uidlId, "eventData", eventData, true); + + VConsole.log("Exit [seriesHideListener]"); + } + + protected void seriesShowListener(GwtSeries series) { + VConsole.log("Enter [seriesShowListener]"); + + VConsole.log("[seriesShowListener] series name " + series.getName()); + client.updateVariable(uidlId, "event", "seriesShow", false); + Map eventData = new HashMap(); + eventData.put("seriesName", series.getName()); + client.updateVariable(uidlId, "eventData", eventData, true); + + VConsole.log("Exit [seriesShowListener]"); + } + + protected void seriesLegendItemClickListener(GwtSeries series) { + VConsole.log("Enter [seriesLegendItemClickListener]"); + + VConsole.log("[seriesLegendItemClickListener] name " + series.getName()); + client.updateVariable(uidlId, "event", "seriesLegendItemClick", false); + Map eventData = new HashMap(); + eventData.put("seriesName", series.getName()); + client.updateVariable(uidlId, "eventData", eventData, true); + + VConsole.log("Exit [seriesLegendItemClickListener]"); + } + + protected void pieLegendItemClickListener(GwtPoint point) { + VConsole.log("Enter [pieLegendItemClickListener]"); + + client.updateVariable(uidlId, "event", "pieLegendItemClick", false); + Map eventData = getEventData(point); + client.updateVariable(uidlId, "eventData", eventData, true); + + VConsole.log("Exit [pieLegendItemClickListener]"); + } + + protected void pointClickListener(GwtPoint point, int pageX, int pageY) { + VConsole.log("Enter [pointClickListener]"); + + client.updateVariable(uidlId, "event", "pointClick", false); + Map eventData = getEventData(point); + updateEventDataWithMousePosition(eventData, pageX, pageY); + client.updateVariable(uidlId, "eventData", eventData, true); + + VConsole.log("Exit [pointClickListener]"); + } + + protected void pointSelectListener(GwtPoint point) { + VConsole.log("Enter [pointSelectListener]"); + + VConsole.log("[pointSelectListener] point " + point.getX() + ", " + + point.getY()); + client.updateVariable(uidlId, "event", "pointSelect", false); + client.updateVariable(uidlId, "eventData", getEventData(point), true); + + VConsole.log("Exit [pointSelectListener]"); + } + + protected void pointUnselectListener(GwtPoint point) { + VConsole.log("Enter [pointUnselectListener]"); + + VConsole.log("[pointUnselectListener] point " + point.getX() + ", " + + point.getY()); + client.updateVariable(uidlId, "event", "pointUnselect", false); + client.updateVariable(uidlId, "eventData", getEventData(point), true); + + VConsole.log("Exit [pointUnselectListener]"); + } + + protected void pointRemoveListener(GwtPoint point) { + VConsole.log("Enter [pointRemoveListener]"); + + VConsole.log("[pointRemoveListener] point " + point.getX() + ", " + + point.getY()); + client.updateVariable(uidlId, "event", "pointRemove", false); + client.updateVariable(uidlId, "eventData", getEventData(point), true); + + VConsole.log("Exit [pointRemoveListener]"); + } + + private Map getEventData(GwtPoint point) { + Map eventData = new HashMap(); + eventData.put("seriesName", point.getSeries().getName()); + eventData.put("category", point.getCategory()); + // The point x and y values are converted into + // string value to avoid data conversion issues + // for datetime series/axis + // It is responsibility of the server to convert string value + // into appropriate data type e.g. double or Date + eventData.put("pointX", String.valueOf(point.getX())); + eventData.put("pointY", String.valueOf(point.getY())); + return eventData; + } + + private void updateEventDataWithMousePosition( + Map eventData, int pageX, int pageY) { + eventData.put("mouseX", pageX); + eventData.put("mouseY", pageY); + } + + private String getExecutableFunction(String formatterFunc) { + StringBuilder sb = new StringBuilder(""); + sb.append("function dummy() { "); + sb.append(" return "); + sb.append(formatterFunc).append(";"); + sb.append(" }"); + sb.append(" dummy();"); + return sb.toString(); + } + + /** + * Define a JS function to be used in order to get mouse coordinates when + * click event occurs on a chart/series/point + */ + private native final void publish() /*-{ + // Used in based class GwtInvientCharts.java + $wnd.getMouseCoords = function(ev) { + if(ev.pageX || ev.pageY){ + return {x:ev.pageX, y:ev.pageY}; + } else { + return { + x:ev.clientX + document.documentElement.scrollLeft, + y:ev.clientY + document.documentElement.scrollTop + }; + } + }; + // Used in class GwtInvientChartsConfig.java + $wnd.getInvientChartsColor = function(colorVal) { + var colorKey = 'JSOBJ:'; + var index = colorVal.indexOf(colorKey); + if(index == 0) { + return eval('(' + colorVal.substring(index+colorKey.length) + ')'); + } + return colorVal; + }; + }-*/; + +} diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..11aa607 --- /dev/null +++ b/pom.xml @@ -0,0 +1,79 @@ + + + 4.0.0 + + com.invient.vaadin.charts + invient-charts + 1.1-SNAPSHOT + pom + InvientCharts + + + UTF-8 + 6.8.0 + 2.4.0 + 2.4.0 + invient-charts-addon + ${addonBaseName}-${project.version} + ${addonFullName}.jar + + + + invient-charts + invient-charts-demo + + + + scm:git:git://github.com/S73417H/InvientCharts.git + scm:git:https://github.com/S73417H/InvientCharts.git + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 2.5.1 + + 1.6 + 1.6 + UTF-8 + + + + + maven-assembly-plugin + 2.2-beta-5 + + ${addonFullName} + false + + + assembly/extractManifest.xml + + assembly/addon.xml + + + + + + + + + + + com.vaadin + vaadin + ${vaadin.version} + + + com.google.gwt + gwt-user + ${gwt.version} + + + + + diff --git a/src/com/invient/vaadin/charts/widgetset/InvientChartsWidgetset.gwt.xml b/src/com/invient/vaadin/charts/widgetset/InvientChartsWidgetset.gwt.xml deleted file mode 100755 index b7a4e81..0000000 --- a/src/com/invient/vaadin/charts/widgetset/InvientChartsWidgetset.gwt.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - diff --git a/src/com/invient/vaadin/charts/widgetset/public/Readme.txt b/src/com/invient/vaadin/charts/widgetset/public/Readme.txt deleted file mode 100755 index 904ffae..0000000 --- a/src/com/invient/vaadin/charts/widgetset/public/Readme.txt +++ /dev/null @@ -1 +0,0 @@ -Place any css or images here \ No newline at end of file