Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8983251
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T20:47:42+00:00 2026-06-15T20:47:42+00:00

I am using the GraphView library( Info Source ), and am having trouble with

  • 0

I am using the GraphView library( Info Source ), and am having trouble with my re-labeling axis. The way my xml file is set up, I have an upper view for the graph then six check boxes below the graph. Each check box represents a different line which is on the graph, and when unchecked, the line will disappear.

enter image description here

The three Net V graphs all have values between -1000 and 1000, while the Diff V graphs have values only between -5 and 5. This looks fine, and the axis is labeled correctly when initially graphed. However, once I uncheck all three Net V checkboxes, the graph resizes to fit the -5 and 5 values. The resizing of the graph works correctly, but the Y axis remains labeled -1000 to 1000. I have noticed that if I swipe my finger on the graph after it resizes then the axis labels fix themselves, but I can not get it to work unless I touch the graph with my finger.

Here is my code for a single check box. The rest of the checkboxes are identical for all intents and purposes

        netV2Check.setOnClickListener( new OnClickListener() {
            public void onClick( View v ) {
                if( hasRead ) {
                    if( ( (CheckBox) v ).isChecked() ) {
                        graphView.addSeries( seriesNetV2 ); 
                        graphView.setScalable(true); 
                        graphView.setViewPort(0, 166);  
                        graphLayout.removeAllViews();
                        graphLayout.addView( graphView );
                    } else {
                        graphView.removeSeries( seriesNetV2 ); 
                        graphView.setScalable(true); 
                        graphView.setViewPort(0, 166);  
                        graphLayout.removeAllViews();
                        graphLayout.addView( graphView );
                    }
                }
            }
        });
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T20:47:43+00:00Added an answer on June 15, 2026 at 8:47 pm

    It seems that this is a bug in GraphView. I will check this and fix it for the next version.

    For a hotfix you could try to call

    graphView.redrawAll();
    

    After changing the graph.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have downloaded an open source project using graphviz c++ library, which visualizes and
I have been using the Graphview library, and its working great for my simple
I'm trying to show graphs on my App using GraphView library. The code is
I'm using GraphView library (see: https://github.com/jjoe64/GraphView or http://www.jjoe64.com/p/graphview-library.html ) But I would like to
I have been parsing a GraphViz file for a specific identifer using Regex. Here
I have been parsing a GraphViz file for a specific identifer using Regex. Here
i have a have graphview.m which creates a coreplotviewcontroller.view in this way CorePlotViewController *aCorePlotViewController
I've just started developing a small C++ program using GraphViz's graph library and noticed
I am using the GraphView API and ive implemented the chart to be intractable.
I am not using GraphViz because I am having problems with making it play

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.