In jpgraph js library, for LinePlot, is it possible to have dots (plot marks) of different (customly defined) colors? Any experience anyone? I need to make different colors for some of the dots in the graph, for some values of x-axis.
in jpgraph js library, for line graph, is it possible to have dots of different (customly defined) colors?
190 Views Asked by Vladimir Despotovic At
1
There are 1 best solutions below
Related Questions in JAVASCRIPT
- Using Puppeteer to scrape a public API only when the data changes
- inline SVG text (js)
- An array of images and a for loop display the buttons. How to assign each button to open its own block by name?
- Storing the preferred font-size in localStorage
- Simple movie API request not showing up in the console log
- Authenticate Flask rest API
- Deploying sveltekit app with gunjs on vercel throws cannot find module './lib/text-encoding'
- How to request administrator rights?
- mp4 embedded videos within github pages website not loading
- Scrimba tutorial was working, suddenly stopped even trying the default
- In Datatables, start value resets to 0, when column sorting
- How do I link two models in mongoose?
- parameter values only being sent to certain columns in google sheet?
- Run main several times of wasm in browser
- Variable inside a Variable, not updating
Related Questions in GRAPH
- Querying Office for National Statistics data using SPARQL
- Which mathematical algorithm is used for interpolation between datapoints in Smooth Line Chart of Echart?
- how can I use coordinates of path walked by multiple subjects
- Creating a Graph/Chart needing TWO secondary axis options for a combination of Clustered and Stacked Graph Columns
- How to stretch specific y axis intervals so the space between some values is larger than between others?
- out of order time points on multi line chart
- What does negative flow on a reverse arc of a graph in Boykov-Kolmogorov max flow algorithm mean?
- how to generate {8,3} regular graphs for large number of vertices
- Why can't I apply ModularityState from graph-tool on a graph in XML format?
- Update Node from OneTBB Library
- Find the smallest set of vertices in a graph such that you can still reach any point in the set when any single vertex is removed
- Graph Neural Network Custom Data
- FIFO-property in graphs
- How to display total count of bars for each group in Google Charts on the right side of the graph or in legend position
- Whats wrong on Graph API permission for selected site
Related Questions in LINE
- As a normal user, how would I know how many arguments and what arguments I need to pass in a command line arguments program?
- How can I solve this problem in Geom_line?
- Notepad++ Remove Empty Spaces or characters after the specific LAST character
- Vertical Line Plot based on Actual Calendar Days not based on Bar Index
- Line blurry issue with subpixel rendering
- Drawing huge amount of lines
- Automatic word spacing to fit line CSS
- How to download whole imageSet from LINE messenger API?
- How to filter out the line which counting up from last line from a text file thru batch command?
- How to generate lines with specific direction from points
- LineSDK Use LoginConfiguration before setup. Please call `LoginManager.setup` before you do any other things in LineSDK
- How to draw line graphs smoothly (not fitting) in R?
- "QGIS: Displaying labels outside polygons for line features inside using field values"
- out of order time points on multi line chart
- How to turn off lines in raster fill label mixed legends ggplot
Related Questions in LINE-PLOT
- Multigroup line chart in R
- Why do I see points on the line when doing a line plot in base R?
- Plotting points in a pixel grid on Julia
- How to plot many columns against each other in the same line-plot using pandas?
- How to use axline with log scale axis?
- Time to event plot customized in R
- How should I format dates to make a time series line plot?
- Plotting rows of a df based on their label (colour coded)
- Line plot displaying sequence of events by age using ggplot2
- How to decrease saturation of the bands in seaborn.lineplot?
- gplot legend problem with geomcol plot and geompoint + geomline plot
- Using ggplot to reflect uneven spacing between time points
- Why isn't my data showing up on my shiny app line plot?
- Creating Line Plot with Diverging Coloring
- Line plot with standard deviation bar
Related Questions in JPGRAPH
- There is a gap at the end of the chart generated with JPGraph
- How to reverse the Y axis with JPgraph
- How can I add multiple background colors to different sections of a Graph in jpgraph?
- Add an horizontal line or a band to jpGraph
- With PHP JpGraph PiePlotC (a donut) how can I set borders?
- Error in Generating graph (using jpgraph) when graph code is placed after PDO SQL code
- Streaming file to laravel storage
- JpGraph php graph library - trouble embedding graph
- Uncaught Error: Class 'LinePlot' not found
- in jpgraph js library, for line graph, is it possible to have dots of different (customly defined) colors?
- values in jpgraph v4.3.1 bar graph
- How to set dotted line in Jpgraph with php
- Title with variable in jpGraph
- Plot bargraph-jpgraph using php
- Cannot extract image into PDF
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
By the documentation of jpgraph:
"The colors of the marks will, if you don't specify them explicitly, follow the line color. Please note that if you want different colors for the marks and the line the call to SetColor() for the marks must be done after the call to the SetColor() for the line since the marks color will always be reset to the lines color when you set the line color."
In addition the plot mark formatting shown above plot marks also supports formating through the use of a callback function. The callback function will be passed the y-value as its only argument and the callback function must return an array consisting of three value, weight, color and fill-color. This could be used to for example alter the colors of the plot marks depending on the actual value. A common use of this feature is to create "balloon" scatter plot where a variable sized filled circle is positioned at specific data points. This is a way t create a 2D plot which conveys three values at each data point, x,y and size.
The closest example to your need would be this: https://github.com/HuasoFoundries/jpgraph/blob/master/Examples/examples_line/builtinplotmarksex1.php